This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package com.yanzhen.utils; // 定义包名
import java.util.HashMap; // 导入HashMap类
import java.util.Map; // 导入Map接口
public class Constant { // 定义公共类Constant
//用户类型
public static Map<Integer,String> typeString = new HashMap<>(); // 定义一个静态的Map,用于存储用户类型和对应的字符串描述
static { // 静态初始化块
typeString.put(0,"管理员"); // 将用户类型0映射为"管理员"
typeString.put(1,"宿管员"); // 将用户类型1映射为"宿管员"
}