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;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;

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

    @Schema(description = "教材ID")
    @NotNull(message = "教材ID不能为空")
    private Integer materialId;

    @Schema(description = "单元名称")
    @NotBlank(message = "单元名称不能为空")
    private String unitName;

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

    private Integer isCheck;

    private BigDecimal score;
}