package com.sqx.scheduler.config;

/**
 * 锁
 *
 * @author : codingliang
 * @date : 2024-09-09 10:08
 */
public interface SchedulerLock {

    /**
     * 预约订单自动接单锁
     */
    String ORDER_OF_RESERVATION_AUTO_RECEIVING_LOCK = "wm:lock:order:reservation:auto-receiving";

    /**
     * 制作中订单自动完成锁
     */
    String ORDER_OF_PROD_AUTO_COMPLETED_LOCK = "wm:lock:order:make:auto-prod-completed";

    /**
     * 待收货订单自动完成锁
     */
    String ORDER_OF_WAIT_DELIVERY_AUTO_FINISH_LOCK = "wm:lock:order:wait-delivery:auto-finish";

    /**
     * 用户优惠券自动过期锁
     */
    String COUPON_OF_USER_EXPIRATION_LOCK = "wm:lock:coupon:exp";

    /**
     * 跑腿订单自动推送锁
     */
    String INDENT_AUTO_PUSH_LOCK = "wm:lock:indent:push";

    /**
     * 导出锁
     */
    String EXPORT_LOCK = "export:lock";

    /**
     * 订单超时锁
     */
    String TIME_OUT_LOCK = "wm:time:out:lock";

    /**
     * 用户优惠券自动过期锁
     */
    String INTEGRAL_OF_USER_EXPIRATION_LOCK = "wm:lock:integral:exp";
}
