package com.lightinit.hsdataportal.dictionary;

import java.util.LinkedHashMap;

public class DicUserAuthState {

    public  static final String PENDING="已认证";
    public  static final String APPROVED="未认证";
    public  static final String WAITING="待认证";
    public  static final String FAIL="认证失败";
    private static DicUserAuthState instance=null;
    private static LinkedHashMap<String,String> dicMap=null;
    private DicUserAuthState(){
        dicMap=new LinkedHashMap<String, String>();
        dicMap.put(PENDING,PENDING);
        dicMap.put(APPROVED,APPROVED);
        dicMap.put(WAITING,WAITING);
        dicMap.put(FAIL,FAIL);
    }
    public static DicUserAuthState getInstance(){
        if(instance==null){
            instance=new DicUserAuthState();
        }
        return instance;
    }

    public  LinkedHashMap<String, String> getDicMap() {
        return (LinkedHashMap<String, String>) dicMap.clone();
    }
}
