提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.infra.controller.admin.file.vo.file; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import java.time.LocalDateTime; |
|
7 |
|
|
8 |
@Schema(description = "管理后台 - 文件 Response VO,不返回 content 字段,太大") |
|
9 |
@Data |
|
10 |
public class FileRespVO { |
|
11 |
|
|
12 |
@Schema(description = "文件编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
13 |
private Long id; |
|
14 |
|
|
15 |
@Schema(description = "配置编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "11") |
|
16 |
private Long configId; |
|
17 |
|
|
18 |
@Schema(description = "文件路径", requiredMode = Schema.RequiredMode.REQUIRED, example = "iailab.jpg") |
|
19 |
private String path; |
|
20 |
|
|
21 |
@Schema(description = "原文件名", requiredMode = Schema.RequiredMode.REQUIRED, example = "iailab.jpg") |
|
22 |
private String name; |
|
23 |
|
|
24 |
@Schema(description = "文件 URL", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.baidu.com/iailab.jpg") |
|
25 |
private String url; |
|
26 |
|
|
27 |
@Schema(description = "文件MIME类型", example = "application/octet-stream") |
|
28 |
private String type; |
|
29 |
|
|
30 |
@Schema(description = "文件大小", example = "2048", requiredMode = Schema.RequiredMode.REQUIRED) |
|
31 |
private Integer size; |
|
32 |
|
|
33 |
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
34 |
private LocalDateTime createTime; |
|
35 |
|
|
36 |
} |