| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- package com.goafanti.demand.bo;
- import java.util.Date;
- import org.apache.commons.lang3.time.DateFormatUtils;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.fasterxml.jackson.annotation.JsonFormat.Shape;
- import com.goafanti.common.constant.AFTConstants;
- public class DemandManageListBo {
- private String id;
- /**
- * 编号
- */
- private Integer serialNumber;
- /**
- * 数据类别(0-个人需求,1-单位需求)
- */
- private Integer dataCategory;
- /**
- * 名称
- */
- private String name;
- /**
- * 关键词
- */
- private String keyword;
- /**
- * 信息来源(0-平台采集,1-客户发布)
- */
- private Integer infoSources;
- private String username;
- /**
- * 需求类型
- */
- private Integer demandType;
- private Date validityPeriod;
- private String employerName;
- private String province;
- private Integer status;
- /**
- * 是否发布(0-未发布,1-发布)
- */
- private Integer releaseStatus;
- /**
- * 发布时间
- */
- private Date releaseDate;
- /**
- * 负责人(营销员)
- */
- private String principalId;
-
- private String employerId;
-
- public String getEmployerId() {
- return employerId;
- }
- public void setEmployerId(String employerId) {
- this.employerId = employerId;
- }
- public String getId() {
- return id;
- }
- public void setId(String id) {
- this.id = id;
- }
- public Integer getSerialNumber() {
- return serialNumber;
- }
- public void setSerialNumber(Integer serialNumber) {
- this.serialNumber = serialNumber;
- }
- public Integer getDataCategory() {
- return dataCategory;
- }
- public void setDataCategory(Integer dataCategory) {
- this.dataCategory = dataCategory;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getKeyword() {
- return keyword;
- }
- public void setKeyword(String keyword) {
- this.keyword = keyword;
- }
- @JsonFormat(shape = Shape.STRING)
- public Integer getInfoSources() {
- return infoSources;
- }
- public void setInfoSources(Integer infoSources) {
- this.infoSources = infoSources;
- }
- public String getUsername() {
- return username;
- }
- public void setUsername(String username) {
- this.username = username;
- }
- @JsonFormat(shape = Shape.STRING)
- public Integer getDemandType() {
- return demandType;
- }
- public void setDemandType(Integer demandType) {
- this.demandType = demandType;
- }
- public Date getValidityPeriod() {
- return validityPeriod;
- }
- public void setValidityPeriod(Date validityPeriod) {
- this.validityPeriod = validityPeriod;
- }
- public String getEmployerName() {
- return employerName;
- }
- public void setEmployerName(String employerName) {
- this.employerName = employerName;
- }
- public String getProvince() {
- return province;
- }
- public void setProvince(String province) {
- this.province = province;
- }
- @JsonFormat(shape = Shape.STRING)
- public Integer getStatus() {
- return status;
- }
- public void setStatus(Integer status) {
- this.status = status;
- }
- @JsonFormat(shape = Shape.STRING)
- public Integer getReleaseStatus() {
- return releaseStatus;
- }
- public void setReleaseStatus(Integer releaseStatus) {
- this.releaseStatus = releaseStatus;
- }
- public Date getReleaseDate() {
- return releaseDate;
- }
- public void setReleaseDate(Date releaseDate) {
- this.releaseDate = releaseDate;
- }
- public String getPrincipalId() {
- return principalId;
- }
- public void setPrincipalId(String principalId) {
- this.principalId = principalId;
- }
- public String getValidityPeriodFormattedDate() {
- if (this.validityPeriod == null) {
- return null;
- } else {
- return DateFormatUtils.format(this.getValidityPeriod(), AFTConstants.YYYYMMDDHHMMSS);
- }
- }
- public void setValidityPeriodFormattedDate(String validityPeriodFormattedDate) {
- }
- public String getReleaseDateFormattedDate() {
- if (this.releaseDate == null) {
- return null;
- } else {
- return DateFormatUtils.format(this.getReleaseDate(), AFTConstants.YYYYMMDDHHMMSS);
- }
- }
- public void setReleaseDateFormattedDate(String releaseDateFormattedDate) {
- }
- }
|