| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292 |
- package com.goafanti.achievement.bo;
- import java.math.BigDecimal;
- 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;
- import com.goafanti.common.utils.StringUtils;
- public class AchievementPartnerListBo {
- private String id;
- /**
- * 编号
- */
- private Integer serialNumber;
- /**
- * 数据类别 (0--成果, 1--技术, 2--项目)
- */
- private Integer dataCategory;
- /**
- * 名称
- */
- private String name;
- /**
- * 关键词
- */
- private String keyword;
- /**
- * 类型(0--专利, 2--软著, 3--项目, 4--版权, 5--工业设计, 6--配方, 7--非标)
- */
- private Integer category;
- /**
- * 所有人类型(0-个人,1-组织)
- */
- private Integer ownerType;
- /**
- * 发布时间
- */
- private Date releaseDate;
- /**
- * 应用领域1
- */
- private Integer fieldA;
- /**
- * 应用领域2
- */
- private Integer fieldB;
- /**
- * 成熟度
- */
- private Integer maturity;
- /**
- * 议价方式
- */
- private Integer bargainingMode;
- /**
- * 标价
- */
- private BigDecimal transferPrice;
-
-
- /**
- * 描述
- */
- private String introduction;
- /**
- * 描述
- */
- private String technicalPictureUrl;
-
- /**
- * 成熟度中文描述
- */
- /**
- * 是否属于精品 0 - 否 , 1 - 是
- */
- private Integer boutique;
-
- private String maturityS;
-
- private String countInterest;
-
- private String buyIntention;
-
- /**
- * 所有人地址
- */
- private String ownerPostalAddress;
-
- public Integer getFieldA() {
- return fieldA;
- }
- public void setFieldA(Integer fieldA) {
- this.fieldA = fieldA;
- }
- public Integer getFieldB() {
- return fieldB;
- }
- public void setFieldB(Integer fieldB) {
- this.fieldB = fieldB;
- }
- public Integer getMaturity() {
- return maturity;
- }
- public void setMaturity(Integer maturity) {
- this.maturity = maturity;
- }
- public Integer getBargainingMode() {
- return bargainingMode;
- }
- public void setBargainingMode(Integer bargainingMode) {
- this.bargainingMode = bargainingMode;
- }
- public BigDecimal getTransferPrice() {
- return transferPrice;
- }
- public void setTransferPrice(BigDecimal transferPrice) {
- this.transferPrice = transferPrice;
- }
- 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 getCategory() {
- return category;
- }
- public void setCategory(Integer category) {
- this.category = category;
- }
- @JsonFormat(shape = Shape.STRING)
- public Integer getOwnerType() {
- return ownerType;
- }
- public void setOwnerType(Integer ownerType) {
- this.ownerType = ownerType;
- }
- public Date getReleaseDate() {
- return releaseDate;
- }
- public void setReleaseDate(Date releaseDate) {
- this.releaseDate = releaseDate;
- }
- public String getReleaseDateFormattedDate() {
- if (this.releaseDate == null) {
- return null;
- } else {
- return DateFormatUtils.format(this.getReleaseDate(), AFTConstants.YYYYMMDDHHMMSS);
- }
- }
- public void setReleaseDateFormattedDate(String releaseDateFormattedDate) {
- }
- public String getIntroduction() {
- return introduction;
- }
- public void setIntroduction(String introduction) {
- this.introduction = introduction;
- }
- public String getTechnicalPictureUrl() {
- return technicalPictureUrl;
- }
- public void setTechnicalPictureUrl(String technicalPictureUrl) {
- this.technicalPictureUrl = technicalPictureUrl;
- }
-
-
- public String getMaturityS() {
- return maturityS;
- }
- public void setMaturityS(String maturityS) {
- this.maturityS = maturityS;
- }
-
- public String getCountInterest() {
-
- return String.valueOf(Integer.valueOf(countInterest)+20);
- }
- public void setCountInterest(String countInterest) {
- this.countInterest = countInterest;
- }
- public Integer getBoutique() {
- return boutique;
- }
- public void setBoutique(Integer boutique) {
- this.boutique = boutique;
- }
- public String getBuyIntention() {
- return buyIntention;
- }
- public void setBuyIntention(String buyIntention) {
- this.buyIntention = buyIntention;
- }
- public String getOwnerPostalAddress() {
- if (StringUtils.isEmpty(ownerPostalAddress)) {
- return "湖南长沙";
- }
- return ownerPostalAddress;
- }
- public void setOwnerPostalAddress(String ownerPostalAddress) {
- this.ownerPostalAddress = ownerPostalAddress;
- }
-
-
-
- }
|