package com.seer.teach.admin.response;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class AdminUnitsResp {

    @Schema(description = "单元ID")
    private Integer id;

    @Schema(description = "教材ID")
    private Integer materialId;

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

    @TableField("sort")
    private Integer sort;

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

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

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    private Integer updateBy;
    
    private String updateByName;

    private MaterialResp material;

}