AppDemandBo.java 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. package com.goafanti.demand.bo;
  2. import java.math.BigDecimal;
  3. import java.util.Date;
  4. import org.apache.commons.lang3.time.DateFormatUtils;
  5. import com.goafanti.common.constant.AFTConstants;
  6. public class AppDemandBo {
  7. private int fieldA;//行业
  8. private int fieldB;//行业二级
  9. private String field1;//行业---字符串
  10. private String field2;//二级行业 --字符串
  11. private int isHot;//热门
  12. private Date releaseDate;//发布时间
  13. private int interestCount;//收藏数
  14. private String id;//id
  15. private int demandType;// 需求类型(0-企业技术需求,1-技术设备类需求,2-产学研合作需求,3-研产资金需求,4-地区产业需求,5-技术人才型需求)
  16. private String name;//需求名称
  17. private String problemDes;//问题描述
  18. private String pictureUrl;//图片
  19. private int releaseStatus;//发布状态
  20. private int auditStatus;//审核状态
  21. private int interest;//是否感兴趣
  22. private int orderCount;//订单数
  23. private String keyword;//关键词
  24. private BigDecimal fixedBudget;//固定预算
  25. private BigDecimal crowdCost;//资金需求金额
  26. private BigDecimal budgetCost;
  27. private Date createTime;
  28. private String pictureUrlMin;
  29. private String ownerName;//所有人名称
  30. private String ownerMobile;//所有人电话
  31. public int getFieldA() {
  32. return fieldA;
  33. }
  34. public void setFieldA(int fieldA) {
  35. this.fieldA = fieldA;
  36. }
  37. public int getFieldB() {
  38. return fieldB;
  39. }
  40. public void setFieldB(int fieldB) {
  41. this.fieldB = fieldB;
  42. }
  43. public String getField1() {
  44. return field1;
  45. }
  46. public void setField1(String field1) {
  47. this.field1 = field1;
  48. }
  49. public String getField2() {
  50. return field2;
  51. }
  52. public void setField2(String field2) {
  53. this.field2 = field2;
  54. }
  55. public int getIsHot() {
  56. return isHot;
  57. }
  58. public void setIsHot(int isHot) {
  59. this.isHot = isHot;
  60. }
  61. public Date getReleaseDate() {
  62. return releaseDate;
  63. }
  64. public void setReleaseDate(Date releaseDate) {
  65. this.releaseDate = releaseDate;
  66. }
  67. public String getReleaseDateFormattedDate() {
  68. if (this.releaseDate == null) {
  69. return null;
  70. } else {
  71. return DateFormatUtils.format(this.getReleaseDate(), AFTConstants.YYYYMMDDHHMMSS);
  72. }
  73. }
  74. public int getInterestCount() {
  75. return interestCount;
  76. }
  77. public void setInterestCount(int interestCount) {
  78. this.interestCount = interestCount;
  79. }
  80. public String getId() {
  81. return id;
  82. }
  83. public void setId(String id) {
  84. this.id = id;
  85. }
  86. public int getDemandType() {
  87. return demandType;
  88. }
  89. public void setDemandType(int demandType) {
  90. this.demandType = demandType;
  91. }
  92. public String getName() {
  93. return name;
  94. }
  95. public void setName(String name) {
  96. this.name = name;
  97. }
  98. public String getProblemDes() {
  99. return problemDes;
  100. }
  101. public void setProblemDes(String problemDes) {
  102. this.problemDes = problemDes;
  103. }
  104. public String getPictureUrl() {
  105. return pictureUrl;
  106. }
  107. public void setPictureUrl(String pictureUrl) {
  108. this.pictureUrl = pictureUrl;
  109. }
  110. public int getReleaseStatus() {
  111. return releaseStatus;
  112. }
  113. public void setReleaseStatus(int releaseStatus) {
  114. this.releaseStatus = releaseStatus;
  115. }
  116. public int getAuditStatus() {
  117. return auditStatus;
  118. }
  119. public void setAuditStatus(int auditStatus) {
  120. this.auditStatus = auditStatus;
  121. }
  122. public int getInterest() {
  123. return interest;
  124. }
  125. public void setInterest(int interest) {
  126. this.interest = interest;
  127. }
  128. public int getOrderCount() {
  129. return orderCount;
  130. }
  131. public void setOrderCount(int orderCount) {
  132. this.orderCount = orderCount;
  133. }
  134. public String getKeyword() {
  135. return keyword;
  136. }
  137. public void setKeyword(String keyword) {
  138. this.keyword = keyword;
  139. }
  140. public BigDecimal getFixedBudget() {
  141. return fixedBudget;
  142. }
  143. public void setFixedBudget(BigDecimal fixedBudget) {
  144. this.fixedBudget = fixedBudget;
  145. }
  146. public BigDecimal getCrowdCost() {
  147. return crowdCost;
  148. }
  149. public void setCrowdCost(BigDecimal crowdCost) {
  150. this.crowdCost = crowdCost;
  151. }
  152. public BigDecimal getBudgetCost() {
  153. return budgetCost;
  154. }
  155. public void setBudgetCost(BigDecimal budgetCost) {
  156. this.budgetCost = budgetCost;
  157. }
  158. public Date getCreateTime() {
  159. return createTime;
  160. }
  161. public void setCreateTime(Date createTime) {
  162. this.createTime = createTime;
  163. }
  164. public String getCreateTimeFormattedDate() {
  165. if (this.createTime == null) {
  166. return null;
  167. } else {
  168. return DateFormatUtils.format(this.getCreateTime(), AFTConstants.YYYYMMDDHHMMSS);
  169. }
  170. }
  171. public String getPictureUrlMin() {
  172. return pictureUrlMin;
  173. }
  174. public void setPictureUrlMin(String pictureUrlMin) {
  175. this.pictureUrlMin = pictureUrlMin;
  176. }
  177. public String getOwnerName() {
  178. return ownerName;
  179. }
  180. public void setOwnerName(String ownerName) {
  181. this.ownerName = ownerName;
  182. }
  183. public String getOwnerMobile() {
  184. return ownerMobile;
  185. }
  186. public void setOwnerMobile(String ownerMobile) {
  187. this.ownerMobile = ownerMobile;
  188. }
  189. }