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 BmsSystemStatus 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("继电器状态")
    @Excel(name = "继电器状态")
    private Integer relayStatus;

    @ApiModelProperty("ON/A+/CC状态")
    @Excel(name = "ON/A+/CC状态")
    private Integer onaaccStatus;

    @ApiModelProperty("系统复位次数")
    @Excel(name = "系统复位次数")
    private Integer resetCount;

    @ApiModelProperty("电池循环次数")
    @Excel(name = "电池循环次数")
    private Integer cycleCount;

    @ApiModelProperty("2.5V采样电压(V)")
    @Excel(name = "2.5V采样电压(V)")
    private java.math.BigDecimal sample25v;

    @ApiModelProperty("5V采样电压(V)")
    @Excel(name = "5V采样电压(V)")
    private java.math.BigDecimal sample5v;

    @ApiModelProperty("单体数量")
    @Excel(name = "单体数量")
    private Integer cellCount;

    @ApiModelProperty("温度探头数量")
    @Excel(name = "温度探头数量")
    private Integer tempSensorCount;
}
