package com.evobms.project.battery.domain;

import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
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;

/**
 * 可充电储能子系统电压信息对象 subsystem_voltage
 *
 * @author 田志阳
 * @date 2025-11-15
 */
@Data
@ApiModel(description = "可充电储能子系统电压信息对象")
public class SubsystemVoltage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @ApiModelProperty(value = "主键ID")
    private Long id;

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

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

    /** 可充电储能子系统个数 */
    @ApiModelProperty(value = "可充电储能子系统个数")
    @Excel(name = "可充电储能子系统个数")
    private Integer subsystemCount;

    /** 可充电储能子系统号 */
    @ApiModelProperty(value = "可充电储能子系统号")
    @Excel(name = "可充电储能子系统号")
    private Integer subsystemNo;

    /** 可充电储能装置电压(V) */
    @ApiModelProperty(value = "可充电储能装置电压(V)")
    @Excel(name = "可充电储能装置电压(V)")
    private BigDecimal subsystemVoltage;

    /** 可充电储能装置电流(A) */
    @ApiModelProperty(value = "可充电储能装置电流(A)")
    @Excel(name = "可充电储能装置电流(A)")
    private BigDecimal subsystemCurrent;

    /** 单体电池总数 */
    @ApiModelProperty(value = "单体电池总数")
    @Excel(name = "单体电池总数")
    private Integer totalBatteryCount;

    /** 本帧起始电池序号 */
    @ApiModelProperty(value = "本帧起始电池序号")
    @Excel(name = "本帧起始电池序号")
    private Integer frameStartBatteryNo;

    /** 本帧单体电池总数 */
    @ApiModelProperty(value = "本帧单体电池总数")
    @Excel(name = "本帧单体电池总数")
    private Integer frameBatteryCount;

    /** 单体电池电压数组(V) */
    @ApiModelProperty(value = "单体电池电压数组(V)")
    @Excel(name = "单体电池电压数组(V)")
    private String batteryVoltages;

    /** 创建时间 */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 更新时间 */
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;

}
