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

/**
 * 店铺常量
 */
public final class ShopConstants
{
    private ShopConstants()
    {
    }

    public static final String STATUS_OPEN = "0";

    public static final String STATUS_CLOSED = "1";

    public static final String DEL_NORMAL = "0";

    public static final String DEL_DELETED = "2";

    public static final String AUDIT_PASS_NO = "0";

    public static final String AUDIT_PASS_YES = "1";

    public static final int DEFAULT_MAX_SUB_ADMIN = 5;

    public static final int MIN_SUB_ADMIN = 1;

    public static final int MAX_SUB_ADMIN = 99;

    public static final String MSG_SHOP_NAME_EXISTS = "店铺名称已存在";

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

    public static final String MSG_ACCOUNT_MISMATCH = "同一商户下店铺须使用相同经营账号";

    public static final String MSG_MERCHANT_CANNOT_OPEN = "请先完善该商户的经营与结算信息";

    public static final String MSG_NO_MERCHANT_ACCOUNT = "该商户尚未配置经营账号，请先在商户管理中完成入驻绑定";

    public static final String MSG_DELETE_GOODS = "请先下架或处理完商品后再删除店铺";

    public static final String MSG_DELETE_ORDER = "存在未完成订单，无法删除";

    public static final String MSG_BATCH_DELETE = "部分店铺不满足删除条件，操作已取消";

    public static final String MSG_CLOSE_CONFIRM = "停业后用户端将无法下单，是否继续？";

    public static final String MSG_LOGIN_CHANGE_CONFIRM = "将同步至该商户下全部店铺，是否继续？";

    public static final String MSG_SETTINGS_SAVED = "商品默认审核设置仅对此后新提交上架的商品生效";

    public static final String HEADER_SHOP_ID = "X-Shop-Id";

    public static final String ACCOUNT_TYPE_ADMIN = "ADMIN";

    public static final String ACCOUNT_TYPE_EMPLOYEE = "EMPLOYEE";

    public static final String MSG_NOT_SELLER_USER = "当前账号未绑定商户";

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

    public static final String MSG_SHOP_CONTEXT_INVALID = "当前店铺无效或不属于该商户";

    public static final String MSG_SHOP_SWITCH_FORBIDDEN = "员工账号不可切换店铺";

    /** 商家端当前所选店铺 Redis 前缀（按登录会话 token） */
    public static final String REDIS_SELLER_SHOP_CONTEXT_PREFIX = "seller:shop_context:";
}
