duheng
2024-12-24 a5770e3760d8e966efcc6076c37fdaec72a04bc0
Service/Yw.Service.Division.Core/01-entity/Division.cs
@@ -1,6 +1,4 @@
using Yw.Entity;
namespace Yw.Entity
namespace Yw.Entity
{
    /// <summary>
    /// 行政区域
@@ -9,6 +7,9 @@
    [SugarTable("assets_basic_division")]
    public class Division : BaseEntity, ISorter, IFlags, ITagName, ITreeSorter, System.ICloneable
    {
        /// <summary>
        ///
        /// </summary>
        public Division()
        { }
@@ -20,15 +21,20 @@
            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列表
@@ -54,11 +60,6 @@
        /// 标签名称
        /// </summary>
        public string TagName { get; set; }
        /// <summary>
        /// 使用状态
        /// </summary>
        public int UseStatus { get; set; }
        /// <summary>
        /// 排序码