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 lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("teacher_material_doc")
public class MaterialDocEntity extends BaseEntity {

    
    private String teacherMaterialDocName;
    
    private String teacherMaterialUrl;
    
    private BigDecimal teacherMaterialSizeMb;

    private String teacherMaterialMd5;

    private String teacherMaterialMime;

    /**
     * 文件扩展名，如pdf，doc，xls
     */
    private String teacherMaterialExt;

    private String subjectName;

    private String versionName;

    private String gradeName;

    private String volumeName;

    private String jsonContent;

    /**
     * 文件格式，如PDF，WORD，EXCEL
     */
    private String fileFormat;
    
    private LocalDateTime uploadTime;
    
    private Integer materialStatus;


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

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

}