提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.infra.controller.admin.file.vo.config; |
H |
2 |
|
|
3 |
import com.iailab.module.infra.framework.file.core.client.FileClientConfig; |
|
4 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
5 |
import lombok.Data; |
|
6 |
|
|
7 |
import java.time.LocalDateTime; |
|
8 |
|
|
9 |
@Schema(description = "管理后台 - 文件配置 Response VO") |
|
10 |
@Data |
|
11 |
public class FileConfigRespVO { |
|
12 |
|
|
13 |
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
14 |
private Long id; |
|
15 |
|
|
16 |
@Schema(description = "配置名", requiredMode = Schema.RequiredMode.REQUIRED, example = "S3 - 阿里云") |
|
17 |
private String name; |
|
18 |
|
|
19 |
@Schema(description = "存储器,参见 FileStorageEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
20 |
private Integer storage; |
|
21 |
|
|
22 |
@Schema(description = "是否为主配置", requiredMode = Schema.RequiredMode.REQUIRED, example = "true") |
|
23 |
private Boolean master; |
|
24 |
|
|
25 |
@Schema(description = "存储配置", requiredMode = Schema.RequiredMode.REQUIRED) |
|
26 |
private FileClientConfig config; |
|
27 |
|
|
28 |
@Schema(description = "备注", example = "我是备注") |
|
29 |
private String remark; |
|
30 |
|
|
31 |
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
32 |
private LocalDateTime createTime; |
|
33 |
|
|
34 |
} |