From 6f7122d26270d9a830ab55e4034aaecbe68f8700 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期四, 29 二月 2024 15:09:52 +0800 Subject: [PATCH] 优化代码 --- IStation.Application.SqiAirp/03-certificate/1-mgr/dto/CertificateDto.cs | 60 +++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 33 insertions(+), 27 deletions(-) diff --git a/IStation.Application.SqiAirp/03-certificate/1-mgr/dto/CertificateDto.cs b/IStation.Application.SqiAirp/03-certificate/1-mgr/dto/CertificateDto.cs index e778d84..4d89464 100644 --- a/IStation.Application.SqiAirp/03-certificate/1-mgr/dto/CertificateDto.cs +++ b/IStation.Application.SqiAirp/03-certificate/1-mgr/dto/CertificateDto.cs @@ -16,15 +16,16 @@ public CertificateDto(Model.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; } @@ -35,14 +36,24 @@ public long ID { get; set; } /// <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> /// 璇佷功缂栧彿 @@ -50,9 +61,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> /// 涓昏璁惧鍨嬪彿 @@ -60,24 +76,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