package com.fufan.mtsaas.constant;

public class RedisKeyConstant {

    public static final String SMS_VERIFICATION_CODE_PREFIX = "verify";
    public static final String USER_TOKEN = "user:token";
    public static final String USER_MODIFY_LOCK = "user:info";

    // 用户登录失败次数
    public static final String USER_LOGIN_FAIL = "user:login:fail";
    // 用户登录锁定时间
    public static final String USER_LOGIN_LOCK_TIME = "user:login:lock:time";

    // 订单打印总数量
    public static final String ORDER_PRINT_AMOUNT = "order:print:amount";
    // 订单已打印
    public static final String ORDER_PRINTED_AMOUNT = "order:printed:amount";
    // 订单已打印 一级
    public static final String ORDER_PRINTED_AMOUNT_ONE = "order:printed:amount:one";

    // 订单已打印 二级
    public static final String ORDER_PRINTED_AMOUNT_TWO = "order:printed:amount:two";

    // 订单已打印 三级
    public static final String ORDER_PRINTED_AMOUNT_THREE = "order:printed:amount:three";

    // 订单单次打印计数key
    public static final String ORDER_ON_PRINT = "order:on:print";

    // 订单锁
    public static final String ORDER_LOCK = "order:lock";

    // 上传数量
    public static final String UPLOAD_AMOUNT = "upload:amount:";

    // 打印数量
    public static final String PRINT_AMOUNT = "print:amount:";

    // 补打数量
    public static final String REPRINT_AMOUNT = "reprint:amount:";

    // 项目编号生成规则
    public static final String ADD_PROJECT_NO = "tech:projectNo:add";
}
