InputOrgActivity.java 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. package com.goafanti.cognizance.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 InputOrgActivity {
  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 = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  14. private String activityNumber;
  15. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  16. private String activityName;
  17. /**
  18. * 开始日期
  19. */
  20. private Date startDate;
  21. /**
  22. * 结束日期
  23. */
  24. private Date endDate;
  25. @Size(min = 0, max = 255, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  26. private String participant;
  27. @Max(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  28. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  29. private Integer projectMode;
  30. @Size(min = 0, max = 3, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  31. private String technicalField1;
  32. @Size(min = 0, max = 3, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  33. private String technicalField2;
  34. @Size(min = 0, max = 3, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  35. private String technicalField3;
  36. @Max(value = 9, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  37. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  38. private Integer technicalSource;
  39. @Size(min = 0, max = 500, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  40. private String intellectualPropertyNumber;
  41. @Max(value = (long) 999999.99, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  42. @Min(value = (long) 0.00, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  43. private BigDecimal budget;
  44. @Max(value = (long) 999999.99, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  45. @Min(value = (long) 0.00, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  46. private BigDecimal firstYearExpenditure;
  47. @Max(value = (long) 999999.99, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  48. @Min(value = (long) 0.00, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  49. private BigDecimal secondYearExpenditure;
  50. @Max(value = (long) 999999.99, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  51. @Min(value = (long) 0.00, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  52. private BigDecimal thirdYearExpenditure;
  53. @Size(min = 0, max = 500, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  54. private String implement;
  55. @Size(min = 0, max = 500, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  56. private String technologyInnovation;
  57. @Size(min = 0, max = 500, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  58. private String achievement;
  59. @Size(min = 0, max = 255, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  60. private String proofUrl;
  61. public String getId() {
  62. return id;
  63. }
  64. public void setId(String id) {
  65. this.id = id;
  66. }
  67. public String getUid() {
  68. return uid;
  69. }
  70. public void setUid(String uid) {
  71. this.uid = uid;
  72. }
  73. public String getActivityNumber() {
  74. return activityNumber;
  75. }
  76. public void setActivityNumber(String activityNumber) {
  77. this.activityNumber = activityNumber;
  78. }
  79. public String getActivityName() {
  80. return activityName;
  81. }
  82. public void setActivityName(String activityName) {
  83. this.activityName = activityName;
  84. }
  85. public Date getStartDate() {
  86. return startDate;
  87. }
  88. public void setStartDate(Date startDate) {
  89. this.startDate = startDate;
  90. }
  91. public Date getEndDate() {
  92. return endDate;
  93. }
  94. public void setEndDate(Date endDate) {
  95. this.endDate = endDate;
  96. }
  97. public String getParticipant() {
  98. return participant;
  99. }
  100. public void setParticipant(String participant) {
  101. this.participant = participant;
  102. }
  103. public Integer getProjectMode() {
  104. return projectMode;
  105. }
  106. public void setProjectMode(Integer projectMode) {
  107. this.projectMode = projectMode;
  108. }
  109. public String getTechnicalField1() {
  110. return technicalField1;
  111. }
  112. public void setTechnicalField1(String technicalField1) {
  113. this.technicalField1 = technicalField1;
  114. }
  115. public String getTechnicalField2() {
  116. return technicalField2;
  117. }
  118. public void setTechnicalField2(String technicalField2) {
  119. this.technicalField2 = technicalField2;
  120. }
  121. public String getTechnicalField3() {
  122. return technicalField3;
  123. }
  124. public void setTechnicalField3(String technicalField3) {
  125. this.technicalField3 = technicalField3;
  126. }
  127. public Integer getTechnicalSource() {
  128. return technicalSource;
  129. }
  130. public void setTechnicalSource(Integer technicalSource) {
  131. this.technicalSource = technicalSource;
  132. }
  133. public String getIntellectualPropertyNumber() {
  134. return intellectualPropertyNumber;
  135. }
  136. public void setIntellectualPropertyNumber(String intellectualPropertyNumber) {
  137. this.intellectualPropertyNumber = intellectualPropertyNumber;
  138. }
  139. public BigDecimal getBudget() {
  140. return budget;
  141. }
  142. public void setBudget(BigDecimal budget) {
  143. this.budget = budget;
  144. }
  145. public BigDecimal getFirstYearExpenditure() {
  146. return firstYearExpenditure;
  147. }
  148. public void setFirstYearExpenditure(BigDecimal firstYearExpenditure) {
  149. this.firstYearExpenditure = firstYearExpenditure;
  150. }
  151. public BigDecimal getSecondYearExpenditure() {
  152. return secondYearExpenditure;
  153. }
  154. public void setSecondYearExpenditure(BigDecimal secondYearExpenditure) {
  155. this.secondYearExpenditure = secondYearExpenditure;
  156. }
  157. public BigDecimal getThirdYearExpenditure() {
  158. return thirdYearExpenditure;
  159. }
  160. public void setThirdYearExpenditure(BigDecimal thirdYearExpenditure) {
  161. this.thirdYearExpenditure = thirdYearExpenditure;
  162. }
  163. public String getImplement() {
  164. return implement;
  165. }
  166. public void setImplement(String implement) {
  167. this.implement = implement;
  168. }
  169. public String getTechnologyInnovation() {
  170. return technologyInnovation;
  171. }
  172. public void setTechnologyInnovation(String technologyInnovation) {
  173. this.technologyInnovation = technologyInnovation;
  174. }
  175. public String getAchievement() {
  176. return achievement;
  177. }
  178. public void setAchievement(String achievement) {
  179. this.achievement = achievement;
  180. }
  181. public String getProofUrl() {
  182. return proofUrl;
  183. }
  184. public void setProofUrl(String proofUrl) {
  185. this.proofUrl = proofUrl;
  186. }
  187. }