DemandPortalDetailBo.java 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. package com.goafanti.portal.bo;
  2. import java.math.BigDecimal;
  3. import java.text.SimpleDateFormat;
  4. import java.util.Date;
  5. import com.goafanti.common.constant.AFTConstants;
  6. public class DemandPortalDetailBo {
  7. private String id;
  8. private String name;
  9. private String keyword;
  10. private Integer industryCategoryA;
  11. private String industryCategoryAS;
  12. private String industryCategoryBS;
  13. private BigDecimal budgetCost;
  14. private String budgetCostS;
  15. private String province;
  16. private String city;
  17. private String problemDes;
  18. private String interestId;
  19. private String location;
  20. private String industryCategory;
  21. private String employerName;
  22. private Integer level;
  23. private String pictureUrl;
  24. private String employerAddress;
  25. private Date validityPeriod;
  26. private Integer fixedbudget;
  27. private String validityPeriodS;
  28. private Integer countDemandInterest;
  29. private String employerContactsMobile;
  30. private String dataCategory;
  31. public Integer getLevel() {
  32. return level;
  33. }
  34. public void setLevel(Integer level) {
  35. this.level = level;
  36. }
  37. public String getEmployerName() {
  38. return employerName;
  39. }
  40. public void setEmployerName(String employerName) {
  41. this.employerName = employerName;
  42. }
  43. public String getBudgetCostS() {
  44. return budgetCostS;
  45. }
  46. public void setBudgetCostS(String budgetCostS) {
  47. this.budgetCostS = budgetCostS;
  48. }
  49. public String getIndustryCategory() {
  50. return industryCategory;
  51. }
  52. public void setIndustryCategory(String industryCategory) {
  53. this.industryCategory = industryCategory;
  54. }
  55. public String getLocation() {
  56. return location;
  57. }
  58. public void setLocation(String location) {
  59. this.location = location;
  60. }
  61. public String getInterestId() {
  62. return interestId;
  63. }
  64. public void setInterestId(String interestId) {
  65. this.interestId = interestId;
  66. }
  67. public String getId() {
  68. return id;
  69. }
  70. public void setId(String id) {
  71. this.id = id;
  72. }
  73. public String getName() {
  74. return name;
  75. }
  76. public void setName(String name) {
  77. this.name = name;
  78. }
  79. public String getKeyword() {
  80. return keyword;
  81. }
  82. public void setKeyword(String keyword) {
  83. this.keyword = keyword;
  84. }
  85. public Integer getIndustryCategoryA() {
  86. return industryCategoryA;
  87. }
  88. public void setIndustryCategoryA(Integer industryCategoryA) {
  89. this.industryCategoryA = industryCategoryA;
  90. }
  91. public String getIndustryCategoryAS() {
  92. return industryCategoryAS;
  93. }
  94. public void setIndustryCategoryAS(String industryCategoryAS) {
  95. this.industryCategoryAS = industryCategoryAS;
  96. }
  97. public String getIndustryCategoryBS() {
  98. return industryCategoryBS;
  99. }
  100. public void setIndustryCategoryBS(String industryCategoryBS) {
  101. this.industryCategoryBS = industryCategoryBS;
  102. }
  103. public BigDecimal getBudgetCost() {
  104. return budgetCost;
  105. }
  106. public void setBudgetCost(BigDecimal budgetCost) {
  107. this.budgetCost = budgetCost;
  108. }
  109. public String getProblemDes() {
  110. return problemDes;
  111. }
  112. public void setProblemDes(String problemDes) {
  113. this.problemDes = problemDes;
  114. }
  115. public String getProvince() {
  116. return province;
  117. }
  118. public void setProvince(String province) {
  119. this.province = province;
  120. }
  121. public String getCity() {
  122. return city;
  123. }
  124. public void setCity(String city) {
  125. this.city = city;
  126. }
  127. public String getPictureUrl() {
  128. return pictureUrl;
  129. }
  130. public void setPictureUrl(String pictureUrl) {
  131. this.pictureUrl = pictureUrl;
  132. }
  133. public String getEmployerAddress() {
  134. return employerAddress;
  135. }
  136. public void setEmployerAddress(String employerAddress) {
  137. this.employerAddress = employerAddress;
  138. }
  139. public Integer getFixedbudget() {
  140. return fixedbudget;
  141. }
  142. public void setFixedbudget(Integer fixedbudget) {
  143. this.fixedbudget = fixedbudget;
  144. }
  145. public Date getValidityPeriod() {
  146. return validityPeriod;
  147. }
  148. public void setValidityPeriod(Date validityPeriod) {
  149. this.validityPeriod = validityPeriod;
  150. }
  151. public String getValidityPeriodS() {
  152. SimpleDateFormat sdf =new SimpleDateFormat(AFTConstants.YYYYMMDD);
  153. if(null==validityPeriod) {
  154. return null ;
  155. }else {
  156. validityPeriodS=sdf.format(this.validityPeriod);
  157. return validityPeriodS;
  158. }
  159. }
  160. public void setValidityPeriodS(String validityPeriodS) {
  161. this.validityPeriodS = validityPeriodS;
  162. }
  163. public Integer getCountDemandInterest() {
  164. return countDemandInterest;
  165. }
  166. public void setCountDemandInterest(Integer countDemandInterest) {
  167. this.countDemandInterest = countDemandInterest;
  168. }
  169. public String getEmployerContactsMobile() {
  170. return employerContactsMobile;
  171. }
  172. public void setEmployerContactsMobile(String employerContactsMobile) {
  173. this.employerContactsMobile = employerContactsMobile;
  174. }
  175. public String getDataCategory() {
  176. return dataCategory;
  177. }
  178. public void setDataCategory(String dataCategory) {
  179. this.dataCategory = dataCategory;
  180. }
  181. @Override
  182. public String toString() {
  183. return "DemandPortalDetailBo [id=" + id + ", name=" + name + ", keyword=" + keyword + ", industryCategoryA="
  184. + industryCategoryA + ", industryCategoryAS=" + industryCategoryAS + ", industryCategoryBS="
  185. + industryCategoryBS + ", budgetCost=" + budgetCost + ", budgetCostS=" + budgetCostS + ", province="
  186. + province + ", city=" + city + ", problemDes=" + problemDes + ", interestId=" + interestId
  187. + ", location=" + location + ", industryCategory=" + industryCategory + ", employerName=" + employerName
  188. + ", level=" + level + ", pictureUrl=" + pictureUrl + ", employerAddress=" + employerAddress
  189. + ", validityPeriod=" + validityPeriod + ", fixedbudget=" + fixedbudget + ", validityPeriodS="
  190. + validityPeriodS + ", countDemandInterest=" + countDemandInterest + ", employerContactsMobile="
  191. + employerContactsMobile + ", dataCategory=" + dataCategory + "]";
  192. }
  193. }