using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Security.Principal; using System.Text; using System.Threading.Tasks; namespace DocumentServiceAPI.Model.cyDocumentModel { /// ///文档分类 /// [SugarTable("t_doc_classification")] public class Doc_Classification : Doc_Base { public Doc_Classification() { } /// /// id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int id { get; set; } /// /// 编码 /// public string doc_classification_code { get; set; } /// /// 名称 /// public string doc_classification { get; set; } /// /// 父级编码 /// public string parent_code { get; set; } /// /// 系统标识 /// public bool is_system { get; set; } /// /// 排序 /// public int sort_id { get; set; } } public abstract class Doc_Base { /// /// 租户标识 /// public int tenant_code { get; set; } /// /// 添加/更新时间 /// public DateTime add_time { get; set; } /// /// 状态 /// public int status { get; set; } } }