package cn.iocoder.yudao.module.server.controller.admin.fileforconfig.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 文件配置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class FileForConfigRespVO {

    @Schema(description = "配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9470")
    @ExcelProperty("配置ID")
    private Long id;

    @Schema(description = "配置名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("配置名称")
    private String configName;

    @Schema(description = "配置键", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("配置键")
    private String configKey;

    @Schema(description = "文件最大大小(MB)")
    @ExcelProperty("文件最大大小(MB)")
    private Integer fileMaxSize;

    @Schema(description = "允许的文件类型")
    @ExcelProperty("允许的文件类型")
    private String fileTypes;

    @Schema(description = "最大文件数量", example = "2934")
    @ExcelProperty("最大文件数量")
    private Integer fileMaxCount;

    @Schema(description = "其他配置")
    @ExcelProperty("其他配置")
    private String fileOther;

    @Schema(description = "状态", example = "1")
    @ExcelProperty("状态")
    private String status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}