diff --git a/Tiobon.Core.Api/Controllers/Ghre/Ghre_CourseClassController.cs b/Tiobon.Core.Api/Controllers/Ghre/Ghre_CourseClassController.cs
new file mode 100644
index 00000000..bfdcdb2d
--- /dev/null
+++ b/Tiobon.Core.Api/Controllers/Ghre/Ghre_CourseClassController.cs
@@ -0,0 +1,14 @@
+namespace Tiobon.Core.Api.Controllers;
+
+///
+/// 课程分类(Controller)
+///
+[Route("api/[controller]")]
+[ApiController, GlobalActionFilter]
+[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghre)]
+public class Ghre_CourseClassController : BaseController
+{
+ public Ghre_CourseClassController(IGhre_CourseClassServices service) : base(service)
+ {
+ }
+}
\ No newline at end of file
diff --git a/Tiobon.Core.Api/Tiobon.Core.Model.xml b/Tiobon.Core.Api/Tiobon.Core.Model.xml
index 036fd617..772cd1ba 100644
--- a/Tiobon.Core.Api/Tiobon.Core.Model.xml
+++ b/Tiobon.Core.Api/Tiobon.Core.Model.xml
@@ -154,6 +154,81 @@
ReverseI2
+
+
+ 课程分类 (Dto.Base)
+
+
+
+
+ 课程名称
+
+
+
+
+ 课程名称
+
+
+
+
+ 预留字段1
+
+
+
+
+ 预留字段2
+
+
+
+
+ 预留字段3
+
+
+
+
+ 预留字段4
+
+
+
+
+ 预留字段5
+
+
+
+
+ 预留字段6
+
+
+
+
+ 预留字段7
+
+
+
+
+ 预留字段8
+
+
+
+
+ 预留字段9
+
+
+
+
+ 预留字段10
+
+
+
+
+ 预留字段11
+
+
+
+
+ 预留字段12
+
+
系统用户 (Dto.Base)
@@ -333,6 +408,11 @@
年级 (Dto.EditInput)
+
+
+ 课程分类 (Dto.EditInput)
+
+
系统用户 (Dto.EditInput)
@@ -343,6 +423,11 @@
年级 (Dto.InsertInput)
+
+
+ 课程分类 (Dto.InsertInput)
+
+
系统用户 (Dto.InsertInput)
@@ -649,6 +734,81 @@
ReverseI2
+
+
+ 课程分类 (Model)
+
+
+
+
+ 课程名称
+
+
+
+
+ 课程名称
+
+
+
+
+ 预留字段1
+
+
+
+
+ 预留字段2
+
+
+
+
+ 预留字段3
+
+
+
+
+ 预留字段4
+
+
+
+
+ 预留字段5
+
+
+
+
+ 预留字段6
+
+
+
+
+ 预留字段7
+
+
+
+
+ 预留字段8
+
+
+
+
+ 预留字段9
+
+
+
+
+ 预留字段10
+
+
+
+
+ 预留字段11
+
+
+
+
+ 预留字段12
+
+
系统用户 (Model)
@@ -1677,6 +1837,11 @@
年级(Dto.View)
+
+
+ 课程分类(Dto.View)
+
+
系统用户(Dto.View)
diff --git a/Tiobon.Core.Api/Tiobon.Core.xml b/Tiobon.Core.Api/Tiobon.Core.xml
index e2fb8b95..60522f4a 100644
--- a/Tiobon.Core.Api/Tiobon.Core.xml
+++ b/Tiobon.Core.Api/Tiobon.Core.xml
@@ -445,6 +445,11 @@
年级(Controller)
+
+
+ 课程分类(Controller)
+
+
系统用户(Controller)
diff --git a/Tiobon.Core.IServices/Ghre/IGhre_CourseClassServices.cs b/Tiobon.Core.IServices/Ghre/IGhre_CourseClassServices.cs
new file mode 100644
index 00000000..385f5764
--- /dev/null
+++ b/Tiobon.Core.IServices/Ghre/IGhre_CourseClassServices.cs
@@ -0,0 +1,12 @@
+using Tiobon.Core.IServices.BASE;
+using Tiobon.Core.Model.Models;
+
+namespace Tiobon.Core.IServices
+{
+ ///
+ /// 课程分类(自定义服务接口)
+ ///
+ public interface IGhre_CourseClassServices :IBaseServices
+ {
+ }
+}
\ No newline at end of file
diff --git a/Tiobon.Core.Model/Base/Ghre/Ghre_CourseClass.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghre/Ghre_CourseClass.Dto.Base.cs
new file mode 100644
index 00000000..5ad1684a
--- /dev/null
+++ b/Tiobon.Core.Model/Base/Ghre/Ghre_CourseClass.Dto.Base.cs
@@ -0,0 +1,111 @@
+/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。
+* Ghre_CourseClass.cs
+*
+*功 能: N / A
+* 类 名: Ghre_CourseClass
+*
+* Ver 变更日期 负责人 变更内容
+* ───────────────────────────────────
+*V0.01 2024/4/19 14:35:51 SimonHsiao 初版
+*
+* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
+*┌──────────────────────────────────┐
+*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
+*│ 作者:SimonHsiao │
+*└──────────────────────────────────┘
+*/
+using System.ComponentModel;
+using System.ComponentModel.DataAnnotations;
+
+namespace Tiobon.Core.Model.Models
+{
+
+ ///
+ /// 课程分类 (Dto.Base)
+ ///
+ public class Ghre_CourseClassBase
+ {
+
+ ///
+ /// 课程名称
+ ///
+ [Display(Name = "ClassNo"), Description("课程名称"), MaxLength(100, ErrorMessage = "课程名称 不能超过 100 个字符")]
+ public string ClassNo { get; set; }
+
+ ///
+ /// 课程名称
+ ///
+ [Display(Name = "ClassName"), Description("课程名称"), MaxLength(100, ErrorMessage = "课程名称 不能超过 100 个字符")]
+ public string ClassName { get; set; }
+
+ ///
+ /// 预留字段1
+ ///
+ [Display(Name = "Reverse1"), Description("预留字段1"), MaxLength(1000, ErrorMessage = "预留字段1 不能超过 1000 个字符")]
+ public string Reverse1 { get; set; }
+
+ ///
+ /// 预留字段2
+ ///
+ [Display(Name = "Reverse2"), Description("预留字段2"), MaxLength(1000, ErrorMessage = "预留字段2 不能超过 1000 个字符")]
+ public string Reverse2 { get; set; }
+
+ ///
+ /// 预留字段3
+ ///
+ [Display(Name = "Reverse3"), Description("预留字段3"), MaxLength(1000, ErrorMessage = "预留字段3 不能超过 1000 个字符")]
+ public string Reverse3 { get; set; }
+
+ ///
+ /// 预留字段4
+ ///
+ [Display(Name = "Reverse4"), Description("预留字段4"), MaxLength(1000, ErrorMessage = "预留字段4 不能超过 1000 个字符")]
+ public string Reverse4 { get; set; }
+
+ ///
+ /// 预留字段5
+ ///
+ [Display(Name = "Reverse5"), Description("预留字段5"), MaxLength(1000, ErrorMessage = "预留字段5 不能超过 1000 个字符")]
+ public string Reverse5 { get; set; }
+
+ ///
+ /// 预留字段6
+ ///
+ [Display(Name = "Reverse6"), Description("预留字段6"), MaxLength(1000, ErrorMessage = "预留字段6 不能超过 1000 个字符")]
+ public string Reverse6 { get; set; }
+
+ ///
+ /// 预留字段7
+ ///
+ [Display(Name = "Reverse7"), Description("预留字段7"), MaxLength(1000, ErrorMessage = "预留字段7 不能超过 1000 个字符")]
+ public string Reverse7 { get; set; }
+
+ ///
+ /// 预留字段8
+ ///
+ [Display(Name = "Reverse8"), Description("预留字段8"), MaxLength(1000, ErrorMessage = "预留字段8 不能超过 1000 个字符")]
+ public string Reverse8 { get; set; }
+
+ ///
+ /// 预留字段9
+ ///
+ [Display(Name = "Reverse9"), Description("预留字段9"), MaxLength(1000, ErrorMessage = "预留字段9 不能超过 1000 个字符")]
+ public string Reverse9 { get; set; }
+
+ ///
+ /// 预留字段10
+ ///
+ [Display(Name = "Reverse10"), Description("预留字段10"), MaxLength(1000, ErrorMessage = "预留字段10 不能超过 1000 个字符")]
+ public string Reverse10 { get; set; }
+
+ ///
+ /// 预留字段11
+ ///
+ public int? ReverseI1 { get; set; }
+
+ ///
+ /// 预留字段12
+ ///
+ public int? ReverseI2 { get; set; }
+ }
+}
diff --git a/Tiobon.Core.Model/Edit/Ghre/Ghre_CourseClass.Dto.EditInput.cs b/Tiobon.Core.Model/Edit/Ghre/Ghre_CourseClass.Dto.EditInput.cs
new file mode 100644
index 00000000..6d23d51a
--- /dev/null
+++ b/Tiobon.Core.Model/Edit/Ghre/Ghre_CourseClass.Dto.EditInput.cs
@@ -0,0 +1,27 @@
+/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。
+* Ghre_CourseClass.cs
+*
+*功 能: N / A
+* 类 名: Ghre_CourseClass
+*
+* Ver 变更日期 负责人 变更内容
+* ───────────────────────────────────
+*V0.01 2024/4/19 14:35:51 SimonHsiao 初版
+*
+* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
+*┌──────────────────────────────────┐
+*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
+*│ 作者:SimonHsiao │
+*└──────────────────────────────────┘
+*/
+
+namespace Tiobon.Core.Model.Models
+{
+
+ ///
+ /// 课程分类 (Dto.EditInput)
+ ///
+ public class EditGhre_CourseClassInput : Ghre_CourseClassBase
+ {
+ }
+}
diff --git a/Tiobon.Core.Model/Insert/Ghre/Ghre_CourseClass.Dto.InsertInput.cs b/Tiobon.Core.Model/Insert/Ghre/Ghre_CourseClass.Dto.InsertInput.cs
new file mode 100644
index 00000000..8d1fc50d
--- /dev/null
+++ b/Tiobon.Core.Model/Insert/Ghre/Ghre_CourseClass.Dto.InsertInput.cs
@@ -0,0 +1,27 @@
+/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。
+* Ghre_CourseClass.cs
+*
+*功 能: N / A
+* 类 名: Ghre_CourseClass
+*
+* Ver 变更日期 负责人 变更内容
+* ───────────────────────────────────
+*V0.01 2024/4/19 14:35:51 SimonHsiao 初版
+*
+* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
+*┌──────────────────────────────────┐
+*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
+*│ 作者:SimonHsiao │
+*└──────────────────────────────────┘
+*/
+
+namespace Tiobon.Core.Model.Models
+{
+
+ ///
+ /// 课程分类 (Dto.InsertInput)
+ ///
+ public class InsertGhre_CourseClassInput : Ghre_CourseClassBase
+ {
+ }
+}
diff --git a/Tiobon.Core.Model/Models/Ghre/Ghre_CourseClass.cs b/Tiobon.Core.Model/Models/Ghre/Ghre_CourseClass.cs
new file mode 100644
index 00000000..64187b40
--- /dev/null
+++ b/Tiobon.Core.Model/Models/Ghre/Ghre_CourseClass.cs
@@ -0,0 +1,113 @@
+/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。
+* Ghre_CourseClass.cs
+*
+*功 能: N / A
+* 类 名: Ghre_CourseClass
+*
+* Ver 变更日期 负责人 变更内容
+* ───────────────────────────────────
+*V0.01 2024/4/19 14:35:51 SimonHsiao 初版
+*
+* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
+*┌──────────────────────────────────┐
+*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
+*│ 作者:SimonHsiao │
+*└──────────────────────────────────┘
+*/
+using System.ComponentModel;
+using System.ComponentModel.DataAnnotations;
+using SqlSugar;
+
+namespace Tiobon.Core.Model.Models
+{
+
+ ///
+ /// 课程分类 (Model)
+ ///
+ [SugarTable("Ghre_CourseClass", "Ghre_CourseClass"), Entity(TableCnName = "课程分类", TableName = "Ghre_CourseClass")]
+ public class Ghre_CourseClass : BasePoco
+ {
+
+ ///
+ /// 课程名称
+ ///
+ [Display(Name = "ClassNo"), Description("课程名称"), MaxLength(100, ErrorMessage = "课程名称 不能超过 100 个字符")]
+ public string ClassNo { get; set; }
+
+ ///
+ /// 课程名称
+ ///
+ [Display(Name = "ClassName"), Description("课程名称"), MaxLength(100, ErrorMessage = "课程名称 不能超过 100 个字符")]
+ public string ClassName { get; set; }
+
+ ///
+ /// 预留字段1
+ ///
+ [Display(Name = "Reverse1"), Description("预留字段1"), MaxLength(1000, ErrorMessage = "预留字段1 不能超过 1000 个字符")]
+ public string Reverse1 { get; set; }
+
+ ///
+ /// 预留字段2
+ ///
+ [Display(Name = "Reverse2"), Description("预留字段2"), MaxLength(1000, ErrorMessage = "预留字段2 不能超过 1000 个字符")]
+ public string Reverse2 { get; set; }
+
+ ///
+ /// 预留字段3
+ ///
+ [Display(Name = "Reverse3"), Description("预留字段3"), MaxLength(1000, ErrorMessage = "预留字段3 不能超过 1000 个字符")]
+ public string Reverse3 { get; set; }
+
+ ///
+ /// 预留字段4
+ ///
+ [Display(Name = "Reverse4"), Description("预留字段4"), MaxLength(1000, ErrorMessage = "预留字段4 不能超过 1000 个字符")]
+ public string Reverse4 { get; set; }
+
+ ///
+ /// 预留字段5
+ ///
+ [Display(Name = "Reverse5"), Description("预留字段5"), MaxLength(1000, ErrorMessage = "预留字段5 不能超过 1000 个字符")]
+ public string Reverse5 { get; set; }
+
+ ///
+ /// 预留字段6
+ ///
+ [Display(Name = "Reverse6"), Description("预留字段6"), MaxLength(1000, ErrorMessage = "预留字段6 不能超过 1000 个字符")]
+ public string Reverse6 { get; set; }
+
+ ///
+ /// 预留字段7
+ ///
+ [Display(Name = "Reverse7"), Description("预留字段7"), MaxLength(1000, ErrorMessage = "预留字段7 不能超过 1000 个字符")]
+ public string Reverse7 { get; set; }
+
+ ///
+ /// 预留字段8
+ ///
+ [Display(Name = "Reverse8"), Description("预留字段8"), MaxLength(1000, ErrorMessage = "预留字段8 不能超过 1000 个字符")]
+ public string Reverse8 { get; set; }
+
+ ///
+ /// 预留字段9
+ ///
+ [Display(Name = "Reverse9"), Description("预留字段9"), MaxLength(1000, ErrorMessage = "预留字段9 不能超过 1000 个字符")]
+ public string Reverse9 { get; set; }
+
+ ///
+ /// 预留字段10
+ ///
+ [Display(Name = "Reverse10"), Description("预留字段10"), MaxLength(1000, ErrorMessage = "预留字段10 不能超过 1000 个字符")]
+ public string Reverse10 { get; set; }
+
+ ///
+ /// 预留字段11
+ ///
+ public int? ReverseI1 { get; set; }
+
+ ///
+ /// 预留字段12
+ ///
+ public int? ReverseI2 { get; set; }
+ }
+}
diff --git a/Tiobon.Core.Model/View/Ghre/Ghre_CourseClass.Dto.View.cs b/Tiobon.Core.Model/View/Ghre/Ghre_CourseClass.Dto.View.cs
new file mode 100644
index 00000000..6cd94344
--- /dev/null
+++ b/Tiobon.Core.Model/View/Ghre/Ghre_CourseClass.Dto.View.cs
@@ -0,0 +1,27 @@
+/* 代码由框架生成,任何更改都可能导致被代码生成器覆盖,可自行修改。
+* Ghre_CourseClass.cs
+*
+*功 能: N / A
+* 类 名: Ghre_CourseClass
+*
+* Ver 变更日期 负责人 变更内容
+* ───────────────────────────────────
+*V0.01 2024/4/19 14:35:51 SimonHsiao 初版
+*
+* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
+*┌──────────────────────────────────┐
+*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
+*│ 作者:SimonHsiao │
+*└──────────────────────────────────┘
+*/
+
+namespace Tiobon.Core.Model.Models
+{
+
+ ///
+ /// 课程分类(Dto.View)
+ ///
+ public class Ghre_CourseClassDto : Ghre_CourseClass
+ {
+ }
+}
diff --git a/Tiobon.Core.Services/Ghre/Ghre_CourseClassServices.cs b/Tiobon.Core.Services/Ghre/Ghre_CourseClassServices.cs
new file mode 100644
index 00000000..2a485ea9
--- /dev/null
+++ b/Tiobon.Core.Services/Ghre/Ghre_CourseClassServices.cs
@@ -0,0 +1,21 @@
+
+using Tiobon.Core.IServices;
+using Tiobon.Core.Model.Models;
+using Tiobon.Core.Services.BASE;
+using Tiobon.Core.IRepository.Base;
+
+namespace Tiobon.Core.Services
+{
+ ///
+ /// 课程分类 (服务)
+ ///
+ public class Ghre_CourseClassServices : BaseServices, IGhre_CourseClassServices
+ {
+ private readonly IBaseRepository _dal;
+ public Ghre_CourseClassServices(IBaseRepository dal)
+ {
+ this._dal = dal;
+ base.BaseDal = dal;
+ }
+ }
+}
\ No newline at end of file