insertSmartUserRequest.java 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. package com.template.model.request;
  2. import com.template.model.vo.SubjectVo;
  3. import lombok.Data;
  4. import javax.validation.constraints.NotBlank;
  5. import javax.validation.constraints.NotEmpty;
  6. import javax.validation.constraints.NotNull;
  7. import java.util.List;
  8. /**
  9. * <p>
  10. *
  11. * </p>
  12. *
  13. * @author ceshi
  14. * @since 2023-12-04
  15. */
  16. @Data
  17. public class insertSmartUserRequest {
  18. /**
  19. * 时间组ID
  20. */
  21. private Integer timeGroupId;
  22. /**
  23. * 编号
  24. */
  25. private String cardNo;
  26. /**
  27. * 姓名
  28. */
  29. @NotBlank(message = "姓名不能为空")
  30. private String name;
  31. /**
  32. * 身份ID
  33. */
  34. @NotNull(message = "身份ID不能为空")
  35. private Integer identityId;
  36. /**
  37. * 身份证
  38. */
  39. private String idCard;
  40. /**
  41. * 性别
  42. * 女:0
  43. * 男:1
  44. */
  45. @NotNull(message = "性别不能为空")
  46. private Integer sexId;
  47. /**
  48. * 部门ID
  49. */
  50. @NotNull(message = "部门不能为空")
  51. private Integer departmentId;
  52. /**
  53. * 人脸照片
  54. */
  55. private String headImage;
  56. /**
  57. * 年级
  58. */
  59. private String grade;
  60. /**
  61. * 学院
  62. */
  63. private String college;
  64. /**
  65. * 专业
  66. */
  67. private String speciality;
  68. /**
  69. * 班级
  70. */
  71. private Integer schoolClass;
  72. /**
  73. * 校区
  74. */
  75. private String campus;
  76. /**
  77. * 宿舍号
  78. */
  79. private String dormitoryNumber;
  80. /**
  81. * 手机号
  82. */
  83. private String phone;
  84. /**
  85. * 关联人
  86. * 被关联用户的ID
  87. * 多个用户用逗号隔开
  88. */
  89. private List<String> affiliate;
  90. /**
  91. * 职称
  92. */
  93. private String title;
  94. /**
  95. * 家庭住址
  96. */
  97. private String address;
  98. /**
  99. * 民族
  100. */
  101. private String nation;
  102. /**
  103. * 生源地不能为空
  104. */
  105. private String ofStudent;
  106. /**
  107. * 毕业学校
  108. */
  109. private String graduate;
  110. /**
  111. * 职务
  112. */
  113. private Integer duties;
  114. /**
  115. * 任课数据
  116. */
  117. private List<SubjectVo> isr;
  118. }