package com.evobms.project.summary.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.evobms.framework.aspectj.lang.annotation.Excel;
import com.evobms.framework.web.domain.BaseEntity;

/**
 * 累计充放电量对象 charge_discharge_summary
 *
 * @author 田志阳
 * @date 2026-01-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ChargeDischargeSummary", description = "累计充放电量对象")
public class ChargeDischargeSummary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 设备ID */
    @Excel(name = "设备ID")
    @ApiModelProperty(value = "设备ID")
    private String deviceId;

    /** 时间戳 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss ")
    @ApiModelProperty(value = "时间戳")
    @Excel(name = "时间戳", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date timestamp;

    /** 累计放电(kWh) */
    @ApiModelProperty(value = "累计放电(kWh)")
    @Excel(name = "累计放电(kWh)")
    private BigDecimal dischargeKwh;

    /** 累计充电kWh) */
    @ApiModelProperty(value = "累计充电kWh")
    @Excel(name = "累计充电(kWh)")
    private BigDecimal chargeKwh;

}
