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

/**
 * 员工管理常量
 */
public final class MerchantEmployeeConstants
{
    private MerchantEmployeeConstants()
    {
    }

    public static final String ACCOUNT_TYPE_ADMIN = "ADMIN";

    public static final String ACCOUNT_TYPE_EMPLOYEE = "EMPLOYEE";

    public static final String STATUS_NORMAL = "0";

    public static final String STATUS_DISABLED = "1";

    public static final String FORBIDDEN_ROLE_KEY_ADMIN = "admin";

    public static final String FORBIDDEN_ROLE_KEY_MERCHANT = "merchant";

    public static final Long DEFAULT_DEPT_ID = 103L;

    public static final int MIN_PASSWORD_LENGTH = 6;

    public static final String MSG_MERCHANT_ADMIN_ONLY = "仅商户经营账号可管理员工";

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

    public static final String MSG_EMPLOYEE_NAME_REQUIRED = "请输入员工名称";

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

    public static final String MSG_MOBILE_INVALID = "手机号须为11位";

    public static final String MSG_MOBILE_EXISTS = "该手机号已被使用";

    public static final String MSG_EMAIL_INVALID = "邮箱格式不正确";

    public static final String MSG_ROLE_REQUIRED = "请至少选择一个角色";

    public static final String MSG_ROLE_INVALID = "只能选择当前店铺的角色";

    public static final String MSG_SHOP_CONTEXT_REQUIRED = "请先选择当前店铺";

    public static final String MSG_CANNOT_OPERATE_ADMIN = "经营账号请在账号设置或平台店铺账号管理中维护";

    public static final String MSG_SHOP_INVALID = "所选店铺无效或不属于当前商户";

    public static final String MSG_QUOTA_EXCEEDED = "子管理员人数已达上限（%d），请联系平台调整店铺设置";

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

    public static final String MSG_PASSWORD_MISMATCH = "两次输入的密码不一致";

    public static final String MSG_PASSWORD_SHORT = "密码长度不能少于6位";
}
