duheng
2024-10-08 0f8ab9b81c5801869a1b620dbc74a95e07c0a566
Service/HStation.Service.Xhs.Core/02-model/XhsProject.cs
@@ -6,70 +6,72 @@
    /// 业务站
    /// </summary>
    [SysType("xhs-project")]
    public partial class XhsProject : BaseModel, IParas, IFlags, ITagName, ISorter, IUseStatus, System.ICloneable
    public class XhsProject : BaseModel, 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.ParentIds = rhs.ParentIds?.ToList();
            this.NO = rhs.NO;
            this.Name = rhs.Name;
            this.Address = rhs.Address;
            this.Customer = rhs.Customer;
            this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras);
            this.Flags = rhs.Flags?.ToList();
            this.TagName = rhs.TagName;
            this.UseStatus = rhs.UseStatus;
            this.CreateTime = rhs.CreateTime;
            this.CreateUserID = rhs.CreateUserID;
            this.MapPosition = rhs.MapPosition;
            this.CreateUserDisplayName = rhs.CreateUserDisplayName;
            this.SortCode = rhs.SortCode;
            this.CustomerName = rhs.CustomerName;
            this.Address = rhs.Address;
            this.Description = rhs.Description;
        }
        /// <summary>
        ///
        ///
        /// </summary>
        public void Reset(XhsProject rhs)
        {
            this.GID = rhs.GID;
            this.ID = rhs.ID;
            this.ParentIds = rhs.ParentIds?.ToList();
            this.NO = rhs.NO;
            this.Name = rhs.Name;
            this.Address = rhs.Address;
            this.Customer = rhs.Customer;
            this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras);
            this.Flags = rhs.Flags?.ToList();
            this.TagName = rhs.TagName;
            this.UseStatus = rhs.UseStatus;
            this.CreateTime = rhs.CreateTime;
            this.CreateUserID = rhs.CreateUserID;
            this.MapPosition = rhs.MapPosition;
            this.CreateUserDisplayName = rhs.CreateUserDisplayName;
            this.SortCode = rhs.SortCode;
            this.CustomerName = rhs.CustomerName;
            this.Address = rhs.Address;
            this.Description = rhs.Description;
        }
        /// <summary>
        /// GUID 用于升级
        /// 父级id列表
        /// </summary>
        public string GID { get; set; }
        public List<long> ParentIds { get; set; }
        /// <summary>
        /// 项目编号
        /// 编号
        /// </summary>
        public string PrjNumber { get; set; }
        public string NO { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public string Customer { get; set; }
        /// <summary>
        /// 参数
@@ -87,11 +89,6 @@
        public string TagName { get; set; }
        /// <summary>
        /// 使用状态
        /// </summary>
        public Yw.Model.eUseStatus UseStatus { get; set; }
        /// <summary>
        /// 排序码
        /// </summary>
        public int SortCode { get; set; }
@@ -101,40 +98,6 @@
        /// </summary>
        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>
        ///
@@ -146,7 +109,7 @@
        object ICloneable.Clone()
        {
            return Clone();
            return this.Clone();
        }
    }
}