package com.microservices.file.domain.vo.input;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 检查分片请求
 *
 * @author microservices
 */
@Data
@ApiModel("检查分片请求")
public class CheckChunkInputVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "上传ID", required = true)
    @NotBlank(message = "上传ID不能为空")
    private String uploadId;

    @ApiModelProperty(value = "分片序号", required = true)
    @NotNull(message = "分片序号不能为空")
    private Integer chunkNumber;
}
