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