package com.evobms.project.bms.domain;

import java.io.Serial;
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_charge_temperature
 *
 * @author tzy
 * @date 2026-02-23
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BmsChargeTemperature extends BaseEntity
{
    @Serial
    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;

    /** 温度编号(1-8) */
    @Excel(name = "温度编号(1-8)")
    private Integer tempIndex;

    /** 温度(℃) */
    @Excel(name = "温度(℃)")
    private BigDecimal temperature;

}
