OrgIntellectualProperty.java 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. package com.goafanti.common.model;
  2. import java.util.Date;
  3. import org.apache.commons.lang3.time.DateFormatUtils;
  4. import com.fasterxml.jackson.annotation.JsonFormat;
  5. import com.fasterxml.jackson.annotation.JsonIgnore;
  6. import com.fasterxml.jackson.annotation.JsonFormat.Shape;
  7. public class OrgIntellectualProperty {
  8. private String id;
  9. private String uid;
  10. private String pid;
  11. /**
  12. * 知识产权编号
  13. */
  14. private String intellectualPropertyNumber;
  15. /**
  16. * 知识产权名称
  17. */
  18. private String intellectualPropertyName;
  19. /**
  20. * 排序号
  21. */
  22. private String sortNumber;
  23. /**
  24. * 类别
  25. */
  26. private Integer catagory;
  27. /**
  28. * 获得方式
  29. */
  30. private Integer obtainWay;
  31. /**
  32. * 授权号
  33. */
  34. private String authorizationNumber;
  35. /**
  36. * 授权日期
  37. */
  38. private Date authorizationDate;
  39. /**
  40. * 0--Ⅰ类, 1--Ⅱ类
  41. */
  42. private Integer evaluationCategory;
  43. /**
  44. * 知识产权URL
  45. */
  46. private String propertyRightUrl;
  47. /**
  48. * 删除标记
  49. */
  50. private Integer deletedSign;
  51. public String getId() {
  52. return id;
  53. }
  54. public void setId(String id) {
  55. this.id = id;
  56. }
  57. public String getUid() {
  58. return uid;
  59. }
  60. public void setUid(String uid) {
  61. this.uid = uid;
  62. }
  63. public String getPid() {
  64. return pid;
  65. }
  66. public void setPid(String pid) {
  67. this.pid = pid;
  68. }
  69. public String getIntellectualPropertyNumber() {
  70. return intellectualPropertyNumber;
  71. }
  72. public void setIntellectualPropertyNumber(String intellectualPropertyNumber) {
  73. this.intellectualPropertyNumber = intellectualPropertyNumber;
  74. }
  75. public String getIntellectualPropertyName() {
  76. return intellectualPropertyName;
  77. }
  78. public void setIntellectualPropertyName(String intellectualPropertyName) {
  79. this.intellectualPropertyName = intellectualPropertyName;
  80. }
  81. public String getSortNumber() {
  82. return sortNumber;
  83. }
  84. public void setSortNumber(String sortNumber) {
  85. this.sortNumber = sortNumber;
  86. }
  87. @JsonFormat(shape = Shape.STRING)
  88. public Integer getCatagory() {
  89. return catagory;
  90. }
  91. public void setCatagory(Integer catagory) {
  92. this.catagory = catagory;
  93. }
  94. @JsonFormat(shape = Shape.STRING)
  95. public Integer getObtainWay() {
  96. return obtainWay;
  97. }
  98. public void setObtainWay(Integer obtainWay) {
  99. this.obtainWay = obtainWay;
  100. }
  101. public String getAuthorizationNumber() {
  102. return authorizationNumber;
  103. }
  104. public void setAuthorizationNumber(String authorizationNumber) {
  105. this.authorizationNumber = authorizationNumber;
  106. }
  107. public Date getAuthorizationDate() {
  108. return authorizationDate;
  109. }
  110. public void setAuthorizationDate(Date authorizationDate) {
  111. this.authorizationDate = authorizationDate;
  112. }
  113. public String getPropertyRightUrl() {
  114. return propertyRightUrl;
  115. }
  116. public void setPropertyRightUrl(String propertyRightUrl) {
  117. this.propertyRightUrl = propertyRightUrl;
  118. }
  119. @JsonIgnore
  120. public Integer getEvaluationCategory() {
  121. return evaluationCategory;
  122. }
  123. public void setEvaluationCategory(Integer evaluationCategory) {
  124. this.evaluationCategory = evaluationCategory;
  125. }
  126. @JsonIgnore
  127. public Integer getDeletedSign() {
  128. return deletedSign;
  129. }
  130. public void setDeletedSign(Integer deletedSign) {
  131. this.deletedSign = deletedSign;
  132. }
  133. public String getAuthorizationDateFormattedDate(){
  134. if (this.authorizationDate == null) {
  135. return null;
  136. } else {
  137. return DateFormatUtils.format(this.getAuthorizationDate(), "yyyy-MM-dd");
  138. }
  139. }
  140. public void setAuthorizationDateFormattedDate(String authorizationDateFormattedDate){
  141. }
  142. }