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.time.LocalDateTime;
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-11-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("energy_screen")
public class EnergyScreen implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 设备编码
     */
    private String deviceCode;

    /**
     * 安装位置
     */
    private String buildName;

    /**
     * 今日读数
     */
    private String todayRead;

    /**
     * 今日消耗
     */
    private String todayConsume;

    /**
     * 昨日消耗
     */
    private String yesterdayConsume;

    /**
     * 日差异
     */
    private String dayDifference;

    /**
     * 本周消耗
     */
    private String weekConsume;

    /**
     * 上周消耗
     */
    private String lastWeekConsume;

    /**
     * 本月消耗
     */
    private String monthConsume;

    /**
     * 上月消耗
     */
    private String lastMonthConsume;

    /**
     * 周差异
     */
    private String weekDifference;

    /**
     * 月差异
     */
    private String monthDifference;

    /**
     * 牧场编码
     */
    private Integer farmId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;

    private Integer type;

    private String farmName;

}
