NceePlanInput.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 添加高考模拟划线计划输入参数
  5. /// </summary>
  6. public class AddNceePlanInput
  7. {
  8. /// <summary>
  9. /// 学期ID
  10. /// </summary>
  11. [Required]
  12. public short SemesterId { get; set; }
  13. /// <summary>
  14. /// 年级ID
  15. /// </summary>
  16. [Required]
  17. public short GradeId { get; set; }
  18. /// <summary>
  19. /// 名称
  20. /// </summary>
  21. [Required, StringLength(100)]
  22. public string Name { get; set; }
  23. /// <summary>
  24. /// 全称
  25. /// </summary>
  26. [Required, StringLength(200)]
  27. public string FullName { get; set; }
  28. /// <summary>
  29. /// 简称
  30. /// </summary>
  31. [Required, StringLength(50)]
  32. public string ShortName { get; set; }
  33. /// <summary>
  34. /// 备注
  35. /// </summary>
  36. [StringLength(200)]
  37. public string Remark { get; set; } = "";
  38. /// <summary>
  39. /// 配置
  40. /// </summary>
  41. [Required]
  42. public NceePlanConfig Config { get; set; }
  43. }
  44. /// <summary>
  45. /// 更新高考模拟划线计划输入参数
  46. /// </summary>
  47. public class UpdateNceePlanInput : AddNceePlanInput
  48. {
  49. /// <summary>
  50. /// 主键
  51. /// </summary>
  52. [Required]
  53. public int Id { get; set; }
  54. }
  55. /// <summary>
  56. /// 分页查询高考模拟划线计划输入参数
  57. /// </summary>
  58. public class NceePlanPageInput : PageInputBase
  59. {
  60. /// <summary>
  61. /// 学期ID
  62. /// </summary>
  63. public short? SemesterId { get; set; }
  64. /// <summary>
  65. /// 年级ID
  66. /// </summary>
  67. public short? GradeId { get; set; }
  68. /// <summary>
  69. /// 名称
  70. /// </summary>
  71. public string Name { get; set; }
  72. /// <summary>
  73. /// 状态
  74. /// </summary>
  75. public ExamStatus? Status { get; set; }
  76. }