123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Utility;
- namespace EMIS.ViewModel.EducationSchedule
- {
- public class ClassroomExcessiveUseSchedulingView
- {
- /// <summary>
- /// ClassroomExcessiveUseSchedulingID
- /// </summary>
- public System.Guid ClassroomExcessiveUseSchedulingID { get; set; }
- /// <summary>
- /// ClassroomExcessiveUseID
- /// </summary>
- public Nullable<System.Guid> ClassroomExcessiveUseID { get; set; }
- public Nullable<System.Guid> CollegeID { get; set; }
- /// <summary>
- /// WeekNum
- /// </summary>
- public IEnumerable<int?> WeekNumList { get; set; }
- /// <summary>
- /// Weekday
- /// </summary>
- public Nullable<int> Weekday { get; set; }
- public string WeekdayDesc
- {
- get
- {
- if (!Weekday.HasValue) return null;
- if (Weekday == 0) return "星期日";
- if (Weekday > 0 && Weekday <= 6) return "星期" + Weekday.Value.ConvertToChinese();
- return "";
- }
- }
- /// <summary>
- /// CoursesTimeID
- /// </summary>
- public Nullable<System.Guid> CoursesTimeID { get; set; }
- public Nullable<int> StartTimes { get; set; }
- public Nullable<int> EndTimes { get; set; }
- public Nullable<int> StartHour { get; set; }
- public Nullable<int> StartMinute { get; set; }
- public Nullable<int> EndHour { get; set; }
- public Nullable<int> EndMinute { get; set; }
- public string TimeDesc
- {
- get
- {
- return string.Format("{0}-{1}节", StartTimes, EndTimes);
- }
- }
- }
- }
|