DemandSearchDetailBo.java 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. package com.goafanti.portal.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 DemandSearchDetailBo extends DemandSearchListBo {
  9. /**
  10. * 技术指标要求
  11. */
  12. private String technicalRequirements;
  13. /**
  14. * 需求文件--图片URL
  15. */
  16. private String pictureUrl;
  17. /**
  18. * 需求文件--文本文件
  19. */
  20. private String textFileUrl;
  21. /**
  22. * 需求文件--视屏文件URL
  23. */
  24. private String videoUrl;
  25. /**
  26. * 固定周期
  27. */
  28. private String fixedCycle;
  29. /**
  30. * 固定人数
  31. */
  32. private Integer peopleNumber;
  33. /**
  34. * 固定方案
  35. */
  36. private String fixedScheme;
  37. /**
  38. * 费用托管
  39. */
  40. private BigDecimal costEscrow;
  41. /**
  42. * 有效期限
  43. */
  44. private Date validityPeriod;
  45. /**
  46. * 关注ID
  47. */
  48. private String demandInterestId;
  49. /**
  50. * 订单ID
  51. */
  52. private String demandOrderId;
  53. /**
  54. * 订单状态
  55. */
  56. private Integer orderStatus;
  57. @JsonFormat(shape = Shape.STRING)
  58. public Integer getOrderStatus() {
  59. return orderStatus;
  60. }
  61. public void setOrderStatus(Integer orderStatus) {
  62. this.orderStatus = orderStatus;
  63. }
  64. public String getDemandOrderId() {
  65. return demandOrderId;
  66. }
  67. public void setDemandOrderId(String demandOrderId) {
  68. this.demandOrderId = demandOrderId;
  69. }
  70. public String getDemandInterestId() {
  71. return demandInterestId;
  72. }
  73. public void setDemandInterestId(String demandInterestId) {
  74. this.demandInterestId = demandInterestId;
  75. }
  76. public String getTechnicalRequirements() {
  77. return technicalRequirements;
  78. }
  79. public void setTechnicalRequirements(String technicalRequirements) {
  80. this.technicalRequirements = technicalRequirements;
  81. }
  82. public String getPictureUrl() {
  83. return pictureUrl;
  84. }
  85. public void setPictureUrl(String pictureUrl) {
  86. this.pictureUrl = pictureUrl;
  87. }
  88. public String getTextFileUrl() {
  89. return textFileUrl;
  90. }
  91. public void setTextFileUrl(String textFileUrl) {
  92. this.textFileUrl = textFileUrl;
  93. }
  94. public String getVideoUrl() {
  95. return videoUrl;
  96. }
  97. public void setVideoUrl(String videoUrl) {
  98. this.videoUrl = videoUrl;
  99. }
  100. public String getFixedCycle() {
  101. return fixedCycle;
  102. }
  103. public void setFixedCycle(String fixedCycle) {
  104. this.fixedCycle = fixedCycle;
  105. }
  106. public Integer getPeopleNumber() {
  107. return peopleNumber;
  108. }
  109. public void setPeopleNumber(Integer peopleNumber) {
  110. this.peopleNumber = peopleNumber;
  111. }
  112. public String getFixedScheme() {
  113. return fixedScheme;
  114. }
  115. public void setFixedScheme(String fixedScheme) {
  116. this.fixedScheme = fixedScheme;
  117. }
  118. public BigDecimal getCostEscrow() {
  119. return costEscrow;
  120. }
  121. public void setCostEscrow(BigDecimal costEscrow) {
  122. this.costEscrow = costEscrow;
  123. }
  124. public Date getValidityPeriod() {
  125. return validityPeriod;
  126. }
  127. public void setValidityPeriod(Date validityPeriod) {
  128. this.validityPeriod = validityPeriod;
  129. }
  130. public String getValidityPeriodFormattedDate() {
  131. if (this.validityPeriod == null) {
  132. return null;
  133. } else {
  134. return DateFormatUtils.format(this.getValidityPeriod(), AFTConstants.YYYYMMDD);
  135. }
  136. }
  137. public void setValidityPeriodFormattedDate(String validityPeriodFormattedDate) {
  138. }
  139. }