}
@XmlRootElement(name="Root")
@XmlAccessorType(XmlAccessType.FIELD)
public class CaRegAppRoot {
@XmlElement(name="RegApp")
private List
public List
return caRegAppList;
}
public void setCaRegAppList(List
this.caRegAppList = caRegAppList;
}
}
@XmlAccessorType(XmlAccessType.FIELD)
public class CaRegApp {
/**
* 用户ID
*/
@XmlTransient
private String userid;
/**
* 客户名称
*/
@XmlElement(name="CustomerName")
private String customername;
/**
* 证书受理ID
*/
@XmlElement(name="CertID")
private String certid;
/**
* 证书序列号
*/
@XmlElement(name="SerialNumber")
private String serialnumber;
/**
* 应用方的客户编号
*/
@XmlElement(name="ExtendInfo")
private ExtendInfo extendinfo;
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
/**
* 应用有效期限
*/
@XmlElement(name="EndDate")
@XmlJavaTypeAdapter(XmlDateAdapter.class)
private Date enddate;
/**
* 证书应用服务状态
*/
@XmlElement(name="Status")
private String status;
/**
* 应用类型
*/
@XmlElement(name="IssumType")
private String issumtype;
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
/**
* 创建时间
*/
@XmlTransient
private Date cjsj;
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
/**
* 最后修改时间
*/
@XmlTransient
private Date zhxgsj;
public String getUserid() {
return userid;
}
public void setUserid(String userid) {
this.userid = userid == null ? null : userid.trim();
}
public String getCustomername() {
return customername;
}
public void setCustomername(String customername) {
this.customername = customername == null ? null : customername.trim();
}
public String getCertid() {
return certid;
}
public void setCertid(String certid) {
this.certid = certid == null ? null : certid.trim();
}
public String getSerialnumber() {
return serialnumber;
}
public void setSerialnumber(String serialnumber) {
this.serialnumber = serialnumber == null ? null : serialnumber.trim();
}
public ExtendInfo getExtendinfo() {
return extendinfo;
}
public void setExtendinfo(ExtendInfo extendinfo) {
this.extendinfo = extendinfo;
}
public Date getEnddate() {
return enddate;
}
public void setEnddate(Date enddate) {
this.enddate = enddate;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status == null ? null : status.trim();
}
public String getIssumtype() {
return issumtype;
}
public void setIssumtype(String issumtype) {
this.issumtype = issumtype == null ? null : issumtype.trim();
}
public Date getCjsj() {
return cjsj;
}
public void setCjsj(Date cjsj) {
this.cjsj = cjsj;
}
public Date getZhxgsj() {
return zhxgsj;
}
public void setZhxgsj(Date zhxgsj) {
this.zhxgsj = zhxgsj;
}
}