OrgTechProduct.java 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. package com.goafanti.common.model;
  2. import java.math.BigDecimal;
  3. import java.util.Date;
  4. import org.apache.commons.lang3.StringUtils;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import com.fasterxml.jackson.annotation.JsonFormat.Shape;
  7. import com.goafanti.common.utils.FileUtils;
  8. import com.fasterxml.jackson.annotation.JsonIgnore;
  9. /**
  10. * 上年度高新技术产品(服务)
  11. */
  12. public class OrgTechProduct {
  13. private String id;
  14. private String uid;
  15. /**
  16. * 编号
  17. */
  18. private String serialNumber;
  19. /**
  20. * 产品名称
  21. */
  22. private String productName;
  23. /**
  24. * 技术领域1st select
  25. */
  26. private Integer technicalField1;
  27. /**
  28. * 技术领域2nd select
  29. */
  30. private Integer technicalField2;
  31. /**
  32. * 技术领域3rd select
  33. */
  34. private Integer technicalField3;
  35. /**
  36. * 技术来源
  37. */
  38. private Integer technicalSource;
  39. /**
  40. * 上年度销售收入
  41. */
  42. private BigDecimal lastYearRevenue;
  43. /**
  44. * 是否是主要产品(服务)
  45. */
  46. private Integer mainProduct;
  47. /**
  48. * 知识产权编号
  49. */
  50. private String intellectualPropertyNumber;
  51. /**
  52. * 关键技术及主要技术指标
  53. */
  54. private String keyTechnology;
  55. /**
  56. * 与同类产品(服务)的竞争优势
  57. */
  58. private String competitiveEdge;
  59. /**
  60. * 知识产权获得情况及其对产品(服务)在技术上发挥的支持作用
  61. */
  62. private String conditionEffect;
  63. /**
  64. * 年份
  65. */
  66. private Integer year;
  67. /**
  68. * 记录创建时间
  69. */
  70. private Date createTime;
  71. /**
  72. * 台帐URL
  73. */
  74. private String accountUrl;
  75. /**
  76. * 删除标记
  77. */
  78. private Integer deletedSign;
  79. public String getId() {
  80. return id;
  81. }
  82. public void setId(String id) {
  83. this.id = id;
  84. }
  85. public String getUid() {
  86. return uid;
  87. }
  88. public void setUid(String uid) {
  89. this.uid = uid;
  90. }
  91. public String getSerialNumber() {
  92. return serialNumber;
  93. }
  94. public void setSerialNumber(String serialNumber) {
  95. this.serialNumber = serialNumber;
  96. }
  97. public String getProductName() {
  98. return productName;
  99. }
  100. public void setProductName(String productName) {
  101. this.productName = productName;
  102. }
  103. @JsonFormat(shape = Shape.STRING)
  104. public Integer getTechnicalField1() {
  105. return technicalField1;
  106. }
  107. public void setTechnicalField1(Integer technicalField1) {
  108. this.technicalField1 = technicalField1;
  109. }
  110. @JsonFormat(shape = Shape.STRING)
  111. public Integer getTechnicalField2() {
  112. return technicalField2;
  113. }
  114. public void setTechnicalField2(Integer technicalField2) {
  115. this.technicalField2 = technicalField2;
  116. }
  117. @JsonFormat(shape = Shape.STRING)
  118. public Integer getTechnicalField3() {
  119. return technicalField3;
  120. }
  121. public void setTechnicalField3(Integer technicalField3) {
  122. this.technicalField3 = technicalField3;
  123. }
  124. @JsonFormat(shape = Shape.STRING)
  125. public Integer getTechnicalSource() {
  126. return technicalSource;
  127. }
  128. public void setTechnicalSource(Integer technicalSource) {
  129. this.technicalSource = technicalSource;
  130. }
  131. public BigDecimal getLastYearRevenue() {
  132. return lastYearRevenue;
  133. }
  134. public void setLastYearRevenue(BigDecimal lastYearRevenue) {
  135. this.lastYearRevenue = lastYearRevenue;
  136. }
  137. public Integer getMainProduct() {
  138. return mainProduct;
  139. }
  140. public void setMainProduct(Integer mainProduct) {
  141. this.mainProduct = mainProduct;
  142. }
  143. public String getIntellectualPropertyNumber() {
  144. return intellectualPropertyNumber;
  145. }
  146. public void setIntellectualPropertyNumber(String intellectualPropertyNumber) {
  147. this.intellectualPropertyNumber = intellectualPropertyNumber;
  148. }
  149. public String getKeyTechnology() {
  150. return keyTechnology;
  151. }
  152. public void setKeyTechnology(String keyTechnology) {
  153. this.keyTechnology = keyTechnology;
  154. }
  155. public String getCompetitiveEdge() {
  156. return competitiveEdge;
  157. }
  158. public void setCompetitiveEdge(String competitiveEdge) {
  159. this.competitiveEdge = competitiveEdge;
  160. }
  161. public String getConditionEffect() {
  162. return conditionEffect;
  163. }
  164. public void setConditionEffect(String conditionEffect) {
  165. this.conditionEffect = conditionEffect;
  166. }
  167. public Integer getYear() {
  168. return year;
  169. }
  170. public void setYear(Integer year) {
  171. this.year = year;
  172. }
  173. @JsonIgnore
  174. public Date getCreateTime() {
  175. return createTime;
  176. }
  177. public void setCreateTime(Date createTime) {
  178. this.createTime = createTime;
  179. }
  180. public String getAccountUrl() {
  181. return accountUrl;
  182. }
  183. public void setAccountUrl(String accountUrl) {
  184. this.accountUrl = accountUrl;
  185. }
  186. @JsonIgnore
  187. public Integer getDeletedSign() {
  188. return deletedSign;
  189. }
  190. public void setDeletedSign(Integer deletedSign) {
  191. this.deletedSign = deletedSign;
  192. }
  193. //高新技术产品台帐
  194. public String getAccountDownloadFileName(){
  195. if (StringUtils.isBlank(this.accountUrl)){
  196. return null;
  197. } else {
  198. return (null == this.productName) ? "" : this.productName +FileUtils.getDownloadFileName(this.accountUrl);
  199. }
  200. }
  201. public void setAccountDownloadFileName(String accountDownloadFileName){
  202. }
  203. }