package com.tzld.piaoquan.api.model.param.contentplatform;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

@Data
public class StsTokenParam extends VideoApiBaseParam {
	
	@NotEmpty(message = "fileType不能为空")
	@NotNull(message = "fileType不能为空")
	@ApiModelProperty(value = "文件类型：(1:PICTURE, 2:VIDEO, 3:VOICE, 4:FILE, 5:GIF)")
	private Integer fileType;
	@ApiModelProperty(value = "第一次获取token时返回的唯一标识字符串，用来在上传大文件时若签名快失效时重新获取对应文件的token")
	private String uploadId;

}
