package com.weather.modules.weather.filescan.dto;

import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

@Data
public class WeatherFileScanRecordDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @SchemaProperty(name = "主键ID")
    private Long id;

    @SchemaProperty(name = "文件名")
    private String fileName;

    @SchemaProperty(name = "扩展名")
    private String fileExt;

    @SchemaProperty(name = "文件大小(字节)")
    private Long fileSize;

    @SchemaProperty(name = "MD5哈希值")
    private String md5Hash;

    @SchemaProperty(name = "关键字-地区")
    private String keywordRegion;

    @SchemaProperty(name = "关键字-数据类别")
    private String keywordCategory;

    @SchemaProperty(name = "关键字-周期")
    private String keywordPeriod;

    @SchemaProperty(name = "源路径")
    private String srcPath;

    @SchemaProperty(name = "展示路径")
    private String displayPath;

    @SchemaProperty(name = "归档路径")
    private String archivePath;

    @SchemaProperty(name = "状态 0：已接收 1：展示中 2：已归档")
    private Integer status;

    @SchemaProperty(name = "文件创建时间")
    private Date fileCreateTime;

    @SchemaProperty(name = "扫描入库时间")
    private Date scanTime;

    @SchemaProperty(name = "归档时间")
    private Date archivedAt;

    @SchemaProperty(name = "所属部门ID")
    private Long deptId;

    @SchemaProperty(name = "所属部门名称")
    private String deptName;

    @SchemaProperty(name = "访问链接")
    private String accessUrl;

    @SchemaProperty(name = "创建时间")
    private Date createDate;
}
