package com.huimv.management.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
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 14:31
 */
@Data
public class IndoorEnvironmentVo implements Serializable {
    private static final long serialVersionUID = -2366116041687966836L;

    /**
     * id
     */
    @TableId
    private Integer id;
    /**
     * 牧场id
     */
    private Integer farmId;
    /**
     * 牧场名称
     */
    @Excel(name = "牧场名称", width = 15)
    private String farmName;
    /**
     * 豬舍id
     */
    private Integer pigstyId;
    /**
     * 猪舍名称
     */
    @Excel(name = "猪舍名称", width = 15)
    private String pigstyName;
    /**
     * 类型
     * 1. 温度
     * 2. 湿度
     * 3. 氨气
     */
    @Excel(name = "类型")
    private Integer type;
    /**
     * 湿度
     */
    @Excel(name = "数值")
    private Double value;
    /**
     * 采集时间
     */
    @Excel(name = "采集时间", width = 20, format = "HH:mm:ss")
    private Date collectTime;
}
