123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588 |
- package com.qxgmat.data.dao.entity;
- import java.io.Serializable;
- import javax.persistence.*;
- @Table(name = "examination_paper")
- public class ExaminationPaper implements Serializable {
- @Id
- @Column(name = "`id`")
- @GeneratedValue(strategy = GenerationType.IDENTITY)
- private Integer id;
- /**
- * 试卷组
- */
- @Column(name = "`struct_two`")
- private Integer structTwo;
- /**
- * 考卷
- */
- @Column(name = "`struct_three`")
- private Integer structThree;
- /**
- * 是否适应难度: 0非适应性,1适应性,2千行
- */
- @Column(name = "`is_adapt`")
- private Integer isAdapt;
- /**
- * 标题
- */
- @Column(name = "`title`")
- private String title;
- /**
- * 开放状态:0关闭,1开启
- */
- @Column(name = "`status`")
- private Integer status;
- /**
- * 总分
- */
- @Column(name = "`total_score`")
- private Integer totalScore;
- /**
- * 总做卷次数
- */
- @Column(name = "`total_times`")
- private Integer totalTimes;
- /**
- * 总Q分
- */
- @Column(name = "`quant_score`")
- private Integer quantScore;
- /**
- * 总V分
- */
- @Column(name = "`verbal_score`")
- private Integer verbalScore;
- /**
- * 总ir分
- */
- @Column(name = "`ir_score`")
- private Integer irScore;
- /**
- * 第二次总分
- */
- @Column(name = "`second_total_score`")
- private Integer secondTotalScore;
- /**
- * 第二次总做卷次数
- */
- @Column(name = "`second_total_times`")
- private Integer secondTotalTimes;
- /**
- * 第二次总Q分
- */
- @Column(name = "`second_quant_score`")
- private Integer secondQuantScore;
- /**
- * 第二次总V分
- */
- @Column(name = "`second_verbal_score`")
- private Integer secondVerbalScore;
- /**
- * 第二次总ir分
- */
- @Column(name = "`second_ir_score`")
- private Integer secondIrScore;
- private static final long serialVersionUID = 1L;
- /**
- * @return id
- */
- public Integer getId() {
- return id;
- }
- /**
- * @param id
- */
- public void setId(Integer id) {
- this.id = id;
- }
- /**
- * 获取试卷组
- *
- * @return struct_two - 试卷组
- */
- public Integer getStructTwo() {
- return structTwo;
- }
- /**
- * 设置试卷组
- *
- * @param structTwo 试卷组
- */
- public void setStructTwo(Integer structTwo) {
- this.structTwo = structTwo;
- }
- /**
- * 获取考卷
- *
- * @return struct_three - 考卷
- */
- public Integer getStructThree() {
- return structThree;
- }
- /**
- * 设置考卷
- *
- * @param structThree 考卷
- */
- public void setStructThree(Integer structThree) {
- this.structThree = structThree;
- }
- /**
- * 获取是否适应难度: 0非适应性,1适应性,2千行
- *
- * @return is_adapt - 是否适应难度: 0非适应性,1适应性,2千行
- */
- public Integer getIsAdapt() {
- return isAdapt;
- }
- /**
- * 设置是否适应难度: 0非适应性,1适应性,2千行
- *
- * @param isAdapt 是否适应难度: 0非适应性,1适应性,2千行
- */
- public void setIsAdapt(Integer isAdapt) {
- this.isAdapt = isAdapt;
- }
- /**
- * 获取标题
- *
- * @return title - 标题
- */
- public String getTitle() {
- return title;
- }
- /**
- * 设置标题
- *
- * @param title 标题
- */
- public void setTitle(String title) {
- this.title = title;
- }
- /**
- * 获取开放状态:0关闭,1开启
- *
- * @return status - 开放状态:0关闭,1开启
- */
- public Integer getStatus() {
- return status;
- }
- /**
- * 设置开放状态:0关闭,1开启
- *
- * @param status 开放状态:0关闭,1开启
- */
- public void setStatus(Integer status) {
- this.status = status;
- }
- /**
- * 获取总分
- *
- * @return total_score - 总分
- */
- public Integer getTotalScore() {
- return totalScore;
- }
- /**
- * 设置总分
- *
- * @param totalScore 总分
- */
- public void setTotalScore(Integer totalScore) {
- this.totalScore = totalScore;
- }
- /**
- * 获取总做卷次数
- *
- * @return total_times - 总做卷次数
- */
- public Integer getTotalTimes() {
- return totalTimes;
- }
- /**
- * 设置总做卷次数
- *
- * @param totalTimes 总做卷次数
- */
- public void setTotalTimes(Integer totalTimes) {
- this.totalTimes = totalTimes;
- }
- /**
- * 获取总Q分
- *
- * @return quant_score - 总Q分
- */
- public Integer getQuantScore() {
- return quantScore;
- }
- /**
- * 设置总Q分
- *
- * @param quantScore 总Q分
- */
- public void setQuantScore(Integer quantScore) {
- this.quantScore = quantScore;
- }
- /**
- * 获取总V分
- *
- * @return verbal_score - 总V分
- */
- public Integer getVerbalScore() {
- return verbalScore;
- }
- /**
- * 设置总V分
- *
- * @param verbalScore 总V分
- */
- public void setVerbalScore(Integer verbalScore) {
- this.verbalScore = verbalScore;
- }
- /**
- * 获取总ir分
- *
- * @return ir_score - 总ir分
- */
- public Integer getIrScore() {
- return irScore;
- }
- /**
- * 设置总ir分
- *
- * @param irScore 总ir分
- */
- public void setIrScore(Integer irScore) {
- this.irScore = irScore;
- }
- /**
- * 获取第二次总分
- *
- * @return second_total_score - 第二次总分
- */
- public Integer getSecondTotalScore() {
- return secondTotalScore;
- }
- /**
- * 设置第二次总分
- *
- * @param secondTotalScore 第二次总分
- */
- public void setSecondTotalScore(Integer secondTotalScore) {
- this.secondTotalScore = secondTotalScore;
- }
- /**
- * 获取第二次总做卷次数
- *
- * @return second_total_times - 第二次总做卷次数
- */
- public Integer getSecondTotalTimes() {
- return secondTotalTimes;
- }
- /**
- * 设置第二次总做卷次数
- *
- * @param secondTotalTimes 第二次总做卷次数
- */
- public void setSecondTotalTimes(Integer secondTotalTimes) {
- this.secondTotalTimes = secondTotalTimes;
- }
- /**
- * 获取第二次总Q分
- *
- * @return second_quant_score - 第二次总Q分
- */
- public Integer getSecondQuantScore() {
- return secondQuantScore;
- }
- /**
- * 设置第二次总Q分
- *
- * @param secondQuantScore 第二次总Q分
- */
- public void setSecondQuantScore(Integer secondQuantScore) {
- this.secondQuantScore = secondQuantScore;
- }
- /**
- * 获取第二次总V分
- *
- * @return second_verbal_score - 第二次总V分
- */
- public Integer getSecondVerbalScore() {
- return secondVerbalScore;
- }
- /**
- * 设置第二次总V分
- *
- * @param secondVerbalScore 第二次总V分
- */
- public void setSecondVerbalScore(Integer secondVerbalScore) {
- this.secondVerbalScore = secondVerbalScore;
- }
- /**
- * 获取第二次总ir分
- *
- * @return second_ir_score - 第二次总ir分
- */
- public Integer getSecondIrScore() {
- return secondIrScore;
- }
- /**
- * 设置第二次总ir分
- *
- * @param secondIrScore 第二次总ir分
- */
- public void setSecondIrScore(Integer secondIrScore) {
- this.secondIrScore = secondIrScore;
- }
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append(getClass().getSimpleName());
- sb.append(" [");
- sb.append("Hash = ").append(hashCode());
- sb.append(", id=").append(id);
- sb.append(", structTwo=").append(structTwo);
- sb.append(", structThree=").append(structThree);
- sb.append(", isAdapt=").append(isAdapt);
- sb.append(", title=").append(title);
- sb.append(", status=").append(status);
- sb.append(", totalScore=").append(totalScore);
- sb.append(", totalTimes=").append(totalTimes);
- sb.append(", quantScore=").append(quantScore);
- sb.append(", verbalScore=").append(verbalScore);
- sb.append(", irScore=").append(irScore);
- sb.append(", secondTotalScore=").append(secondTotalScore);
- sb.append(", secondTotalTimes=").append(secondTotalTimes);
- sb.append(", secondQuantScore=").append(secondQuantScore);
- sb.append(", secondVerbalScore=").append(secondVerbalScore);
- sb.append(", secondIrScore=").append(secondIrScore);
- sb.append("]");
- return sb.toString();
- }
- public static ExaminationPaper.Builder builder() {
- return new ExaminationPaper.Builder();
- }
- public static class Builder {
- private ExaminationPaper obj;
- public Builder() {
- this.obj = new ExaminationPaper();
- }
- /**
- * @param id
- */
- public Builder id(Integer id) {
- obj.setId(id);
- return this;
- }
- /**
- * 设置试卷组
- *
- * @param structTwo 试卷组
- */
- public Builder structTwo(Integer structTwo) {
- obj.setStructTwo(structTwo);
- return this;
- }
- /**
- * 设置考卷
- *
- * @param structThree 考卷
- */
- public Builder structThree(Integer structThree) {
- obj.setStructThree(structThree);
- return this;
- }
- /**
- * 设置是否适应难度: 0非适应性,1适应性,2千行
- *
- * @param isAdapt 是否适应难度: 0非适应性,1适应性,2千行
- */
- public Builder isAdapt(Integer isAdapt) {
- obj.setIsAdapt(isAdapt);
- return this;
- }
- /**
- * 设置标题
- *
- * @param title 标题
- */
- public Builder title(String title) {
- obj.setTitle(title);
- return this;
- }
- /**
- * 设置开放状态:0关闭,1开启
- *
- * @param status 开放状态:0关闭,1开启
- */
- public Builder status(Integer status) {
- obj.setStatus(status);
- return this;
- }
- /**
- * 设置总分
- *
- * @param totalScore 总分
- */
- public Builder totalScore(Integer totalScore) {
- obj.setTotalScore(totalScore);
- return this;
- }
- /**
- * 设置总做卷次数
- *
- * @param totalTimes 总做卷次数
- */
- public Builder totalTimes(Integer totalTimes) {
- obj.setTotalTimes(totalTimes);
- return this;
- }
- /**
- * 设置总Q分
- *
- * @param quantScore 总Q分
- */
- public Builder quantScore(Integer quantScore) {
- obj.setQuantScore(quantScore);
- return this;
- }
- /**
- * 设置总V分
- *
- * @param verbalScore 总V分
- */
- public Builder verbalScore(Integer verbalScore) {
- obj.setVerbalScore(verbalScore);
- return this;
- }
- /**
- * 设置总ir分
- *
- * @param irScore 总ir分
- */
- public Builder irScore(Integer irScore) {
- obj.setIrScore(irScore);
- return this;
- }
- /**
- * 设置第二次总分
- *
- * @param secondTotalScore 第二次总分
- */
- public Builder secondTotalScore(Integer secondTotalScore) {
- obj.setSecondTotalScore(secondTotalScore);
- return this;
- }
- /**
- * 设置第二次总做卷次数
- *
- * @param secondTotalTimes 第二次总做卷次数
- */
- public Builder secondTotalTimes(Integer secondTotalTimes) {
- obj.setSecondTotalTimes(secondTotalTimes);
- return this;
- }
- /**
- * 设置第二次总Q分
- *
- * @param secondQuantScore 第二次总Q分
- */
- public Builder secondQuantScore(Integer secondQuantScore) {
- obj.setSecondQuantScore(secondQuantScore);
- return this;
- }
- /**
- * 设置第二次总V分
- *
- * @param secondVerbalScore 第二次总V分
- */
- public Builder secondVerbalScore(Integer secondVerbalScore) {
- obj.setSecondVerbalScore(secondVerbalScore);
- return this;
- }
- /**
- * 设置第二次总ir分
- *
- * @param secondIrScore 第二次总ir分
- */
- public Builder secondIrScore(Integer secondIrScore) {
- obj.setSecondIrScore(secondIrScore);
- return this;
- }
- public ExaminationPaper build() {
- return this.obj;
- }
- }
- }
|