package ru.soune.nocopy.dto.file;

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

import java.util.List;
import java.util.Map;

@Data
@Builder
public class InitFileResponse {
    @JsonProperty("upload_id")
    private String uploadId;

    @JsonProperty("file_name")
    private String fileName;

    @JsonProperty("total_chunks")
    private Integer totalChunks;

    @JsonProperty("chunk_size")
    private Long chunkSize;

    @JsonProperty("status")
    private String status;

    @JsonProperty("field_errors")
    private List<Map<String, String>> fieldErrors;
}
