TblRuleVo.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. package com.ruoyi.data.domain.vo;
  2. import java.util.Date;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
  5. import com.alibaba.excel.annotation.ExcelProperty;
  6. import com.ruoyi.common.annotation.ExcelDictFormat;
  7. import com.ruoyi.common.convert.ExcelDictConvert;
  8. import lombok.Data;
  9. import java.util.Date;
  10. import java.io.Serializable;
  11. /**
  12. * 规则视图对象 tbl_rule
  13. *
  14. * @author ruoyi
  15. * @date 2023-12-05
  16. */
  17. @Data
  18. @ExcelIgnoreUnannotated
  19. public class TblRuleVo implements Serializable {
  20. private static final long serialVersionUID = 1L;
  21. /**
  22. *
  23. */
  24. @ExcelProperty(value = "")
  25. private Long id;
  26. /**
  27. * 规则编号
  28. */
  29. @ExcelProperty(value = "规则编号")
  30. private String sn;
  31. /**
  32. * 规则名称
  33. */
  34. @ExcelProperty(value = "规则名称")
  35. private String name;
  36. /**
  37. * 触发类型
  38. */
  39. @ExcelProperty(value = "触发类型")
  40. private String type;
  41. /**
  42. * 设备ID
  43. */
  44. @ExcelProperty(value = "设备ID")
  45. private Long equipmentId;
  46. /**
  47. * 传感器Id
  48. */
  49. @ExcelProperty(value = "传感器Id")
  50. private Long sensorId;
  51. /**
  52. * 时间
  53. */
  54. @ExcelProperty(value = "时间")
  55. private Date time;
  56. /**
  57. * 触发条件值
  58. */
  59. @ExcelProperty(value = "触发条件值")
  60. private String triggeringCondition;
  61. /**
  62. * 描述
  63. */
  64. @ExcelProperty(value = "描述")
  65. private String description;
  66. /**
  67. * 备注
  68. */
  69. @ExcelProperty(value = "备注")
  70. private String remark;
  71. /**
  72. *
  73. */
  74. @ExcelProperty(value = "")
  75. private String expr1;
  76. /**
  77. *
  78. */
  79. @ExcelProperty(value = "")
  80. private String expr2;
  81. }