package org.jeecg.modules.demo.contract.entity;
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import lombok.Data;
|
|
/**
|
* 适配新Excel列的映射实体类
|
*/
|
@Data
|
public class ExcelDataDTO {
|
// value:Excel列名,index:列索引(从0开始,对应Excel的A、B、C、D、E列)
|
@ExcelProperty(value = "大类", index = 0)
|
private String category; // 大类
|
|
@ExcelProperty(value = "品牌(仅比价/省钱类)", index = 1)
|
private String brand; // 品牌(仅比价/省钱类)
|
|
@ExcelProperty(value = "语义问法", index = 2)
|
private String semanticQuestion; // 语义问法
|
|
@ExcelProperty(value = "漏出词", index = 3)
|
private String leakWord; // 漏出词
|
|
@ExcelProperty(value = "创作人员", index = 4)
|
private String creator; // 创作人员
|
}
|