package cn.com.lzt.car.driver.entity; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import org.jeecgframework.poi.excel.annotation.Excel; import javax.persistence.*; import java.io.Serializable; import java.util.Date; @Data @Entity @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) @Table(name = "t_b_car_driver") @SuppressWarnings("serial") public class TBCarDriver implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; /** * add 2022年3月11日16:09:09 liumouren 员工电话 */ @Transient private String mobilePhone; /** * add 2022年3月11日16:09:09 liumouren 员工身份证号 */ @Transient private String idcard; /** * add 2022年3月11日16:09:09 liumouren 员工居住地 */ @Transient private String address; public String getMobilePhone(){ return this.mobilePhone; } public String getIdcard(){ return this.idcard; } public String getAddress(){ return this.address; } public void setMobilePhone(String mobilePhone){ this.mobilePhone = mobilePhone; } public void setIdcard(String idcard){ this.idcard = idcard; } public void setAddress(String address){ this.address = address; } // 驾驶员姓名 @Column(name = "user_id") private String userId; // 驾驶员姓名 @Excel(name = "驾驶员姓名", width = 15) @Column(name = "user_name") private String userName; // 驾照档案号 @Excel(name = "驾照档案号", width = 25) @Column(name = "license_num") private String licenseNum; // 准驾车型 @Excel(name = "准驾车型", width = 15) @Column(name = "license_type") private String licenseType; // 驾照号码 @Excel(name = "驾照号码", width = 25) @Column(name = "driving_license") private String drivingLicense; // 驾照颁发地 @Excel(name = "驾照颁发地", width = 20) @Column(name = "license_area") private String licenseArea; // 领照时间 @Excel(name = "领照时间", width = 20) @Column(name = "having_date") private String havingDate; // 有效期 @Excel(name = "有效期", width = 20) @Column(name = "effective_date") private String effectiveDate; // 备注 @Column(name = "remarks") private String remarks; // 创建时间 @Column(name = "create_time") private Date createTime; // 更新时间 @Column(name = "update_time") private Date updateTime; public String getUserId(){ return this.userId; } public void setUserId(String userId){ this.userId = userId; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getUserName() { return this.userName; } public void setUserName(String userName) { this.userName = userName; } public String getLicenseNum() { return licenseNum; } public void setLicenseNum(String licenseNum) { this.licenseNum = licenseNum; } public String getLicenseType() { return licenseType; } public void setLicenseType(String licenseType) { this.licenseType = licenseType; } public String getDrivingLicense() { return drivingLicense; } public void setDrivingLicense(String drivingLicense) { this.drivingLicense = drivingLicense; } public String getLicenseArea() { return licenseArea; } public void setLicenseArea(String licenseArea) { this.licenseArea = licenseArea; } public String getHavingDate() { return havingDate; } public void setHavingDate(String havingDate) { this.havingDate = havingDate; } public String getEffectiveDate() { return effectiveDate; } public void setEffectiveDate(String effectiveDate) { this.effectiveDate = effectiveDate; } public String getRemarks() { return remarks; } public void setRemarks(String remarks) { this.remarks = remarks; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } }