InputOrganizationIdentity.java 13 KB

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