package com.ruoyi.tjfx.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.Map;

@Data
public class BaseDataExcelDTO {
    @ExcelProperty(value = "商品编码",index =0)
    private String productCode;
    @ExcelProperty(value = "商品名称",index =1)
    private String productName;
    @ExcelProperty(value = "品牌",index =2)
    private String brand;
    @ExcelProperty(value = "所属分类名称",index =3)
    private String categoryName;
    @ExcelProperty(value = "分类规格",index =4)
    private String categorySpecs;
/*    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;*/
// 动态扩展字段（不确定）
   // private Map<String, String> categorySpecs = new HashMap<>();
}
