package com.brframework.commonoss.core;

import com.brframework.commonoss.core.sts.STSAuthorization;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

/**
 * 上传信息
 * @author xu
 * @date 2019/8/30 15:51
 */
@Data
@ApiModel
@Builder
public class OSSMessage {

    private STSAuthorization sts;
    @ApiModelProperty(value = "使用的bucket", required = true, example = "beiru")
    private String bucket;
    @ApiModelProperty(value = "文件的前缀", required = true, example = "admin-file")
    private String prefix;

}
