package com.gkhy.exam.common.enums; /** * 考试试卷状态 */ public enum StudentAnswerPassEnum { ERROR(0, "错误"), CORRECT(1, "正确"), WAIT_REVIEW(2, "待批改"); private final Integer code; private final String info; StudentAnswerPassEnum(Integer code, String info) { this.code = code; this.info = info; } public Integer getCode() { return code; } public String getInfo() { return info; } }