namespace Admin.NET.Core.Service; public class PageRegionInput : BasePageInput { /// /// 父节点Id /// public long Pid { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 编码 /// public string Code { get; set; } } public class RegionInput : BaseIdInput { } public class AddRegionInput : SysRegion { /// /// 名称 /// [Required(ErrorMessage = "名称不能为空")] public override string Name { get; set; } } public class UpdateRegionInput : AddRegionInput { } public class DeleteRegionInput : BaseIdInput { }