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