1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- package com.huimv.env.common.entity;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableId;
- import java.time.LocalDateTime;
- import java.io.Serializable;
- import java.util.Date;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import lombok.experimental.Accessors;
- /**
- * <p>
- *
- * </p>
- *
- * @author author
- * @since 2023-03-23
- */
- @Data
- @EqualsAndHashCode(callSuper = false)
- @Accessors(chain = true)
- @TableName("env_warning")
- public class EnvWarning implements Serializable {
- private static final long serialVersionUID = 1L;
- @TableId(value = "id", type = IdType.AUTO)
- private Integer id;
- private String warningContent;
- private Integer unitId;
- private String deviceCode;
- private String chipCode;
- private Date updateTime;
- //1,断电 2高温 3低温 4高湿度 5低湿度 6高气压 7高CO2 8传感器异常
- private Integer warningType;
- //1,开始 2停止
- private Integer warningAct;
- private Integer farmId;
- private String other1;
- private String other2;
- private String other3;
- }
|