<?php
/*
 * @Descripttion:
 * @version:
 * @Author: kangkang
 * @Date: 2020-10-22 15:35:49
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2020-11-20 17:58:33
 */
namespace enum\order;

class ProductOrder
{
    //支付方式
    public static $ScoreName = [
        10 => '余额',
        70 => '微信',
        100 => '支付宝',
    ];

    public static $Balance = 10;
    public static $Wechat = 70;
    public static $Ali = 100;

    //付款状态
    public static $OrderState = [
        10 => '待付款',
        20 => '已付款',
        30 => '申请退款',
        40 => '人工退款',
        50 => '自动退款',
        80 => '超时关闭',
        90 => '订单完成',
    ];

    public static $NoPay = 10;
    public static $PayOk = 20;
    public static $RequestRefund = 30;
    public static $UserRefundOver = 40;
    public static $AutoRefundOver = 50;
    public static $TimeOutClose = 80;
    public static $Complete = 90;

    //付款完成
    public static $PayComplete = [20,90];
    //账单退款
    public static $Refunds = [30,40,50];
    //统计分析用到的状态
    public static $fenxi = [20,40,50,90];

    //订单类型
    public static $OrderType = [
        1 => '新开',
        2 => '批量新开',
        3 => '续费',
        4 => '批量续费',
        5 => '退款',
    ];
    public static $New = 1;
    public static $News = 2;
    public static $AgainBuy = 3;
    public static $AgainBuys = 4;
    public static $Refund = 5;
    
}
