InputOrganizationIdentity.java 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554
  1. package com.goafanti.user.bo;
  2. import java.math.BigDecimal;
  3. import java.util.Date;
  4. import javax.validation.constraints.Max;
  5. import javax.validation.constraints.Min;
  6. import javax.validation.constraints.Pattern;
  7. import javax.validation.constraints.Size;
  8. import com.goafanti.common.constant.ErrorConstants;
  9. public class InputOrganizationIdentity {
  10. @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  11. private String id;
  12. @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  13. private String uid;
  14. @Size(min = 0, max = 6, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  15. private String contacts;
  16. @Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  17. private String contactMobile;
  18. @Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  19. private String fixedTel;
  20. @Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  21. private String qq;
  22. @Size(min = 0, max =255, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  23. private String postalAddress;
  24. @Size(min = 0, max = 8, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  25. private String postcode;
  26. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  27. private String aftUsername;
  28. @Size(min = 0, max = 45, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  29. private String unitName;
  30. @Max(value = 999999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  31. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  32. private Integer registeredCapital;
  33. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  34. private String licenceNumber;
  35. @Size(min = 0, max = 12, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  36. private String licenceProvince;
  37. @Size(min = 0, max = 12, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  38. private String licenceCity;
  39. @Size(min = 0, max = 12, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  40. private String licenceArea;
  41. @Size(min = 0, max = 255, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  42. private String licenceScanningUrl;
  43. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  44. private String orgCode;
  45. @Size(min = 0, max = 255, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  46. private String orgCodeUrl;
  47. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  48. private String bankAccount;
  49. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  50. private String banks;
  51. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  52. private String bankBranch;
  53. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  54. private String bankCardNumber;
  55. @Max(value = (long)99.9999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  56. @Min(value = (long)0.0000, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  57. private BigDecimal validationAmount;
  58. @Max(value = 9, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  59. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  60. private Integer identityType;
  61. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  62. private String locationProvince;
  63. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  64. private String locationCity;
  65. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  66. private String locationArea;
  67. @Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  68. private String legalPerson;
  69. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  70. private String legalPersonIdCard;
  71. @Size(min = 0, max = 255, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  72. private String lastYearTaxReportUrl;
  73. @Max(value = 5, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  74. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  75. private Integer auditStatus;
  76. @Max(value = 9, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  77. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  78. private Integer process;
  79. @Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  80. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  81. private Integer wrongCount;
  82. private Date paymentDate;
  83. @Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  84. private String firstContacts;
  85. @Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  86. @Pattern(regexp = "^([1-9])\\d{10}$", message = "{" + ErrorConstants.MOBILE_PATTERN_ERROR + "}")
  87. private String firstMobile;
  88. @Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  89. private String secondContacts;
  90. @Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  91. @Pattern(regexp = "^([1-9])\\d{10}$", message = "{" + ErrorConstants.MOBILE_PATTERN_ERROR + "}")
  92. private String secondMobile;
  93. @Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  94. private String thirdContacts;
  95. @Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  96. @Pattern(regexp = "^([1-9])\\d{10}$", message = "{" + ErrorConstants.MOBILE_PATTERN_ERROR + "}")
  97. private String thirdMobile;
  98. @Max(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  99. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  100. private Integer listed;
  101. private Date listedDate;
  102. @Max(value = 9, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  103. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  104. private Integer listedType;
  105. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  106. private String stockCode;
  107. @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  108. private String certificateNumber;
  109. private Date issuingDate;
  110. @Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  111. @Min(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  112. private Integer cogContacts;
  113. @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  114. private String consultant;
  115. public String getId() {
  116. return id;
  117. }
  118. public void setId(String id) {
  119. this.id = id;
  120. }
  121. public String getUid() {
  122. return uid;
  123. }
  124. public void setUid(String uid) {
  125. this.uid = uid;
  126. }
  127. public String getContacts() {
  128. return contacts;
  129. }
  130. public void setContacts(String contacts) {
  131. this.contacts = contacts;
  132. }
  133. public String getContactMobile() {
  134. return contactMobile;
  135. }
  136. public void setContactMobile(String contactMobile) {
  137. this.contactMobile = contactMobile;
  138. }
  139. public String getFixedTel() {
  140. return fixedTel;
  141. }
  142. public void setFixedTel(String fixedTel) {
  143. this.fixedTel = fixedTel;
  144. }
  145. public String getQq() {
  146. return qq;
  147. }
  148. public void setQq(String qq) {
  149. this.qq = qq;
  150. }
  151. public String getPostalAddress() {
  152. return postalAddress;
  153. }
  154. public void setPostalAddress(String postalAddress) {
  155. this.postalAddress = postalAddress;
  156. }
  157. public String getPostcode() {
  158. return postcode;
  159. }
  160. public void setPostcode(String postcode) {
  161. this.postcode = postcode;
  162. }
  163. public String getAftUsername() {
  164. return aftUsername;
  165. }
  166. public void setAftUsername(String aftUsername) {
  167. this.aftUsername = aftUsername;
  168. }
  169. public String getUnitName() {
  170. return unitName;
  171. }
  172. public void setUnitName(String unitName) {
  173. this.unitName = unitName;
  174. }
  175. public Integer getRegisteredCapital() {
  176. return registeredCapital;
  177. }
  178. public void setRegisteredCapital(Integer registeredCapital) {
  179. this.registeredCapital = registeredCapital;
  180. }
  181. public String getLicenceNumber() {
  182. return licenceNumber;
  183. }
  184. public void setLicenceNumber(String licenceNumber) {
  185. this.licenceNumber = licenceNumber;
  186. }
  187. public String getLicenceProvince() {
  188. return licenceProvince;
  189. }
  190. public void setLicenceProvince(String licenceProvince) {
  191. this.licenceProvince = licenceProvince;
  192. }
  193. public String getLicenceCity() {
  194. return licenceCity;
  195. }
  196. public void setLicenceCity(String licenceCity) {
  197. this.licenceCity = licenceCity;
  198. }
  199. public String getLicenceArea() {
  200. return licenceArea;
  201. }
  202. public void setLicenceArea(String licenceArea) {
  203. this.licenceArea = licenceArea;
  204. }
  205. public String getLicenceScanningUrl() {
  206. return licenceScanningUrl;
  207. }
  208. public void setLicenceScanningUrl(String licenceScanningUrl) {
  209. this.licenceScanningUrl = licenceScanningUrl;
  210. }
  211. public String getOrgCode() {
  212. return orgCode;
  213. }
  214. public void setOrgCode(String orgCode) {
  215. this.orgCode = orgCode;
  216. }
  217. public String getOrgCodeUrl() {
  218. return orgCodeUrl;
  219. }
  220. public void setOrgCodeUrl(String orgCodeUrl) {
  221. this.orgCodeUrl = orgCodeUrl;
  222. }
  223. public String getBankAccount() {
  224. return bankAccount;
  225. }
  226. public void setBankAccount(String bankAccount) {
  227. this.bankAccount = bankAccount;
  228. }
  229. public String getBanks() {
  230. return banks;
  231. }
  232. public void setBanks(String banks) {
  233. this.banks = banks;
  234. }
  235. public String getBankBranch() {
  236. return bankBranch;
  237. }
  238. public void setBankBranch(String bankBranch) {
  239. this.bankBranch = bankBranch;
  240. }
  241. public String getBankCardNumber() {
  242. return bankCardNumber;
  243. }
  244. public void setBankCardNumber(String bankCardNumber) {
  245. this.bankCardNumber = bankCardNumber;
  246. }
  247. public BigDecimal getValidationAmount() {
  248. return validationAmount;
  249. }
  250. public void setValidationAmount(BigDecimal validationAmount) {
  251. this.validationAmount = validationAmount;
  252. }
  253. public Integer getIdentityType() {
  254. return identityType;
  255. }
  256. public void setIdentityType(Integer identityType) {
  257. this.identityType = identityType;
  258. }
  259. public String getLocationProvince() {
  260. return locationProvince;
  261. }
  262. public void setLocationProvince(String locationProvince) {
  263. this.locationProvince = locationProvince;
  264. }
  265. public String getLocationCity() {
  266. return locationCity;
  267. }
  268. public void setLocationCity(String locationCity) {
  269. this.locationCity = locationCity;
  270. }
  271. public String getLocationArea() {
  272. return locationArea;
  273. }
  274. public void setLocationArea(String locationArea) {
  275. this.locationArea = locationArea;
  276. }
  277. public String getLegalPerson() {
  278. return legalPerson;
  279. }
  280. public void setLegalPerson(String legalPerson) {
  281. this.legalPerson = legalPerson;
  282. }
  283. public String getLegalPersonIdCard() {
  284. return legalPersonIdCard;
  285. }
  286. public void setLegalPersonIdCard(String legalPersonIdCard) {
  287. this.legalPersonIdCard = legalPersonIdCard;
  288. }
  289. public String getLastYearTaxReportUrl() {
  290. return lastYearTaxReportUrl;
  291. }
  292. public void setLastYearTaxReportUrl(String lastYearTaxReportUrl) {
  293. this.lastYearTaxReportUrl = lastYearTaxReportUrl;
  294. }
  295. public Integer getAuditStatus() {
  296. return auditStatus;
  297. }
  298. public void setAuditStatus(Integer auditStatus) {
  299. this.auditStatus = auditStatus;
  300. }
  301. public Integer getProcess() {
  302. return process;
  303. }
  304. public void setProcess(Integer process) {
  305. this.process = process;
  306. }
  307. public Integer getWrongCount() {
  308. return wrongCount;
  309. }
  310. public void setWrongCount(Integer wrongCount) {
  311. this.wrongCount = wrongCount;
  312. }
  313. public Date getPaymentDate() {
  314. return paymentDate;
  315. }
  316. public void setPaymentDate(Date paymentDate) {
  317. this.paymentDate = paymentDate;
  318. }
  319. public String getFirstContacts() {
  320. return firstContacts;
  321. }
  322. public void setFirstContacts(String firstContacts) {
  323. this.firstContacts = firstContacts;
  324. }
  325. public String getFirstMobile() {
  326. return firstMobile;
  327. }
  328. public void setFirstMobile(String firstMobile) {
  329. this.firstMobile = firstMobile;
  330. }
  331. public String getSecondContacts() {
  332. return secondContacts;
  333. }
  334. public void setSecondContacts(String secondContacts) {
  335. this.secondContacts = secondContacts;
  336. }
  337. public String getSecondMobile() {
  338. return secondMobile;
  339. }
  340. public void setSecondMobile(String secondMobile) {
  341. this.secondMobile = secondMobile;
  342. }
  343. public String getThirdContacts() {
  344. return thirdContacts;
  345. }
  346. public void setThirdContacts(String thirdContacts) {
  347. this.thirdContacts = thirdContacts;
  348. }
  349. public String getThirdMobile() {
  350. return thirdMobile;
  351. }
  352. public void setThirdMobile(String thirdMobile) {
  353. this.thirdMobile = thirdMobile;
  354. }
  355. public Integer getListed() {
  356. return listed;
  357. }
  358. public void setListed(Integer listed) {
  359. this.listed = listed;
  360. }
  361. public Date getListedDate() {
  362. return listedDate;
  363. }
  364. public void setListedDate(Date listedDate) {
  365. this.listedDate = listedDate;
  366. }
  367. public Integer getListedType() {
  368. return listedType;
  369. }
  370. public void setListedType(Integer listedType) {
  371. this.listedType = listedType;
  372. }
  373. public String getStockCode() {
  374. return stockCode;
  375. }
  376. public void setStockCode(String stockCode) {
  377. this.stockCode = stockCode;
  378. }
  379. public String getCertificateNumber() {
  380. return certificateNumber;
  381. }
  382. public void setCertificateNumber(String certificateNumber) {
  383. this.certificateNumber = certificateNumber;
  384. }
  385. public Date getIssuingDate() {
  386. return issuingDate;
  387. }
  388. public void setIssuingDate(Date issuingDate) {
  389. this.issuingDate = issuingDate;
  390. }
  391. public Integer getCogContacts() {
  392. return cogContacts;
  393. }
  394. public void setCogContacts(Integer cogContacts) {
  395. this.cogContacts = cogContacts;
  396. }
  397. public String getConsultant() {
  398. return consultant;
  399. }
  400. public void setConsultant(String consultant) {
  401. this.consultant = consultant;
  402. }
  403. }