<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class OrderPrice extends Model
{
	use HasDateTimeFormatter;
    

    protected $table = 'order_price';

    protected $primaryKey = 'price_id';

    public $timestamps = false;


    public static $PRICE_TYPE_LIST=[
        "活动优惠"=>-8,
        "支付优惠"=>-7,
        "运费优惠"=>-6,
        "尾款减款"=>-5,
        "优惠券优惠金额"=>-4,
        "尾款"=>-3,
        "预付款"=>-2,
        "付款"=>-1,
        "货款"=>1,
        "附加费"=>2,
        "运费"=>3,
        "退款"=>4,
        "支付手续费"=>5,
    ];

}