ArrangementView.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel.CacheManage;
  6. namespace EMIS.ViewModel.CalendarManage
  7. {
  8. public class ArrangementView : BaseWorkTimeView
  9. {
  10. /// <summary>
  11. /// 周工作时间安排表ID
  12. /// </summary>
  13. public System.Guid ArrangementsID { get; set; }
  14. /// <summary>
  15. /// 课程时间ID
  16. /// </summary>
  17. public Nullable<System.Guid> CoursesTimeID { get; set; }
  18. /// <summary>
  19. /// 星期
  20. /// </summary>
  21. public Nullable<int> Weekday { get; set; }
  22. /// <summary>
  23. /// 是否上课
  24. /// </summary>
  25. public Nullable<bool> IsOnWork { get; set; }
  26. /// <summary>
  27. /// RecordStatus
  28. /// </summary>
  29. public Nullable<int> RecordStatus { get; set; }
  30. /// <summary>
  31. /// 开始时间
  32. /// </summary>
  33. public string StartTime
  34. {
  35. get {
  36. return this.StartHour.ToString("00") + ":" + this.StartMinutes.ToString("00");
  37. }
  38. }
  39. /// <summary>
  40. /// 结束时间
  41. /// </summary>
  42. public string EndTime
  43. {
  44. get
  45. {
  46. return this.EndHour.ToString("00") + ":" + this.EndMinutes.ToString("00");
  47. }
  48. }
  49. /// <summary>
  50. /// 星期一是否上课
  51. /// </summary>
  52. public bool? MondayIsOnWork { get; set; }
  53. /// <summary>
  54. /// 星期二是否上课
  55. /// </summary>
  56. public bool? TuesdayIsOnWork { get; set; }
  57. /// <summary>
  58. /// 星期三是否上课
  59. /// </summary>
  60. public bool? WednesdayIsOnWork { get; set; }
  61. /// <summary>
  62. /// 星期四是否上课
  63. /// </summary>
  64. public bool? ThursdayIsOnWork { get; set; }
  65. /// <summary>
  66. /// 星期五是否上课
  67. /// </summary>
  68. public bool? FridayIsOnWork { get; set; }
  69. /// <summary>
  70. /// 星期六是否上课
  71. /// </summary>
  72. public bool? SaturdayIsOnWork { get; set; }
  73. /// <summary>
  74. /// 星期日是否上课
  75. /// </summary>
  76. public bool? SundayIsOnWork { get; set; }
  77. /// <summary>
  78. /// CreateTime
  79. /// </summary>
  80. public Nullable<System.DateTime> CreateTime { get; set; }
  81. /// <summary>
  82. /// CreateUserID
  83. /// </summary>
  84. public Nullable<System.Guid> CreateUserID { get; set; }
  85. /// <summary>
  86. /// ModifyUserID
  87. /// </summary>
  88. public Nullable<System.Guid> ModifyUserID { get; set; }
  89. /// <summary>
  90. /// ModifyTime
  91. /// </summary>
  92. public Nullable<System.DateTime> ModifyTime { get; set; }
  93. }
  94. }