SelectCourseTypeSettingView.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.ComponentModel;
  7. namespace EMIS.ViewModel.SelectCourse
  8. {
  9. public class SelectCourseTypeSettingView
  10. {
  11. /// <summary>
  12. /// 类型设定ID
  13. /// </summary>
  14. [DisplayName("类型设定ID")]
  15. public System.Guid SelectCourseTypeSettingID { get; set; }
  16. /// <summary>
  17. /// 学年学期
  18. /// </summary>
  19. [Required]
  20. [DisplayName("学年学期")]
  21. public Nullable<System.Guid> SchoolyearID { get; set; }
  22. /// <summary>
  23. /// 学年学期
  24. /// </summary>
  25. public string SchoolyearCode { get; set; }
  26. /// <summary>
  27. /// 选修类型
  28. /// </summary>
  29. [Required]
  30. [DisplayName("选修类型")]
  31. public Nullable<int> SelectCourseTypeID { get; set; }
  32. /// <summary>
  33. /// 选修类型
  34. /// </summary>
  35. public string SelectCourseTypeDesc { get; set; }
  36. /// <summary>
  37. /// 开始时间
  38. /// </summary>
  39. [Required]
  40. [DisplayName("开始时间")]
  41. public Nullable<System.DateTime> StartTime { get; set; }
  42. /// <summary>
  43. /// 结束时间
  44. /// </summary>
  45. [Required]
  46. [DisplayName("结束时间")]
  47. public Nullable<System.DateTime> EndTime { get; set; }
  48. /// <summary>
  49. /// 门数下限
  50. /// </summary>
  51. [Required]
  52. [DisplayName("门数下限")]
  53. [RegularExpression(@"^[0-9]\d*$", ErrorMessage = "必须填写正整数")]
  54. public int? MinSelectCount { get; set; }
  55. /// <summary>
  56. /// 门数上限
  57. /// </summary>
  58. [Required]
  59. [DisplayName("门数上限")]
  60. [RegularExpression(@"^[0-9]\d*$", ErrorMessage = "必须填写正整数")]
  61. public int? MaxSelectCount { get; set; }
  62. /// <summary>
  63. /// 学分下限
  64. /// </summary>
  65. [Required]
  66. [DisplayName("学分下限")]
  67. public Nullable<decimal> MinCredit { get; set; }
  68. /// <summary>
  69. /// 学分上限
  70. /// </summary>
  71. [Required]
  72. [DisplayName("学分上限")]
  73. public Nullable<decimal> MaxCredit { get; set; }
  74. /// <summary>
  75. /// 备注
  76. /// </summary>
  77. [DisplayName("备注")]
  78. public string Remark { get; set; }
  79. /// <summary>
  80. /// RecordStatus
  81. /// </summary>
  82. public Nullable<int> RecordStatus { get; set; }
  83. /// <summary>
  84. /// 是否可用
  85. /// </summary>
  86. public string RecordStatusDesc { get; set; }
  87. /// <summary>
  88. /// CreateTime
  89. /// </summary>
  90. public Nullable<System.DateTime> CreateTime { get; set; }
  91. /// <summary>
  92. /// CreateUserID
  93. /// </summary>
  94. public Nullable<System.Guid> CreateUserID { get; set; }
  95. /// <summary>
  96. /// ModifyUserID
  97. /// </summary>
  98. public Nullable<System.Guid> ModifyUserID { get; set; }
  99. /// <summary>
  100. /// ModifyTime
  101. /// </summary>
  102. public Nullable<System.DateTime> ModifyTime { get; set; }
  103. }
  104. }