package com.evobms.project.bms.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
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;

/**
 * BMS系统状态数据对象 bms_system_status
 *
 * @author tzy
 * @date 2026-02-23
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BmsSystemStatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

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

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

    /** 数据时间戳 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据时间戳", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timestap;

    /** 继电器状态 */
    @Excel(name = "继电器状态")
    private Long relayStatus;

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

    /** 系统复位次数 */
    @Excel(name = "系统复位次数")
    private Long resetCount;

    /** 电池循环次数 */
    @Excel(name = "电池循环次数")
    private Long cycleCount;

    /** 2.5V采样电压(V) */
    @Excel(name = "2.5V采样电压(V)")
    private BigDecimal sample25v;

    /** 5V采样电压(V) */
    @Excel(name = "5V采样电压(V)")
    private BigDecimal sample5v;

}
