FreeSelectionCouseControl.cs 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. using EMIS.ViewModel.CacheManage;
  8. namespace EMIS.ViewModel.SelectCourse
  9. {
  10. /// <summary>
  11. /// 任选控制视图
  12. /// </summary>
  13. public class FreeSelectionCouseControlView
  14. {
  15. /// <summary>
  16. /// 任选控制ID
  17. /// </summary>
  18. public Guid FreeSelectionCourseGradeYearSettingID { get; set; }
  19. /// <summary>
  20. /// 学年学期ID
  21. /// </summary>
  22. [Required]
  23. [DisplayName("学年学期ID")]
  24. public Guid? SchoolyearID { get; set; }
  25. /// <summary>
  26. /// 学年学期
  27. /// </summary>
  28. [Required]
  29. [DisplayName("学年学期")]
  30. public string SchoolyearCode { get; set; }
  31. /// <summary>
  32. /// 年级
  33. /// </summary>
  34. [Required]
  35. [DisplayName("年级")]
  36. public int? GradeYear { get; set; }
  37. /// <summary>
  38. /// 院系所
  39. /// </summary>
  40. public Guid? CollegeID { get; set; }
  41. public string CollegeName { get; set; }
  42. /// <summary>
  43. /// 开始时间
  44. /// </summary>
  45. [Required]
  46. [DisplayName("开始时间")]
  47. public DateTime? StartTime { get; set; }
  48. /// <summary>
  49. /// 结束时间
  50. /// </summary>
  51. [Required]
  52. [DisplayName("结束时间")]
  53. public DateTime? EndTime { get; set; }
  54. /// <summary>
  55. /// 门数上限
  56. /// </summary>
  57. [Required]
  58. [DisplayName("门数上限")]
  59. public int MaxSelectCount { get; set; }
  60. /// <summary>
  61. /// 门数下限
  62. /// </summary>
  63. [Required]
  64. [DisplayName("门数下限")]
  65. public int MinSelectCount { get; set; }
  66. /// <summary>
  67. /// 学分上限
  68. /// </summary>
  69. [Required]
  70. [DisplayName("学分上限")]
  71. public decimal MaxCredit { get; set; }
  72. /// <summary>
  73. /// 学分下限
  74. /// </summary>
  75. [Required]
  76. [DisplayName("学分下限")]
  77. public decimal MinCredit { get; set; }
  78. /// <summary>
  79. /// 备注
  80. /// </summary>
  81. [DisplayName("备注")]
  82. public string Remark { get; set; }
  83. /// <summary>
  84. /// RecordStatus
  85. /// </summary>
  86. public int RecordStatus { get; set; }
  87. /// <summary>
  88. /// CreateTime
  89. /// </summary>
  90. public DateTime CreateTime { get; set; }
  91. /// <summary>
  92. /// CreateUserID
  93. /// </summary>
  94. public Guid CreateUserID { get; set; }
  95. /// <summary>
  96. /// ModifyUserID
  97. /// </summary>
  98. public Guid ModifyUserID { get; set; }
  99. /// <summary>
  100. /// ModifyTime
  101. /// </summary>
  102. public DateTime ModifyTime { get; set; }
  103. }
  104. }