/*
 * Copyright (c) 2023 codvision.com All Rights Reserved.
 */

package com.codvision.base.entity;

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

import java.io.Serializable;

/**
 * 文件上传结果
 *
 * @author lingee
 * @date 2023/8/14
 */
@Data
@ApiModel(value = "FileUploadResult", description = "文件上传结果")
public class FileUploadResult implements Serializable {

    private static final long serialVersionUID = -7105904522823694056L;

    @ApiModelProperty("文件名称")
    private String fileName;

    @ApiModelProperty("下载地址")
    private String downloadUrl;

    @ApiModelProperty("预览地址")
    private String previewUrl;

    @ApiModelProperty("缩略图地址")
    private String compressUrl;

    @ApiModelProperty("文件空间名称")
    private String bucketName;
}
