namespace Yw.Entity { /// /// 行政区域 /// [SysType("assets_basic_division")] [SugarTable("assets_basic_division")] public class Division : BaseEntity, ISorter, IFlags, ITagName, ITreeSorter, System.ICloneable { /// /// /// public Division() { } public Division(Division rhs) : base(rhs) { this.Name = rhs.Name; this.ParentIds = rhs.ParentIds; this.Type = rhs.Type; this.ADCode = rhs.ADCode; this.Flags = rhs.Flags; this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; this.CountryCode = rhs.CountryCode; } /// /// 名称 /// public string Name { get; set; } /// /// 国家编码 /// public string CountryCode { get; set; } /// /// 父级ID列表 /// public string ParentIds { get; set; } /// /// 类型 /// public int Type { get; set; } /// /// 高德地图城市编码 /// public string ADCode { get; set; } /// /// 标签列表 /// public string Flags { get; set; } /// /// 标签名称 /// public string TagName { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } public Division Clone() { return (Division)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }