diff --git a/Tiobon.Core.Api/Tiobon.Core.Model.xml b/Tiobon.Core.Api/Tiobon.Core.Model.xml
index 772cd1ba..d7120ab5 100644
--- a/Tiobon.Core.Api/Tiobon.Core.Model.xml
+++ b/Tiobon.Core.Api/Tiobon.Core.Model.xml
@@ -9,21 +9,11 @@
表主键
-
-
- 序号
-
-
1:有效,0:未生效
-
-
- 是否默认
-
-
操作日志ID
@@ -69,11 +59,6 @@
最后修改IP
-
-
- 备注
-
-
年级 (Dto.Base)
@@ -169,6 +154,21 @@
课程名称
+
+
+ 备注
+
+
+
+
+ 排序
+
+
+
+
+ 默认标志
+
+
预留字段1
@@ -749,6 +749,21 @@
课程名称
+
+
+ 备注
+
+
+
+
+ 排序
+
+
+
+
+ 默认标志
+
+
预留字段1
diff --git a/Tiobon.Core.Common/Seed/FrameSeed.cs b/Tiobon.Core.Common/Seed/FrameSeed.cs
index 2d9b11fc..9b1e3502 100644
--- a/Tiobon.Core.Common/Seed/FrameSeed.cs
+++ b/Tiobon.Core.Common/Seed/FrameSeed.cs
@@ -429,8 +429,8 @@ namespace " + strNameSpace + @"
string CHARACTER_MAXIMUM_LENGTH = string.Empty;
string[] a = {
- "Id", "SortNo", "IsEnable", "IsDefault", "OperateLogID", "CreateBy", "CreateTime",
- "CreateProg", "CreateIP", "UpdateBy", "UpdateTime", "UpdateProg","UpdateIP","RemarkSz"
+ "Id", "IsEnable", "OperateLogID", "CreateBy", "CreateTime",
+ "CreateProg", "CreateIP", "UpdateBy", "UpdateTime", "UpdateProg","UpdateIP"
};
diff --git a/Tiobon.Core.Model/Base/BasePoco.cs b/Tiobon.Core.Model/Base/BasePoco.cs
index 6e7ead8d..e4f93bbb 100644
--- a/Tiobon.Core.Model/Base/BasePoco.cs
+++ b/Tiobon.Core.Model/Base/BasePoco.cs
@@ -16,24 +16,13 @@ namespace Tiobon.Core.Model
public long Id { get; set; }
}
public class BasePoco1 : IBaseDeleteFilter
- {
- ///
- /// 序号
- ///
- [Display(Name = "序号")]
- public int? SortNo { get; set; } = 0;
+ {
///
/// 1:有效,0:未生效
///
[Display(Name = "1:有效,0:未生效")]
- public int IsEnable { get; set; } = 1;
-
- ///
- /// 是否默认
- ///
- [Display(Name = "是否默认")]
- public int? IsDefault { get; set; } = 0;
+ public int IsEnable { get; set; } = 1;
///
/// 操作日志ID
@@ -89,11 +78,5 @@ namespace Tiobon.Core.Model
[Display(Name = "最后修改IP")]
public string UpdateIP { get; set; }
- ///
- /// 备注
- ///
- [Display(Name = "备注"), Description("备注"), MaxLength(1000, ErrorMessage = "备注 不能超过 2000 个字符")]
- public string RemarkSz { get; set; }
-
}
}
diff --git a/Tiobon.Core.Model/Base/Ghre/Ghre_CourseClass.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghre/Ghre_CourseClass.Dto.Base.cs
index 5ad1684a..fc3d3eed 100644
--- a/Tiobon.Core.Model/Base/Ghre/Ghre_CourseClass.Dto.Base.cs
+++ b/Tiobon.Core.Model/Base/Ghre/Ghre_CourseClass.Dto.Base.cs
@@ -6,7 +6,7 @@
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
-*V0.01 2024/4/19 14:35:51 SimonHsiao 初版
+*V0.01 2024/4/22 10:42:45 SimonHsiao 初版
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*┌──────────────────────────────────┐
@@ -38,6 +38,22 @@ namespace Tiobon.Core.Model.Models
[Display(Name = "ClassName"), Description("课程名称"), MaxLength(100, ErrorMessage = "课程名称 不能超过 100 个字符")]
public string ClassName { get; set; }
+ ///
+ /// 备注
+ ///
+ [Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")]
+ public string RemarkSz { get; set; }
+
+ ///
+ /// 排序
+ ///
+ public int? SortNo { get; set; }
+
+ ///
+ /// 默认标志
+ ///
+ public int? IsDefault { get; set; }
+
///
/// 预留字段1
///
diff --git a/Tiobon.Core.Model/Models/Ghre/Ghre_CourseClass.cs b/Tiobon.Core.Model/Models/Ghre/Ghre_CourseClass.cs
index 64187b40..4493912c 100644
--- a/Tiobon.Core.Model/Models/Ghre/Ghre_CourseClass.cs
+++ b/Tiobon.Core.Model/Models/Ghre/Ghre_CourseClass.cs
@@ -6,7 +6,7 @@
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
-*V0.01 2024/4/19 14:35:51 SimonHsiao 初版
+*V0.01 2024/4/22 10:42:45 SimonHsiao 初版
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*┌──────────────────────────────────┐
@@ -40,6 +40,22 @@ namespace Tiobon.Core.Model.Models
[Display(Name = "ClassName"), Description("课程名称"), MaxLength(100, ErrorMessage = "课程名称 不能超过 100 个字符")]
public string ClassName { get; set; }
+ ///
+ /// 备注
+ ///
+ [Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")]
+ public string RemarkSz { get; set; }
+
+ ///
+ /// 排序
+ ///
+ public int? SortNo { get; set; }
+
+ ///
+ /// 默认标志
+ ///
+ public int? IsDefault { get; set; }
+
///
/// 预留字段1
///
diff --git a/Tiobon.Core/Tiobon.Core.Model.xml b/Tiobon.Core/Tiobon.Core.Model.xml
index 772cd1ba..d7120ab5 100644
--- a/Tiobon.Core/Tiobon.Core.Model.xml
+++ b/Tiobon.Core/Tiobon.Core.Model.xml
@@ -9,21 +9,11 @@
表主键
-
-
- 序号
-
-
1:有效,0:未生效
-
-
- 是否默认
-
-
操作日志ID
@@ -69,11 +59,6 @@
最后修改IP
-
-
- 备注
-
-
年级 (Dto.Base)
@@ -169,6 +154,21 @@
课程名称
+
+
+ 备注
+
+
+
+
+ 排序
+
+
+
+
+ 默认标志
+
+
预留字段1
@@ -749,6 +749,21 @@
课程名称
+
+
+ 备注
+
+
+
+
+ 排序
+
+
+
+
+ 默认标志
+
+
预留字段1