1
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
package com.bestsch.classicalchinese.enums;
|
||||
|
||||
public enum AnswerStatus {
|
||||
//1-正确 2-错误 0-默认 3-半对
|
||||
// I(1,"错误");
|
||||
|
||||
O(0,"默认"),
|
||||
I(1,"正确"),
|
||||
II(2,"错误"),
|
||||
III(3,"半对");
|
||||
|
||||
|
||||
private int id;
|
||||
private String name;
|
||||
|
||||
AnswerStatus(int id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user