48 lines
1.2 KiB
C#
Raw Normal View History

2026-03-07 22:02:26 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YD_Event.Core.Entities
{
/// <summary>
/// 轮播图设置(存储手动/自动模式)
/// </summary>
[SugarTable("BannerConfig")]
public class BannerConfig : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
{
/// <summary>
/// 模式(0-手动配置 1-自动配置)
/// </summary>
[SugarColumn(ColumnDescription = "模式(0-手动配置 1-自动配置)")]
public int Mode { get; set; }
/// <summary>
/// 标记删除
/// </summary>
public bool DeleteMark { get; set; }
/// <summary>
/// 创建人
/// </summary>
public long CreatedUserId { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
public long? UpdatedUserId { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdatedTime { get; set; }
}
}