liyong
3 天以前 d62a74c14a4002c0f401c94976fba8cc77cda6e1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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;
 
}