27 lines
355 B
Java
27 lines
355 B
Java
package com.cnbm.admin.enums;
|
|
|
|
public enum LoginStatusEnum {
|
|
/**
|
|
* 失败
|
|
*/
|
|
FAIL(0),
|
|
/**
|
|
* 成功
|
|
*/
|
|
SUCCESS(1),
|
|
/**
|
|
* 账号已锁定
|
|
*/
|
|
LOCK(2);
|
|
|
|
private int value;
|
|
|
|
LoginStatusEnum(int value) {
|
|
this.value = value;
|
|
}
|
|
|
|
public int value() {
|
|
return this.value;
|
|
}
|
|
}
|