package com.cool.store.constants;

/**
 * @author zhangchenbiao
 * @FileName: CommonConstatns
 * @Description:
 * @date 2023-05-18 14:47
 */
public class CommonConstants {

    public static final String REQUEST_ID = "requestId";

    public static final String MESSAGE_ID = "messageId";

    public static final String ACCESS_TOKEN_KEY = "access_token:{0}";

    public static final String REFRESH_TOKEN_KEY = "refresh_token";

    public static final String DEFAULT_AVATAR = "DefaultAvatar";

    public static final int ACCESS_TOKEN_EXPIRE = 14400;

    public static final int REFRESH_TOKEN_EXPIRE = 60*60*24*30;

    public static final int THREE_DAY_SECONDS = 60*60*24*3;

    public static final int NORMAL_LOCK_TIMES = 60 * 1000;

    /**
     * 企业开通锁存活时间
     */
    public static final int ENTERPRISE_OPEN_LOCK_TIMES = 4 * 60 * 60 * 1000;

    public static final int ONE_DAY_SECONDS = 24 * 60 * 60;

    /**
     * 系统用户id
     */
    public static final String SYSTEM_USER_ID = "system";
    public static final String COMMA = ",";
    public static final String MOSAICS = "#";

    public static final String WX_APP_SECRET_KEY = "wx_app_secret_key:{0}";
    public static final String MINI_PROGRAM_SESSION_KEY = "mini_program_session_key:{0}:{1}";

    public static final String ROOT_DEPT_ID_STR = "1";

    public static final Integer DEAL_RECORD_MAX_SIZE = 1000;

    /**
     * 未分组区域id
     */
    public static final Long UNGROUPED_DEPT_ID = -2L;

    /**
     * 未分组区域名称
     */
    public static final String UNGROUPED_DEPT_NAME = "默认分组";

    /**
     * 拼接符 [
     */
    public static final String SQUAREBRACKETSLEFT = "[";

    /**
     * 拼接符 ]
     */
    public static final String SQUAREBRACKETSRIGHT = "]";

    public static final String PATH_SPILT = "/";
    public static final String ROOT_REGION_PATH = "/1/";

    /**
     * rocketmq 消息最大重试次数
     */
    public static final String MaxReconsumeTimes = "2";

    public static final String ZERO_STR = "0";
    public static final String DELETE_DEPT_ID = "-1";
    public static final String AI_USER_ID = "a100000001";

    public static final long ZERO_LONG = 0L;

    public static final int ZERO = 0;
    public static final int ONE = 1;
    public static final int TWO = 2;
    public static final int THREE = 3;
    public static final int FOUR = 4;
    public static final int FIVE = 5;
    public static final int SIX = 6;
    public static final int SEVEN = 7;
    public static final int EIGHT = 8;
    public static final int NINE = 9;
    public static final int TEN = 10;
    public static final int TWENTY = 20;
    public static final int THIRTY = 30;
    public static final int FORTY = 40;
    public static final int FIFTY = 50;
    public static final int SIXTY = 60;
    public static final int SEVENTY = 70;
    public static final int EIGHTY = 80;
    public static final int NINETY = 90;
    public static final int HUNDRED = 100;


    public static final String ONE_STR = "1";
    public static final String TWO_STR = "2";
    public static final String THREE_STR = "3";
    public static final String FOUR_STR = "4";
    public static final String FIVE_STR = "5";
    public static final String SIX_STR = "6";
    public static final String SEVEN_STR = "7";
    public static final String EIGHT_STR = "8";
    public static final String NINE_STR = "9";
    public static final String TEN_STR = "10";

    public static  final  String FOLLOW = "follow";
    public static final  String PENDING = "pending";

    public static  final String ALLOCATION = "allocation";

    public static  final  String TRANSFER = "transfer";

    // 短信模版-意向申请审批通过
    public static  final  String SMS_TEMPLATE_CODE_INTENT = "SMS_461990823";
    // 短信模版-资质审核通过
    public static  final  String SMS_TEMPLATE_CODE_VERIFY = "SMS_461980876";

}
