package com.huimv.management.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 室外环境vo
 * </p>
 *
 * @author yinhao
 * @date 2021/6/11 15:54
 */
@Data
public class OutdoorEnvironmentVo implements Serializable {
    private static final long serialVersionUID = -8168339737358430651L;

    /**
     * 主键
     */
    private Integer id;
    /**
     * 当前日期
     */
    @Excel(name = "日期",width = 15,format = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GTM+8")
    private Date date;
    /**
     * 牧场id
     */
    private Integer farmId;
    /**
     * 牧场名称
     */
    @Excel(name = "牧场名称",width = 15)
    private String farmName;
    /**
     * 温度
     */
    @Excel(name = "温度")
    private Double temperature;
    /**
     * 湿度
     */
    @Excel(name = "湿度")
    private Double humidity;
    /**
     * 气体
     */
    @Excel(name = "气体")
    private String airQuality;
    /**
     * 采集时间
     */
    @Excel(name = "采集时间", width = 20, format = "HH:mm:ss")
    private Date collectTime;
}
