123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- 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; }
- ///<summary>
- ///上课周次
- /// </summary>
- public int? WeekNum { get; set; }
- ///<summary>
- ///星期
- /// </summary>
- public int? Weekday { get; set; }
- /// <summary>
- /// 星期
- /// </summary>
- public string WeekdayName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.ES_WeekDay.ToString())
- .Where(x => x.Value == Weekday)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- ///<summary>
- ///上课时间
- /// </summary>
- public string TimesHoure { get; set; }
- /// <summary>
- /// 开始节次
- /// </summary>
- public int StarTimes { get; set; }
- ///<summary>
- ///上课节次
- /// </summary>
- public string Times { get; set; }
- }
- }
|