You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
699 B
40 lines
699 B
5 days ago
|
namespace Admin.NET.Core.Service;
|
||
|
|
||
|
public class PageRegionInput : BasePageInput
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 父节点Id
|
||
|
/// </summary>
|
||
|
public long Pid { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 名称
|
||
|
/// </summary>
|
||
|
public string Name { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 编码
|
||
|
/// </summary>
|
||
|
public string Code { get; set; }
|
||
|
}
|
||
|
|
||
|
public class RegionInput : BaseIdInput
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public class AddRegionInput : SysRegion
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 名称
|
||
|
/// </summary>
|
||
|
[Required(ErrorMessage = "名称不能为空")]
|
||
|
public override string Name { get; set; }
|
||
|
}
|
||
|
|
||
|
public class UpdateRegionInput : AddRegionInput
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public class DeleteRegionInput : BaseIdInput
|
||
|
{
|
||
|
}
|