DeviceTempSet.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. package com.xy.entity;
  2. import com.baomidou.mybatisplus.annotation.FieldFill;
  3. import com.baomidou.mybatisplus.annotation.IdType;
  4. import com.baomidou.mybatisplus.annotation.TableField;
  5. import com.baomidou.mybatisplus.annotation.TableId;
  6. import io.swagger.annotations.ApiModelProperty;
  7. import lombok.Data;
  8. import lombok.experimental.Accessors;
  9. import java.time.LocalDateTime;
  10. /**
  11. * 设备温度设置表
  12. *
  13. * @author hechunping
  14. * @date 2023/03/20
  15. */
  16. @Data
  17. @Accessors(chain = true)
  18. public class DeviceTempSet {
  19. @ApiModelProperty(value = "id")
  20. @TableId(value = "id", type = IdType.AUTO)
  21. private Integer id;
  22. /**
  23. * 设备ID
  24. */
  25. @ApiModelProperty(value = "设备ID")
  26. private Long deviceId;
  27. /**
  28. * 工作模式
  29. */
  30. @ApiModelProperty(value = "工作模式")
  31. private String workMode;
  32. /**
  33. * 最低温度报警
  34. */
  35. @ApiModelProperty(value = "最低温度报警")
  36. private Integer warningLow;
  37. /**
  38. * 最高温度报警
  39. */
  40. @ApiModelProperty(value = "最高温度报警")
  41. private Integer warningHigh;
  42. /**
  43. * 目标温度
  44. */
  45. @ApiModelProperty(value = "目标温度")
  46. private Integer tempValue;
  47. /**
  48. * 目标温度
  49. */
  50. @ApiModelProperty(value = "目标温度1")
  51. private Integer tempValue1;
  52. /**
  53. * 目标温度
  54. */
  55. @ApiModelProperty(value = "目标温度2")
  56. private Integer tempValue2;
  57. /**
  58. * 目标温度
  59. */
  60. @ApiModelProperty(value = "目标温度3")
  61. private Integer tempValue3;
  62. /**
  63. * 工作时段1起始时间
  64. */
  65. @ApiModelProperty(value = "工作时段1起始时间")
  66. private Integer job1StartTime;
  67. /**
  68. * 工作时段1结束时间
  69. */
  70. @ApiModelProperty(value = "工作时段1结束时间")
  71. private Integer job1EndTime;
  72. /**
  73. * 工作时段2起始时间
  74. */
  75. @ApiModelProperty(value = "工作时段2起始时间")
  76. private Integer job2StartTime;
  77. /**
  78. * 工作时段2结束时间
  79. */
  80. @ApiModelProperty(value = "工作时段2结束时间")
  81. private Integer job2EndTime;
  82. /**
  83. * 工作时段3起始时间
  84. */
  85. @ApiModelProperty(value = "工作时段3起始时间")
  86. private Integer job3StartTime;
  87. /**
  88. * 工作时段3结束时间
  89. */
  90. @ApiModelProperty(value = "工作时段3结束时间")
  91. private Integer job3EndTime;
  92. /**
  93. * 设置状态
  94. */
  95. @ApiModelProperty(value = "设置状态")
  96. private String status;
  97. /**
  98. * 设置状态更新时间
  99. */
  100. @ApiModelProperty(value = "设置状态更新时间")
  101. private LocalDateTime setUpdateTime;
  102. /**
  103. * 创建人
  104. */
  105. @TableField(fill = FieldFill.INSERT)
  106. @ApiModelProperty(value = "创建人")
  107. private Long createUser;
  108. /**
  109. * 创建时间
  110. */
  111. @TableField(fill = FieldFill.INSERT)
  112. @ApiModelProperty(value = "创建时间")
  113. private LocalDateTime createTime;
  114. }