package com.xhkjedu.sstudy.vo.question;

import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class QuestionClassDetailVo {
    //作业id
    private Long paperid;

    //试题表
    private String questionid;

    //试题分值
    private Double qscore;

    //处理题型1单选题2多选题3主观题4判断对错5判断✔6判断TF7完形填空8阅读理解
    private Integer ctype;

    //试题题干
    private String qstem;

    //试题选项
    private String qoption;

    //试题答案
    private String qanswer;

    //试题分析
    private String qanalyze;

    //试题难易度
    private Integer complexity;

    //试题类型1题库2答题卡
    private Integer qctype;

    //平均分
    private Double avgscore;

    //错误率（乘以%）
    private Double errorrate;

    //已提交人数
    private Integer ytjnum;

    //未提交人数
    private Integer wtjnum;

    //知识点名称
    private String pointname;

    //学生作答统计
    private List<AnswerStu> stus;

    //错误率统计
    private List<AnswerErrorRate> rates;

    //作业附件
    private List<Map> files;

    private List<Map> sonqlist;//子题

    private Integer classid;//班级id

    //是否是听力题0不是1是
    private Integer hashear;

    //听力题文件地址
    private String hearfile;
}

/**
 * @author ywx
 * @classname AnswerErrorRate
 * @description 错误率统计
 * @date 2020/8/20 10:36
 **/
@Data
class AnswerErrorRate {
    private String createtime;//日期
    private Double errorrate;//错误率（%）
}
