diff --git a/Tiobon.Core.Api/Tiobon.Core.Model.xml b/Tiobon.Core.Api/Tiobon.Core.Model.xml index f207d8f1..f712c857 100644 --- a/Tiobon.Core.Api/Tiobon.Core.Model.xml +++ b/Tiobon.Core.Api/Tiobon.Core.Model.xml @@ -4875,6 +4875,16 @@ 报名结束日期 + + + 考试开始日期 + + + + + 考试结束日期 + + 开班人数 @@ -4925,6 +4935,11 @@ 总结 + + + 是否需要学习 + + 发布状态 @@ -19631,6 +19646,16 @@ 报名结束日期 + + + 考试开始日期 + + + + + 考试结束日期 + + 开班人数 @@ -19681,6 +19706,11 @@ 总结 + + + 是否需要学习 + + 发布状态 @@ -29857,6 +29887,11 @@ 报名起止日期 + + + 考试起止日期 + + 试卷 diff --git a/Tiobon.Core.Model/Base/Ghre/Ghre_OpenClass.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghre/Ghre_OpenClass.Dto.Base.cs index dd52a133..6a79c253 100644 --- a/Tiobon.Core.Model/Base/Ghre/Ghre_OpenClass.Dto.Base.cs +++ b/Tiobon.Core.Model/Base/Ghre/Ghre_OpenClass.Dto.Base.cs @@ -6,7 +6,7 @@ * * Ver 变更日期 负责人 变更内容 * ─────────────────────────────────── -*V0.01 2025/2/12 15:58:56 SimonHsiao 初版 +*V0.01 2025/2/13 9:25:21 SimonHsiao 初版 * * Copyright(c) 2025 Tiobon Corporation. All Rights Reserved. *┌──────────────────────────────────┐ @@ -81,7 +81,7 @@ public class Ghre_OpenClassBase /// /// 讲师ID /// - public int? TeacherId { get; set; } + public long? TeacherId { get; set; } /// /// 培训地点 @@ -109,6 +109,16 @@ public class Ghre_OpenClassBase /// public DateTime? RegisterEndTime { get; set; } + /// + /// 考试开始日期 + /// + public DateTime? ExamStartTime { get; set; } + + /// + /// 考试结束日期 + /// + public DateTime? ExamEndTime { get; set; } + /// /// 开班人数 /// @@ -164,6 +174,11 @@ public class Ghre_OpenClassBase [Display(Name = "Summary"), Description("总结"), MaxLength(2000, ErrorMessage = "总结 不能超过 2000 个字符")] public string Summary { get; set; } + /// + /// 是否需要学习 + /// + public bool? IsRequireStudy { get; set; } + /// /// 发布状态 /// diff --git a/Tiobon.Core.Model/Models/Ghre/Ghre_OpenClass.cs b/Tiobon.Core.Model/Models/Ghre/Ghre_OpenClass.cs index e2240b9a..adde5f72 100644 --- a/Tiobon.Core.Model/Models/Ghre/Ghre_OpenClass.cs +++ b/Tiobon.Core.Model/Models/Ghre/Ghre_OpenClass.cs @@ -6,7 +6,7 @@ * * Ver 变更日期 负责人 变更内容 * ─────────────────────────────────── -*V0.01 2025/2/12 15:58:56 SimonHsiao 初版 +*V0.01 2025/2/13 9:25:21 SimonHsiao 初版 * * Copyright(c) 2025 Tiobon Corporation. All Rights Reserved. *┌──────────────────────────────────┐ @@ -82,7 +82,7 @@ public class Ghre_OpenClass : BasePoco /// /// 讲师ID /// - public int? TeacherId { get; set; } + public long? TeacherId { get; set; } /// /// 培训地点 @@ -110,6 +110,16 @@ public class Ghre_OpenClass : BasePoco /// public DateTime? RegisterEndTime { get; set; } + /// + /// 考试开始日期 + /// + public DateTime? ExamStartTime { get; set; } + + /// + /// 考试结束日期 + /// + public DateTime? ExamEndTime { get; set; } + /// /// 开班人数 /// @@ -165,6 +175,11 @@ public class Ghre_OpenClass : BasePoco [Display(Name = "Summary"), Description("总结"), MaxLength(2000, ErrorMessage = "总结 不能超过 2000 个字符")] public string Summary { get; set; } + /// + /// 是否需要学习 + /// + public bool? IsRequireStudy { get; set; } + /// /// 发布状态 /// diff --git a/Tiobon.Core.Model/View/Ghre/Ghre_OpenClass.Dto.View.cs b/Tiobon.Core.Model/View/Ghre/Ghre_OpenClass.Dto.View.cs index 9cc2275e..cb09fbbb 100644 --- a/Tiobon.Core.Model/View/Ghre/Ghre_OpenClass.Dto.View.cs +++ b/Tiobon.Core.Model/View/Ghre/Ghre_OpenClass.Dto.View.cs @@ -48,10 +48,16 @@ public class Ghre_OpenClassDto : Ghre_OpenClass /// public string RegisterStartEndTime { get; set; } + /// + /// 考试起止日期 + /// + public string ExamStartEndTime { get; set; } + /// /// 试卷 /// public string ExamPaperName { get; set; } + /// /// 开班负责人 diff --git a/Tiobon.Core.Services/Ghre/Ghre_OpenClassServices.cs b/Tiobon.Core.Services/Ghre/Ghre_OpenClassServices.cs index 47403812..459028ef 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_OpenClassServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_OpenClassServices.cs @@ -66,6 +66,9 @@ public class Ghre_OpenClassServices : BaseServices().FirstAsync(x => x.Id == DT_TableDataT1.ExamPaperId))?.PaperName;