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.NotNull;

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

    @Schema(description = "年级ID")
    @NotNull(message = "年级ID不能为空")
    private Integer gradeId;

    private Integer relationId;

    @Schema(description = "学科ID")
    @NotNull(message = "学科ID不能为空")
    private Integer subjectId;

    @Schema(description = "状态")
    private Integer status;

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