From f47da9571d16108fcab2bf6d55279a08ce2e7cbf Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 15 十一月 2024 14:29:14 +0800 Subject: [PATCH] 计划订单相关功能 --- CY_ECommercePlatform/CY.Model/OA/OA_CarManage.cs | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 102 insertions(+), 0 deletions(-) diff --git a/CY_ECommercePlatform/CY.Model/OA/OA_CarManage.cs b/CY_ECommercePlatform/CY.Model/OA/OA_CarManage.cs index 97d16c5..6fa2aaa 100644 --- a/CY_ECommercePlatform/CY.Model/OA/OA_CarManage.cs +++ b/CY_ECommercePlatform/CY.Model/OA/OA_CarManage.cs @@ -24,6 +24,46 @@ private string _operator; private int? _ordernum; + + /// <summary> + /// 淇濋櫓鍏徃 + /// </summary> + public string InsuranceCompany + { + get; set; + } + /// <summary> + /// 淇濋櫓缁撴潫鏃堕棿 + /// </summary> + public DateTime? InsuranceEndTime + { + get; set; + } + + /// <summary> + /// 涓嬫骞存鏃堕棿 + /// </summary> + public DateTime? MaintenanceNextTime + { + get; set; + } + + /// <summary> + /// 涓嬫淇濋櫓鏃堕棿 + /// </summary> + public DateTime? ExaminedNextTime + { + get; set; + } + + /// <summary> + /// 淇濋櫓鎯呭喌 + /// </summary> + public string InsuranceContent + { + get; set; + } + /// <summary> /// 涓婚敭--鏍囪瘑ID /// </summary> @@ -173,6 +213,23 @@ get; set; } + + /// <summary> + /// 鍙告満id + /// </summary> + public int? StaffID + { + get; + set; + } + /// <summary> + /// 鍙告満id + /// </summary> + public string StaffName + { + get; + set; + } #endregion Model #region Visiter @@ -252,6 +309,51 @@ this.CarConditionName = isChange ? MyConvert.ConvertToString(value) : CarConditionName; theValue = this.CarConditionName; } + else if ("StaffID".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12) + { + + this.StaffID = isChange ? MyConvert.ConvertToInt(value) : StaffID; + theValue = this.StaffID; + } + else if ("StaffName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12) + { + + this.StaffName = isChange ? MyConvert.ConvertToString(value) : StaffName; + theValue = this.StaffName; + } + else if ("InsuranceCompany".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 13) + { + + this.InsuranceCompany = isChange ? MyConvert.ConvertToString(value) : InsuranceCompany; + theValue = this.InsuranceCompany; + } + else if ("InsuranceEndTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 14) + { + + this.InsuranceEndTime = isChange ? MyConvert.ConvertToDateTime(value) : InsuranceEndTime; + theValue = this.InsuranceEndTime; + } + else if ("MaintenanceNextTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 15) + { + + this.MaintenanceNextTime = isChange ? MyConvert.ConvertToDateTime(value) : MaintenanceNextTime; + theValue = this.MaintenanceNextTime; + } + else if ("ExaminedNextTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 16) + { + + this.ExaminedNextTime = isChange ? MyConvert.ConvertToDateTime(value) : ExaminedNextTime; + theValue = this.ExaminedNextTime; + } + else if ("InsuranceContent".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 17) + { + + this.InsuranceContent = isChange ? MyConvert.ConvertToString(value) : InsuranceContent; + theValue = this.InsuranceContent; + } + + + return theValue; } #endregion Visiter -- Gitblit v1.9.1