TElecdashboardAlarm.java 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. package com.ruoyi.project.aspen.domain;
  2. import com.ruoyi.framework.aspectj.lang.annotation.Excel;
  3. import com.ruoyi.framework.web.domain.BaseEntity;
  4. import org.apache.commons.lang3.builder.ToStringBuilder;
  5. import org.apache.commons.lang3.builder.ToStringStyle;
  6. import java.util.Date;
  7. /**
  8. * 电厂大屏预警对象 t_elecdashboard_alarm
  9. *
  10. * @author ruoyi
  11. * @date 2022-09-19
  12. */
  13. public class TElecdashboardAlarm extends BaseEntity
  14. {
  15. private static final long serialVersionUID = 1L;
  16. /** 主键id */
  17. private Long id;
  18. /** 值 */
  19. @Excel(name = "值")
  20. private String alarmValue;
  21. /** 预警时间 */
  22. @Excel(name = "预警时间")
  23. private Date alarmTime;
  24. /** 位号 */
  25. @Excel(name = "位号")
  26. private String code;
  27. /** 内容 */
  28. @Excel(name = "内容")
  29. private String description;
  30. public void setId(Long id)
  31. {
  32. this.id = id;
  33. }
  34. public Long getId()
  35. {
  36. return id;
  37. }
  38. public void setAlarmValue(String alarmValue)
  39. {
  40. this.alarmValue = alarmValue;
  41. }
  42. public String getAlarmValue()
  43. {
  44. return alarmValue;
  45. }
  46. public void setCode(String code)
  47. {
  48. this.code = code;
  49. }
  50. public String getCode()
  51. {
  52. return code;
  53. }
  54. public void setDescription(String description)
  55. {
  56. this.description = description;
  57. }
  58. public String getDescription()
  59. {
  60. return description;
  61. }
  62. public Date getAlarmTime() {
  63. return alarmTime;
  64. }
  65. public void setAlarmTime(Date alarmTime) {
  66. this.alarmTime = alarmTime;
  67. }
  68. @Override
  69. public String toString() {
  70. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  71. .append("id", getId())
  72. .append("alarmValue", getAlarmValue())
  73. .append("code", getCode())
  74. .append("description", getDescription())
  75. .toString();
  76. }
  77. }