package com.usky.vpp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * vpp_energy_summary_daily
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("vpp_energy_summary_daily")
public class VppEnergySummaryDaily implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("summary_date")
    private LocalDate summaryDate;
    @TableField("resource_id")
    private Long resourceId;
    @TableField("resource_type")
    private String resourceType;
    @TableField("gen_energy_kwh")
    private BigDecimal genEnergyKwh;
    @TableField("use_energy_kwh")
    private BigDecimal useEnergyKwh;
    @TableField("green_ratio")
    private BigDecimal greenRatio;
    @TableField("max_power_kw")
    private BigDecimal maxPowerKw;
    @TableField("avg_power_kw")
    private BigDecimal avgPowerKw;
    @TableField("tenant_id")
    private Integer tenantId;
    @TableField("create_time")
    private LocalDateTime createTime;
    @TableField("update_time")
    private LocalDateTime updateTime;
    @TableField("created_by")
    private String createdBy;
    @TableField("updated_by")
    private String updatedBy;
    @TableField("delete_flag")
    private Integer deleteFlag;
    @TableField("deleted_at")
    private LocalDateTime deletedAt;
}
