package com.yolo.keyboard.controller.admin.i18nmessage.vo;

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

@Schema(description = "管理后台 - 国际化错误提醒配置新增/修改 Request VO")
@Data
public class KeyboardI18nMessageSaveReqVO {

    @Schema(description = "主键 id", requiredMode = Schema.RequiredMode.REQUIRED, example = "18823")
    private Long id;

    @Schema(description = "错误代码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "错误代码不能为空")
    private String code;

    @Schema(description = "地区", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "地区不能为空")
    private String locale;

    @Schema(description = "错误提醒", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "错误提醒不能为空")
    private String message;

}