package com.seer.teach.admin.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * <p>
 * 教材文档响应参数
 * </p>
 *
 * @author ZS
 * @since 2025-10-23
 */
@Data
@Schema(description = "教材文档响应参数")
public class MaterialDocResp {

    @Schema(description = "教材文档ID")
    private Long id;

    @Schema(description = "教材文档名称")
    private String teacherMaterialDocName;

    @Schema(description = "教材文档URL")
    private String teacherMaterialUrl;

    @Schema(description = "教材文档大小(MB)")
    private BigDecimal teacherMaterialSizeMb;

    @Schema(description = "教材文档MD5")
    private String teacherMaterialMd5;

    @Schema(description = "教材文档MIME类型")
    private String teacherMaterialMime;

    @Schema(description = "教材文档扩展名")
    private String teacherMaterialExt;

    @Schema(description = "学科名称")
    private String subjectName;

    @Schema(description = "版本名称")
    private String versionName;

    @Schema(description = "年级名称")
    private String gradeName;

    @Schema(description = "册别名称")
    private String volumeName;

    @Schema(description = "JSON内容")
    private String jsonContent;

    @Schema(description = "文件格式")
    private String fileFormat;

    @Schema(description = "上传时间")
    private LocalDateTime uploadTime;

    @Schema(description = "教材状态")
    private Integer materialStatus;

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

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

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

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