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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 文件配置新增/修改 Request VO")
@Data
public class FileForConfigSaveReqVO {

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

    @Schema(description = "配置名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "配置名称不能为空")
    private String configName;

    @Schema(description = "配置键", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "配置键不能为空")
    private String configKey;

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

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

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

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

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

}