BaseStudentUser.java 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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.github.yulichang.annotation.EntityMapping;
  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.List;
  14. /**
  15. * @title: 学生基本信息管理
  16. * @Author 管理员
  17. * @Date: 2023-08-08
  18. * @Version 1.0
  19. */
  20. @Data
  21. @TableName("xjr_user")
  22. @ApiModel(value = "学生基本信息管理对象", description = "学生基本信息管理")
  23. public class BaseStudentUser 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. private String userName;
  36. /**
  37. * 姓名
  38. */
  39. @ApiModelProperty("姓名")
  40. private String name;
  41. /**
  42. * 编号
  43. */
  44. @ApiModelProperty("编号")
  45. private String code;
  46. /**
  47. * 昵称
  48. */
  49. @ApiModelProperty("昵称")
  50. private String nickName;
  51. /**
  52. * 密码
  53. */
  54. @ApiModelProperty("密码")
  55. private String password;
  56. /**
  57. * 性别
  58. */
  59. @ApiModelProperty("性别")
  60. private String gender;
  61. /**
  62. * 手机号
  63. */
  64. @ApiModelProperty("手机号")
  65. private String mobile;
  66. /**
  67. * 头像
  68. */
  69. @ApiModelProperty("头像")
  70. private String avatar;
  71. /**
  72. * 邮箱
  73. */
  74. @ApiModelProperty("邮箱")
  75. private String email;
  76. /**
  77. * 地址
  78. */
  79. @ApiModelProperty("地址")
  80. private String address;
  81. /**
  82. * 经度
  83. */
  84. @ApiModelProperty("经度")
  85. private Double longitude;
  86. /**
  87. * 纬度
  88. */
  89. @ApiModelProperty("纬度")
  90. private Double latitude;
  91. /**
  92. * 排序码
  93. */
  94. @ApiModelProperty("排序码")
  95. private Integer sortCode;
  96. /**
  97. * 备注
  98. */
  99. @ApiModelProperty("备注")
  100. private String remark;
  101. /**
  102. * 证件类型(xjr_dictionary_item[credential_type])
  103. */
  104. @ApiModelProperty("证件类型(xjr_dictionary_item[credential_type])")
  105. private String credentialType;
  106. /**
  107. * 证件号码
  108. */
  109. @ApiModelProperty("证件号码")
  110. private String credentialNumber;
  111. /**
  112. *
  113. */
  114. @ApiModelProperty("")
  115. @TableField(fill = FieldFill.INSERT)
  116. private Long createUserId;
  117. /**
  118. *
  119. */
  120. @ApiModelProperty("")
  121. @TableField(fill = FieldFill.INSERT)
  122. private LocalDateTime createDate;
  123. /**
  124. *
  125. */
  126. @ApiModelProperty("")
  127. @TableField(fill = FieldFill.UPDATE)
  128. private Long modifyUserId;
  129. /**
  130. *
  131. */
  132. @ApiModelProperty("")
  133. @TableField(fill = FieldFill.UPDATE)
  134. private LocalDateTime modifyDate;
  135. /**
  136. *
  137. */
  138. @ApiModelProperty("")
  139. @TableField(fill = FieldFill.INSERT)
  140. @TableLogic
  141. private Integer deleteMark;
  142. /**
  143. *
  144. */
  145. @ApiModelProperty("")
  146. @TableField(fill = FieldFill.INSERT)
  147. private Integer enabledMark;
  148. /**
  149. * baseStudent
  150. */
  151. @ApiModelProperty("baseStudent子表")
  152. @TableField(exist = false)
  153. @EntityMapping(thisField = "id", joinField = "userId")
  154. private List<BaseStudent> baseStudentList;
  155. /**
  156. * baseStudentContact
  157. */
  158. @ApiModelProperty("baseStudentContact子表")
  159. @TableField(exist = false)
  160. @EntityMapping(thisField = "id", joinField = "userId")
  161. private List<BaseStudentContact> baseStudentContactList;
  162. /**
  163. * baseStudentFamily
  164. */
  165. @ApiModelProperty("baseStudentFamily子表")
  166. @TableField(exist = false)
  167. @EntityMapping(thisField = "id", joinField = "userId")
  168. private List<BaseStudentFamily> baseStudentFamilyList;
  169. /**
  170. * baseStudentFamilyMember
  171. */
  172. @ApiModelProperty("baseStudentFamilyMember子表")
  173. @TableField(exist = false)
  174. @EntityMapping(thisField = "id", joinField = "userId")
  175. private List<BaseStudentFamilyMember> baseStudentFamilyMemberList;
  176. /**
  177. * baseStudentSchoolRoll
  178. */
  179. @ApiModelProperty("baseStudentSchoolRoll子表")
  180. @TableField(exist = false)
  181. @EntityMapping(thisField = "id", joinField = "userId")
  182. private List<BaseStudentSchoolRoll> baseStudentSchoolRollList;
  183. /**
  184. * baseStudentSubsidize
  185. */
  186. @ApiModelProperty("baseStudentSubsidize子表")
  187. @TableField(exist = false)
  188. @EntityMapping(thisField = "id", joinField = "userId")
  189. private List<BaseStudentSubsidize> baseStudentSubsidizeList;
  190. @ApiModelProperty("签名文件")
  191. private Long signFolderId;
  192. @ApiModelProperty("签名密码")
  193. private String signPassword;
  194. }