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:37
 */
@Getter
@Setter
@TableName("teacher_units")
@Schema(name = "UnitsEntity对象", description = "")
public class UnitsEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableField("material_id")
    private Integer materialId;

    @Schema(description = "单元名称")
    @TableField("unit_name")
    private String unitName;

    @TableField("sort")
    private Integer sort;

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

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