package com.backendsys.entity.System.SysFile;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Data
public class SysFileDTO {

    public static interface Remove{}

    private Long id;
    private Long file_id;
    private Long category_id;
    private String category_name;
    private Long user_id;
    @NotEmpty(message="name 不能为空", groups = { Remove.class })
    private String name;
    private String file_local_path;
    private String file_remote_path;
    private String file_remote_path_thumb;
    private String file_key;
    private Long size;
    private String md5;
    private String chunk_upload_id;
    private Integer chunk_count;
    private Integer chunk_current_index;
    private String notes;
    private String create_time;
    private String update_time;
}
