package com.seer.teach.admin.request;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;

/**
 * <p>
 * 年级请求参数
 * </p>
 *
 * @author ZS
 * @since 2025-10-24
 */
@Data
@Schema(description = "年级请求参数")
public class GradeReq {

    @Schema(description = "年级名称")
    @NotBlank(message = "年级名称不能为空")
    private String name;

    @Schema(description = "排序")
    private Integer sort;
}