package com.competition.modules.sys.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(description = "创建/更新配置请求")
public class CreateConfigDto {

    @NotBlank(message = "配置键不能为空")
    @Schema(description = "配置键")
    private String key;

    @NotBlank(message = "配置值不能为空")
    @Schema(description = "配置值")
    private String value;

    @Schema(description = "描述")
    private String description;
}
