| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627 |
- package com.goafanti.common.model;
- import java.math.BigDecimal;
- import java.util.Date;
- import org.apache.commons.lang3.StringUtils;
- 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;
- import com.goafanti.common.utils.FileUtils;
- import com.fasterxml.jackson.annotation.JsonIgnore;
- public class Demand {
- private String id;
- /**
- * 编号
- */
- private Integer serialNumber;
- /**
- * 数据类别(0-个人需求,1-单位需求)
- */
- private Integer dataCategory;
- /**
- * 名称
- */
- private String name;
- /**
- * 关键词
- */
- private String keyword;
- /**
- * 信息来源(0-平台采集,1-客户发布)
- */
- private Integer infoSources;
- /**
- * 行业类别下拉A
- */
- private Integer industryCategoryA;
- /**
- * 行业类别下拉B
- */
- private Integer industryCategoryB;
- /**
- * 行业类别下拉C
- */
- private Integer industryCategoryC;
- /**
- * 需求类型
- */
- private Integer demandType;
- /**
- * 问题说明
- */
- private String problemDes;
- /**
- * 技术指标要求
- */
- private String technicalRequirements;
- /**
- * 需求文件--图片URL
- */
- private String pictureUrl;
- /**
- * 需求文件--文本文件
- */
- private String textFileUrl;
- /**
- * 需求文件--视屏文件URL
- */
- private String videoUrl;
- /**
- * 固定预算
- */
- private BigDecimal fixedBudget;
- /**
- * 固定周期
- */
- private String fixedCycle;
- /**
- * 固定人数
- */
- private Integer peopleNumber;
- /**
- * 固定方案
- */
- private String fixedScheme;
- /**
- * 费用托管
- */
- private BigDecimal costEscrow;
-
- /**
- * 精品需求
- */
- private Integer boutique;
- /**
- * 预算费用
- */
- private BigDecimal budgetCost;
- /**
- * 有效期限
- */
- private Date validityPeriod;
- /**
- * 雇主客户ID
- */
- private String employerId;
- /**
- * 雇主名称
- */
- private String employerName;
- /**
- * 雇主地址
- */
- private String employerAddress;
- /**
- * 雇主联系人名称
- */
- private String employerContacts;
- /**
- * 雇主联系人电话
- */
- private String employerContactsMobile;
- /**
- * 雇主联系人邮箱
- */
- private String employerContactsMailbox;
-
- /**
- * 需求状态(0-进行中,1-未解决,2-已解决)
- */
- private Integer status;
- /**
- * 是否发布(0-未发布,1-发布)
- */
- private Integer releaseStatus;
- /**
- * 发布时间
- */
- private Date releaseDate;
- /**
- * 需求记录创建时间
- */
- private Date createTime;
- /**
- * 负责人(营销员)
- */
- private String principalId;
- /**
- * 删除标记
- */
- private Integer deletedSign;
-
- /**
- * 审核状态
- */
- private Integer auditStatus;
-
- /**
- * 技术经纪人ID
- */
- private String techBrokerId;
-
- /**
- * 备注
- */
- private String remark;
- /**
- * 加急天数
- */
- private Integer urgentDays;
- /**
- * 加急报酬
- */
- private BigDecimal urgentMoney;
-
- private String orderCount;
- private String orderIntentionCount;
-
- private String contacts;
-
- private String contactMobile;
- public String getOrderCount() {
- return orderCount;
- }
- public void setOrderCount(String orderCount) {
- this.orderCount = orderCount;
- }
- public String getOrderIntentionCount() {
- return orderIntentionCount;
- }
- public void setOrderIntentionCount(String orderIntentionCount) {
- this.orderIntentionCount = orderIntentionCount;
- }
- public String getRemark() {
- return remark;
- }
- public void setRemark(String remark) {
- this.remark = remark;
- }
- 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;
- }
-
- @JsonFormat(shape = Shape.STRING)
- 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 Integer getIndustryCategoryA() {
- return industryCategoryA;
- }
- public void setIndustryCategoryA(Integer industryCategoryA) {
- this.industryCategoryA = industryCategoryA;
- }
-
- public Integer getIndustryCategoryB() {
- return industryCategoryB;
- }
- public void setIndustryCategoryB(Integer industryCategoryB) {
- this.industryCategoryB = industryCategoryB;
- }
-
- public Integer getIndustryCategoryC() {
- return industryCategoryC;
- }
- public void setIndustryCategoryC(Integer industryCategoryC) {
- this.industryCategoryC = industryCategoryC;
- }
-
- @JsonFormat(shape = Shape.STRING)
- public Integer getDemandType() {
- return demandType;
- }
- public void setDemandType(Integer demandType) {
- this.demandType = demandType;
- }
- public String getProblemDes() {
- return problemDes;
- }
- public void setProblemDes(String problemDes) {
- this.problemDes = problemDes;
- }
- public String getTechnicalRequirements() {
- return technicalRequirements;
- }
- public void setTechnicalRequirements(String technicalRequirements) {
- this.technicalRequirements = technicalRequirements;
- }
- public String getPictureUrl() {
- return pictureUrl;
- }
- public void setPictureUrl(String pictureUrl) {
- this.pictureUrl = pictureUrl;
- }
- public String getTextFileUrl() {
- return textFileUrl;
- }
- public void setTextFileUrl(String textFileUrl) {
- this.textFileUrl = textFileUrl;
- }
- public String getVideoUrl() {
- return videoUrl;
- }
- public void setVideoUrl(String videoUrl) {
- this.videoUrl = videoUrl;
- }
- public BigDecimal getFixedBudget() {
- return fixedBudget;
- }
- public void setFixedBudget(BigDecimal fixedBudget) {
- this.fixedBudget = fixedBudget;
- }
- public String getFixedCycle() {
- return fixedCycle;
- }
- public void setFixedCycle(String fixedCycle) {
- this.fixedCycle = fixedCycle;
- }
- public Integer getPeopleNumber() {
- return peopleNumber;
- }
- public void setPeopleNumber(Integer peopleNumber) {
- this.peopleNumber = peopleNumber;
- }
- public String getFixedScheme() {
- return fixedScheme;
- }
- public void setFixedScheme(String fixedScheme) {
- this.fixedScheme = fixedScheme;
- }
- public BigDecimal getCostEscrow() {
- return costEscrow;
- }
- public void setCostEscrow(BigDecimal costEscrow) {
- this.costEscrow = costEscrow;
- }
-
- public Integer getBoutique() {
- return boutique;
- }
- public void setBoutique(Integer boutique) {
- this.boutique = boutique;
- }
- public BigDecimal getBudgetCost() {
- return budgetCost;
- }
- public void setBudgetCost(BigDecimal budgetCost) {
- this.budgetCost = budgetCost;
- }
- public Date getValidityPeriod() {
- return validityPeriod;
- }
- public void setValidityPeriod(Date validityPeriod) {
- this.validityPeriod = validityPeriod;
- }
- public String getEmployerId() {
- return employerId;
- }
- public void setEmployerId(String employerId) {
- this.employerId = employerId;
- }
- public String getEmployerName() {
- return employerName;
- }
- public void setEmployerName(String employerName) {
- this.employerName = employerName;
- }
- public String getEmployerAddress() {
- return employerAddress;
- }
- public void setEmployerAddress(String employerAddress) {
- this.employerAddress = employerAddress;
- }
- public String getEmployerContacts() {
- return employerContacts;
- }
- public void setEmployerContacts(String employerContacts) {
- this.employerContacts = employerContacts;
- }
- public String getEmployerContactsMobile() {
- return employerContactsMobile;
- }
- public void setEmployerContactsMobile(String employerContactsMobile) {
- this.employerContactsMobile = employerContactsMobile;
- }
- public String getEmployerContactsMailbox() {
- return employerContactsMailbox;
- }
- public void setEmployerContactsMailbox(String employerContactsMailbox) {
- this.employerContactsMailbox = employerContactsMailbox;
- }
-
- public String getContacts() {
- return contacts;
- }
- public void setContacts(String contacts) {
- this.contacts = contacts;
- }
-
- @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 Date getCreateTime() {
- return createTime;
- }
- public void setCreateTime(Date createTime) {
- this.createTime = createTime;
- }
- public String getCreateTimeFormattedDate() {
- if (this.createTime == null) {
- return null;
- } else {
- return DateFormatUtils.format(this.getCreateTime(), AFTConstants.YYYYMMDDHHMMSS);
- }
- }
- public String getPrincipalId() {
- return principalId;
- }
- public void setPrincipalId(String principalId) {
- this.principalId = principalId;
- }
-
- @JsonIgnore
- public Integer getDeletedSign() {
- return deletedSign;
- }
- public void setDeletedSign(Integer deletedSign) {
- this.deletedSign = deletedSign;
- }
-
- @JsonFormat(shape = Shape.STRING)
- public Integer getAuditStatus() {
- return auditStatus;
- }
- public void setAuditStatus(Integer auditStatus) {
- this.auditStatus = auditStatus;
- }
- public String getTechBrokerId() {
- return techBrokerId;
- }
- public void setTechBrokerId(String techBrokerId) {
- this.techBrokerId = techBrokerId;
- }
- public String getValidityPeriodFormattedDate() {
- if (this.validityPeriod == null) {
- return null;
- } else {
- return DateFormatUtils.format(this.getValidityPeriod(), AFTConstants.YYYYMMDD);
- }
- }
- public void setValidityPeriodFormattedDate(String validityPeriodFormattedDate) {
- }
-
- public String getReleaseDateFormattedDate() {
- if (this.releaseDate == null) {
- return null;
- } else {
- return DateFormatUtils.format(this.getReleaseDate(), AFTConstants.YYYYMMDD);
- }
- }
- public void setReleaseDateFormattedDate(String releaseDateFormattedDate) {
- }
-
- public String getTextFileDownloadFileName() {
- if (StringUtils.isBlank(this.textFileUrl)) {
- return null;
- } else {
- return FileUtils.getDownloadFileName(this.textFileUrl);
- }
- }
- public void setTextFileUrlDownloadFileName(String textFileDownloadFileName) {
- }
- public Integer getUrgentDays() {
- return urgentDays;
- }
- public void setUrgentDays(Integer urgentDays) {
- this.urgentDays = urgentDays;
- }
- public void setUrgentDays(String urgentDays) {
- this.urgentDays = Integer.valueOf(urgentDays);
- }
- public BigDecimal getUrgentMoney() {
- return urgentMoney;
- }
- public void setUrgentMoney(BigDecimal urgentMoney) {
- this.urgentMoney = urgentMoney;
- }
- public String getContactMobile() {
- return contactMobile;
- }
- public void setContactMobile(String contactMobile) {
- this.contactMobile = contactMobile;
- }
-
- }
|