From 6f7122d26270d9a830ab55e4034aaecbe68f8700 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期四, 29 二月 2024 15:09:52 +0800
Subject: [PATCH] 优化代码

---
 IStation.Service.SqiAirp/02-model/03-certificate/Certificate.cs |   75 ++++++++++++++++++++-----------------
 1 files changed, 41 insertions(+), 34 deletions(-)

diff --git a/IStation.Service.SqiAirp/02-model/03-certificate/Certificate.cs b/IStation.Service.SqiAirp/02-model/03-certificate/Certificate.cs
index 673057e..0300155 100644
--- a/IStation.Service.SqiAirp/02-model/03-certificate/Certificate.cs
+++ b/IStation.Service.SqiAirp/02-model/03-certificate/Certificate.cs
@@ -15,15 +15,16 @@
         /// </summary>
         public Certificate(Certificate rhs) : base(rhs)
         {
-            this.ManufacturerName = rhs.ManufacturerName;
-            this.UseName = rhs.UseName;
-            this.CertificateNO = rhs.CertificateNO;
             this.AirpSiteName = rhs.AirpSiteName;
-            this.MainEquipmentModels = rhs.MainEquipmentModels;
+            this.BuilderName = rhs.BuilderName;
+            this.DesignerName = rhs.DesignerName;
+            this.UserName = rhs.UserName;
+            this.CertificateNO = rhs.CertificateNO;
             this.EtaLevel = rhs.EtaLevel;
-            this.TestingUnitName = rhs.TestingUnitName;
-            this.IssuingUnitName = rhs.IssuingUnitName;
-            this.IssuanceDay = rhs.IssuanceDay;
+            this.IssuanceTime = rhs.IssuanceTime;
+            this.MainEquipmentModels = rhs.MainEquipmentModels;
+            this.TestingName = rhs.TestingName;
+            this.IssuingName = rhs.IssuingName;
             this.SortCode = rhs.SortCode;
             this.Description = rhs.Description;
         }
@@ -34,28 +35,39 @@
         public void Reset(Certificate rhs)
         {
             this.ID = rhs.ID;
-            this.ManufacturerName = rhs.ManufacturerName;
-            this.UseName = rhs.UseName;
-            this.CertificateNO = rhs.CertificateNO;
             this.AirpSiteName = rhs.AirpSiteName;
-            this.MainEquipmentModels = rhs.MainEquipmentModels;
+            this.BuilderName = rhs.BuilderName;
+            this.DesignerName = rhs.DesignerName;
+            this.UserName = rhs.UserName;
+            this.CertificateNO = rhs.CertificateNO;
             this.EtaLevel = rhs.EtaLevel;
-            this.TestingUnitName = rhs.TestingUnitName;
-            this.IssuingUnitName = rhs.IssuingUnitName;
-            this.IssuanceDay = rhs.IssuanceDay;
+            this.IssuanceTime = rhs.IssuanceTime;
+            this.MainEquipmentModels = rhs.MainEquipmentModels;
+            this.TestingName = rhs.TestingName;
+            this.IssuingName = rhs.IssuingName;
             this.SortCode = rhs.SortCode;
             this.Description = rhs.Description;
         }
 
         /// <summary>
-        /// 鐢熶骇浼佷笟鍚嶇О=銆嬬┖鍘嬬珯寤鸿鍗曚綅
+        /// 绌哄帇绔欏悕绉�
         /// </summary>
-        public string ManufacturerName { get; set; }
+        public string AirpSiteName { get; set; }
 
         /// <summary>
-        /// 鐢ㄦ埛鍚嶇О=銆嬬┖鍘嬬珯鎵�灞炲崟浣�
+        /// 绌哄帇绔欏缓璁惧崟浣�
         /// </summary>
-        public string UseName { get; set; }
+        public string BuilderName { get; set; }
+
+        /// <summary>
+        /// 绌哄帇绔欒璁″崟浣�
+        /// </summary>
+        public string DesignerName { get; set; }
+
+        /// <summary>
+        /// 绌哄帇绔欐墍灞炲崟浣�
+        /// </summary>
+        public string UserName { get; set; }
 
         /// <summary>
         /// 璇佷功缂栧彿
@@ -63,9 +75,14 @@
         public string CertificateNO { get; set; }
 
         /// <summary>
-        /// 鍘嬬缉绌烘皵绔欏悕绉�
+        /// 鑳芥晥绛夌骇
         /// </summary>
-        public string AirpSiteName { get; set; }
+        public string EtaLevel { get; set; }
+
+        /// <summary>
+        /// 璁ゅ畾鏃堕棿
+        /// </summary>
+        public DateTime IssuanceTime { get; set; }
 
         /// <summary>
         /// 涓昏璁惧鍨嬪彿
@@ -73,24 +90,14 @@
         public string MainEquipmentModels { get; set; }
 
         /// <summary>
-        /// 鑳芥晥绛夌骇
+        /// 妫�娴嬪崟浣�
         /// </summary>
-        public string EtaLevel { get; set; }
+        public string TestingName { get; set; }
 
         /// <summary>
-        /// 妫�娴嬪崟浣嶅悕绉�
+        /// 鍙戣瘉鍗曚綅
         /// </summary>
-        public string TestingUnitName { get; set; }
-
-        /// <summary>
-        /// 鍙戣瘉鍗曚綅鍚嶇О
-        /// </summary>
-        public string IssuingUnitName { get; set; }
-
-        /// <summary>
-        /// 鍙戣瘉鏃ユ湡=銆嬭瀹氭椂闂�
-        /// </summary>
-        public DateTime IssuanceDay { get; set; }
+        public string IssuingName { get; set; }
 
         /// <summary>
         /// 鎺掑簭鐮�

--
Gitblit v1.9.3