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

/**
 * 订单常量
 */
public final class OrderConstants
{
    private OrderConstants()
    {
    }

    public static final String STATUS_PENDING_PAY = "0";

    public static final String STATUS_PENDING_SHIP = "1";

    public static final String STATUS_SHIPPED = "2";

    public static final String STATUS_COMPLETED = "3";

    public static final String STATUS_CLOSED = "4";

    public static final String STATUS_DELETED = "5";

    public static final String DEL_NORMAL = "0";

    public static final String PAY_UNPAID = "0";

    public static final String PAY_PAID = "1";

    public static final String DELIVERY_LOGISTICS = "1";

    public static final String DELIVERY_MERCHANT = "2";

    public static final String TRACE_SHIPPED = "1";

    public static final String TRACE_TRANSIT = "2";

    public static final String TRACE_DELIVERED = "3";

    public static final String TRACE_CONFIRM = "4";

    public static final String DICT_ORDER_STATUS = "biz_order_status";

    public static final String DICT_DELIVERY_TYPE = "biz_delivery_type";

    public static final String DICT_TRACE_TYPE = "biz_order_trace_type";

    public static final String DICT_CLOSE_TYPE = "biz_order_close_type";

    public static final String MSG_NOT_FOUND = "订单不存在或无权访问";

    public static final String MSG_INVALID_SHIP_TAB = "页签参数无效";

    public static final String MSG_CANNOT_SHIP = "当前状态不可发货";

    public static final String MSG_SHIP_DELIVERY_SETTING_REQUIRED = "请先在配送设置中完善发货人及发货地址";

    public static final String MSG_CANNOT_LOGISTICS = "当前状态不可更新物流";

    public static final String MSG_CANNOT_DELIVERED = "当前状态不可登记送达";

    public static final String MSG_CANNOT_DELETE = "仅已关闭订单可删除";

    public static final String MSG_SHIP_LOGISTICS_REQUIRED = "请填写物流公司与快递单号";

    public static final String MSG_SHIP_MERCHANT_REQUIRED = "请填写车辆号码、配送员姓名与手机号";

    public static final String MSG_TRACE_CONTENT_REQUIRED = "请填写物流节点描述";

    public static final String MSG_TRACE_TIME_REQUIRED = "请填写节点时间";

    public static final String CLOSE_TYPE_TIMEOUT = "1";

    public static final String CLOSE_TYPE_BUYER_CANCEL = "2";

    /** 支付失败/退款关闭（含售后完结） */
    public static final String CLOSE_TYPE_REFUND = "4";

    public static final String PAY_TYPE_WECHAT = "1";

    public static final String CONFIG_PAY_TIMEOUT_MINUTES = "order.pay.timeout.minutes";

    public static final int DEFAULT_PAY_TIMEOUT_MINUTES = 1440;

    public static final String MSG_PENDING_PAY_ONLY = "当前订单不可支付";

    public static final String MSG_PAY_EXPIRED = "订单已超时，请重新下单";

    public static final String MSG_STOCK_DEDUCT_FAILED = "库存不足，支付失败";
}
