TAlarmPrincipal.java 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. package com.ruoyi.project.system.domain;
  2. import java.util.Date;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import com.ruoyi.framework.aspectj.lang.annotation.Excel;
  5. import com.ruoyi.framework.web.domain.BaseEntity;
  6. import org.apache.commons.lang3.builder.ToStringBuilder;
  7. import org.apache.commons.lang3.builder.ToStringStyle;
  8. /**
  9. * 预警管理负责人对象 t_alarm_principal
  10. *
  11. * @author ruoyi
  12. * @date 2020-12-30
  13. */
  14. public class TAlarmPrincipal extends BaseEntity
  15. {
  16. private static final long serialVersionUID = 1L;
  17. /** 唯一标识id */
  18. private Long id;
  19. /** 预警类型ID */
  20. private Long typeId;
  21. /** 装置 */
  22. @Excel(name = "装置")
  23. private String plantCode;
  24. /** 负责人员工编号 */
  25. @Excel(name = "负责人员工编号")
  26. private String staffid;
  27. /** 负责人姓名 */
  28. @Excel(name = "负责人姓名")
  29. private String principalName;
  30. /** 负责人邮箱 */
  31. @Excel(name = "负责人邮箱")
  32. private String principalEmail;
  33. /** 删除标识 */
  34. private Long delFlag;
  35. /** 创建人
  36. */
  37. private String createrCode;
  38. /** 创建日期 */
  39. private Date createdate;
  40. /** 更新人 */
  41. private String updaterCode;
  42. /** 更新日期 */
  43. private Date updatedate;
  44. /** 部门编号 */
  45. private Long deptId;
  46. /** 部门名称 */
  47. @Excel(name = "部门名称")
  48. private String deptName;
  49. /** 备注 */
  50. private String remarks;
  51. public void setId(Long id)
  52. {
  53. this.id = id;
  54. }
  55. public Long getId()
  56. {
  57. return id;
  58. }
  59. public void setTypeId(Long typeId)
  60. {
  61. this.typeId = typeId;
  62. }
  63. public Long getTypeId()
  64. {
  65. return typeId;
  66. }
  67. public void setPlantCode(String plantCode)
  68. {
  69. this.plantCode = plantCode;
  70. }
  71. public String getPlantCode()
  72. {
  73. return plantCode;
  74. }
  75. public void setStaffid(String staffid)
  76. {
  77. this.staffid = staffid;
  78. }
  79. public String getStaffid()
  80. {
  81. return staffid;
  82. }
  83. public void setPrincipalName(String principalName)
  84. {
  85. this.principalName = principalName;
  86. }
  87. public String getPrincipalName()
  88. {
  89. return principalName;
  90. }
  91. public void setPrincipalEmail(String principalEmail)
  92. {
  93. this.principalEmail = principalEmail;
  94. }
  95. public String getPrincipalEmail()
  96. {
  97. return principalEmail;
  98. }
  99. public void setDelFlag(Long delFlag)
  100. {
  101. this.delFlag = delFlag;
  102. }
  103. public Long getDelFlag()
  104. {
  105. return delFlag;
  106. }
  107. public void setCreaterCode(String createrCode)
  108. {
  109. this.createrCode = createrCode;
  110. }
  111. public String getCreaterCode()
  112. {
  113. return createrCode;
  114. }
  115. public void setCreatedate(Date createdate)
  116. {
  117. this.createdate = createdate;
  118. }
  119. public Date getCreatedate()
  120. {
  121. return createdate;
  122. }
  123. public void setUpdaterCode(String updaterCode)
  124. {
  125. this.updaterCode = updaterCode;
  126. }
  127. public String getUpdaterCode()
  128. {
  129. return updaterCode;
  130. }
  131. public void setUpdatedate(Date updatedate)
  132. {
  133. this.updatedate = updatedate;
  134. }
  135. public Date getUpdatedate()
  136. {
  137. return updatedate;
  138. }
  139. public void setDeptId(Long deptId)
  140. {
  141. this.deptId = deptId;
  142. }
  143. public Long getDeptId()
  144. {
  145. return deptId;
  146. }
  147. public void setRemarks(String remarks)
  148. {
  149. this.remarks = remarks;
  150. }
  151. public String getRemarks()
  152. {
  153. return remarks;
  154. }
  155. public void setDeptName(String deptName)
  156. {
  157. this.deptName = deptName;
  158. }
  159. public String getDeptName()
  160. {
  161. return deptName;
  162. }
  163. @Override
  164. public String toString() {
  165. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  166. .append("id", getId())
  167. .append("typeId", getTypeId())
  168. .append("plantCode", getPlantCode())
  169. .append("staffid", getStaffid())
  170. .append("principalName", getPrincipalName())
  171. .append("principalEmail", getPrincipalEmail())
  172. .append("delFlag", getDelFlag())
  173. .append("createrCode", getCreaterCode())
  174. .append("createdate", getCreatedate())
  175. .append("updaterCode", getUpdaterCode())
  176. .append("updatedate", getUpdatedate())
  177. .append("deptId", getDeptId())
  178. .append("remarks", getRemarks())
  179. .toString();
  180. }
  181. }