package com.trs.digital.module.manager.controller.admin.digsearch.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 = "管理后台 - 资源搜索分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DigsearchPageReqVO extends PageParam {

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

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "创建者")
    private String creator;

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

    @Schema(description = "更新者")
    private String updater;

    @Schema(description = "更新时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] updateTime;

    @Schema(description = "是否删除")
    private Boolean deleted;

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

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

    @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 = "文件来源", example = "李四")
    private String sourcename;

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

}