package com.javaweb.geotdp.vo;
|
|
import java.util.Date;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.Pattern;
|
import javax.validation.constraints.Size;
|
|
import org.hibernate.validator.constraints.Range;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
/**
|
* 企业类
|
*/
|
public class CompanyVo {
|
|
|
//@NotBlank(message="时间参数不能为空")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date addTime;// 添加时间(必填)
|
|
@NotBlank(message="身份证附件不能为空")
|
private String cardAnnex ; // 身份证附件(网络图片地址)(必填)
|
|
@NotBlank(message="附件背面不能为空")
|
private String cardBackAnnex ;//附件背面(网络图片地址)(必填)
|
|
@Range(min =1 , max =1,message="城市编号应该设置为1")
|
private Integer city; // 城市(北京默认为1)(必填)
|
private String code ; // 企业代码
|
|
@NotBlank(message="信用代码附件不能为空")
|
private String creditAnnex ;// 信用代码附件(网络图片地址)(必填)
|
|
|
@NotBlank(message="信用代码不能为空")
|
private String creditCode;// 信用代码(必填)
|
|
|
/**
|
* 区县(1-东城区、2-西城区、5-朝阳区、6-丰台区、7-石景山
|
* 区、8-海淀区、9-门头沟区、10-房山区、11-通州区、12-顺义
|
* 区、13-昌平区、14-大兴区、15-怀柔区、16-平谷区、17-密云
|
* 县、18-延庆县、99-外埠)(必填)
|
*/
|
|
@Range(min =1 , max =99,message="地区编号不合法")
|
private Integer district ;
|
|
@NotBlank(message="企业名称不能为空")
|
private String fullName;// 企业名称(必填)
|
|
@Size(min=18,max=18,message="身份证不能为空,长度为18位")
|
private String idCard ;// 身份证(必填)
|
|
private String ids ;// 主键(新建时为空,更新时必填)
|
|
@NotBlank(message="法人不能为空")
|
private String legalPerson ;// 法人(必填)
|
|
@NotBlank(message="法人电话不能为空")
|
private String legalPersonPhone ;// 法人电话(必填)
|
|
|
@NotBlank(message="委托书附件不能为空")
|
private String powerOfAttorneyAnnex ;// 委托书附件(网络图片地址)(必填)
|
|
@Range(min =1 , max =1,message="省份编码设置为1")
|
private Integer province ;// 省份(北京默认为1)(必填)
|
|
private String regAddress ;// 注册地址
|
|
@NotBlank(message="平台密钥不能为空")
|
private String secretKey;// 平台密钥(必填)
|
|
private String nature ;// 企业性质
|
|
private String position ;// 职务
|
|
private String certificationsCode ;// 资质证书编号
|
|
private String certificationsAnnex ;// 资质证书附件(网络图片地址)
|
|
private String description ;// 企业描述
|
|
private String certificationsCode2 ;// 资质证书编号2
|
|
private String certificationsAnnex2 ;// 资质证书附件2(网络图片地址)
|
|
private String userName ;// 联系人
|
|
private String userPhone ;// 联系人联系方式
|
|
private String category ;// 资质类别(1-一类、2-二类)
|
|
private String datasource;//数据来源
|
|
|
|
|
public String getDatasource() {
|
return datasource;
|
}
|
|
public void setDatasource(String datasource) {
|
this.datasource = datasource;
|
}
|
|
public Date getAddTime() {
|
return addTime;
|
}
|
|
public void setAddTime(Date addTime) {
|
this.addTime = addTime;
|
}
|
|
public String getCardAnnex() {
|
return cardAnnex;
|
}
|
|
public void setCardAnnex(String cardAnnex) {
|
this.cardAnnex = cardAnnex;
|
}
|
|
public String getCardBackAnnex() {
|
return cardBackAnnex;
|
}
|
|
public void setCardBackAnnex(String cardBackAnnex) {
|
this.cardBackAnnex = cardBackAnnex;
|
}
|
|
public Integer getCity() {
|
return city;
|
}
|
|
public void setCity(Integer city) {
|
this.city = city;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public String getCreditAnnex() {
|
return creditAnnex;
|
}
|
|
public void setCreditAnnex(String creditAnnex) {
|
this.creditAnnex = creditAnnex;
|
}
|
|
public String getCreditCode() {
|
return creditCode;
|
}
|
|
public void setCreditCode(String creditCode) {
|
this.creditCode = creditCode;
|
}
|
|
public Integer getDistrict() {
|
return district;
|
}
|
|
public void setDistrict(Integer district) {
|
this.district = district;
|
}
|
|
public String getFullName() {
|
return fullName;
|
}
|
|
public void setFullName(String fullName) {
|
this.fullName = fullName;
|
}
|
|
public String getIdCard() {
|
return idCard;
|
}
|
|
public void setIdCard(String idCard) {
|
this.idCard = idCard;
|
}
|
|
public String getIds() {
|
return ids;
|
}
|
|
public void setIds(String ids) {
|
this.ids = ids;
|
}
|
|
public String getLegalPerson() {
|
return legalPerson;
|
}
|
|
public void setLegalPerson(String legalPerson) {
|
this.legalPerson = legalPerson;
|
}
|
|
public String getLegalPersonPhone() {
|
return legalPersonPhone;
|
}
|
|
public void setLegalPersonPhone(String legalPersonPhone) {
|
this.legalPersonPhone = legalPersonPhone;
|
}
|
|
public String getPowerOfAttorneyAnnex() {
|
return powerOfAttorneyAnnex;
|
}
|
|
public void setPowerOfAttorneyAnnex(String powerOfAttorneyAnnex) {
|
this.powerOfAttorneyAnnex = powerOfAttorneyAnnex;
|
}
|
|
public Integer getProvince() {
|
return province;
|
}
|
|
public void setProvince(Integer province) {
|
this.province = province;
|
}
|
|
public String getRegAddress() {
|
return regAddress;
|
}
|
|
public void setRegAddress(String regAddress) {
|
this.regAddress = regAddress;
|
}
|
|
public String getSecretKey() {
|
return secretKey;
|
}
|
|
public void setSecretKey(String secretKey) {
|
this.secretKey = secretKey;
|
}
|
|
public String getNature() {
|
return nature;
|
}
|
|
public void setNature(String nature) {
|
this.nature = nature;
|
}
|
|
public String getPosition() {
|
return position;
|
}
|
|
public void setPosition(String position) {
|
this.position = position;
|
}
|
|
public String getCertificationsCode() {
|
return certificationsCode;
|
}
|
|
public void setCertificationsCode(String certificationsCode) {
|
this.certificationsCode = certificationsCode;
|
}
|
|
public String getCertificationsAnnex() {
|
return certificationsAnnex;
|
}
|
|
public void setCertificationsAnnex(String certificationsAnnex) {
|
this.certificationsAnnex = certificationsAnnex;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public String getCertificationsCode2() {
|
return certificationsCode2;
|
}
|
|
public void setCertificationsCode2(String certificationsCode2) {
|
this.certificationsCode2 = certificationsCode2;
|
}
|
|
public String getCertificationsAnnex2() {
|
return certificationsAnnex2;
|
}
|
|
public void setCertificationsAnnex2(String certificationsAnnex2) {
|
this.certificationsAnnex2 = certificationsAnnex2;
|
}
|
|
public String getUserName() {
|
return userName;
|
}
|
|
public void setUserName(String userName) {
|
this.userName = userName;
|
}
|
|
public String getUserPhone() {
|
return userPhone;
|
}
|
|
public void setUserPhone(String userPhone) {
|
this.userPhone = userPhone;
|
}
|
|
public String getCategory() {
|
return category;
|
}
|
|
public void setCategory(String category) {
|
this.category = category;
|
}
|
}
|