BaseStudent.java 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. package com.xjrsoft.module.student.entity;
  2. import com.baomidou.mybatisplus.annotation.FieldFill;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableLogic;
  6. import com.baomidou.mybatisplus.annotation.TableName;
  7. import com.fasterxml.jackson.annotation.JsonFormat;
  8. import io.swagger.annotations.ApiModel;
  9. import io.swagger.annotations.ApiModelProperty;
  10. import lombok.Data;
  11. import java.io.Serializable;
  12. import java.time.LocalDateTime;
  13. import java.util.Date;
  14. /**
  15. * @title: 学生基本信息管理
  16. * @Author 管理员
  17. * @Date: 2023-08-08
  18. * @Version 1.0
  19. */
  20. @Data
  21. @TableName("base_student")
  22. @ApiModel(value = "学生基本信息管理对象", description = "学生基本信息管理")
  23. public class BaseStudent implements Serializable {
  24. private static final long serialVersionUID = 1L;
  25. /**
  26. * 主键
  27. */
  28. @ApiModelProperty("主键")
  29. @TableId
  30. private Long id;
  31. /**
  32. * 创建人
  33. */
  34. @ApiModelProperty("创建人")
  35. @TableField(fill = FieldFill.INSERT)
  36. private Long createUserId;
  37. /**
  38. * 创建时间
  39. */
  40. @ApiModelProperty("创建时间")
  41. @TableField(fill = FieldFill.INSERT)
  42. private LocalDateTime createDate;
  43. /**
  44. * 修改人
  45. */
  46. @ApiModelProperty("修改人")
  47. @TableField(fill = FieldFill.UPDATE)
  48. private Long modifyUserId;
  49. /**
  50. * 修改时间
  51. */
  52. @ApiModelProperty("修改时间")
  53. @TableField(fill = FieldFill.UPDATE)
  54. private LocalDateTime modifyDate;
  55. /**
  56. * 删除标记
  57. */
  58. @ApiModelProperty("删除标记")
  59. @TableField(fill = FieldFill.INSERT)
  60. @TableLogic
  61. private Integer deleteMark;
  62. /**
  63. * 有效标志
  64. */
  65. @ApiModelProperty("有效标志")
  66. @TableField(fill = FieldFill.INSERT)
  67. private Integer enabledMark;
  68. /**
  69. * 用户ID(xjr_user)
  70. */
  71. @ApiModelProperty("用户ID(xjr_user)")
  72. private Long userId;
  73. /**
  74. * 学号
  75. */
  76. @ApiModelProperty("学号")
  77. private String studentId;
  78. /**
  79. * 别名
  80. */
  81. @ApiModelProperty("别名")
  82. private String asName;
  83. /**
  84. * 英文姓名
  85. */
  86. @ApiModelProperty("英文姓名")
  87. private String enName;
  88. /**
  89. * 姓名拼音
  90. */
  91. @ApiModelProperty("姓名拼音")
  92. private String pyName;
  93. /**
  94. * 曾用名
  95. */
  96. @ApiModelProperty("曾用名")
  97. private String formerName;
  98. /**
  99. * 出生日期
  100. */
  101. @ApiModelProperty("出生日期")
  102. @JsonFormat(pattern = "yyyy-MM-dd")
  103. private LocalDateTime dayOfBirth;
  104. /**
  105. * 生日类型(xjr_dictionary_item[date_type])
  106. */
  107. @ApiModelProperty("生日类型(xjr_dictionary_item[date_type])")
  108. private String birthType;
  109. /**
  110. * 民族(xjr_dictionary_item[nation])
  111. */
  112. @ApiModelProperty("民族(xjr_dictionary_item[nation])")
  113. private String nation;
  114. /**
  115. * 血型(xjr_dictionary_item[blood_type])
  116. */
  117. @ApiModelProperty("血型(xjr_dictionary_item[blood_type])")
  118. private String bloodType;
  119. /**
  120. * 健康状况(xjr_dictionary_item[health])
  121. */
  122. @ApiModelProperty("健康状况(xjr_dictionary_item[health])")
  123. private String health;
  124. /**
  125. * 婚姻状况(xjr_dictionary_item[marital_state])
  126. */
  127. @ApiModelProperty("婚姻状况(xjr_dictionary_item[marital_state])")
  128. private String maritalState;
  129. /**
  130. * 政治面貌(xjr_dictionary_item[political_state])
  131. */
  132. @ApiModelProperty("政治面貌(xjr_dictionary_item[political_state])")
  133. private String politicalState;
  134. /**
  135. * 信仰宗教(xjr_dictionary_item[religion])
  136. */
  137. @ApiModelProperty("信仰宗教(xjr_dictionary_item[religion])")
  138. private String religion;
  139. /**
  140. * 国籍地区(xjr_dictionary_item[nationality])
  141. */
  142. @ApiModelProperty("国籍地区(xjr_dictionary_item[nationality])")
  143. private String nationality;
  144. /**
  145. * 港澳台侨外(xjr_dictionary_item[chinese_type])
  146. */
  147. @ApiModelProperty("港澳台侨外(xjr_dictionary_item[chinese_type])")
  148. private String chineseType;
  149. /**
  150. * 户口类别(xjr_dictionary_item[house_hold_type])
  151. */
  152. @ApiModelProperty("户口类别(xjr_dictionary_item[house_hold_type])")
  153. private String houseHoldType;
  154. /**
  155. * 籍贯 省(xjr_area)
  156. */
  157. @ApiModelProperty("籍贯 省(xjr_area)")
  158. private Long provinces;
  159. /**
  160. * 籍贯 市(xjr_area)
  161. */
  162. @ApiModelProperty("籍贯 市(xjr_area)")
  163. private Long city;
  164. /**
  165. * 籍贯 区/县(xjr_area)
  166. */
  167. @ApiModelProperty("籍贯 区/县(xjr_area)")
  168. private Long district;
  169. /**
  170. * 户口所在地 省(xjr_area)
  171. */
  172. @ApiModelProperty("户口所在地 省(xjr_area)")
  173. private Long houseProvinces;
  174. /**
  175. * 户口所在地 市(xjr_area)
  176. */
  177. @ApiModelProperty("户口所在地 市(xjr_area)")
  178. private Long houseCity;
  179. /**
  180. * 户口所在地 区/县(xjr_area)
  181. */
  182. @ApiModelProperty("户口所在地 区/县(xjr_area)")
  183. private Long houseDistrict;
  184. /**
  185. * 户籍地址
  186. */
  187. @ApiModelProperty("户籍地址")
  188. private String houseHoldAddress;
  189. /**
  190. * 所属派出所
  191. */
  192. @ApiModelProperty("所属派出所")
  193. private String belongsPolice;
  194. /**
  195. * 出生地 省(xjr_area)
  196. */
  197. @ApiModelProperty("出生地 省(xjr_area)")
  198. private Long birthProvinces;
  199. /**
  200. * 出生地 市(xjr_area)
  201. */
  202. @ApiModelProperty("出生地 市(xjr_area)")
  203. private Long birthCity;
  204. /**
  205. * 出生地 区/县(xjr_area)
  206. */
  207. @ApiModelProperty("出生地 区/县(xjr_area)")
  208. private Long birthDistrict;
  209. /**
  210. * 生源地(base_graduate_school)
  211. */
  212. @ApiModelProperty("生源地(base_graduate_school)")
  213. private Long graduateSchoolId;
  214. /**
  215. * 学生居住地类型(xjr_dictionary_item[residence_type])
  216. */
  217. @ApiModelProperty("学生居住地类型(xjr_dictionary_item[residence_type])")
  218. private String residenceType;
  219. /**
  220. * 是否随迁子女
  221. */
  222. @ApiModelProperty("是否随迁子女")
  223. private Integer isMigrateChildren;
  224. /**
  225. * 乘火车区间
  226. */
  227. @ApiModelProperty("乘火车区间")
  228. private String trainInterval;
  229. /**
  230. * 是否流动人口
  231. */
  232. @ApiModelProperty("是否流动人口")
  233. private Integer isFloatingPopulation;
  234. /**
  235. * 身高(cm)
  236. */
  237. @ApiModelProperty("身高(cm)")
  238. private Double height;
  239. /**
  240. * 体重(kg)
  241. */
  242. @ApiModelProperty("体重(kg)")
  243. private Double weight;
  244. /**
  245. * 视力
  246. */
  247. @ApiModelProperty("视力")
  248. private Double vision;
  249. /**
  250. * 特长
  251. */
  252. @ApiModelProperty("特长")
  253. private String specialty;
  254. }