package com.trs.digital.module.manager.dal.dataobject;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.trs.digital.framework.excel.core.annotations.DictFormat;
import com.trs.digital.framework.excel.core.convert.DictConvert;
import com.trs.digital.module.system.enums.DictTypeConstants;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 用户 Excel 导入 VO
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免用户导入有问题
public class DigExcelVO {

    @ExcelProperty("资源名称")
    private String docTitle;
    @ExcelProperty("正文")
    private String docContent;
    @ExcelProperty("摘要")
    private String docAbstract;
    @ExcelProperty("关键词")
    private String docKeywords;
    @ExcelProperty("译文")
    private String docContentTranslate;
    @ExcelProperty("原文件名")
    private String fileName;
    @ExcelProperty("原文路径")
    private String filePath;
    @ExcelProperty("原文件后缀类型")
    private String fileType;
    /*@ExcelProperty("原文件修改日期")
    private LocalDateTime fileCrtime;*/
    @ExcelProperty("原文件修改日期")
    private LocalDateTime fileUpdatetime;
    @ExcelProperty("分类标签")
    private String docLable;
    @ExcelProperty("文件来源")
    private String sourcename;
    @ExcelProperty("语种")
    private String language;

    @ExcelProperty("文件年份")
    private String fileYear;

    @ExcelProperty("数据标识")
    private String docid;
    @ExcelProperty("地域标签")
    private String areaLable;
    @ExcelProperty("机构标签")
    private String orgLable;
    @ExcelProperty("人物标签")
    private String peopleLable;
    @ExcelProperty("批次号")
    private String batchNo;

}
