48 lines
1.2 KiB
C#
Raw Normal View History

2026-04-12 17:39:19 +08:00
using System;
2026-03-07 22:02:26 +08:00
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>
2026-04-12 17:39:19 +08:00
/// 模式(0-自动配置 1-手动配置)
2026-03-07 22:02:26 +08:00
/// </summary>
2026-04-12 17:39:19 +08:00
[SugarColumn(ColumnDescription = "模式(0-自动配置 1-手动配置)")]
2026-03-07 22:02:26 +08:00
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; }
}
}