using Datory.Annotations; namespace GxPress.Entity { /// /// 部门 /// [DataTable("tede_department")] public class Department : Datory.Entity { /// /// 部门名称 /// [DataColumn] public string Name { get; set; } /// /// 父级部门id /// [DataColumn] public int ParentId { get; set; } /// /// 部门主管id /// [DataColumn] public int LeaderId { get; set; } /// /// 排序 /// [DataColumn] public int Sort { get; set; } } }