using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using OpenAuth.Repository.Core; using SqlSugar; namespace OpenAuth.Repository.Domain { /// /// 分类表,也可用作数据字典。表示一个全集,比如:男、女、未知。关联的分类类型表示按什么进行的分类,如:按照性别对人类对象集 /// [SugarTable("sys_category")] public partial class SysCategory { [SugarColumn(IsPrimaryKey = true)] public long Id { get; set; } /// /// 名称 /// [Description("名称")] public string Name { get; set; } /// /// 代码 /// [Description("代码")] public string DtCode { get; set; } /// /// 通常与字典代码标识一致,但万一有不一样的情况呢? /// [Description("值")] public string DtValue { get; set; } /// /// 是否可用 /// [Description("是否可用")] public bool Enable { get; set; } /// /// 排序号 /// [Description("排序号")] public int SortNo { get; set; } /// /// 描述 /// [Description("描述")] public string Description { get; set; } /// /// 分类ID /// [Description("分类标识")] public string TypeId { get; set; } /// /// 创建时间 /// [Description("创建时间")] public System.DateTime CreateTime { get; set; } /// /// 创建人ID /// [Description("创建人ID")] [Browsable(false)] public long CreateUserId { get; set; } /// /// 创建人 /// [Description("创建人")] public string CreateUserName { get; set; } /// /// 最后更新时间 /// [Description("最后更新时间")] public System.DateTime? UpdateTime { get; set; } /// /// 最后更新人ID /// [Description("最后更新人ID")] [Browsable(false)] public long UpdateUserId { get; set; } /// /// 最后更新人 /// [Description("最后更新人")] public string UpdateUserName { get; set; } } }