From 7a13e0cee8b01773671493b3e6aeac81a49e1f71 Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Tue, 16 Jul 2024 19:28:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E8=AF=81=E5=AF=B9=E7=85=A7=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tiobon.Core.Api/Tiobon.Core.Model.xml | 10 ++++++++++ .../Base/Ghre/Ghre_Certificate.Dto.Base.cs | 6 ++++++ Tiobon.Core.Model/Models/Ghre/Ghre_Certificate.cs | 6 ++++++ .../View/Ghre/Ghre_Certificate.Dto.View.cs | 1 + Tiobon.Core/Tiobon.Core.Model.xml | 12 +++++++++++- 5 files changed, 34 insertions(+), 1 deletion(-) diff --git a/Tiobon.Core.Api/Tiobon.Core.Model.xml b/Tiobon.Core.Api/Tiobon.Core.Model.xml index 0747f147..554eff7b 100644 --- a/Tiobon.Core.Api/Tiobon.Core.Model.xml +++ b/Tiobon.Core.Api/Tiobon.Core.Model.xml @@ -1070,6 +1070,11 @@ 结束时间 + + + 颁发来源 + + 备注 @@ -6001,6 +6006,11 @@ 结束时间 + + + 颁发来源 + + 备注 diff --git a/Tiobon.Core.Model/Base/Ghre/Ghre_Certificate.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghre/Ghre_Certificate.Dto.Base.cs index 529d7cb5..1efeefe8 100644 --- a/Tiobon.Core.Model/Base/Ghre/Ghre_Certificate.Dto.Base.cs +++ b/Tiobon.Core.Model/Base/Ghre/Ghre_Certificate.Dto.Base.cs @@ -69,6 +69,12 @@ namespace Tiobon.Core.Model.Models /// public DateTime? ValidityPeriodTime { get; set; } + /// + /// 颁发来源 + /// + [Display(Name = "AwardSource"), Description("颁发来源"), MaxLength(32, ErrorMessage = "颁发来源 不能超过 32 个字符")] + public string AwardSource { get; set; } + /// /// 备注 /// diff --git a/Tiobon.Core.Model/Models/Ghre/Ghre_Certificate.cs b/Tiobon.Core.Model/Models/Ghre/Ghre_Certificate.cs index c3863c41..30b35004 100644 --- a/Tiobon.Core.Model/Models/Ghre/Ghre_Certificate.cs +++ b/Tiobon.Core.Model/Models/Ghre/Ghre_Certificate.cs @@ -71,6 +71,12 @@ namespace Tiobon.Core.Model.Models /// public DateTime? ValidityPeriodTime { get; set; } + /// + /// 颁发来源 + /// + [Display(Name = "AwardSource"), Description("颁发来源"), MaxLength(32, ErrorMessage = "颁发来源 不能超过 32 个字符")] + public string AwardSource { get; set; } + /// /// 备注 /// diff --git a/Tiobon.Core.Model/View/Ghre/Ghre_Certificate.Dto.View.cs b/Tiobon.Core.Model/View/Ghre/Ghre_Certificate.Dto.View.cs index 11bd436d..1f021db4 100644 --- a/Tiobon.Core.Model/View/Ghre/Ghre_Certificate.Dto.View.cs +++ b/Tiobon.Core.Model/View/Ghre/Ghre_Certificate.Dto.View.cs @@ -125,4 +125,5 @@ public class Ghre_CertificateDto : Ghre_Certificate /// public string CertificateTypeLabel { get; set; } public string IsExpiredLabel { get; set; } + public string AwardDate1 { get; set; } } \ No newline at end of file diff --git a/Tiobon.Core/Tiobon.Core.Model.xml b/Tiobon.Core/Tiobon.Core.Model.xml index 31254a9e..554eff7b 100644 --- a/Tiobon.Core/Tiobon.Core.Model.xml +++ b/Tiobon.Core/Tiobon.Core.Model.xml @@ -1070,6 +1070,11 @@ 结束时间 + + + 颁发来源 + + 备注 @@ -6001,6 +6006,11 @@ 结束时间 + + + 颁发来源 + + 备注 @@ -10332,7 +10342,7 @@ 获得学分 - + 来源