package com.seer.teach.teacher.common.req;

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

import jakarta.validation.constraints.NotNull;

/**
 * @Author: Captain
 * @Description: 复习请求实体类
 * @Date: 2025-06-07 9:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "复习请求实体类")
public class StudyReq {

    @Schema(description = "知识点ID")
    @NotNull(message = "知识点ID不可为空")
    private Integer id;

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

    @Schema(description = "类型")
    @NotNull(message = "类型数据不可为空")
    private Integer type;

}
