package com.ruoyi.web.modules.account.constant;

/**
 * 平台管理员列表常量
 */
public final class PlatformAdminConstants
{
    private PlatformAdminConstants()
    {
    }

    /** 超级管理员 role_key */
    public static final String ADMIN_ROLE_KEY = "admin";

    /** 商户经营 role_key（草稿 §5：与 admin 同为列表/表单范围） */
    public static final String MERCHANT_ROLE_KEY = "merchant";

    public static final String[] DEFAULT_LIST_ROLE_KEYS = { ADMIN_ROLE_KEY, MERCHANT_ROLE_KEY };

    public static final String[] DEFAULT_ASSIGNABLE_ROLE_KEYS = { ADMIN_ROLE_KEY, MERCHANT_ROLE_KEY };

    public static final long DEFAULT_DEPT_ID = 100L;

    public static final String STATUS_NORMAL = "0";

    public static final String MSG_NOT_FOUND = "管理员不存在";

    public static final String MSG_SELECT_ROLE = "请选择角色";

    public static final String MSG_INVALID_ROLE = "所选角色无效";

    public static final String MSG_USERNAME_EXISTS = "登录名已存在";

    public static final String MSG_PHONE_EXISTS = "手机号已存在";

    public static final String MSG_CANNOT_DELETE_SELF = "不能删除当前用户";

    public static final String MSG_CANNOT_DELETE_BUILTIN_ADMIN = "不允许操作超级管理员用户";

    public static final String MSG_KEEP_ONE_ADMIN = "至少保留一名超级管理员";

    public static final String MSG_MERCHANT_ACCOUNT_BOUND = "该账号已绑定商户经营账号";

    public static final String MSG_CANNOT_REMOVE_ALL_PLATFORM_ROLES = "不可移除全部平台类角色";

    public static final String MSG_ADMIN_NAME_REQUIRED = "请输入管理员名称";

    public static final String MSG_USERNAME_REQUIRED = "请输入登录名";

    public static final String MSG_PHONE_REQUIRED = "请输入手机号";

    public static final String MSG_PASSWORD_REQUIRED = "请输入密码";

    public static final String MSG_PHONE_INVALID = "手机号格式不正确";
}
