TBCarDriver.java 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. package cn.com.lzt.car.driver.entity;
  2. import lombok.Data;
  3. import lombok.EqualsAndHashCode;
  4. import lombok.experimental.Accessors;
  5. import org.jeecgframework.poi.excel.annotation.Excel;
  6. import javax.persistence.*;
  7. import java.io.Serializable;
  8. import java.util.Date;
  9. @Data
  10. @Entity
  11. @EqualsAndHashCode(callSuper = false)
  12. @Accessors(chain = true)
  13. @Table(name = "t_b_car_driver")
  14. @SuppressWarnings("serial")
  15. public class TBCarDriver implements Serializable {
  16. @Id
  17. @GeneratedValue(strategy = GenerationType.IDENTITY)
  18. private Long id;
  19. /**
  20. * add 2022年3月11日16:09:09 liumouren 员工电话
  21. */
  22. @Transient
  23. private String mobilePhone;
  24. /**
  25. * add 2022年3月11日16:09:09 liumouren 员工身份证号
  26. */
  27. @Transient
  28. private String idcard;
  29. /**
  30. * add 2022年3月11日16:09:09 liumouren 员工居住地
  31. */
  32. @Transient
  33. private String address;
  34. public String getMobilePhone(){ return this.mobilePhone; }
  35. public String getIdcard(){ return this.idcard; }
  36. public String getAddress(){ return this.address; }
  37. public void setMobilePhone(String mobilePhone){ this.mobilePhone = mobilePhone; }
  38. public void setIdcard(String idcard){ this.idcard = idcard; }
  39. public void setAddress(String address){ this.address = address; }
  40. // 驾驶员姓名
  41. @Column(name = "user_id")
  42. private String userId;
  43. // 驾驶员姓名
  44. @Excel(name = "驾驶员姓名", width = 15)
  45. @Column(name = "user_name")
  46. private String userName;
  47. // 驾照档案号
  48. @Excel(name = "驾照档案号", width = 25)
  49. @Column(name = "license_num")
  50. private String licenseNum;
  51. // 准驾车型
  52. @Excel(name = "准驾车型", width = 15)
  53. @Column(name = "license_type")
  54. private String licenseType;
  55. // 驾照号码
  56. @Excel(name = "驾照号码", width = 25)
  57. @Column(name = "driving_license")
  58. private String drivingLicense;
  59. // 驾照颁发地
  60. @Excel(name = "驾照颁发地", width = 20)
  61. @Column(name = "license_area")
  62. private String licenseArea;
  63. // 领照时间
  64. @Excel(name = "领照时间", width = 20)
  65. @Column(name = "having_date")
  66. private String havingDate;
  67. // 有效期
  68. @Excel(name = "有效期", width = 20)
  69. @Column(name = "effective_date")
  70. private String effectiveDate;
  71. // 备注
  72. @Column(name = "remarks")
  73. private String remarks;
  74. // 创建时间
  75. @Column(name = "create_time")
  76. private Date createTime;
  77. // 更新时间
  78. @Column(name = "update_time")
  79. private Date updateTime;
  80. public String getUserId(){ return this.userId; }
  81. public void setUserId(String userId){ this.userId = userId; }
  82. public Long getId() {
  83. return id;
  84. }
  85. public void setId(Long id) {
  86. this.id = id;
  87. }
  88. public String getUserName() {
  89. return this.userName;
  90. }
  91. public void setUserName(String userName) {
  92. this.userName = userName;
  93. }
  94. public String getLicenseNum() {
  95. return licenseNum;
  96. }
  97. public void setLicenseNum(String licenseNum) {
  98. this.licenseNum = licenseNum;
  99. }
  100. public String getLicenseType() {
  101. return licenseType;
  102. }
  103. public void setLicenseType(String licenseType) {
  104. this.licenseType = licenseType;
  105. }
  106. public String getDrivingLicense() {
  107. return drivingLicense;
  108. }
  109. public void setDrivingLicense(String drivingLicense) {
  110. this.drivingLicense = drivingLicense;
  111. }
  112. public String getLicenseArea() {
  113. return licenseArea;
  114. }
  115. public void setLicenseArea(String licenseArea) {
  116. this.licenseArea = licenseArea;
  117. }
  118. public String getHavingDate() {
  119. return havingDate;
  120. }
  121. public void setHavingDate(String havingDate) {
  122. this.havingDate = havingDate;
  123. }
  124. public String getEffectiveDate() {
  125. return effectiveDate;
  126. }
  127. public void setEffectiveDate(String effectiveDate) {
  128. this.effectiveDate = effectiveDate;
  129. }
  130. public String getRemarks() {
  131. return remarks;
  132. }
  133. public void setRemarks(String remarks) {
  134. this.remarks = remarks;
  135. }
  136. public Date getCreateTime() {
  137. return createTime;
  138. }
  139. public void setCreateTime(Date createTime) {
  140. this.createTime = createTime;
  141. }
  142. public Date getUpdateTime() {
  143. return updateTime;
  144. }
  145. public void setUpdateTime(Date updateTime) {
  146. this.updateTime = updateTime;
  147. }
  148. }