ShowValueJSBasic.java 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. package com.slibra.business.res;
  2. import com.alibaba.fastjson2.annotation.JSONField;
  3. import lombok.AllArgsConstructor;
  4. import lombok.Builder;
  5. import lombok.Data;
  6. import lombok.NoArgsConstructor;
  7. import java.math.BigDecimal;
  8. @Builder
  9. @Data
  10. @AllArgsConstructor
  11. @NoArgsConstructor
  12. public class ShowValueJSBasic {
  13. /*@JSONField(ordinal = 1, name = "title")
  14. private String a;*/
  15. @JSONField(ordinal = 2, name = "报警时间")
  16. private String b;
  17. @JSONField(ordinal = 3, name = "报警值")
  18. private BigDecimal c;
  19. /*@JSONField(ordinal = 4, name = "管控值")
  20. private BigDecimal d;*/
  21. @JSONField(ordinal = 5, name = "设计值")
  22. private BigDecimal e;
  23. @JSONField(ordinal = 6, name = "报警级别")
  24. private String f;
  25. // @JSONField(ordinal = 7, name = "报警次数")
  26. @JSONField(ordinal = 7, name = "持续时间")
  27. private String g;
  28. @JSONField(ordinal = 8, name = "数据来源")
  29. private String h;
  30. @JSONField(ordinal = 9, name = "状态")
  31. private String i;
  32. }