using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XPrintServer.Business.Enums
{
    /// <summary>
    /// 订单状态；1：未支付；2：已支付；3:生产中；4:已生产；5：已发货；6：用户已收到货 7：已完成；8：申请退款中；9：退款中；10：已退款；
    /// </summary>
    public enum OrderStatus : int
    {
        /// <summary>
        /// 初始化，没状态
        /// </summary>
        None = 0,
        /// <summary>
        /// 未支付
        /// </summary>
        Unpaid = 1,
        /// <summary>
        /// 已支付
        /// </summary>
        Paid = 2,
        /// <summary>
        /// 生产中
        /// </summary>
        InProduction = 3,
        /// <summary>
        /// 已生产
        /// </summary>
        ProductionFinish = 4,
        /// <summary>
        /// 已发货
        /// </summary>
        Shipped = 5,
        /// <summary>
        /// 已收到货
        /// </summary>
        GoodsReceived = 6,
        /// <summary>
        /// 已完成
        /// </summary>
        Finished = 7,
        /// <summary>
        /// 申请退款中
        /// </summary>
        RequestedRefund = 8,
        /// <summary>
        /// 退款中
        /// </summary>
        RefundInProgress = 9,
        /// <summary>
        /// 已退款
        /// </summary>
        Refund = 10
    }
}
