<?php
/**
 * Created by PhpStorm.
 * User: tandunzhao
 * Date: 2018/6/21
 * Time: 上午9:38
 */

namespace App\Http\Controllers\Manage\Trade\Transformers;


class OrderDayStatOutPayTransformer
{
    public function transform($obj)
    {
        return [
            'distribution_channel_id' => $obj->distribution_channel_id,
            'distribution_channel_name' => $obj->distribution_channel_name,
            'month' => $obj->month,
            'date' => $obj->date,
            'channel_merchant_recharge_amount' => (int)$obj->channel_merchant_recharge_amount,
            'pay_merchant_id' => (int)$obj->pay_merchant_id,
        ];
    }
}