From a5c91970e4424faa5848d814d671a7534b900d69 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期二, 13 八月 2024 09:59:13 +0800 Subject: [PATCH] 新增Revit 水表与换热器 --- Service/HStation.Service.Xhs.Core/01-entity/XhsProject.cs | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 108 insertions(+), 0 deletions(-) diff --git a/Service/HStation.Service.Xhs.Core/01-entity/XhsProject.cs b/Service/HStation.Service.Xhs.Core/01-entity/XhsProject.cs new file mode 100644 index 0000000..53dc774 --- /dev/null +++ b/Service/HStation.Service.Xhs.Core/01-entity/XhsProject.cs @@ -0,0 +1,108 @@ +锘縰sing Yw.Entity; + +namespace HStation.Entity +{ + /// <summary> + /// 椤圭洰 + /// </summary> + [SysType("xhs-project")] + [SysPropValueTable("xhs_project_prop_value")] + [SugarTable("xhs_project")] + public class XhsProject : BaseEntity, IParas, IFlags, ITagName, ITreeSorter, System.ICloneable + { + /// <summary> + /// + /// </summary> + public XhsProject() { } + + /// <summary> + /// + /// </summary> + public XhsProject(XhsProject rhs) : base(rhs) + { + 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.SortCode = rhs.SortCode; + this.Description = rhs.Description; + } + + /// <summary> + /// 鐖剁骇id鍒楄〃锛堢増鏈帶鍒讹級 + /// </summary> + [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] + public string ParentIds { get; set; } + + /// <summary> + /// 缂栧彿 + /// </summary> + [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 SortCode { get; set; } + + /// <summary> + /// 璇存槑 + /// </summary> + [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] + public string Description { get; set; } + + + /// <summary> + /// + /// </summary> + public XhsProject Clone() + { + return (XhsProject)this.MemberwiseClone(); + } + + object ICloneable.Clone() + { + return this.MemberwiseClone(); + } + } +} \ No newline at end of file -- Gitblit v1.9.3