TeacherInfo.java 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. package com.ruoyi.system.domain;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import org.apache.commons.lang3.builder.ToStringBuilder;
  4. import org.apache.commons.lang3.builder.ToStringStyle;
  5. import com.ruoyi.common.annotation.Excel;
  6. import com.ruoyi.common.core.domain.BaseEntity;
  7. import java.util.Date;
  8. /**
  9. * 老师档案信息对象 teacher_info
  10. *
  11. * @author ruoyi
  12. * @date 2023-07-24
  13. */
  14. public class TeacherInfo extends BaseEntity
  15. {
  16. private static final long serialVersionUID = 1L;
  17. /** ID */
  18. private Long id;
  19. /** 老师id(user表id)) */
  20. @Excel(name = "老师id(user表id))")
  21. private Long teacherId;
  22. /** 姓名 */
  23. @Excel(name = "姓名")
  24. private String name;
  25. /** 性别(1:男,2:女) */
  26. @Excel(name = "性别(1:男,2:女)")
  27. private String sex;
  28. /** 年龄 */
  29. @Excel(name = "年龄")
  30. private String age;
  31. /** 联系方式 */
  32. @Excel(name = "联系方式")
  33. private String phone;
  34. /** 职称 */
  35. @Excel(name = "职称")
  36. private String professional;
  37. /** 身份证号 */
  38. @Excel(name = "身份证号")
  39. private String idCard;
  40. /** 身高 */
  41. @Excel(name = "身高")
  42. private String height;
  43. /** 体重 */
  44. @Excel(name = "体重")
  45. private String weight;
  46. /** 血型 */
  47. @Excel(name = "血型")
  48. private String bloodType;
  49. /** 政治面貌 */
  50. @Excel(name = "政治面貌")
  51. private String politicalStatus;
  52. /** 毕业证明照(地址) */
  53. @Excel(name = "毕业证明照(地址)")
  54. private String graduationPhoto;
  55. /** 毕业证书照(地址) */
  56. @Excel(name = "学位证书照(地址)")
  57. private String degreePhoto;
  58. /** 教资证明照(地址) */
  59. @Excel(name = "教资证明照(地址)")
  60. private String teachingPhoto;
  61. /** 职称证明照(地址) */
  62. @Excel(name = "职称证明照(地址)")
  63. private String professionalPhoto;
  64. /** 证件照(地址) */
  65. @Excel(name = "证件照(地址)")
  66. private String identificationPhoto;
  67. /** 门禁照(地址) */
  68. @Excel(name = "门禁照(地址)")
  69. private String entrancePermit;
  70. /** 居住地址 */
  71. @Excel(name = "居住地址")
  72. private String address;
  73. /** 入职时间 */
  74. @JsonFormat(pattern = "yyyy-MM-dd")
  75. private Date onBoardTime;
  76. /** 参加工作时间 */
  77. @JsonFormat(pattern = "yyyy-MM-dd")
  78. private Date jobTime;
  79. /** 学校id */
  80. private Long schoolId;
  81. public Long getSchoolId() {
  82. return schoolId;
  83. }
  84. public void setSchoolId(Long schoolId) {
  85. this.schoolId = schoolId;
  86. }
  87. public Date getOnBoardTime() {
  88. return onBoardTime;
  89. }
  90. public Date getJobTime() {
  91. return jobTime;
  92. }
  93. public void setOnBoardTime(Date onBoardTime) {
  94. this.onBoardTime = onBoardTime;
  95. }
  96. public void setJobTime(Date jobTime) {
  97. this.jobTime = jobTime;
  98. }
  99. public void setId(Long id)
  100. {
  101. this.id = id;
  102. }
  103. public Long getId()
  104. {
  105. return id;
  106. }
  107. public void setTeacherId(Long teacherId)
  108. {
  109. this.teacherId = teacherId;
  110. }
  111. public Long getTeacherId()
  112. {
  113. return teacherId;
  114. }
  115. public void setName(String name)
  116. {
  117. this.name = name;
  118. }
  119. public String getName()
  120. {
  121. return name;
  122. }
  123. public void setSex(String sex)
  124. {
  125. this.sex = sex;
  126. }
  127. public String getSex()
  128. {
  129. return sex;
  130. }
  131. public void setAge(String age)
  132. {
  133. this.age = age;
  134. }
  135. public String getAge()
  136. {
  137. return age;
  138. }
  139. public void setPhone(String phone)
  140. {
  141. this.phone = phone;
  142. }
  143. public String getPhone()
  144. {
  145. return phone;
  146. }
  147. public void setProfessional(String professional)
  148. {
  149. this.professional = professional;
  150. }
  151. public String getProfessional()
  152. {
  153. return professional;
  154. }
  155. public void setIdCard(String idCard)
  156. {
  157. this.idCard = idCard;
  158. }
  159. public String getIdCard()
  160. {
  161. return idCard;
  162. }
  163. public void setHeight(String height)
  164. {
  165. this.height = height;
  166. }
  167. public String getHeight()
  168. {
  169. return height;
  170. }
  171. public void setWeight(String weight)
  172. {
  173. this.weight = weight;
  174. }
  175. public String getWeight()
  176. {
  177. return weight;
  178. }
  179. public void setBloodType(String bloodType)
  180. {
  181. this.bloodType = bloodType;
  182. }
  183. public String getBloodType()
  184. {
  185. return bloodType;
  186. }
  187. public void setPoliticalStatus(String politicalStatus)
  188. {
  189. this.politicalStatus = politicalStatus;
  190. }
  191. public String getPoliticalStatus()
  192. {
  193. return politicalStatus;
  194. }
  195. public void setGraduationPhoto(String graduationPhoto)
  196. {
  197. this.graduationPhoto = graduationPhoto;
  198. }
  199. public String getGraduationPhoto()
  200. {
  201. return graduationPhoto;
  202. }
  203. public void setDegreePhoto(String degreePhoto)
  204. {
  205. this.degreePhoto = degreePhoto;
  206. }
  207. public String getDegreePhoto()
  208. {
  209. return degreePhoto;
  210. }
  211. public void setTeachingPhoto(String teachingPhoto)
  212. {
  213. this.teachingPhoto = teachingPhoto;
  214. }
  215. public String getTeachingPhoto()
  216. {
  217. return teachingPhoto;
  218. }
  219. public void setProfessionalPhoto(String professionalPhoto)
  220. {
  221. this.professionalPhoto = professionalPhoto;
  222. }
  223. public String getProfessionalPhoto()
  224. {
  225. return professionalPhoto;
  226. }
  227. public void setIdentificationPhoto(String identificationPhoto)
  228. {
  229. this.identificationPhoto = identificationPhoto;
  230. }
  231. public String getIdentificationPhoto()
  232. {
  233. return identificationPhoto;
  234. }
  235. public void setEntrancePermit(String entrancePermit)
  236. {
  237. this.entrancePermit = entrancePermit;
  238. }
  239. public String getEntrancePermit()
  240. {
  241. return entrancePermit;
  242. }
  243. public void setAddress(String address)
  244. {
  245. this.address = address;
  246. }
  247. public String getAddress()
  248. {
  249. return address;
  250. }
  251. @Override
  252. public String toString() {
  253. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  254. .append("id", getId())
  255. .append("teacherId", getTeacherId())
  256. .append("name", getName())
  257. .append("sex", getSex())
  258. .append("age", getAge())
  259. .append("phone", getPhone())
  260. .append("professional", getProfessional())
  261. .append("idCard", getIdCard())
  262. .append("height", getHeight())
  263. .append("weight", getWeight())
  264. .append("bloodType", getBloodType())
  265. .append("politicalStatus", getPoliticalStatus())
  266. .append("graduationPhoto", getGraduationPhoto())
  267. .append("degreePhoto", getDegreePhoto())
  268. .append("teachingPhoto", getTeachingPhoto())
  269. .append("professionalPhoto", getProfessionalPhoto())
  270. .append("identificationPhoto", getIdentificationPhoto())
  271. .append("entrancePermit", getEntrancePermit())
  272. .append("address", getAddress())
  273. .append("createBy", getCreateBy())
  274. .append("createTime", getCreateTime())
  275. .append("updateBy", getUpdateBy())
  276. .append("updateTime", getUpdateTime())
  277. .append("remark", getRemark())
  278. .toString();
  279. }
  280. }