| | |
| | | using Yw.Entity; |
| | | |
| | | namespace Yw.Entity |
| | | namespace Yw.Entity |
| | | { |
| | | /// <summary> |
| | | /// 行政区域 |
| | |
| | | [SugarTable("assets_basic_division")] |
| | | public class Division : BaseEntity, ISorter, IFlags, ITagName, ITreeSorter, System.ICloneable |
| | | { |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public Division() |
| | | { } |
| | | |
| | |
| | | this.ADCode = rhs.ADCode; |
| | | this.Flags = rhs.Flags; |
| | | this.TagName = rhs.TagName; |
| | | this.UseStatus = rhs.UseStatus; |
| | | this.SortCode = rhs.SortCode; |
| | | this.Description = rhs.Description; |
| | | this.CountryCode = rhs.CountryCode; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 名称 |
| | | /// </summary> |
| | | public string Name { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 国家编码 |
| | | /// </summary> |
| | | public string CountryCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 父级ID列表 |
| | |
| | | /// 标签名称 |
| | | /// </summary> |
| | | public string TagName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 使用状态 |
| | | /// </summary> |
| | | public int UseStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 排序码 |