PatentManageListBo.java 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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. @JsonFormat(shape = Shape.STRING)
  80. public Integer getLocationProvince() {
  81. return locationProvince;
  82. }
  83. public void setLocationProvince(Integer locationProvince) {
  84. this.locationProvince = locationProvince;
  85. }
  86. public String getPatentName() {
  87. return patentName;
  88. }
  89. public void setPatentName(String patentName) {
  90. this.patentName = patentName;
  91. }
  92. public Integer getPatentState() {
  93. return patentState;
  94. }
  95. public void setPatentState(Integer patentState) {
  96. this.patentState = patentState;
  97. }
  98. public Date getCreateTime() {
  99. return createTime;
  100. }
  101. public void setCreateTime(Date createTime) {
  102. this.createTime = createTime;
  103. }
  104. public Date getPatentApplicationDate() {
  105. return patentApplicationDate;
  106. }
  107. public void setPatentApplicationDate(Date patentApplicationDate) {
  108. this.patentApplicationDate = patentApplicationDate;
  109. }
  110. public Date getAuthorizedDate() {
  111. return authorizedDate;
  112. }
  113. public void setAuthorizedDate(Date authorizedDate) {
  114. this.authorizedDate = authorizedDate;
  115. }
  116. public String getAuthor() {
  117. return author;
  118. }
  119. public void setAuthor(String author) {
  120. this.author = author;
  121. }
  122. // 授权日/发文日
  123. public String getAuthorizedFormattedDate() {
  124. if (this.authorizedDate == null) {
  125. return null;
  126. } else {
  127. return DateFormatUtils.format(this.getAuthorizedDate(), AFTConstants.YYYYMMDDHHMMSS);
  128. }
  129. }
  130. public void setAuthorizedFormattedDate(String authorizedFormattedDate) {
  131. }
  132. // 申请日/受理日
  133. public String getPatentApplicationFormattedDate() {
  134. if (this.patentApplicationDate == null) {
  135. return null;
  136. } else {
  137. return DateFormatUtils.format(this.getPatentApplicationDate(), AFTConstants.YYYYMMDDHHMMSS);
  138. }
  139. }
  140. public void setPatentApplicationFormattedDate(String patentApplicationFormattedDate) {
  141. }
  142. // 创建时间
  143. public String getCreateTimeFormattedDate() {
  144. if (this.createTime == null) {
  145. return null;
  146. } else {
  147. return DateFormatUtils.format(this.getCreateTime(), AFTConstants.YYYYMMDDHHMMSS);
  148. }
  149. }
  150. public void setCreateTimeFormattedDate(String createTimeFormattedDate) {
  151. }
  152. }