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

/**
 * 会员常量
 */
public final class MemberConstants
{
    private MemberConstants()
    {
    }

    public static final String DEL_FLAG_NORMAL = "0";

    public static final String DEL_FLAG_DELETED = "2";

    /** 启用 */
    public static final String STATUS_ENABLED = "0";

    /** 禁用 */
    public static final String STATUS_DISABLED = "1";

    public static final String DEFAULT_YES = "1";

    public static final String DEFAULT_NO = "0";

    /** 订单已完成（O11 统计口径） */
    public static final String ORDER_STATUS_COMPLETED = "3";

    public static final String DICT_MEMBER_STATUS = "biz_member_status";

    public static final String DICT_MEMBER_LEVEL = "biz_member_level";

    /** C 端会员角色 role_key（权限字符 member） */
    public static final String MEMBER_ROLE_KEY = "member";

    public static final String REDIS_SMS_PREFIX = "member:sms:";

    public static final String REDIS_TOKEN_PREFIX = "member:token:";

    public static final int SMS_EXPIRE_MINUTES = 5;

    public static final int TOKEN_EXPIRE_DAYS = 7;
}
