package com.trs.digital.module.manager.controller.admin.digftp.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.trs.digital.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.trs.digital.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - STF资源管理分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DigFtpSourcePageReqVO extends PageParam {

    @Schema(description = "主键", example = "6835")
    private Long id;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "资源名称")
    private String docTitle;

    @Schema(description = "正文")
    private String docContent;

    @Schema(description = "摘要")
    private String docAbstract;

    @Schema(description = "关键词")
    private String docKeywords;

    @Schema(description = "译文")
    private String docContentTranslate;

    @Schema(description = "原文件名", example = "李四")
    private String fileName;

    @Schema(description = "原文件路径")
    private String filePath;

    @Schema(description = "原文件后缀类型", example = "1")
    private String fileType;

    @Schema(description = "原文件创建日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] fileCrtime;

    @Schema(description = "原文件修改日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] fileUpdatetime;

    @Schema(description = "分类标签")
    private String docLable;

    @Schema(description = "地域标签")
    private String areaLable;

    @Schema(description = "机构标签")
    private String orgLable;

    @Schema(description = "人物标签")
    private String peopleLable;

    @Schema(description = "批次")
    private String batchNo;

    @Schema(description = "文件来源", example = "张三")
    private String sourcename;

    @Schema(description = "语种")
    private String language;

    @Schema(description = "文件年份")
    private String fileYear;

    @Schema(description = "数据唯一标识")
    private String docid;

}