package com.evobms.project.bms.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.evobms.framework.aspectj.lang.annotation.Excel;
import com.evobms.framework.web.domain.BaseEntity;

@Data
@ApiModel(description = "BMS充电过程详细数据")
public class BmsChargeDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    private Long id;

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

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

    @ApiModelProperty("慢充电流(A)")
    @Excel(name = "慢充电流(A)")
    private java.math.BigDecimal acChargeCurrent;

    @ApiModelProperty("慢充电压(V)")
    @Excel(name = "慢充电压(V)")
    private java.math.BigDecimal acChargeVoltage;

    @ApiModelProperty("快充电流(A)")
    @Excel(name = "快充电流(A)")
    private java.math.BigDecimal dcChargeCurrent;

    @ApiModelProperty("快充电压(V)")
    @Excel(name = "快充电压(V)")
    private java.math.BigDecimal dcChargeVoltage;

    @ApiModelProperty("充电时长(min)")
    @Excel(name = "充电时长(min)")
    private Integer chargeTime;

    @ApiModelProperty("慢充停止码")
    @Excel(name = "慢充停止码")
    private Integer acStopCode;

    @ApiModelProperty("快充停止码")
    @Excel(name = "快充停止码")
    private Integer dcStopCode;

    @ApiModelProperty("慢充CP值")
    @Excel(name = "慢充CP值")
    private Integer acCpValue;

    @ApiModelProperty("慢充枪阻值")
    @Excel(name = "慢充枪阻值")
    private Integer acGunResistance;

    @ApiModelProperty("充电阶段")
    @Excel(name = "充电阶段")
    private Integer chargingStage;

    @ApiModelProperty("慢充阶段")
    @Excel(name = "慢充阶段")
    private Integer acStage;

    @ApiModelProperty("快充阶段")
    @Excel(name = "快充阶段")
    private Integer dcStage;
}
