package cn.iocoder.yudao.module.system.controller.admin.storage.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
@Schema(description = "管理后台 - 文件上传 Response VO")
|
@Data
|
public class SystemStorageBlobRespVO {
|
|
@Schema(description = "文件ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
private Long id;
|
|
@Schema(description = "资源唯一标识")
|
private String resourceKey;
|
|
@Schema(description = "资源类型")
|
private String contentType;
|
|
@Schema(description = "原文件名")
|
private String originalFilename;
|
|
@Schema(description = "唯一文件名")
|
private String uidFilename;
|
|
@Schema(description = "文件大小(字节)")
|
private Long byteSize;
|
|
@Schema(description = "文件相对路径")
|
private String path;
|
|
@Schema(description = "预览地址")
|
private String previewURL;
|
|
@Schema(description = "预览地址(兼容字段)")
|
private String url;
|
|
@Schema(description = "原文件名(兼容字段)")
|
private String name;
|
|
@Schema(description = "下载地址")
|
private String downloadURL;
|
|
@Schema(description = "关联的附件ID")
|
private Long storageAttachmentId;
|
|
@Schema(description = "文件用途")
|
private String application;
|
|
}
|