package com.whyc.pojo;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.*;
|
import org.apache.ibatis.type.Alias;
|
|
import java.util.Date;
|
@Alias("User")
|
@TableName( schema = "`db_user`",value = "tb_user_inf")
|
public class User {
|
@TableId("uId")
|
private Integer id;
|
@TableField("uSnId")
|
private Integer snId;
|
@TableField("name")
|
private String name;
|
@TableField("uShenFenId")
|
private Integer idCard;
|
@TableField("uEmployeeId")
|
private String employeeId;
|
@TableField("uMobilephone")
|
private String mobilePhone;
|
@TableField("uEmail")
|
private String email;
|
/**录入时间*/
|
@TableField("uAccessionDay")
|
@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date accessDay;
|
@TableField("uSex")
|
private String sex;
|
/**维护区*/
|
@TableField("uDepartment")
|
private String department;
|
/**工作组*/
|
@TableField("uJobGroup")
|
private String jobGroup;
|
/**包机人*/
|
@TableField("uBaojiUsr")
|
private Integer baojiUser;
|
@TableField("upassword")
|
private String password;
|
@TableField("uPubKeyX")
|
private String pubKeyX;
|
@TableField("uPubKeyY")
|
private String pubKeyY;
|
@TableField("uKey_ID")
|
private String keyId;
|
|
private Integer faceId;
|
private Integer loginType;
|
/**
|
* 枚举
|
* @see com.whyc.constant.RoleEnum
|
*/
|
@TableField("uRole")
|
private Integer role;
|
|
public User(Integer id, String name) {
|
this.id = id;
|
this.name = name;
|
}
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getSnId() {
|
return snId;
|
}
|
|
public void setSnId(Integer snId) {
|
this.snId = snId;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public Integer getIdCard() {
|
return idCard;
|
}
|
|
public void setIdCard(Integer idCard) {
|
this.idCard = idCard;
|
}
|
|
public String getEmployeeId() {
|
return employeeId;
|
}
|
|
public void setEmployeeId(String employeeId) {
|
this.employeeId = employeeId;
|
}
|
|
public String getMobilePhone() {
|
return mobilePhone;
|
}
|
|
public void setMobilePhone(String mobilePhone) {
|
this.mobilePhone = mobilePhone;
|
}
|
|
public String getEmail() {
|
return email;
|
}
|
|
public void setEmail(String email) {
|
this.email = email;
|
}
|
|
public Date getAccessDay() {
|
return accessDay;
|
}
|
|
public void setAccessDay(Date accessDay) {
|
this.accessDay = accessDay;
|
}
|
|
public String getSex() {
|
return sex;
|
}
|
|
public void setSex(String sex) {
|
this.sex = sex;
|
}
|
|
public String getDepartment() {
|
return department;
|
}
|
|
public void setDepartment(String department) {
|
this.department = department;
|
}
|
|
public String getJobGroup() {
|
return jobGroup;
|
}
|
|
public void setJobGroup(String jobGroup) {
|
this.jobGroup = jobGroup;
|
}
|
|
public Integer getBaojiUser() {
|
return baojiUser;
|
}
|
|
public void setBaojiUser(Integer baojiUser) {
|
this.baojiUser = baojiUser;
|
}
|
|
public String getPassword() {
|
return password;
|
}
|
|
public void setPassword(String password) {
|
this.password = password;
|
}
|
|
public String getPubKeyX() {
|
return pubKeyX;
|
}
|
|
public void setPubKeyX(String pubKeyX) {
|
this.pubKeyX = pubKeyX;
|
}
|
|
public String getPubKeyY() {
|
return pubKeyY;
|
}
|
|
public void setPubKeyY(String pubKeyY) {
|
this.pubKeyY = pubKeyY;
|
}
|
|
public String getKeyId() {
|
return keyId;
|
}
|
|
public void setKeyId(String keyId) {
|
this.keyId = keyId;
|
}
|
|
public Integer getFaceId() {
|
return faceId;
|
}
|
|
public void setFaceId(Integer faceId) {
|
this.faceId = faceId;
|
}
|
|
public Integer getLoginType() {
|
return loginType;
|
}
|
|
public void setLoginType(Integer loginType) {
|
this.loginType = loginType;
|
}
|
|
public Integer getRole() {
|
return role;
|
}
|
|
public void setRole(Integer role) {
|
this.role = role;
|
}
|
}
|