177 lines
3.6 KiB
Java
177 lines
3.6 KiB
Java
package com.arpa.hndahesudintocctmsdriver.bean;
|
|
|
|
/**
|
|
* @author hlh
|
|
* @version 1.0.0
|
|
* @date 2021/8/5 10:05
|
|
* @description:身份证实体类
|
|
*/
|
|
public class OCRCardBean {
|
|
|
|
private int res;
|
|
private int code;
|
|
private boolean success;
|
|
private String msg;
|
|
private DataDTO data;
|
|
|
|
public int getRes() {
|
|
return res;
|
|
}
|
|
|
|
public void setRes(int res) {
|
|
this.res = res;
|
|
}
|
|
|
|
public int getCode() {
|
|
return code;
|
|
}
|
|
|
|
public void setCode(int code) {
|
|
this.code = code;
|
|
}
|
|
|
|
public boolean isSuccess() {
|
|
return success;
|
|
}
|
|
|
|
public void setSuccess(boolean success) {
|
|
this.success = success;
|
|
}
|
|
|
|
public String getMsg() {
|
|
return msg == null ? "" : msg;
|
|
}
|
|
|
|
public void setMsg(String msg) {
|
|
this.msg = msg;
|
|
}
|
|
|
|
public DataDTO getData() {
|
|
return data;
|
|
}
|
|
|
|
public void setData(DataDTO data) {
|
|
this.data = data;
|
|
}
|
|
|
|
public static class DataDTO {
|
|
private int id;
|
|
private String url;
|
|
private String name;
|
|
private String nation;
|
|
private String address;
|
|
private String cardId;
|
|
private String birthday;
|
|
private String sex;
|
|
private String ethnicity;
|
|
private String idcard;
|
|
private String birth;
|
|
private String validFrom;
|
|
private String validTo;
|
|
|
|
public String getEthnicity() {
|
|
return ethnicity;
|
|
}
|
|
|
|
public void setEthnicity(String ethnicity) {
|
|
this.ethnicity = ethnicity;
|
|
}
|
|
|
|
public String getIdcard() {
|
|
return idcard;
|
|
}
|
|
|
|
public void setIdcard(String idcard) {
|
|
this.idcard = idcard;
|
|
}
|
|
|
|
public String getBirth() {
|
|
return birth;
|
|
}
|
|
|
|
public void setBirth(String birth) {
|
|
this.birth = birth;
|
|
}
|
|
|
|
public String getValidFrom() {
|
|
return validFrom;
|
|
}
|
|
|
|
public void setValidFrom(String validFrom) {
|
|
this.validFrom = validFrom;
|
|
}
|
|
|
|
public String getValidTo() {
|
|
return validTo;
|
|
}
|
|
|
|
public void setValidTo(String validTo) {
|
|
this.validTo = validTo;
|
|
}
|
|
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(int id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getUrl() {
|
|
return url == null ? "" : url;
|
|
}
|
|
|
|
public void setUrl(String url) {
|
|
this.url = url;
|
|
}
|
|
|
|
public String getName() {
|
|
return name == null ? "" : name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getNation() {
|
|
return nation == null ? "" : nation;
|
|
}
|
|
|
|
public void setNation(String nation) {
|
|
this.nation = nation;
|
|
}
|
|
|
|
public String getAddress() {
|
|
return address == null ? "" : address;
|
|
}
|
|
|
|
public void setAddress(String address) {
|
|
this.address = address;
|
|
}
|
|
|
|
public String getCardId() {
|
|
return cardId == null ? "" : cardId;
|
|
}
|
|
|
|
public void setCardId(String cardId) {
|
|
this.cardId = cardId;
|
|
}
|
|
|
|
public String getBirthday() {
|
|
return birthday == null ? "" : birthday;
|
|
}
|
|
|
|
public void setBirthday(String birthday) {
|
|
this.birthday = birthday;
|
|
}
|
|
|
|
public String getSex() {
|
|
return sex == null ? "" : sex;
|
|
}
|
|
|
|
public void setSex(String sex) {
|
|
this.sex = sex;
|
|
}
|
|
}
|
|
}
|