package com.huimv.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2023-02-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("gas_warning_info")
public class GasWarningInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 气体
     */
    private Integer warningType;

    /**
     * 报警内容
     */
    private String warningContent;

    /**
     * 位置
     */
    private String buildLocation;

    /**
     * 位置名字
     */
    private String unitName;

    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMt+8")
    private Date date;

    /**
     * 人员id
     */
    private String userIds;

    /**
     * 人员名字
     */
    private String userNames;

    private Integer farmId;

    private String other1;

    private String other2;

    private String other3;


}
