package com.weather.modules.weather.filescan.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.weather.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper=false)
@TableName("weather_file_scan_record")
public class WeatherFileScanRecordEntity extends BaseEntity {

    private String fileName;
    private String fileExt;
    private Long fileSize;
    private String md5Hash;
    private String keywordRegion;
    private String keywordCategory;
    private String keywordPeriod;
    private String srcPath;
    private String displayPath;
    private String archivePath;
    private Integer status;
    private Date fileCreateTime;
    private Date scanTime;
    private Date archivedAt;
    private Long deptId;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updater;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;
}
