35 lines
694 B
Java
35 lines
694 B
Java
package ru.soune.nocopy.dto.file;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import lombok.Data;
|
|
|
|
@Data
|
|
public class FileUploadRequest {
|
|
@JsonProperty("upload_id")
|
|
private String uploadId;
|
|
|
|
@JsonProperty("file_name")
|
|
private String fileName;
|
|
|
|
@JsonProperty("file_type")
|
|
private String fileType;
|
|
|
|
@JsonProperty("extension")
|
|
private String extension;
|
|
|
|
@JsonProperty("file_size")
|
|
private Long fileSize;
|
|
|
|
@JsonProperty("chunk_number")
|
|
private Integer chunkNumber;
|
|
|
|
@JsonProperty("action")
|
|
private String action;
|
|
|
|
@JsonProperty("token")
|
|
private String token;
|
|
|
|
@JsonProperty("convertTo")
|
|
private String convertTo;
|
|
}
|