| | |
| | | public enum ExamPaperTypeEnum { |
| | | |
| | | Fixed(1, "固定试卷"), |
| | | TimeLimit(4, "时段试卷"), |
| | | Task(6, "任务试卷"); |
| | | Random(2, "随机试卷"), |
| | | RandomOrder(3, "随序试卷"); |
| | | |
| | | int code; |
| | | String name; |
| | | private final Integer code; |
| | | private final String name; |
| | | |
| | | ExamPaperTypeEnum(int code, String name) { |
| | | ExamPaperTypeEnum(Integer code, String name) { |
| | | this.code = code; |
| | | this.name = name; |
| | | } |
| | |
| | | } |
| | | |
| | | |
| | | public int getCode() { |
| | | public Integer getCode() { |
| | | return code; |
| | | } |
| | | |
| | | public void setCode(int code) { |
| | | this.code = code; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | |
| | | } |