namespace Yw.Dto { public class DivisionDto { public DivisionDto() { } public DivisionDto(Yw.Model.Division rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.ParentIds = rhs.ParentIds; this.Type = rhs.Type; this.ADCode = rhs.ADCode; this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.CountryCode = rhs.CountryCode; this.Description = rhs.Description; } public long ID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 国家编码 /// public string CountryCode { get; set; } /// /// 父级ID列表 /// public List ParentIds { get; set; } /// /// 类型 /// public Yw.Model.eDivisionType Type { get; set; } /// /// 高德地图城市编码 /// public string ADCode { get; set; } /// /// 标签列表 /// public List Flags { get; set; } /// /// 标签名称 /// public string TagName { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } } }