TPssrAlarm.java 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. package com.ruoyi.project.pssr.domain;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import com.ruoyi.framework.aspectj.lang.annotation.Excel;
  4. import com.ruoyi.framework.web.domain.BaseEntity;
  5. import org.apache.commons.lang3.builder.ToStringBuilder;
  6. import org.apache.commons.lang3.builder.ToStringStyle;
  7. import java.util.Date;
  8. import java.util.List;
  9. /**
  10. * 报警联锁值确认对象 t_pssr_alarm
  11. *
  12. * @author ssy
  13. * @date 2024-09-23
  14. */
  15. public class TPssrAlarm extends BaseEntity
  16. {
  17. private static final long serialVersionUID = 1L;
  18. /** 唯一标识ID */
  19. private Long id;
  20. /** 从表id */
  21. @Excel(name = "从表id")
  22. private Long subId;
  23. /** 审批id */
  24. @Excel(name = "审批id")
  25. private Long approveId;
  26. /** 附件地址 */
  27. @Excel(name = "附件地址")
  28. private String fileUrl;
  29. /** 附件名称 */
  30. @Excel(name = "附件名称")
  31. private String fileName;
  32. /** 删除状态 */
  33. private Long delFlag;
  34. /** 创建人 */
  35. @Excel(name = "创建人")
  36. private String createrCode;
  37. /** 创建时间 */
  38. @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
  39. @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
  40. private Date createdate;
  41. /** 修改人 */
  42. @Excel(name = "修改人")
  43. private String updaterCode;
  44. /** 修改时间 */
  45. @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
  46. @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
  47. private Date updatedate;
  48. /** 部门编号 */
  49. @Excel(name = "部门编号")
  50. private Long deptId;
  51. private String deptName;
  52. public String getDeptName() {
  53. return deptName;
  54. }
  55. public void setDeptName(String deptName) {
  56. this.deptName = deptName;
  57. }
  58. /** 备注 */
  59. @Excel(name = "备注")
  60. private String remarks;
  61. /** 审批状态 */
  62. @Excel(name = "审批状态")
  63. private Long approveStatus;
  64. private String confirm1Name;
  65. private String confirm2Name;
  66. private List<Long> fileIds;
  67. private List<TPssrFile> fileList;
  68. private String reason;
  69. private Long fileNum;
  70. public Long getFileNum() {
  71. return fileNum;
  72. }
  73. public void setFileNum(Long fileNum) {
  74. this.fileNum = fileNum;
  75. }
  76. public String getReason() {
  77. return reason;
  78. }
  79. public void setReason(String reason) {
  80. this.reason = reason;
  81. }
  82. public List<TPssrFile> getFileList() {
  83. return fileList;
  84. }
  85. public void setFileList(List<TPssrFile> fileList) {
  86. this.fileList = fileList;
  87. }
  88. public List<Long> getFileIds() {
  89. return fileIds;
  90. }
  91. public void setFileIds(List<Long> fileIds) {
  92. this.fileIds = fileIds;
  93. }
  94. public String getConfirm1Name() {
  95. return confirm1Name;
  96. }
  97. public void setConfirm1Name(String confirm1Name) {
  98. this.confirm1Name = confirm1Name;
  99. }
  100. public String getConfirm2Name() {
  101. return confirm2Name;
  102. }
  103. public void setConfirm2Name(String confirm2Name) {
  104. this.confirm2Name = confirm2Name;
  105. }
  106. public void setId(Long id)
  107. {
  108. this.id = id;
  109. }
  110. public Long getId()
  111. {
  112. return id;
  113. }
  114. public void setSubId(Long subId)
  115. {
  116. this.subId = subId;
  117. }
  118. public Long getSubId()
  119. {
  120. return subId;
  121. }
  122. public void setApproveId(Long approveId)
  123. {
  124. this.approveId = approveId;
  125. }
  126. public Long getApproveId()
  127. {
  128. return approveId;
  129. }
  130. public void setFileUrl(String fileUrl)
  131. {
  132. this.fileUrl = fileUrl;
  133. }
  134. public String getFileUrl()
  135. {
  136. return fileUrl;
  137. }
  138. public void setFileName(String fileName)
  139. {
  140. this.fileName = fileName;
  141. }
  142. public String getFileName()
  143. {
  144. return fileName;
  145. }
  146. public void setDelFlag(Long delFlag)
  147. {
  148. this.delFlag = delFlag;
  149. }
  150. public Long getDelFlag()
  151. {
  152. return delFlag;
  153. }
  154. public void setCreaterCode(String createrCode)
  155. {
  156. this.createrCode = createrCode;
  157. }
  158. public String getCreaterCode()
  159. {
  160. return createrCode;
  161. }
  162. public void setCreatedate(Date createdate)
  163. {
  164. this.createdate = createdate;
  165. }
  166. public Date getCreatedate()
  167. {
  168. return createdate;
  169. }
  170. public void setUpdaterCode(String updaterCode)
  171. {
  172. this.updaterCode = updaterCode;
  173. }
  174. public String getUpdaterCode()
  175. {
  176. return updaterCode;
  177. }
  178. public void setUpdatedate(Date updatedate)
  179. {
  180. this.updatedate = updatedate;
  181. }
  182. public Date getUpdatedate()
  183. {
  184. return updatedate;
  185. }
  186. public void setDeptId(Long deptId)
  187. {
  188. this.deptId = deptId;
  189. }
  190. public Long getDeptId()
  191. {
  192. return deptId;
  193. }
  194. public void setRemarks(String remarks)
  195. {
  196. this.remarks = remarks;
  197. }
  198. public String getRemarks()
  199. {
  200. return remarks;
  201. }
  202. public void setApproveStatus(Long approveStatus)
  203. {
  204. this.approveStatus = approveStatus;
  205. }
  206. public Long getApproveStatus()
  207. {
  208. return approveStatus;
  209. }
  210. @Override
  211. public String toString() {
  212. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  213. .append("id", getId())
  214. .append("subId", getSubId())
  215. .append("approveId", getApproveId())
  216. .append("fileUrl", getFileUrl())
  217. .append("fileName", getFileName())
  218. .append("delFlag", getDelFlag())
  219. .append("createrCode", getCreaterCode())
  220. .append("createdate", getCreatedate())
  221. .append("updaterCode", getUpdaterCode())
  222. .append("updatedate", getUpdatedate())
  223. .append("deptId", getDeptId())
  224. .append("remarks", getRemarks())
  225. .append("approveStatus", getApproveStatus())
  226. .toString();
  227. }
  228. }