using SqlSugar; using Yi.Framework.Infrastructure.Data.Auditing; using Yi.Framework.Infrastructure.Data.Entities; using Yi.Framework.Infrastructure.Ddd.Entities; namespace Yi.Furion.Core.Rbac.Entities { /// /// 配置表 /// [SugarTable("Config")] public class ConfigEntity : IEntity, IAuditedObject, IOrderNum, ISoftDelete { [SugarColumn(ColumnName = "Id", IsPrimaryKey = true)] public long Id { get; set; } /// /// 配置名称 /// [SugarColumn(ColumnName = "ConfigName")] public string ConfigName { get; set; } = string.Empty; /// /// 配置键 /// [SugarColumn(ColumnName = "ConfigKey")] public string ConfigKey { get; set; } = string.Empty; /// /// 配置值 /// [SugarColumn(ColumnName = "ConfigValue")] public string ConfigValue { get; set; } = string.Empty; /// /// 配置类别 /// [SugarColumn(ColumnName = "ConfigType")] public string? ConfigType { get; set; } /// /// 排序字段 /// [SugarColumn(ColumnName = "OrderNum")] public int OrderNum { get; set; } /// /// 描述 /// [SugarColumn(ColumnName = "Remark")] public string? Remark { get; set; } public bool IsDeleted { get; set; } public DateTime CreationTime { get; set; } public long? CreatorId { get; set; } public long? LastModifierId { get; set; } public DateTime? LastModificationTime { get; set; } } }