对比新文件 |
| | |
| | | 锘縰sing System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using SqlSugar; |
| | | using WIDESEA_Core.DB.Models; |
| | | using WIDESEA_Core.Tenants; |
| | | |
| | | namespace WIDESEA_Model.Models |
| | | { |
| | | [SugarTable("Sys_Department", "缁勭粐鏋舵瀯"), MultiTenant] |
| | | public class Sys_Department : BaseEntity |
| | | { |
| | | /// <summary> |
| | | /// 缁勭粐ID |
| | | /// </summary> |
| | | [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "缁勭粐ID")] |
| | | public int DepartmentId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 缁勭粐鍚嶇О |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "缁勭粐鍚嶇О")] |
| | | public string DepartmentName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 缁勭粐缂栧彿 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "缁勭粐缂栧彿")] |
| | | public string DepartmentCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 涓婄骇缁勭粐 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "涓婄骇缁勭粐")] |
| | | public int ParentId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 閮ㄩ棬绫诲瀷 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "閮ㄩ棬绫诲瀷")] |
| | | public string DepartmentType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 鏄惁鍙敤 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "鏄惁鍙敤")] |
| | | public int Enable { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 澶囨敞 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "澶囨敞")] |
| | | public string Remark { get; set; } |
| | | } |
| | | } |