using EMIS.ViewModel.CacheManage; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace EMIS.ViewModel.CultureplanManage.CourseMaterial { public class CourseTypeSetView { /// /// 主键ID /// [DisplayName("主键ID")] public Guid CourseTypeSelectCourseTypeID { get; set; } /// /// 类型代码 /// [DisplayName("类型代码")] public int? CourseTypeID { get; set; } /// /// 课程类型 /// [DisplayName("课程类型")] public string CourseTypeName { get; set; } /// /// 颜色条码 /// [DisplayName("颜色条码")] public string ColourBlock { get; set; } /// /// 颜色代码 /// [DisplayName("颜色代码")] public string CourseTypeColour { get; set; } /// /// 是否必修 /// [DisplayName("是否必修")] public bool? IsRequired { get; set; } /// /// 是否必修 /// [DisplayName("是否必修")] public string IsRequiredName { get { return IsRequired == true ? "是" : "否"; } } /// /// 是否限选 /// [DisplayName("是否限选")] public bool? IsOptionalCourse { get; set; } /// /// 是否限选 /// [DisplayName("是否限选")] public string IsOptionalCourseName { get { return IsOptionalCourse == true ? "是" : "否"; } } /// /// 是否任选 /// [DisplayName("是否任选")] public bool? IsFreeSelectionCourse { get; set; } /// /// 是否任选 /// [DisplayName("是否任选")] public string IsFreeSelectionCourseName { get { return IsFreeSelectionCourse == true ? "是" : "否"; } } /// /// 是否显示 /// [DisplayName("是否显示")] public bool IsDisplay { get; set; } /// /// 是否显示 /// [DisplayName("是否显示")] public string IsDisplayName { get { return IsDisplay == true ? "是" : "否"; } } /// /// 状态 /// [DisplayName("状态")] public int? RecordStatus { get; set; } /// /// 创建人 /// [DisplayName("创建人")] public Guid? CreateUserID { get; set; } /// /// 创建人 /// [DisplayName("创建人")] public string CreateUserName { get; set; } /// /// 创建时间 /// [DisplayName("创建时间")] public DateTime? CreateTime { get; set; } /// /// 修改人 /// [DisplayName("修改人")] public Guid? ModifyUserID { get; set; } /// /// 修改人 /// [DisplayName("修改人")] public string ModifyUserName { get; set; } /// /// 修改时间 /// [DisplayName("修改时间")] public DateTime? ModifyTime { get; set; } } }