diff --git a/Api/Ewide.Core/Ewide.Core.csproj b/Api/Ewide.Core/Ewide.Core.csproj index 8d77f6d..b69361a 100644 --- a/Api/Ewide.Core/Ewide.Core.csproj +++ b/Api/Ewide.Core/Ewide.Core.csproj @@ -42,6 +42,9 @@ + + PreserveNewest + PreserveNewest diff --git a/Api/Ewide.Core/Ewide.Core.xml b/Api/Ewide.Core/Ewide.Core.xml index d40c60a..1b0ada5 100644 --- a/Api/Ewide.Core/Ewide.Core.xml +++ b/Api/Ewide.Core/Ewide.Core.xml @@ -5579,6 +5579,11 @@ 状态(字典 0正常 1停用 2删除) + + + 机构所在区域 + + 名称 @@ -5589,6 +5594,11 @@ 编码 + + + 机构所在区域 + + 机构Id diff --git a/Api/Ewide.Core/Service/Org/Dto/OrgInput.cs b/Api/Ewide.Core/Service/Org/Dto/OrgInput.cs index a337516..4c48b7f 100644 --- a/Api/Ewide.Core/Service/Org/Dto/OrgInput.cs +++ b/Api/Ewide.Core/Service/Org/Dto/OrgInput.cs @@ -46,6 +46,10 @@ namespace Ewide.Core.Service /// 状态(字典 0正常 1停用 2删除) /// public int Status { get; set; } + /// + /// 机构所在区域 + /// + public virtual string AreaNumberCode { get; set; } } public class AddOrgInput : OrgInput @@ -61,6 +65,11 @@ namespace Ewide.Core.Service /// [Required(ErrorMessage = "机构编码不能为空")] public override string Code { get; set; } + /// + /// 机构所在区域 + /// + [Required(ErrorMessage = "机构所在区域不能为空")] + public override string AreaNumberCode { get; set; } } public class DeleteOrgInput