yanghui
2022-10-28 230dba4f152e7d744b8e6c1124a94d21d2e59018
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/enums/UserStatus.java
New file
@@ -0,0 +1,22 @@
package com.panzhihua.common.enums;
import lombok.Getter;
/**
 * 用户状态
 *
 * @author huanghongfa
 */
@Getter
public enum UserStatus {
    OK("0", "正常"), DISABLE("1", "停用"), DELETED("2", "删除");
    private final String code;
    private final String info;
    UserStatus(String code, String info) {
        this.code = code;
        this.info = info;
    }
}