InputOrgTechProduct.java 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. package com.goafanti.cognizance.bo;
  2. import java.math.BigDecimal;
  3. import javax.validation.constraints.Max;
  4. import javax.validation.constraints.Min;
  5. import javax.validation.constraints.Size;
  6. import com.goafanti.common.constant.ErrorConstants;
  7. public class InputOrgTechProduct {
  8. @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  9. private String id;
  10. @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  11. private String uid;
  12. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  13. private String serialNumber;
  14. @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  15. private String productName;
  16. @Max(value = 999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  17. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  18. private Integer technicalField1;
  19. @Max(value = 999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  20. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  21. private Integer technicalField2;
  22. @Max(value = 999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  23. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  24. private Integer technicalField3;
  25. @Max(value = 9, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  26. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  27. private Integer technicalSource;
  28. @Max(value = (long)999999.99, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  29. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  30. private BigDecimal lastYearRevenue;
  31. @Max(value = 1, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  32. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  33. private Integer mainProduct;
  34. @Size(min = 0, max = 500, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  35. private String intellectualPropertyNumber;
  36. @Size(min = 0, max = 500, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  37. private String keyTechnology;
  38. @Size(min = 0, max = 500, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  39. private String competitiveEdge;
  40. @Size(min = 0, max = 500, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  41. private String conditionEffect;
  42. @Max(value = 999999, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  43. @Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
  44. private Integer year;
  45. @Size(min = 0, max = 255, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  46. private String accountUrl;
  47. public String getId() {
  48. return id;
  49. }
  50. public void setId(String id) {
  51. this.id = id;
  52. }
  53. public String getUid() {
  54. return uid;
  55. }
  56. public void setUid(String uid) {
  57. this.uid = uid;
  58. }
  59. public String getSerialNumber() {
  60. return serialNumber;
  61. }
  62. public void setSerialNumber(String serialNumber) {
  63. this.serialNumber = serialNumber;
  64. }
  65. public String getProductName() {
  66. return productName;
  67. }
  68. public void setProductName(String productName) {
  69. this.productName = productName;
  70. }
  71. public Integer getTechnicalField1() {
  72. return technicalField1;
  73. }
  74. public void setTechnicalField1(Integer technicalField1) {
  75. this.technicalField1 = technicalField1;
  76. }
  77. public Integer getTechnicalField2() {
  78. return technicalField2;
  79. }
  80. public void setTechnicalField2(Integer technicalField2) {
  81. this.technicalField2 = technicalField2;
  82. }
  83. public Integer getTechnicalField3() {
  84. return technicalField3;
  85. }
  86. public void setTechnicalField3(Integer technicalField3) {
  87. this.technicalField3 = technicalField3;
  88. }
  89. public Integer getTechnicalSource() {
  90. return technicalSource;
  91. }
  92. public void setTechnicalSource(Integer technicalSource) {
  93. this.technicalSource = technicalSource;
  94. }
  95. public BigDecimal getLastYearRevenue() {
  96. return lastYearRevenue;
  97. }
  98. public void setLastYearRevenue(BigDecimal lastYearRevenue) {
  99. this.lastYearRevenue = lastYearRevenue;
  100. }
  101. public Integer getMainProduct() {
  102. return mainProduct;
  103. }
  104. public void setMainProduct(Integer mainProduct) {
  105. this.mainProduct = mainProduct;
  106. }
  107. public String getIntellectualPropertyNumber() {
  108. return intellectualPropertyNumber;
  109. }
  110. public void setIntellectualPropertyNumber(String intellectualPropertyNumber) {
  111. this.intellectualPropertyNumber = intellectualPropertyNumber;
  112. }
  113. public String getKeyTechnology() {
  114. return keyTechnology;
  115. }
  116. public void setKeyTechnology(String keyTechnology) {
  117. this.keyTechnology = keyTechnology;
  118. }
  119. public String getCompetitiveEdge() {
  120. return competitiveEdge;
  121. }
  122. public void setCompetitiveEdge(String competitiveEdge) {
  123. this.competitiveEdge = competitiveEdge;
  124. }
  125. public String getConditionEffect() {
  126. return conditionEffect;
  127. }
  128. public void setConditionEffect(String conditionEffect) {
  129. this.conditionEffect = conditionEffect;
  130. }
  131. public Integer getYear() {
  132. return year;
  133. }
  134. public void setYear(Integer year) {
  135. this.year = year;
  136. }
  137. public String getAccountUrl() {
  138. return accountUrl;
  139. }
  140. public void setAccountUrl(String accountUrl) {
  141. this.accountUrl = accountUrl;
  142. }
  143. }