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 java.io.Serializable;

@Data
@ApiModel("检查秒传请求")
public class CheckInstantUploadInputVo implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @NotBlank(message = "文件签名不能为空")
    @ApiModelProperty(value = "文件签名（用于秒传校验，可能是完整MD5或采样点哈希）", required = true)
    private String fileSignature;
}
