UserStatusEnum.java 448 Bytes
package com.dituhui.pea.enums;

/**
 * 用户状态枚举 1:正常,0:冻结状态,2:删除
 * @author zl
 */
public enum UserStatusEnum {

    /**
     * 正常
     */
    NORMAL(1),

    /**
     * 冻结
     */
    SUSPEND(0),

    /**
     * 删除
     */
    DELETION(2);


    private int status;

    UserStatusEnum(int status) {
        this.status = status;
    }

    public int getStatus() {
        return status;
    }


}