using System.ComponentModel; using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Sys.Entity; /// /// 组织机构表 /// [SqlSugar.SugarTable("sys_org")] public class SysOrg: BaseTenantModel { /// ///上级ID /// public long ParentId { get; set; } /// /// 机构名称 -简称 /// public string OrgName { get; set; } /// /// Desc:负责人 /// Default: /// Nullable:True /// [SugarColumn(IsNullable = true)] public string Leader { get; set; } /// /// 电话 /// [SugarColumn(IsNullable = true)] public string Tel { get; set; } /// /// 排序 /// [SugarColumn(ColumnDescription = "排序")] public int? OrderNo { get; set; } = 100; /// /// 是否部门标识 /// [Description("是否部门标识")] public bool IsDepartment { get; set; } = false; /// /// 状态 /// [SugarColumn(ColumnDescription = "状态")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; /// /// 机构名称 -全称 /// public string OrgFullName { get; set; } /// /// 机构英文名称 /// public string OrgEnName { get; set; } /// /// 地址 /// public string Address { get; set; } /// /// 英文地址 /// public string EnAddress { get; set; } /// /// 邮政编码 /// public string PostCode { get; set; } /// /// 办公电话 /// public string OfficePhone { get; set; } /// /// 电子邮箱 /// public string Email { get; set; } /// /// 公司网址 /// public string WebSiteUrl { get; set; } /// /// 社会信用代码 /// public string LicenseCode { get; set; } /// /// 票号头字符 /// public string BanksHead { get; set; } /// /// 本地货币 /// public string LocalCurrency { get; set; } }