lixiaojun
2024-10-17 4cb1f00f84d160f97afd0fb86cf600e1be667dd5
Service/HStation.Service.Xhs.Core/01-entity/XhsProject.cs
@@ -3,73 +3,82 @@
namespace HStation.Entity
{
    /// <summary>
    /// 业务站
    /// 项目
    /// </summary>
    [SysType("xhs-project")]
    [SysPropValueTable("xhs_project_prop_value")]
    [SugarTable("xhs_project")]
    public class XhsProject : BaseEntity, IParas, IFlags, ITagName, ISorter, IUseStatus, System.ICloneable
    public class XhsProject : BaseEntity, IParas, IFlags, ITagName, ITreeSorter, System.ICloneable
    {
        /// <summary>
        ///
        /// </summary>
        public XhsProject()
        { }
        public XhsProject() { }
        /// <summary>
        ///
        /// </summary>
        public XhsProject(XhsProject rhs) : base(rhs)
        {
            this.GID = rhs.GID;
            this.ID = rhs.ID;
            this.PrjNumber = rhs.PrjNumber;
            this.ParentIds = rhs.ParentIds;
            this.NO = rhs.NO;
            this.Name = rhs.Name;
            this.Address = rhs.Address;
            this.Customer = rhs.Customer;
            this.Paras = rhs.Paras;
            this.Flags = rhs.Flags;
            this.TagName = rhs.TagName;
            this.UseStatus = rhs.UseStatus;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
            this.CreateTime = rhs.CreateTime;
            this.Version = rhs.Version;
            this.MapPosition = rhs.MapPosition;
            this.CustomerName = rhs.CustomerName;
        }
        /// <summary>
        /// GUID 用于升级
        /// 父级id列表(版本控制)
        /// </summary>
        public string GID { get; set; }
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        public string ParentIds { get; set; }
        /// <summary>
        /// 项目编号
        /// 编号
        /// </summary>
        public string PrjNumber { get; set; }
        [SugarColumn(Length = 100, IsNullable = true)]
        public string NO { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = true)]
        public string Name { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        [SugarColumn(Length = 250, IsNullable = true)]
        public string Address { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = true)]
        public string Customer { get; set; }
        /// <summary>
        /// 参数
        /// </summary>
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        public string Paras { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        public string Flags { get; set; }
        /// <summary>
        /// 标志
        /// </summary>
        [SugarColumn(Length = 500, IsNullable = true)]
        public string TagName { get; set; }
        /// <summary>
        /// 使用状态
        /// </summary>
        public int UseStatus { get; set; }
        /// <summary>
        /// 排序码
@@ -79,42 +88,9 @@
        /// <summary>
        /// 说明
        /// </summary>
        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
        public string Description { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public long CreateUserID { get; set; }
        /// <summary>
        /// 创建显示名称
        /// </summary>
        public string CreateUserDisplayName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 版本
        /// </summary>
        public int Version { get; set; }
        /// <summary>
        /// 项目地址(经度,维度)
        /// </summary>
        public string MapPosition { get; set; }
        /// <summary>
        /// 项目详细地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 项目的客户名称
        /// </summary>
        public string CustomerName { get; set; }
        /// <summary>
        ///