using System; using System.Collections.Generic; using System.Linq; using System.Text; using EMISOnline.ViewModel.Cache; namespace EMISOnline.ViewModel.Educational { public class CoursematerView { public Guid CoursematerialID { get; set; } /// /// 课程编码 /// public string CourseCode { get; set; } /// /// 课程名称 /// public string CourseName { get; set; } /// /// 学分 /// public decimal? Credit { get; set; } /// /// 学时 /// public int? Hours { get; set; } /// /// 课程性质 /// public int? CourseQualityID { get; set; } public string CourseQualityName { get; set; } public DateTime? CreateTime { get; set; } /// /// 上课类型ID /// public Guid? ClassGroupingID { get; set; } /// /// 上课类型 /// public string ClassGrouping { get; set; } /// /// 简称 /// public string Abbreviation { get; set; } /// /// 英文名称 /// public string EnglishName { get; set; } /// /// 课程规范名 /// public string StandardName { get; set; } /// /// 课程版本 /// public string CourseEdition { get; set; } /// /// 课程简介 /// public string CourseSynopsis { get; set; } /// /// 预修课程集 /// public string CourseReserve { get; set; } /// /// 课程级别 /// public int? CourseLevelID { get; set; } /// /// 课程级别 /// public string CourseLevelName { get { return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CourseLevel.ToString()) .Where(x => x.Value == CourseLevelID) .Select(x => x.Name).FirstOrDefault(); } } /// /// 课程科类 /// public int? CourseScienceID { get; set; } /// /// 课程科类 /// public string CourseScienceName { get { return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CourseScience.ToString()) .Where(x => x.Value == CourseScienceID) .Select(x => x.Name).FirstOrDefault(); } } /// /// 是否启用 /// public bool IsEnable { get; set; } /// /// 是否启用 /// public string IsEnableName { get; set; } /// /// 状态 /// public int? RecordStatus { get; set; } /// /// 备注 /// public string Remarks { get; set; } /// /// 创建人 /// public Guid? CreateUserID { get; set; } } }