From ca1ccd0dd9f2d6936368f07d14a2b29b309fd151 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期三, 04 十二月 2024 15:59:25 +0800 Subject: [PATCH] 增加单独匹配界面 --- Service/HStation.Service.Assets.Core/02-model/20-Translation/AssetsTranslationMain.cs | 145 +++++++++++++++++++++++------------------------- 1 files changed, 70 insertions(+), 75 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/02-model/20-Translation/AssetsTranslationMain.cs b/Service/HStation.Service.Assets.Core/02-model/20-Translation/AssetsTranslationMain.cs index ed6c0f3..0e7768f 100644 --- a/Service/HStation.Service.Assets.Core/02-model/20-Translation/AssetsTranslationMain.cs +++ b/Service/HStation.Service.Assets.Core/02-model/20-Translation/AssetsTranslationMain.cs @@ -1,127 +1,122 @@ 锘縰sing Yw.Model; + namespace HStation.Model { /// <summary> /// 杩囨浮浠� ///</summary> - [SysType("assets-translation-main")] - public class AssetsTranslationMain : BaseModel , IParas, IFlags, ITagName, ISorter, System.ICloneable + [SysType("assets-translation-main")] + public class AssetsTranslationMain : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable { - /// <summary> - /// - /// </summary> - public AssetsTranslationMain() { } - - /// <summary> - /// - /// </summary> - public AssetsTranslationMain(AssetsTranslationMain rhs) : base(rhs) - { - this.Name=rhs.Name; - this.SeriesID=rhs.SeriesID; - this.Caliber=rhs.Caliber; - this.Material=rhs.Material; - this.MinorLoss=rhs.MinorLoss; - this.KeyWord=rhs.KeyWord; - this.Paras = rhs.Paras == null ? null : new (rhs.Paras); - this.Flags = rhs.Flags?.ToList(); - this.TagName=rhs.TagName; - this.SortCode=rhs.SortCode; - this.Description=rhs.Description; - } - - /// <summary> - /// - /// </summary> - public void Reset(AssetsTranslationMain rhs) - { - this.ID=rhs.ID; - this.Name=rhs.Name; - this.SeriesID=rhs.SeriesID; - this.Caliber=rhs.Caliber; - this.Material=rhs.Material; - this.MinorLoss=rhs.MinorLoss; - this.KeyWord=rhs.KeyWord; - this.Paras = rhs.Paras == null ? null : new (rhs.Paras); - this.Flags = rhs.Flags?.ToList(); - this.TagName=rhs.TagName; - this.SortCode=rhs.SortCode; - this.Description=rhs.Description; - } - + /// <summary> + /// + /// </summary> + public AssetsTranslationMain() + { } /// <summary> - /// 鍚嶇О + /// + /// </summary> + public AssetsTranslationMain(AssetsTranslationMain rhs) : base(rhs) + { + this.Name = rhs.Name; + this.SeriesID = rhs.SeriesID; + this.Caliber = rhs.Caliber; + this.Material = rhs.Material; + this.MinorLoss = rhs.MinorLoss; + this.KeyWord = rhs.KeyWord; + this.Paras = rhs.Paras == null ? null : new(rhs.Paras); + this.Flags = rhs.Flags?.ToList(); + this.TagName = rhs.TagName; + this.SortCode = rhs.SortCode; + this.Description = rhs.Description; + } + + /// <summary> + /// + /// </summary> + public void Reset(AssetsTranslationMain rhs) + { + this.ID = rhs.ID; + this.Name = rhs.Name; + this.SeriesID = rhs.SeriesID; + this.Caliber = rhs.Caliber; + this.Material = rhs.Material; + this.MinorLoss = rhs.MinorLoss; + this.KeyWord = rhs.KeyWord; + this.Paras = rhs.Paras == null ? null : new(rhs.Paras); + this.Flags = rhs.Flags?.ToList(); + this.TagName = rhs.TagName; + this.SortCode = rhs.SortCode; + this.Description = rhs.Description; + } + + /// <summary> + /// 鍚嶇О ///</summary> public string Name { get; set; } - + /// <summary> - /// 绯诲垪ID + /// 绯诲垪ID ///</summary> public long SeriesID { get; set; } - + /// <summary> - /// 鍙e緞 + /// 鍙e緞 ///</summary> public double? Caliber { get; set; } - + /// <summary> - /// 鏉愭枡 + /// 鏉愭枡 ///</summary> public string Material { get; set; } - + /// <summary> - /// 灞�闃荤郴鏁� + /// 灞�闃荤郴鏁� ///</summary> public double MinorLoss { get; set; } - + /// <summary> - /// 璇嗗埆鍏抽敭瀛� + /// 璇嗗埆鍏抽敭瀛� ///</summary> - public string KeyWord { get; set; } - + public List<string> KeyWord { get; set; } + /// <summary> - /// 鍙傛暟 + /// 鍙傛暟 ///</summary> public Dictionary<string, string> Paras { get; set; } - + /// <summary> - /// 鏍囩 + /// 鏍囩 ///</summary> public List<string> Flags { get; set; } - + /// <summary> - /// 鏍囧織 + /// 鏍囧織 ///</summary> public string TagName { get; set; } - + /// <summary> - /// 鎺掑簭鐮� + /// 鎺掑簭鐮� ///</summary> public int SortCode { get; set; } - + /// <summary> - /// 璇存槑 + /// 璇存槑 ///</summary> public string Description { get; set; } - /// <summary> /// /// </summary> public AssetsTranslationMain Clone() { - return (AssetsTranslationMain)this.MemberwiseClone(); + return (AssetsTranslationMain)this.MemberwiseClone(); } object ICloneable.Clone() { - return this.MemberwiseClone(); + return this.MemberwiseClone(); } - } -} - - - - +} \ No newline at end of file -- Gitblit v1.9.3