package safeluck.drive.evaluation.bean;
|
|
import java.util.List;
|
|
import safeluck.drive.evaluation.util.FileUtil;
|
|
public class SimulateNightBean {
|
|
/**
|
* exam : 0
|
* question : [{"item":1,"tts":"打开车灯"},{"item":2,"tts":"通过人行道"}]
|
*/
|
|
private int exam;
|
private List<QuestionBean> question;
|
|
public int getExam() {
|
return exam;
|
}
|
|
public void setExam(int exam) {
|
this.exam = exam;
|
}
|
|
public List<QuestionBean> getQuestion() {
|
return question;
|
}
|
|
public void setQuestion(List<QuestionBean> question) {
|
this.question = question;
|
}
|
|
public static class QuestionBean {
|
/**
|
* item : 1
|
* tts : 打开车灯
|
*/
|
|
private int item;
|
private String tts;
|
|
public QuestionBean(int i, String s) {
|
this.item =i;
|
this.tts = s;
|
}
|
|
public int getItem() {
|
return item;
|
}
|
|
public void setItem(int item) {
|
this.item = item;
|
}
|
|
public String getTts() {
|
return tts;
|
}
|
|
public void setTts(String tts) {
|
this.tts = tts;
|
}
|
|
@Override
|
public String toString() {
|
return "QuestionBean{" +
|
"item=" + item +
|
", tts='" + tts + '\'' +
|
'}';
|
}
|
}
|
|
@Override
|
public String toString() {
|
return "SimulateNightBean{" +
|
"exam=" + exam +
|
", question=" + FileUtil.ListToString(question) +
|
'}';
|
}
|
}
|