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_voltage_channel_data
 *
 * @author tzy
 * @date 2026-02-23
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BmsVoltageChannelData 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;

    /** 通道类型(RTP/RTN) */
    @Excel(name = "通道类型(RTP/RTN)")
    private String channelType;

    /** 通道编号 */
    @Excel(name = "通道编号")
    private Integer channelIndex;

    /** 电压(V) */
    @Excel(name = "电压(V)")
    private BigDecimal voltage;

}
