using SqlSugar; using Volo.Abp; using Volo.Abp.Auditing; using Volo.Abp.Domain.Entities; using Yi.Framework.Core.Data; namespace Yi.Framework.Rbac.Domain.Entities { [SugarTable("Dictionary")] public class DictionaryEntity : Entity, IAuditedObject, ISoftDelete, IOrderNum, IState { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true)] public override Guid Id { get; protected set; } /// /// 逻辑删除 /// public bool IsDeleted { get; set; } /// /// 排序 /// public int OrderNum { get; set; } = 0; /// /// 状态 /// public bool State { get; set; } = true; /// /// 描述 /// [SugarColumn(ColumnName = "Remark")] public string? Remark { get; set; } /// /// tag类型 /// [SugarColumn(ColumnName = "ListClass")] public string? ListClass { get; set; } /// /// tagClass /// [SugarColumn(ColumnName = "CssClass")] public string? CssClass { get; set; } /// /// 字典类型 /// [SugarColumn(ColumnName = "DictType")] public string DictType { get; set; } = string.Empty; /// /// 字典标签 /// [SugarColumn(ColumnName = "DictLabel")] public string? DictLabel { get; set; } /// /// 字典值 /// [SugarColumn(ColumnName = "DictValue")] public string DictValue { get; set; } = string.Empty; /// /// 是否为该类型的默认值 /// [SugarColumn(ColumnName = "IsDefault")] public bool IsDefault { get; set; } public DateTime CreationTime { get; set; } public Guid? CreatorId { get; set; } public Guid? LastModifierId { get; set; } public DateTime? LastModificationTime { get; set; } } }