PatentManageListBo.java 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. package com.goafanti.patent.bo;
  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.JsonFormat.Shape;
  6. import com.goafanti.common.constant.AFTConstants;
  7. public class PatentManageListBo {
  8. private String id;
  9. private String uid;
  10. private Integer serialNumber;
  11. private String patentNumber;
  12. private String office;
  13. private Integer locationProvince;
  14. private String unitName;
  15. private String patentName;
  16. private Integer patentState;
  17. private Date createTime;
  18. private Date patentApplicationDate;
  19. private Date authorizedDate;
  20. private String author;
  21. private String founder;
  22. private Integer patentCatagory;
  23. private Integer contractNumber;
  24. public Integer getContractNumber() {
  25. return contractNumber;
  26. }
  27. public void setContractNumber(Integer contractNumber) {
  28. this.contractNumber = contractNumber;
  29. }
  30. @JsonFormat(shape = Shape.STRING)
  31. public Integer getPatentCatagory() {
  32. return patentCatagory;
  33. }
  34. public void setPatentCatagory(Integer patentCatagory) {
  35. this.patentCatagory = patentCatagory;
  36. }
  37. public String getFounder() {
  38. return founder;
  39. }
  40. public void setFounder(String founder) {
  41. this.founder = founder;
  42. }
  43. public String getId() {
  44. return id;
  45. }
  46. public void setId(String id) {
  47. this.id = id;
  48. }
  49. public String getUid() {
  50. return uid;
  51. }
  52. public void setUid(String uid) {
  53. this.uid = uid;
  54. }
  55. public Integer getSerialNumber() {
  56. return serialNumber;
  57. }
  58. public void setSerialNumber(Integer serialNumber) {
  59. this.serialNumber = serialNumber;
  60. }
  61. public String getPatentNumber() {
  62. return patentNumber;
  63. }
  64. public void setPatentNumber(String patentNumber) {
  65. this.patentNumber = patentNumber;
  66. }
  67. public String getOffice() {
  68. return office;
  69. }
  70. public void setOffice(String office) {
  71. this.office = office;
  72. }
  73. public String getUnitName() {
  74. return unitName;
  75. }
  76. public void setUnitName(String unitName) {
  77. this.unitName = unitName;
  78. }
  79. public Integer getLocationProvince() {
  80. return locationProvince;
  81. }
  82. public void setLocationProvince(Integer locationProvince) {
  83. this.locationProvince = locationProvince;
  84. }
  85. public String getPatentName() {
  86. return patentName;
  87. }
  88. public void setPatentName(String patentName) {
  89. this.patentName = patentName;
  90. }
  91. public Integer getPatentState() {
  92. return patentState;
  93. }
  94. public void setPatentState(Integer patentState) {
  95. this.patentState = patentState;
  96. }
  97. public Date getCreateTime() {
  98. return createTime;
  99. }
  100. public void setCreateTime(Date createTime) {
  101. this.createTime = createTime;
  102. }
  103. public Date getPatentApplicationDate() {
  104. return patentApplicationDate;
  105. }
  106. public void setPatentApplicationDate(Date patentApplicationDate) {
  107. this.patentApplicationDate = patentApplicationDate;
  108. }
  109. public Date getAuthorizedDate() {
  110. return authorizedDate;
  111. }
  112. public void setAuthorizedDate(Date authorizedDate) {
  113. this.authorizedDate = authorizedDate;
  114. }
  115. public String getAuthor() {
  116. return author;
  117. }
  118. public void setAuthor(String author) {
  119. this.author = author;
  120. }
  121. // 授权日/发文日
  122. public String getAuthorizedFormattedDate() {
  123. if (this.authorizedDate == null) {
  124. return null;
  125. } else {
  126. return DateFormatUtils.format(this.getAuthorizedDate(), AFTConstants.YYYYMMDDHHMMSS);
  127. }
  128. }
  129. public void setAuthorizedFormattedDate(String authorizedFormattedDate) {
  130. }
  131. // 申请日/受理日
  132. public String getPatentApplicationFormattedDate() {
  133. if (this.patentApplicationDate == null) {
  134. return null;
  135. } else {
  136. return DateFormatUtils.format(this.getPatentApplicationDate(), AFTConstants.YYYYMMDDHHMMSS);
  137. }
  138. }
  139. public void setPatentApplicationFormattedDate(String patentApplicationFormattedDate) {
  140. }
  141. // 创建时间
  142. public String getCreateTimeFormattedDate() {
  143. if (this.createTime == null) {
  144. return null;
  145. } else {
  146. return DateFormatUtils.format(this.getCreateTime(), AFTConstants.YYYYMMDDHHMMSS);
  147. }
  148. }
  149. public void setCreateTimeFormattedDate(String createTimeFormattedDate) {
  150. }
  151. }