<?php

namespace app\admin\model\shopro\agent;

use app\admin\model\shopro\Common;

class AgentCommission extends Common
{
    protected $name = 'shopro_agent_commission';

    // 佣金类型
    const TYPE_ORDER_COMMISSION = 'order_commission';  // 订单佣金
    const TYPE_REFUND           = 'refund';             // 退款
    const TYPE_MANUAL           = 'manual';             // 手动调整

    public function typeList()
    {
        return [
            self::TYPE_ORDER_COMMISSION => '订单佣金',
            self::TYPE_REFUND           => '退款',
            self::TYPE_MANUAL           => '手动调整',
        ];
    }
}
