116 lines
2.7 KiB
Java
116 lines
2.7 KiB
Java
package com.luqj.exam.domain;
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import com.ruoyi.common.annotation.Excel;
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
/**
|
|
* 按题目统计对象 stats_exam_question_accuracy
|
|
*
|
|
* @author ruoyi
|
|
* @date 2021-07-23
|
|
*/
|
|
public class StatsExamQuestionAccuracyPlus implements Serializable
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(type = IdType.AUTO)
|
|
/** $column.columnComment */
|
|
private Long id;
|
|
/** 题目id */
|
|
@Excel(name = "题目id")
|
|
private Long questionId;
|
|
/** 正确数 */
|
|
@Excel(name = "正确数")
|
|
private Long rightCount;
|
|
/** 总答题数 */
|
|
@Excel(name = "总答题数")
|
|
private Long doCount;
|
|
/** 创建时间 */
|
|
private Date createTime;
|
|
/** 更新时间 */
|
|
private Date updateTime;
|
|
/** 状态 */
|
|
@Excel(name = "状态")
|
|
private Integer status;
|
|
public void setId(Long id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getId()
|
|
{
|
|
return id;
|
|
}
|
|
public void setQuestionId(Long questionId)
|
|
{
|
|
this.questionId = questionId;
|
|
}
|
|
|
|
public Long getQuestionId()
|
|
{
|
|
return questionId;
|
|
}
|
|
public void setRightCount(Long rightCount)
|
|
{
|
|
this.rightCount = rightCount;
|
|
}
|
|
|
|
public Long getRightCount()
|
|
{
|
|
return rightCount;
|
|
}
|
|
public void setDoCount(Long doCount)
|
|
{
|
|
this.doCount = doCount;
|
|
}
|
|
|
|
public Long getDoCount()
|
|
{
|
|
return doCount;
|
|
}
|
|
public void setCreateTime(Date createTime)
|
|
{
|
|
this.createTime = createTime;
|
|
}
|
|
|
|
public Date getCreateTime()
|
|
{
|
|
return createTime;
|
|
}
|
|
public void setUpdateTime(Date updateTime)
|
|
{
|
|
this.updateTime = updateTime;
|
|
}
|
|
|
|
public Date getUpdateTime()
|
|
{
|
|
return updateTime;
|
|
}
|
|
public void setStatus(Integer status)
|
|
{
|
|
this.status = status;
|
|
}
|
|
|
|
public Integer getStatus()
|
|
{
|
|
return status;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("questionId", getQuestionId())
|
|
.append("rightCount", getRightCount())
|
|
.append("doCount", getDoCount())
|
|
.append("createTime", getCreateTime())
|
|
.append("updateTime", getUpdateTime())
|
|
.append("status", getStatus())
|
|
.toString();
|
|
}
|
|
}
|