package com.iailab.module.infra.controller.admin.file.vo.config;
|
|
import com.iailab.module.infra.framework.file.core.client.FileClientConfig;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - 文件配置 Response VO")
|
@Data
|
public class FileConfigRespVO {
|
|
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
private Long id;
|
|
@Schema(description = "配置名", requiredMode = Schema.RequiredMode.REQUIRED, example = "S3 - 阿里云")
|
private String name;
|
|
@Schema(description = "存储器,参见 FileStorageEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
private Integer storage;
|
|
@Schema(description = "是否为主配置", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
|
private Boolean master;
|
|
@Schema(description = "存储配置", requiredMode = Schema.RequiredMode.REQUIRED)
|
private FileClientConfig config;
|
|
@Schema(description = "备注", example = "我是备注")
|
private String remark;
|
|
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
private LocalDateTime createTime;
|
|
}
|