InputOrganizationIdentity.java 13 KB

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