电子证件实体类

This commit is contained in:
wans 2021-06-19 15:47:58 +08:00
parent 4c82b88173
commit 46dbb3fa5c

View File

@ -0,0 +1,134 @@
package cn.com.tenlion.pojo.dtos.cardential;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* @author xwangs
* @create 2021-06-19 11:13
* @description
*/
@ApiModel
public class CardentialDTO {
@ApiModelProperty(name = "photo", value = "头像")
private String photo;
@ApiModelProperty(name = "name", value = "姓名")
private String name;
@ApiModelProperty(name = "sex", value = "性别")
private String sex;
@ApiModelProperty(name = "educationDegree", value = "文化程度")
private String educationDegree;
@ApiModelProperty(name = "identity", value = "身份证号")
private String identity;
@ApiModelProperty(name = "department", value = "单位名称")
private String department;
@ApiModelProperty(name = "position", value = "职务")
private String position;
@ApiModelProperty(name = "sueDate", value = "发证日期")
private String sueDate;
@ApiModelProperty(name = "startDate", value = "有效日期始")
private String startDate;
@ApiModelProperty(name = "endDate", value = "有效日期止")
private String endDate;
@ApiModelProperty(name = "number", value = "证件编号")
private String number;
@ApiModelProperty(name = "qrCode", value = "二维码")
private String qrCode;
public String getPhoto() {
return photo == null ? "" : photo;
}
public void setPhoto(String photo) {
this.photo = photo;
}
public String getName() {
return name == null ? "" : name;
}
public void setName(String name) {
this.name = name;
}
public String getSex() {
return sex == null ? "" : sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public String getEducationDegree() {
return educationDegree == null ? "" : educationDegree;
}
public void setEducationDegree(String educationDegree) {
this.educationDegree = educationDegree;
}
public String getIdentity() {
return identity == null ? "" : identity;
}
public void setIdentity(String identity) {
this.identity = identity;
}
public String getDepartment() {
return department == null ? "" : department;
}
public void setDepartment(String department) {
this.department = department;
}
public String getPosition() {
return position == null ? "" : position;
}
public void setPosition(String position) {
this.position = position;
}
public String getSueDate() {
return sueDate == null ? "" : sueDate;
}
public void setSueDate(String sueDate) {
this.sueDate = sueDate;
}
public String getStartDate() {
return startDate == null ? "" : startDate;
}
public void setStartDate(String startDate) {
this.startDate = startDate;
}
public String getEndDate() {
return endDate == null ? "" : endDate;
}
public void setEndDate(String endDate) {
this.endDate = endDate;
}
public String getNumber() {
return number == null ? "" : number;
}
public void setNumber(String number) {
this.number = number;
}
public String getQrCode() {
return qrCode == null ? "" : qrCode;
}
public void setQrCode(String qrCode) {
this.qrCode = qrCode;
}
}