1
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package com.bestsch.classicalchinese.model.vo;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
public class AiQuestionsVo {
|
||||
|
||||
private String type;
|
||||
|
||||
private String difficulty;
|
||||
|
||||
private String question;
|
||||
|
||||
private String[] options;
|
||||
|
||||
// ["",""],[""] 一级表示答案有多种解析方式 或者关系, 二级表示答案属于并且关系答案同时存在
|
||||
private String answer;
|
||||
|
||||
private String analysis;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.bestsch.classicalchinese.model.vo;
|
||||
|
||||
import com.bestsch.classicalchinese.entity.BschQuestion;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class BschFormQuestionVo implements Serializable {
|
||||
|
||||
public Integer nodeId;
|
||||
|
||||
public String content;
|
||||
//小题
|
||||
public List<BschQuestion> questionList;
|
||||
|
||||
public String path;
|
||||
|
||||
public Integer textbookId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.bestsch.classicalchinese.model.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class PunitFilesVo {
|
||||
public Integer id;
|
||||
|
||||
public Integer nodeId;
|
||||
|
||||
public String fileName;
|
||||
|
||||
public String fileCode;
|
||||
|
||||
public String filePath;
|
||||
|
||||
public Integer fileSize;
|
||||
|
||||
public String fileType;
|
||||
|
||||
public Integer sort;
|
||||
|
||||
public boolean displayDel;
|
||||
|
||||
public boolean show;
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package com.bestsch.classicalchinese.model.vo;
|
||||
|
||||
import com.bestsch.classicalchinese.entity.PunitQuestion;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class PunitFormVo implements Serializable {
|
||||
|
||||
public Integer id;
|
||||
|
||||
public String name;
|
||||
|
||||
public Integer nodeId;
|
||||
|
||||
public String content;
|
||||
//小题
|
||||
public List<PunitQuestion> questionList;
|
||||
|
||||
private Integer textBookId;
|
||||
|
||||
|
||||
public String path;
|
||||
|
||||
public PunitFormVo(Integer id,String content,List<PunitQuestion> questionList)
|
||||
{
|
||||
this.id=id;
|
||||
this.content=content;
|
||||
this.questionList=questionList;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package com.bestsch.classicalchinese.model.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonAlias;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class PunitNodeStuQuestion implements Serializable {
|
||||
|
||||
public Integer id;
|
||||
|
||||
public String name;
|
||||
|
||||
@JsonAlias("node_id")
|
||||
public Integer nodeId;
|
||||
|
||||
public String content;
|
||||
|
||||
@JsonAlias("subject_id")
|
||||
public String subjectId;
|
||||
|
||||
@JsonAlias("grade_id")
|
||||
public Integer gradeId ;
|
||||
|
||||
@JsonAlias("is_review")
|
||||
public Integer isReview;
|
||||
|
||||
@JsonAlias("qcount")
|
||||
public String qCount;
|
||||
|
||||
@JsonAlias("stucount")
|
||||
public String stuCount;
|
||||
|
||||
@JsonAlias("duicount")
|
||||
public String duiCount;
|
||||
|
||||
@JsonAlias("cuocount")
|
||||
public String cuoCount;
|
||||
|
||||
@JsonAlias("elecount")
|
||||
public String eleCount;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.bestsch.classicalchinese.model.vo;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class SubmitStuQuestionVo implements Serializable {
|
||||
|
||||
public Integer qId;
|
||||
|
||||
public Integer textbookId;
|
||||
|
||||
public Integer nodeId;
|
||||
|
||||
public String answer;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user