using System; using System.Collections.Generic; using System.Linq; using System.Text; using EMIS.ViewModel.CacheManage; namespace EMIS.ViewModel.SupervisionManage { public class SupEvaluationView { /// /// 学年学期ID /// public Guid? SchoolYearID { get; set; } /// /// 学年学期 /// public string SchoolyearCode { get; set; } /// /// 听课记录ID /// public Guid? LessonRecordID { get; set; } /// /// 项目记录ID /// public Guid? ProjectRecordID { get; set; } /// /// 督导日期 /// public DateTime? LessonDate { get; set; } public string LessonDateStr { get { if(LessonDate.HasValue) { var dateStr=LessonDate.Value.Year+"年"+LessonDate.Value.Month+"月"+LessonDate.Value.Day+"日"; return dateStr; }else{ return null; } } } /// /// 地点 /// public string Location { get; set; } /// /// 督导院系所ID /// public Guid? SupervisionCollegeID { get; set; } /// /// 督导院系所 /// public string SupervisionCollegeName{get;set;} /// /// 督导对象ID /// public Guid? UserID { get; set; } /// /// 督导对象姓名 /// public string UserName { get; set; } /// /// 课程资料ID /// public Guid? CoursematerialID { get; set; } /// /// 课程名称 /// public string CourseName { get; set; } /// /// 星期 /// public int? Weekday { get; set; } /// /// 节次 /// public Guid? CoursesTimeID { get; set; } /// /// 内容 /// public string Content { get; set; } /// /// 建议 /// public string Advise { get; set; } /// /// 督导类型 /// public int? SupervisionTypeID { get; set; } public string SupervisionTypeName { get { if (SupervisionTypeID==null) { return "督导听课"; } else{ return IdNameExt.GetDictionaryItem(DictionaryItem.SUP_SupervisionType.ToString()) .Where(x => x.Value == SupervisionTypeID) .Select(x => x.Name).FirstOrDefault(); } } } /// /// 开始时间 /// public int StartTimes { get; set; } /// /// 结束时间 /// public int EndTimes { get; set; } public decimal? TotalScore { get; set; } public Guid? CreateUserID { get; set; } public string CreateUserName { get; set; } } }