package com.bizzan.bitrade.constant;

import com.bizzan.bitrade.core.BaseEnum;
import com.fasterxml.jackson.annotation.JsonValue;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * @author 
 * @description 会员等级
 * @date 2019/12/25 17:03
 */
@AllArgsConstructor
@Getter
public enum MemberLevelEnum implements BaseEnum{
    GENERAL( "普通"),
    REALNAME("实名"),
    IDENTIFICATION("认证商家");

    @Setter
    private String cnName;

    @Override
    @JsonValue
    public int getOrdinal(){
        return this.ordinal();
    }


}
