using YD_Event.Core.Enum; namespace YD_Event.Core.Entities; /// /// 角色表 /// public class SysRole : Entity, IAvailability, ISortable, ISoftDelete, ICreatedTime { /// /// 角色名 /// [SugarColumn(Length = 32)] public string Name { get; set; } /// /// 角色编码 /// [SugarColumn(Length = 32)] public string Code { get; set; } /// /// 可用状态 /// public AvailabilityStatus Status { get; set; } /// /// 排序值 /// public int Sort { get; set; } /// /// 备注 /// [SugarColumn(Length = 256)] public string? Remark { get; set; } /// /// 标记删除 /// public bool DeleteMark { get; set; } /// /// 创建时间 /// public DateTime CreatedTime { get; set; } }