package com.bcxin.Infrastructures.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * description: 数据字典工具类
 * author: linchunpeng
 * date:  2023-05-08 13:46
 */
public class DictUtil {

    /**
     * description: 组装字典key-value
     * author: linchunpeng
     * date:  2023-05-08 13:47
     */
    public static Map<String, String> getDictMap(String value, String label) {
        Map<String, String> map = new HashMap<>();
        map.put("value", value);
        map.put("label", label);
        return map;
    }

}
