From 03da721341232b6054d5d25f94a3bd1014771805 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期一, 23 九月 2024 13:19:01 +0800 Subject: [PATCH] 增加bimface 定位 --- Service/HStation.Service.Xhs.Core/01-entity/XhsProject.cs | 86 +++++++++++++++--------------------------- 1 files changed, 31 insertions(+), 55 deletions(-) diff --git a/Service/HStation.Service.Xhs.Core/01-entity/XhsProject.cs b/Service/HStation.Service.Xhs.Core/01-entity/XhsProject.cs index 29e3658..53dc774 100644 --- a/Service/HStation.Service.Xhs.Core/01-entity/XhsProject.cs +++ b/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> /// -- Gitblit v1.9.3