AchievementPartnerListBo.java 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. package com.goafanti.achievement.bo;
  2. import java.math.BigDecimal;
  3. import java.util.Date;
  4. import org.apache.commons.lang3.time.DateFormatUtils;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import com.fasterxml.jackson.annotation.JsonFormat.Shape;
  7. import com.goafanti.common.constant.AFTConstants;
  8. public class AchievementPartnerListBo {
  9. private String id;
  10. /**
  11. * 编号
  12. */
  13. private Integer serialNumber;
  14. /**
  15. * 数据类别 (0--成果, 1--技术, 2--项目)
  16. */
  17. private Integer dataCategory;
  18. /**
  19. * 名称
  20. */
  21. private String name;
  22. /**
  23. * 关键词
  24. */
  25. private String keyword;
  26. /**
  27. * 类型(0--专利, 2--软著, 3--项目, 4--版权, 5--工业设计, 6--配方, 7--非标)
  28. */
  29. private Integer category;
  30. /**
  31. * 所有人类型(0-个人,1-组织)
  32. */
  33. private Integer ownerType;
  34. /**
  35. * 发布时间
  36. */
  37. private Date releaseDate;
  38. /**
  39. * 应用领域1
  40. */
  41. private Integer fieldA;
  42. /**
  43. * 应用领域2
  44. */
  45. private Integer fieldB;
  46. /**
  47. * 成熟度
  48. */
  49. private Integer maturity;
  50. /**
  51. * 议价方式
  52. */
  53. private Integer bargainingMode;
  54. /**
  55. * 标价
  56. */
  57. private BigDecimal transferPrice;
  58. /**
  59. * 描述
  60. */
  61. private String introduction;
  62. /**
  63. * 描述
  64. */
  65. private String technicalPictureUrl;
  66. /**
  67. * 成熟度中文描述
  68. */
  69. /**
  70. * 是否属于精品 0 - 否 , 1 - 是
  71. */
  72. private Integer boutique;
  73. private String maturityS;
  74. private String countInterest;
  75. private String buyIntention;
  76. public Integer getFieldA() {
  77. return fieldA;
  78. }
  79. public void setFieldA(Integer fieldA) {
  80. this.fieldA = fieldA;
  81. }
  82. public Integer getFieldB() {
  83. return fieldB;
  84. }
  85. public void setFieldB(Integer fieldB) {
  86. this.fieldB = fieldB;
  87. }
  88. public Integer getMaturity() {
  89. return maturity;
  90. }
  91. public void setMaturity(Integer maturity) {
  92. this.maturity = maturity;
  93. }
  94. public Integer getBargainingMode() {
  95. return bargainingMode;
  96. }
  97. public void setBargainingMode(Integer bargainingMode) {
  98. this.bargainingMode = bargainingMode;
  99. }
  100. public BigDecimal getTransferPrice() {
  101. return transferPrice;
  102. }
  103. public void setTransferPrice(BigDecimal transferPrice) {
  104. this.transferPrice = transferPrice;
  105. }
  106. public String getId() {
  107. return id;
  108. }
  109. public void setId(String id) {
  110. this.id = id;
  111. }
  112. public Integer getSerialNumber() {
  113. return serialNumber;
  114. }
  115. public void setSerialNumber(Integer serialNumber) {
  116. this.serialNumber = serialNumber;
  117. }
  118. @JsonFormat(shape = Shape.STRING)
  119. public Integer getDataCategory() {
  120. return dataCategory;
  121. }
  122. public void setDataCategory(Integer dataCategory) {
  123. this.dataCategory = dataCategory;
  124. }
  125. public String getName() {
  126. return name;
  127. }
  128. public void setName(String name) {
  129. this.name = name;
  130. }
  131. public String getKeyword() {
  132. return keyword;
  133. }
  134. public void setKeyword(String keyword) {
  135. this.keyword = keyword;
  136. }
  137. @JsonFormat(shape = Shape.STRING)
  138. public Integer getCategory() {
  139. return category;
  140. }
  141. public void setCategory(Integer category) {
  142. this.category = category;
  143. }
  144. @JsonFormat(shape = Shape.STRING)
  145. public Integer getOwnerType() {
  146. return ownerType;
  147. }
  148. public void setOwnerType(Integer ownerType) {
  149. this.ownerType = ownerType;
  150. }
  151. public Date getReleaseDate() {
  152. return releaseDate;
  153. }
  154. public void setReleaseDate(Date releaseDate) {
  155. this.releaseDate = releaseDate;
  156. }
  157. public String getReleaseDateFormattedDate() {
  158. if (this.releaseDate == null) {
  159. return null;
  160. } else {
  161. return DateFormatUtils.format(this.getReleaseDate(), AFTConstants.YYYYMMDDHHMMSS);
  162. }
  163. }
  164. public void setReleaseDateFormattedDate(String releaseDateFormattedDate) {
  165. }
  166. public String getIntroduction() {
  167. return introduction;
  168. }
  169. public void setIntroduction(String introduction) {
  170. this.introduction = introduction;
  171. }
  172. public String getTechnicalPictureUrl() {
  173. return technicalPictureUrl;
  174. }
  175. public void setTechnicalPictureUrl(String technicalPictureUrl) {
  176. this.technicalPictureUrl = technicalPictureUrl;
  177. }
  178. public String getMaturityS() {
  179. return maturityS;
  180. }
  181. public void setMaturityS(String maturityS) {
  182. this.maturityS = maturityS;
  183. }
  184. public String getCountInterest() {
  185. return String.valueOf(Integer.valueOf(countInterest)+128);
  186. }
  187. public void setCountInterest(String countInterest) {
  188. this.countInterest = countInterest;
  189. }
  190. public Integer getBoutique() {
  191. return boutique;
  192. }
  193. public void setBoutique(Integer boutique) {
  194. this.boutique = boutique;
  195. }
  196. public String getBuyIntention() {
  197. return buyIntention;
  198. }
  199. public void setBuyIntention(String buyIntention) {
  200. this.buyIntention = buyIntention;
  201. }
  202. }