<?php
/**
 * Created by PhpStorm.
 * User: tandunzhao
 * Date: 2017/12/26
 * Time: 下午5:37
 */

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


class BusinessChannelDataTransformer
{
    public function transform($item)
    {
        return [
            'distribution_manages_id' => $item->distribution_channel_id,
            'distribution_manages_nickname' => $item->distribution_channel_name,
            'service_name' => $item->service_name,
            'subscribe_day_maximum' => $item->subscribe_day_maximum,
            'subscribe_top_num' => $item->subscribe_top_num,
            'day_fans_num' => $item->day_fans_num,
            'day_total_fans_num' => $item->day_total_fans_num,
        ];
    }
}