<?php

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

class ChannelQuestionNaireTransformer
{
    public function transform($item)
    {
        return [
            'business_name' => $item->business_name,
            'company_count' => $item->company_count,
            'un_naire_company_count' => $item->un_naire_company_count,
            'average_grade_pre_month' => $item->average_grade_pre_month,
            'total_average_grade' => $item->total_average_grade
        ];
    }
}