Commit a34a3577 by 陶光胜

授权常量

parent f6ca2da8
package com.gic.auth.constant;
public enum AuthModeEnum {
YES(1, "授权"),
NO(2, "不授权");
private Integer code;
private String message;
AuthModeEnum(Integer code, String message){
this.code = code;
this.message = message;
}
public Integer getCode() {
return code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment