InputOrgPro.java 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. package com.goafanti.user.bo;
  2. import javax.validation.constraints.Max;
  3. import javax.validation.constraints.Min;
  4. import javax.validation.constraints.Pattern;
  5. import javax.validation.constraints.Size;
  6. import com.goafanti.common.constant.ErrorConstants;
  7. public class InputOrgPro {
  8. @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  9. private String iid;
  10. @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  11. private String pid;
  12. @Size(min = 0, max = 6, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  13. private String identityType;
  14. @Size(min = 0, max = 45, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  15. private String companyName;
  16. @Size(min = 0, max = 12, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  17. private String locationProvince;
  18. @Size(min = 0, max = 12, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  19. private String locationCity;
  20. @Size(min = 0, max = 12, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  21. private String locationArea;
  22. @Size(min = 0, max = 12, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  23. @Pattern(regexp = "^([1-9])\\d{11}$", message = "{" + ErrorConstants.PARAM_PATTERN_ERROR + "}")
  24. private String unitSize;
  25. @Size(min = 0, max = 1000, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  26. private String companyIntroduction;
  27. @Size(min = 0, max = 45, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  28. private String homeUnit;
  29. @Size(min = 0, max = 255, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  30. private String logoUrl;
  31. @Size(min = 0, max = 1000, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  32. private String publicityPictureUrl;
  33. @Size(min = 0, max = 45, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  34. private String qualification;
  35. @Max(value = 99999999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  36. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  37. private Integer turnover;
  38. @Size(min = 0, max = 45, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  39. private String collegeAttribute;
  40. @Size(min = 0, max = 12, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  41. private String collegeEstablishTime;
  42. @Max(value = 99999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  43. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  44. private Integer academician;
  45. @Max(value = 99999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  46. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  47. private Integer doctoralTutor;
  48. @Max(value = 99999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  49. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  50. private Integer masterTutor;
  51. @Max(value = 99999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  52. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  53. private Integer otherExpert;
  54. @Max(value = 99999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  55. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  56. private Integer nationalLab;
  57. @Max(value = 99999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  58. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  59. private Integer educationLab;
  60. @Max(value = 99999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  61. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  62. private Integer enterpriseCenter;
  63. @Max(value = 99999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  64. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  65. private Integer otherCenter;
  66. @Size(min = 0, max = 12, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  67. private String institutionEstablishTime;
  68. public String getIid() {
  69. return iid;
  70. }
  71. public void setIid(String iid) {
  72. this.iid = iid;
  73. }
  74. public String getPid() {
  75. return pid;
  76. }
  77. public void setPid(String pid) {
  78. this.pid = pid;
  79. }
  80. public String getIdentityType() {
  81. return identityType;
  82. }
  83. public void setIdentityType(String identityType) {
  84. this.identityType = identityType;
  85. }
  86. public String getCompanyName() {
  87. return companyName;
  88. }
  89. public void setCompanyName(String companyName) {
  90. this.companyName = companyName;
  91. }
  92. public String getLocationProvince() {
  93. return locationProvince;
  94. }
  95. public void setLocationProvince(String locationProvince) {
  96. this.locationProvince = locationProvince;
  97. }
  98. public String getLocationCity() {
  99. return locationCity;
  100. }
  101. public void setLocationCity(String locationCity) {
  102. this.locationCity = locationCity;
  103. }
  104. public String getLocationArea() {
  105. return locationArea;
  106. }
  107. public void setLocationArea(String locationArea) {
  108. this.locationArea = locationArea;
  109. }
  110. public String getUnitSize() {
  111. return unitSize;
  112. }
  113. public void setUnitSize(String unitSize) {
  114. this.unitSize = unitSize;
  115. }
  116. public String getCompanyIntroduction() {
  117. return companyIntroduction;
  118. }
  119. public void setCompanyIntroduction(String companyIntroduction) {
  120. this.companyIntroduction = companyIntroduction;
  121. }
  122. public String getHomeUnit() {
  123. return homeUnit;
  124. }
  125. public void setHomeUnit(String homeUnit) {
  126. this.homeUnit = homeUnit;
  127. }
  128. public String getLogoUrl() {
  129. return logoUrl;
  130. }
  131. public void setLogoUrl(String logoUrl) {
  132. this.logoUrl = logoUrl;
  133. }
  134. public String getPublicityPictureUrl() {
  135. return publicityPictureUrl;
  136. }
  137. public void setPublicityPictureUrl(String publicityPictureUrl) {
  138. this.publicityPictureUrl = publicityPictureUrl;
  139. }
  140. public String getQualification() {
  141. return qualification;
  142. }
  143. public void setQualification(String qualification) {
  144. this.qualification = qualification;
  145. }
  146. public Integer getTurnover() {
  147. return turnover;
  148. }
  149. public void setTurnover(Integer turnover) {
  150. this.turnover = turnover;
  151. }
  152. public String getCollegeAttribute() {
  153. return collegeAttribute;
  154. }
  155. public void setCollegeAttribute(String collegeAttribute) {
  156. this.collegeAttribute = collegeAttribute;
  157. }
  158. public String getCollegeEstablishTime() {
  159. return collegeEstablishTime;
  160. }
  161. public void setCollegeEstablishTime(String collegeEstablishTime) {
  162. this.collegeEstablishTime = collegeEstablishTime;
  163. }
  164. public Integer getAcademician() {
  165. return academician;
  166. }
  167. public void setAcademician(Integer academician) {
  168. this.academician = academician;
  169. }
  170. public Integer getDoctoralTutor() {
  171. return doctoralTutor;
  172. }
  173. public void setDoctoralTutor(Integer doctoralTutor) {
  174. this.doctoralTutor = doctoralTutor;
  175. }
  176. public Integer getMasterTutor() {
  177. return masterTutor;
  178. }
  179. public void setMasterTutor(Integer masterTutor) {
  180. this.masterTutor = masterTutor;
  181. }
  182. public Integer getOtherExpert() {
  183. return otherExpert;
  184. }
  185. public void setOtherExpert(Integer otherExpert) {
  186. this.otherExpert = otherExpert;
  187. }
  188. public Integer getNationalLab() {
  189. return nationalLab;
  190. }
  191. public void setNationalLab(Integer nationalLab) {
  192. this.nationalLab = nationalLab;
  193. }
  194. public Integer getEducationLab() {
  195. return educationLab;
  196. }
  197. public void setEducationLab(Integer educationLab) {
  198. this.educationLab = educationLab;
  199. }
  200. public Integer getEnterpriseCenter() {
  201. return enterpriseCenter;
  202. }
  203. public void setEnterpriseCenter(Integer enterpriseCenter) {
  204. this.enterpriseCenter = enterpriseCenter;
  205. }
  206. public Integer getOtherCenter() {
  207. return otherCenter;
  208. }
  209. public void setOtherCenter(Integer otherCenter) {
  210. this.otherCenter = otherCenter;
  211. }
  212. public String getInstitutionEstablishTime() {
  213. return institutionEstablishTime;
  214. }
  215. public void setInstitutionEstablishTime(String institutionEstablishTime) {
  216. this.institutionEstablishTime = institutionEstablishTime;
  217. }
  218. }