package ru.soune.nocopy.dto.file;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class FileListResponse {
    @JsonProperty("files")
    private List<FileEntityResponse> files;

    @JsonProperty("total_count")
    private Integer totalCount;

    @JsonProperty("total_size")
    private Long totalSize;

    @JsonProperty("formatted_total_size")
    private String formattedTotalSize;

    @JsonProperty("page")
    private Integer page;

    @JsonProperty("page_size")
    private Integer pageSize;

    @JsonProperty("sort_by")
    private String sortBy;

    @JsonProperty("sort_order")
    private String sortOrder;
}
