package com.gkhy.assess.common.enums; /** * 用户类型 * */ public enum UserTypeEnum { WORKER(0, "工作人员"), LEADER(1, "领导"); private final Integer code; private final String info; UserTypeEnum(Integer code, String info) { this.code = code; this.info = info; } public Integer getCode() { return code; } public String getInfo() { return info; } }