| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- package com.goafanti.common.model;
- 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.JsonIgnore;
- import com.fasterxml.jackson.annotation.JsonFormat.Shape;
- import com.goafanti.common.constant.AFTConstants;
- import com.goafanti.common.utils.FileUtils;
- public class OrgIntellectualProperty {
- private String id;
- private String uid;
-
- private String pid;
- /**
- * 知识产权编号
- */
- private String intellectualPropertyNumber;
- /**
- * 知识产权名称
- */
- private String intellectualPropertyName;
- /**
- * 排序号
- */
- private String sortNumber;
- /**
- * 类别
- */
- private Integer catagory;
- /**
- * 获得方式
- */
- private Integer obtainWay;
- /**
- * 授权号
- */
- private String authorizationNumber;
- /**
- * 授权日期
- */
- private Date authorizationDate;
- /**
- * 0--Ⅰ类, 1--Ⅱ类
- */
- private Integer evaluationCategory;
-
- /**
- * 知识产权URL
- */
- private String propertyRightUrl;
-
- /**
- * 专利或软著稿件URL
- */
- private Integer type;
-
- /**
- * 删除标记
- */
- private Integer deletedSign;
- public String getId() {
- return id;
- }
- public void setId(String id) {
- this.id = id;
- }
- public String getUid() {
- return uid;
- }
- public void setUid(String uid) {
- this.uid = uid;
- }
- public String getPid() {
- return pid;
- }
- public void setPid(String pid) {
- this.pid = pid;
- }
- public String getIntellectualPropertyNumber() {
- return intellectualPropertyNumber;
- }
- public void setIntellectualPropertyNumber(String intellectualPropertyNumber) {
- this.intellectualPropertyNumber = intellectualPropertyNumber;
- }
- public String getIntellectualPropertyName() {
- return intellectualPropertyName;
- }
- public void setIntellectualPropertyName(String intellectualPropertyName) {
- this.intellectualPropertyName = intellectualPropertyName;
- }
- public String getSortNumber() {
- return sortNumber;
- }
- public void setSortNumber(String sortNumber) {
- this.sortNumber = sortNumber;
- }
-
- @JsonFormat(shape = Shape.STRING)
- public Integer getCatagory() {
- return catagory;
- }
- public void setCatagory(Integer catagory) {
- this.catagory = catagory;
- }
-
- @JsonFormat(shape = Shape.STRING)
- public Integer getObtainWay() {
- return obtainWay;
- }
- public void setObtainWay(Integer obtainWay) {
- this.obtainWay = obtainWay;
- }
- public String getAuthorizationNumber() {
- return authorizationNumber;
- }
- public void setAuthorizationNumber(String authorizationNumber) {
- this.authorizationNumber = authorizationNumber;
- }
- public Date getAuthorizationDate() {
- return authorizationDate;
- }
- public void setAuthorizationDate(Date authorizationDate) {
- this.authorizationDate = authorizationDate;
- }
-
-
-
- public String getPropertyRightUrl() {
- return propertyRightUrl;
- }
- public void setPropertyRightUrl(String propertyRightUrl) {
- this.propertyRightUrl = propertyRightUrl;
- }
-
-
- public Integer getType() {
- return type;
- }
- public void setType(Integer type) {
- this.type = type;
- }
- @JsonIgnore
- public Integer getEvaluationCategory() {
- return evaluationCategory;
- }
- public void setEvaluationCategory(Integer evaluationCategory) {
- this.evaluationCategory = evaluationCategory;
- }
-
- @JsonIgnore
- public Integer getDeletedSign() {
- return deletedSign;
- }
- public void setDeletedSign(Integer deletedSign) {
- this.deletedSign = deletedSign;
- }
- public String getAuthorizationDateFormattedDate(){
- if (this.authorizationDate == null) {
- return null;
- } else {
- return DateFormatUtils.format(this.getAuthorizationDate(), AFTConstants.YYYYMMDD);
- }
- }
-
- public void setAuthorizationDateFormattedDate(String authorizationDateFormattedDate){
-
- }
-
- //知识产权证明
- public String getPropertyRightDownloadFileName(){
- if (StringUtils.isBlank(this.propertyRightUrl)){
- return null;
- } else {
- return (null == this.intellectualPropertyName) ? "" : this.intellectualPropertyName +FileUtils.getDownloadFileName(this.propertyRightUrl);
- }
- }
-
- public void setPropertyRightDownloadFileName(String propertyRightDownloadFileName){
-
- }
-
- }
|