using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using EMIS.ViewModel.CacheManage; namespace EMIS.ViewModel.EducationSchedule { public class EducationSchedulingTeacherView { [DisplayName("用户ID")] public Guid? UserID { get; set; } [DisplayName("用户名称")] public string Name { get; set; } [DisplayName("任务班ID")] public Guid? EducationMissionClassID { get; set; } [DisplayName("排课课表ID")] public Guid? EducationSchedulingID { get; set; } [DisplayName("任课方式")] public int? TeachingMethod { get; set; } /// ///上课周次 /// public int? WeekNum { get; set; } /// ///星期 /// public int? Weekday { get; set; } /// /// 星期 /// public string WeekdayName { get { return IdNameExt.GetDictionaryItem(DictionaryItem.ES_WeekDay.ToString()) .Where(x => x.Value == Weekday) .Select(x => x.Name).FirstOrDefault(); } } /// ///上课时间 /// public string TimesHoure { get; set; } /// /// 开始节次 /// public int StarTimes { get; set; } /// ///上课节次 /// public string Times { get; set; } } }