package com.ho.business.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class IncomeTotal {

    private Integer id;

    private String type;
    /*  */
    private double ele;

    /* 企业用电收益(元) */
    private BigDecimal eleTotalFee;

    /* 上网用电收益(元) */
    private BigDecimal incomeFee;

    /* 总收益(元) */
    private BigDecimal totalFee;

    /* 操作 */
    private int flag;

    /* 时间 格式:2023-01 */
    private String date;

    /* 电站id */
    private Integer stationId;

    /* 数据时间 */
    private String dataDate;

    /* 模板id */
    @JsonSerialize(using = ToStringSerializer.class)
    private long templateId;

    @JsonSerialize(using = ToStringSerializer.class)
    private long surfTemplateId;

    /* 费率 */
    private int rateId;

    /* 集团id */
    private int groupId;

    /* 逆变器id */
    private int srcId;

    private String rateName;

    private String price;

    private String startTime;

    private String endTime;

    private String discount;

}
