package cn.reghao.oss.storeapi.rest;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author reghao
 * @date 2022-04-25 10:42:38
 */
@AllArgsConstructor
@Getter
@Setter
public class UploadFilePart implements Serializable {
    private static final long serialVersionUID = 1L;

    private int channelId;
    // 文件标识
    private String identifier;
    private String filename;
    private String relativePath;
    // 文件大小
    private Long totalSize;
    // 分片文件大小
    private Integer chunkSize;
    // 分片文件数量
    private Long totalChunks;
    // 当前分片文件索引
    private Long chunkNumber;
    // 当前分片文件大小
    private Integer currentChunkSize;
}
