package com.luqj.exam.domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; 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 org.springframework.data.annotation.Id; import java.io.Serializable; import java.util.Date; /** * 试卷明细对象 exam_paper_item * * @author ruoyi * @date 2021-07-23 */ @TableName("exam_paper_item") public class ExamPaperItemPlus implements Serializable { private static final long serialVersionUID = 1L; @TableId(type = IdType.AUTO) /** id */ private Long id; /** 试卷id */ @Excel(name = "试卷id") private Long paperId; /** 模块id */ @Excel(name = "模块id") private Long examPaperModuleId; /** 类型id(参考QuestionTypeEnum) */ @Excel(name = "类型id(参考QuestionTypeEnum)") private Long questionTypeId; /** 问题id */ @Excel(name = "问题id") private Long questionId; /** 分数 */ @Excel(name = "分数") private Long score; /** 难度系数 */ @Excel(name = "难度系数") private Long difficulty; /** 排序号 */ @Excel(name = "排序号") private Long sortNum; /** 创建时间 */ private Date createTime; /** 创建人id */ @Excel(name = "创建人id") private Long creatorId; /** 状态 */ @Excel(name = "状态") private Integer status; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setPaperId(Long paperId) { this.paperId = paperId; } public Long getPaperId() { return paperId; } public void setExamPaperModuleId(Long examPaperModuleId) { this.examPaperModuleId = examPaperModuleId; } public Long getExamPaperModuleId() { return examPaperModuleId; } public void setQuestionTypeId(Long questionTypeId) { this.questionTypeId = questionTypeId; } public Long getQuestionTypeId() { return questionTypeId; } public void setQuestionId(Long questionId) { this.questionId = questionId; } public Long getQuestionId() { return questionId; } public void setScore(Long score) { this.score = score; } public Long getScore() { return score; } public void setDifficulty(Long difficulty) { this.difficulty = difficulty; } public Long getDifficulty() { return difficulty; } public void setSortNum(Long sortNum) { this.sortNum = sortNum; } public Long getSortNum() { return sortNum; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Date getCreateTime() { return createTime; } public void setCreatorId(Long creatorId) { this.creatorId = creatorId; } public Long getCreatorId() { return creatorId; } 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("paperId", getPaperId()) .append("examPaperModuleId", getExamPaperModuleId()) .append("questionTypeId", getQuestionTypeId()) .append("questionId", getQuestionId()) .append("score", getScore()) .append("difficulty", getDifficulty()) .append("sortNum", getSortNum()) .append("createTime", getCreateTime()) .append("creatorId", getCreatorId()) .append("status", getStatus()) .toString(); } }