namespace TakeoutSaaS.Domain.Deliveries.Enums;

/// <summary>
/// 配送状态。
/// </summary>
public enum DeliveryStatus
{
    /// <summary>
    /// 待接单。
    /// </summary>
    Pending = 0,

    /// <summary>
    /// 骑手已接单。
    /// </summary>
    Accepted = 1,

    /// <summary>
    /// 正在取餐。
    /// </summary>
    PickingUp = 2,

    /// <summary>
    /// 配送途中。
    /// </summary>
    Delivering = 3,

    /// <summary>
    /// 已送达完成。
    /// </summary>
    Completed = 4,

    /// <summary>
    /// 被取消。
    /// </summary>
    Cancelled = 5,

    /// <summary>
    /// 配送失败。
    /// </summary>
    Failed = 6
}
