namespace Admin.NET.Core.Service; public class OrgInput : BaseIdInput { /// /// 名称 /// public string Name { get; set; } /// /// 编码 /// public string Code { get; set; } /// /// 机构类型 /// public string OrgType { get; set; } } public class AddOrgInput : SysOrg { /// /// 名称 /// [Required(ErrorMessage = "机构名称不能为空")] public override string Name { get; set; } } public class UpdateOrgInput : AddOrgInput { } public class DeleteOrgInput : BaseIdInput { }