using System; using System.Collections.Generic; using System.Linq; using System.Text; using EMIS.ViewModel.CacheManage; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace EMIS.ViewModel.EducationSchedule { public class ScheduleAdjustmentView { public Guid EducationSchedulingAdjustmentID { get; set; } public Guid? SchoolyearID { get; set; } public string SchoolyearCode { get; set; } public Guid EducationMissionClassID { get; set; } public string EducationMissionClassName { get; set; } public string CourseCode { get; set; } public string CourseName { get; set; } public Guid? DepartmentID { get; set; } public Guid? CollegeID { get; set; } public string CollegeNo { get; set; } public string CollegeName { get; set; } public Guid? UserID { get; set; } public string UserName { get; set; } public string TeacherNames { get; set; } public int? WeekNum { get; set; } public int? Weekday { get; set; } public string WeekdayDesc { get { return WeekDayView.GetWeekdayName(Weekday); } } public Guid? CoursesTimeID { get; set; } public int? StartTimes { get; set; } public int? EndTimes { get; set; } public string CoursesTimeName { get { return (StartTimes ?? 0).ToString() + "-" + (EndTimes ?? 0).ToString(); } } public string TimeDetail { get { return "(" + WeekNum.ToString() + "周)" + WeekdayDesc.Replace("星期", "周") + "第" + CoursesTimeName + "节"; } } public Guid? ClassroomID { get; set; } public string ClassroomName { get; set; } public Guid? ToUserID { get; set; } public string ToUserName { get; set; } public string ToTeacherNames { get; set; } public int? ToWeekNum { get; set; } public int? ToWeekday { get; set; } public string ToWeekdayDesc { get { return WeekDayView.GetWeekdayName(ToWeekday); } } public Guid? ToCoursesTimeID { get; set; } public int? ToStartTimes { get; set; } public int? ToEndTimes { get; set; } public string ToCoursesTimeName { get { return (ToStartTimes ?? 0).ToString() + "-" + (ToEndTimes ?? 0).ToString(); } } public string ToTimeDetail { get { return "(" + ToWeekNum.ToString() + "周)" + ToWeekdayDesc.Replace("星期", "周") + "第" + ToCoursesTimeName + "节"; } } public Guid? ToClassroomID { get; set; } public string ToClassroomName { get; set; } public Guid? ApplyUserID { get; set; } public string ApplyUserName { get; set; } public DateTime? ApplyTime { get; set; } public Guid? CreateUserID { get; set; } public string CreateUserName { get; set; } public DateTime? CreateTime { get; set; } public int? RecordStatus { get; set; } public string RecordStatusName { get; set; } } }