using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ARW.Model.Models.Business.Regions;
namespace ARW.Model.Dto.Business.Regions
{
///
/// 省市区数据表输入对象
///
public class RegionDto
{
public int RegionId { get; set; }
[Required(ErrorMessage = "区划名称不能为空")]
public string RegionName { get; set; }
[Required(ErrorMessage = "父级ID不能为空")]
public int RegionPid { get; set; }
[Required(ErrorMessage = "区划编码不能为空")]
public string RegionCode { get; set; }
[Required(ErrorMessage = "层级(1省级 2市级 3区/县级)不能为空")]
public int RegionLevel { get; set; }
}
///
/// 省市区数据表查询对象
///
public class RegionQueryDto : PagerInfo
{
public string RegionName { get; set; }
public string ids { get; set; }
}
}