|
|
|
@ -6,7 +6,7 @@ |
|
|
|
|
* |
|
|
|
|
* Ver 变更日期 负责人 变更内容 |
|
|
|
|
* ─────────────────────────────────── |
|
|
|
|
*V0.01 2024/4/28 11:06:50 SimonHsiao 初版 |
|
|
|
|
*V0.01 2024/6/7 10:21:28 SimonHsiao 初版 |
|
|
|
|
* |
|
|
|
|
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved. |
|
|
|
|
*┌──────────────────────────────────┐ |
|
|
|
@ -16,12 +16,13 @@ |
|
|
|
|
*/ |
|
|
|
|
using System.ComponentModel; |
|
|
|
|
using System.ComponentModel.DataAnnotations; |
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema; |
|
|
|
|
|
|
|
|
|
namespace Tiobon.Core.Model.Models |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// Ghre_Course (Dto.Base) |
|
|
|
|
/// 课程 (Dto.Base) |
|
|
|
|
/// </summary> |
|
|
|
|
public class Ghre_CourseBase |
|
|
|
|
{ |
|
|
|
@ -29,13 +30,13 @@ namespace Tiobon.Core.Model.Models |
|
|
|
|
/// <summary> |
|
|
|
|
/// 课程编号 |
|
|
|
|
/// </summary> |
|
|
|
|
[Display(Name = "CourseNo"), Description("课程编号"), MaxLength(32, ErrorMessage = "课程编号 不能超过 32 个字符"), EntityColumn(Unique = true)] |
|
|
|
|
[Display(Name = "CourseNo"), Description("课程编号"), MaxLength(32, ErrorMessage = "课程编号 不能超过 32 个字符")] |
|
|
|
|
public string CourseNo { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 课程名称 |
|
|
|
|
/// </summary> |
|
|
|
|
[Display(Name = "CourseName"), Description("课程名称"), MaxLength(32, ErrorMessage = "课程名称 不能超过 32 个字符"), EntityColumn(Unique = true)] |
|
|
|
|
[Display(Name = "CourseName"), Description("课程名称"), MaxLength(32, ErrorMessage = "课程名称 不能超过 32 个字符")] |
|
|
|
|
public string CourseName { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
@ -43,6 +44,119 @@ namespace Tiobon.Core.Model.Models |
|
|
|
|
/// </summary> |
|
|
|
|
public long? CourseClassId { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 课程分类ID |
|
|
|
|
/// </summary> |
|
|
|
|
public long? CourseClassId2 { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 课程场景ID |
|
|
|
|
/// </summary> |
|
|
|
|
public long? CourseSceneId { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 课件ID |
|
|
|
|
/// </summary> |
|
|
|
|
[Display(Name = "CourseWareId"), Description("课件ID"), MaxLength(2000, ErrorMessage = "课件ID 不能超过 2000 个字符")] |
|
|
|
|
public string CourseWareId { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 标准工时 |
|
|
|
|
/// </summary> |
|
|
|
|
public int? 标准工时 { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 学分 |
|
|
|
|
/// </summary> |
|
|
|
|
public int? 学分 { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 课程负责人 |
|
|
|
|
/// </summary> |
|
|
|
|
public long? 课程负责人 { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 课程负责人部门ID |
|
|
|
|
/// </summary> |
|
|
|
|
public long? 课程负责人部门ID { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 内/外训 |
|
|
|
|
/// </summary> |
|
|
|
|
[Display(Name = "InOrOut"), Description("内/外训"), MaxLength(32, ErrorMessage = "内/外训 不能超过 32 个字符")] |
|
|
|
|
public string InOrOut { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 讲师ID |
|
|
|
|
/// </summary> |
|
|
|
|
public long? TeacherId { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 讲师部门ID |
|
|
|
|
/// </summary> |
|
|
|
|
public long? TeacherDeptId { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 培训机构ID |
|
|
|
|
/// </summary> |
|
|
|
|
public long? SchoolId { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 培训机构讲师ID |
|
|
|
|
/// </summary> |
|
|
|
|
public long? SchoolTeacherId { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 市场价格 |
|
|
|
|
/// </summary> |
|
|
|
|
[Display(Name = "Price"), Description("市场价格"), Column(TypeName = "decimal(20,2)")] |
|
|
|
|
public decimal? Price { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 收费方式,天数、时间、项目 |
|
|
|
|
/// </summary> |
|
|
|
|
[Display(Name = "ChargeMethod"), Description("收费方式,天数、时间、项目"), MaxLength(32, ErrorMessage = "收费方式,天数、时间、项目 不能超过 32 个字符")] |
|
|
|
|
public string ChargeMethod { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 是否公开课 |
|
|
|
|
/// </summary> |
|
|
|
|
public bool? IsOPen { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 培训有效期(月) |
|
|
|
|
/// </summary> |
|
|
|
|
public int? ValidityPeriod { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 试卷ID |
|
|
|
|
/// </summary> |
|
|
|
|
[Display(Name = "ExamPaperId"), Description("试卷ID"), MaxLength(2000, ErrorMessage = "试卷ID 不能超过 2000 个字符")] |
|
|
|
|
public string ExamPaperId { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 反馈单ID |
|
|
|
|
/// </summary> |
|
|
|
|
public long? FeedbackOrderId { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 封面图 |
|
|
|
|
/// </summary> |
|
|
|
|
[Display(Name = "CoverUrl"), Description("封面图"), MaxLength(2000, ErrorMessage = "封面图 不能超过 2000 个字符")] |
|
|
|
|
public string CoverUrl { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 课程大纲 |
|
|
|
|
/// </summary> |
|
|
|
|
[Display(Name = "Outline"), Description("课程大纲"), MaxLength(2000, ErrorMessage = "课程大纲 不能超过 2000 个字符")] |
|
|
|
|
public string Outline { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 课前准备 |
|
|
|
|
/// </summary> |
|
|
|
|
[Display(Name = "BeforeReady"), Description("课前准备"), MaxLength(2000, ErrorMessage = "课前准备 不能超过 2000 个字符")] |
|
|
|
|
public string BeforeReady { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 备注 |
|
|
|
|
/// </summary> |
|
|
|
|