package com.seer.teach.teacher.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * <p>
 * 教材表
 * </p>
 *
 * @author Wang
 * @since 2025-10-09 15:20:36
 */
@Getter
@Setter
@TableName("teacher_material")
@Schema(name = "MaterialEntity对象", description = "教材表")
public class MaterialEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "版本ID")
    @TableField("version_id")
    private Integer versionId;

    @Schema(description = "年级ID")
    @TableField("grade_id")
    private Integer gradeId;

    @Schema(description = "subject_id")
    private Integer subjectId;

    @Schema(description = "0上册 1下册")
    @TableField("volume")
    private Integer volume;

    @Schema(description = "教材名称")
    @TableField("book_name")
    private String bookName;

    @Schema(description = "教材文档ID")
    @TableField("doc_id")
    private Integer docId;

    @Schema(description = "是否已检查 0-未检查 1-已检查")
    @TableField("is_checked")
    private Integer isChecked;

    @Schema(description = "评分")
    @TableField("score")
    private BigDecimal score;

}