TApproval.java 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. package com.ruoyi.project.approval.domain;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import com.ruoyi.common.annotation.Excel;
  4. import com.ruoyi.common.core.domain.BaseEntity;
  5. import org.apache.commons.lang3.builder.ToStringBuilder;
  6. import org.apache.commons.lang3.builder.ToStringStyle;
  7. import java.util.Date;
  8. /**
  9. * 批文清单对象 t_approval
  10. *
  11. * @author ruoyi
  12. * @date 2024-03-25
  13. */
  14. public class TApproval extends BaseEntity
  15. {
  16. private static final long serialVersionUID = 1L;
  17. /** id */
  18. private Long id;
  19. /** 装置 */
  20. @Excel(name = "装置")
  21. private String plantCode;
  22. /** 部门 */
  23. @Excel(name = "部门")
  24. private String division;
  25. /** 批准日期 */
  26. @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  27. @Excel(name = "批准日期", width = 30, dateFormat = "yyyy-MM-dd")
  28. private Date effetivedate;
  29. /** 项目名称 */
  30. @Excel(name = "项目名称")
  31. private String itemName;
  32. /** 项目概况 */
  33. @Excel(name = "项目概况")
  34. private String itemOverview;
  35. /** 批文属性 */
  36. @Excel(name = "批文属性")
  37. private String approvalAttibutes;
  38. /** 批文名称 */
  39. @Excel(name = "批文名称")
  40. private String approvalname;
  41. /** 批文编号 */
  42. @Excel(name = "批文编号")
  43. private String fileno;
  44. /** 审批单位 */
  45. @Excel(name = "审批单位")
  46. private String responsauth;
  47. /** 主要内容-图文 */
  48. @Excel(name = "主要内容-图文")
  49. private String contentFile;
  50. /** 主要内容 */
  51. @Excel(name = "主要内容")
  52. private String content;
  53. /** 适用范围 */
  54. @Excel(name = "适用范围")
  55. private String scope;
  56. /** 相关法规 */
  57. @Excel(name = "相关法规")
  58. private String relatedlaw;
  59. /** 证书有效期(前) */
  60. @Excel(name = "证书有效期", readConverterExp = "前=")
  61. private Date validityBefore;
  62. /** 证书有效期(后) */
  63. @Excel(name = "证书有效期", readConverterExp = "后=")
  64. private Date validityAfter;
  65. /** 证书有效期是否永久 */
  66. @Excel(name = "证书有效期是否永久")
  67. private String isPermanent;
  68. /** 是否需要跟进 */
  69. @Excel(name = "是否需要跟进")
  70. private String follow;
  71. /** 负责人 */
  72. @Excel(name = "负责人")
  73. private String owner;
  74. /** 回顾人 */
  75. @Excel(name = "回顾人")
  76. private String reviewer;
  77. /** 回顾时间 */
  78. @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  79. @Excel(name = "回顾时间", width = 30, dateFormat = "yyyy-MM-dd")
  80. private Date reviewdate;
  81. /** 是否合规 */
  82. @Excel(name = "是否合规")
  83. private String isCompliance;
  84. /** 下次回顾时间 */
  85. @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  86. @Excel(name = "下次回顾时间", width = 30, dateFormat = "yyyy-MM-dd")
  87. private Date nextreviewdate;
  88. /** 备注 */
  89. @Excel(name = "备注")
  90. private String remarks;
  91. /** 删除标识 */
  92. private Integer delFlag;
  93. /** 创建人 */
  94. @Excel(name = "创建人")
  95. private String createrCode;
  96. /** 创建日期 */
  97. @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  98. @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
  99. private Date createdate;
  100. /** 更新人 */
  101. @Excel(name = "更新人")
  102. private String updaterCode;
  103. /** 更新日期 */
  104. @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  105. @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
  106. private Date updatedate;
  107. /** 部门编号 */
  108. @Excel(name = "部门编号")
  109. private Long deptId;
  110. public void setId(Long id)
  111. {
  112. this.id = id;
  113. }
  114. public Long getId()
  115. {
  116. return id;
  117. }
  118. public void setPlantCode(String plantCode)
  119. {
  120. this.plantCode = plantCode;
  121. }
  122. public String getPlantCode()
  123. {
  124. return plantCode;
  125. }
  126. public void setDivision(String division)
  127. {
  128. this.division = division;
  129. }
  130. public String getDivision()
  131. {
  132. return division;
  133. }
  134. public void setEffetivedate(Date effetivedate)
  135. {
  136. this.effetivedate = effetivedate;
  137. }
  138. public Date getEffetivedate()
  139. {
  140. return effetivedate;
  141. }
  142. public void setItemName(String itemName)
  143. {
  144. this.itemName = itemName;
  145. }
  146. public String getItemName()
  147. {
  148. return itemName;
  149. }
  150. public void setItemOverview(String itemOverview)
  151. {
  152. this.itemOverview = itemOverview;
  153. }
  154. public String getItemOverview()
  155. {
  156. return itemOverview;
  157. }
  158. public void setApprovalAttibutes(String approvalAttibutes)
  159. {
  160. this.approvalAttibutes = approvalAttibutes;
  161. }
  162. public String getApprovalAttibutes()
  163. {
  164. return approvalAttibutes;
  165. }
  166. public void setApprovalname(String approvalname)
  167. {
  168. this.approvalname = approvalname;
  169. }
  170. public String getApprovalname()
  171. {
  172. return approvalname;
  173. }
  174. public void setFileno(String fileno)
  175. {
  176. this.fileno = fileno;
  177. }
  178. public String getFileno()
  179. {
  180. return fileno;
  181. }
  182. public void setResponsauth(String responsauth)
  183. {
  184. this.responsauth = responsauth;
  185. }
  186. public String getResponsauth()
  187. {
  188. return responsauth;
  189. }
  190. public void setContentFile(String contentFile)
  191. {
  192. this.contentFile = contentFile;
  193. }
  194. public String getContentFile()
  195. {
  196. return contentFile;
  197. }
  198. public void setContent(String content)
  199. {
  200. this.content = content;
  201. }
  202. public String getContent()
  203. {
  204. return content;
  205. }
  206. public void setScope(String scope)
  207. {
  208. this.scope = scope;
  209. }
  210. public String getScope()
  211. {
  212. return scope;
  213. }
  214. public void setRelatedlaw(String relatedlaw)
  215. {
  216. this.relatedlaw = relatedlaw;
  217. }
  218. public String getRelatedlaw()
  219. {
  220. return relatedlaw;
  221. }
  222. public void setValidityBefore(Date validityBefore)
  223. {
  224. this.validityBefore = validityBefore;
  225. }
  226. public Date getValidityBefore()
  227. {
  228. return validityBefore;
  229. }
  230. public void setValidityAfter(Date validityAfter)
  231. {
  232. this.validityAfter = validityAfter;
  233. }
  234. public Date getValidityAfter()
  235. {
  236. return validityAfter;
  237. }
  238. public void setIsPermanent(String isPermanent)
  239. {
  240. this.isPermanent = isPermanent;
  241. }
  242. public String getIsPermanent()
  243. {
  244. return isPermanent;
  245. }
  246. public void setFollow(String follow)
  247. {
  248. this.follow = follow;
  249. }
  250. public String getFollow()
  251. {
  252. return follow;
  253. }
  254. public void setOwner(String owner)
  255. {
  256. this.owner = owner;
  257. }
  258. public String getOwner()
  259. {
  260. return owner;
  261. }
  262. public void setReviewer(String reviewer)
  263. {
  264. this.reviewer = reviewer;
  265. }
  266. public String getReviewer()
  267. {
  268. return reviewer;
  269. }
  270. public void setReviewdate(Date reviewdate)
  271. {
  272. this.reviewdate = reviewdate;
  273. }
  274. public Date getReviewdate()
  275. {
  276. return reviewdate;
  277. }
  278. public void setIsCompliance(String isCompliance)
  279. {
  280. this.isCompliance = isCompliance;
  281. }
  282. public String getIsCompliance()
  283. {
  284. return isCompliance;
  285. }
  286. public void setNextreviewdate(Date nextreviewdate)
  287. {
  288. this.nextreviewdate = nextreviewdate;
  289. }
  290. public Date getNextreviewdate()
  291. {
  292. return nextreviewdate;
  293. }
  294. public void setRemarks(String remarks)
  295. {
  296. this.remarks = remarks;
  297. }
  298. public String getRemarks()
  299. {
  300. return remarks;
  301. }
  302. public void setDelFlag(Integer delFlag)
  303. {
  304. this.delFlag = delFlag;
  305. }
  306. public Integer getDelFlag()
  307. {
  308. return delFlag;
  309. }
  310. public void setCreaterCode(String createrCode)
  311. {
  312. this.createrCode = createrCode;
  313. }
  314. public String getCreaterCode()
  315. {
  316. return createrCode;
  317. }
  318. public void setCreatedate(Date createdate)
  319. {
  320. this.createdate = createdate;
  321. }
  322. public Date getCreatedate()
  323. {
  324. return createdate;
  325. }
  326. public void setUpdaterCode(String updaterCode)
  327. {
  328. this.updaterCode = updaterCode;
  329. }
  330. public String getUpdaterCode()
  331. {
  332. return updaterCode;
  333. }
  334. public void setUpdatedate(Date updatedate)
  335. {
  336. this.updatedate = updatedate;
  337. }
  338. public Date getUpdatedate()
  339. {
  340. return updatedate;
  341. }
  342. public void setDeptId(Long deptId)
  343. {
  344. this.deptId = deptId;
  345. }
  346. public Long getDeptId()
  347. {
  348. return deptId;
  349. }
  350. @Override
  351. public String toString() {
  352. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  353. .append("id", getId())
  354. .append("plantCode", getPlantCode())
  355. .append("division", getDivision())
  356. .append("effetivedate", getEffetivedate())
  357. .append("itemName", getItemName())
  358. .append("itemOverview", getItemOverview())
  359. .append("approvalAttibutes", getApprovalAttibutes())
  360. .append("approvalname", getApprovalname())
  361. .append("fileno", getFileno())
  362. .append("responsauth", getResponsauth())
  363. .append("contentFile", getContentFile())
  364. .append("content", getContent())
  365. .append("scope", getScope())
  366. .append("relatedlaw", getRelatedlaw())
  367. .append("validityBefore", getValidityBefore())
  368. .append("validityAfter", getValidityAfter())
  369. .append("isPermanent", getIsPermanent())
  370. .append("follow", getFollow())
  371. .append("owner", getOwner())
  372. .append("reviewer", getReviewer())
  373. .append("reviewdate", getReviewdate())
  374. .append("isCompliance", getIsCompliance())
  375. .append("nextreviewdate", getNextreviewdate())
  376. .append("remarks", getRemarks())
  377. .append("delFlag", getDelFlag())
  378. .append("createrCode", getCreaterCode())
  379. .append("createdate", getCreatedate())
  380. .append("updaterCode", getUpdaterCode())
  381. .append("updatedate", getUpdatedate())
  382. .append("deptId", getDeptId())
  383. .toString();
  384. }
  385. }