|
|
|
@ -29,13 +29,13 @@ namespace Tiobon.Core.Model.Models |
|
|
|
|
/// <summary> |
|
|
|
|
/// 课程编号 |
|
|
|
|
/// </summary> |
|
|
|
|
[Display(Name = "CourseNo"), Description("课程编号"), MaxLength(32, ErrorMessage = "课程编号 不能超过 32 个字符"), EntityColumn(IsOnly = true)] |
|
|
|
|
[Display(Name = "CourseNo"), Description("课程编号"), MaxLength(32, ErrorMessage = "课程编号 不能超过 32 个字符"), EntityColumn(Unique = true)] |
|
|
|
|
public string CourseNo { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// 课程名称 |
|
|
|
|
/// </summary> |
|
|
|
|
[Display(Name = "CourseName"), Description("课程名称"), MaxLength(32, ErrorMessage = "课程名称 不能超过 32 个字符"), EntityColumn(IsOnly = true)] |
|
|
|
|
[Display(Name = "CourseName"), Description("课程名称"), MaxLength(32, ErrorMessage = "课程名称 不能超过 32 个字符"), EntityColumn(Unique = true)] |
|
|
|
|
public string CourseName { get; set; } |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|