package com.njcn.gather.result.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author caozehui
 * @data 2025-01-16
 */
@Data
public class RawDataExcel {

    @Excel(name = "时间", width = 25, orderNum = "1")
    private String time;

    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class NotTRawDataExcel extends RawDataExcel {

        @Excel(name = "A相", width = 15, orderNum = "2")
        private String dataA;

        @Excel(name = "B相", width = 15, orderNum = "3")
        private String dataB;

        @Excel(name = "C相", width = 15, orderNum = "4")
        private String dataC;
    }

    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class TRawDataExcel extends RawDataExcel {

        @Excel(name = "T相", width = 15, orderNum = "2")
        private String dataT;

    }
}
