LevelSettingView.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. namespace EMIS.ViewModel.ScoreManage.LevelScoreManage
  8. {
  9. public class LevelSettingView
  10. {
  11. /// <summary>
  12. /// 主键ID
  13. /// </summary>
  14. [DisplayName("主键ID")]
  15. public Guid LevelSettingID { get; set; }
  16. /// <summary>
  17. /// 考试科目ID
  18. /// </summary>
  19. [Required]
  20. [DisplayName("考试科目ID")]
  21. public Guid? ExaminationSubjectID { get; set; }
  22. /// <summary>
  23. /// 考试科目
  24. /// </summary>
  25. [DisplayName("考试科目")]
  26. public string ExaminationSubjectName { get; set; }
  27. /// <summary>
  28. /// 序号
  29. /// </summary>
  30. [Required]
  31. [DisplayName("序号")]
  32. [RegularExpression(@"^[1-9]\d*|0$", ErrorMessage = "请输入自然数")]
  33. public int? LevelNum { get; set; }
  34. /// <summary>
  35. /// 成绩等级
  36. /// </summary>
  37. [Required]
  38. [DisplayName("成绩等级")]
  39. public string LevelName { get; set; }
  40. /// <summary>
  41. /// 最低分
  42. /// </summary>
  43. [Required]
  44. [DisplayName("最低分")]
  45. public decimal? MinScore { get; set; }
  46. /// <summary>
  47. /// 最低分操作符
  48. /// </summary>
  49. [Required]
  50. [DisplayName("最低分操作符")]
  51. public string MinScoreOperator { get; set; }
  52. /// <summary>
  53. /// 最高分
  54. /// </summary>
  55. [Required]
  56. [DisplayName("最高分")]
  57. public decimal? MaxScore { get; set; }
  58. /// <summary>
  59. /// 最高分操作符
  60. /// </summary>
  61. [Required]
  62. [DisplayName("最高分操作符")]
  63. public string MaxScoreOperator { get; set; }
  64. /// <summary>
  65. /// 总成绩分数段
  66. /// </summary>
  67. [DisplayName("总成绩分数段")]
  68. public string TotalScoreRange { get; set; }
  69. /// <summary>
  70. /// 备注
  71. /// </summary>
  72. [DisplayName("备注")]
  73. public string Remark { get; set; }
  74. /// <summary>
  75. /// 状态
  76. /// </summary>
  77. [DisplayName("状态")]
  78. public int? RecordStatus { get; set; }
  79. /// <summary>
  80. /// 创建人
  81. /// </summary>
  82. [DisplayName("创建人")]
  83. public Guid? CreateUserID { get; set; }
  84. /// <summary>
  85. /// 创建人
  86. /// </summary>
  87. [DisplayName("创建人")]
  88. public string CreateUserName { get; set; }
  89. /// <summary>
  90. /// 创建时间
  91. /// </summary>
  92. [DisplayName("创建时间")]
  93. public DateTime? CreateTime { get; set; }
  94. /// <summary>
  95. /// 修改人
  96. /// </summary>
  97. [DisplayName("修改人")]
  98. public Guid? ModifyUserID { get; set; }
  99. /// <summary>
  100. /// 修改人
  101. /// </summary>
  102. [DisplayName("修改人")]
  103. public string ModifyUserName { get; set; }
  104. /// <summary>
  105. /// 修改时间
  106. /// </summary>
  107. [DisplayName("修改时间")]
  108. public DateTime? ModifyTime { get; set; }
  109. }
  110. }