<?php

namespace App\Http\Controllers\Wechat\OfficialAccount\Transformers;

class WechatPublicTemplatesTransformer
{
    public function transform($wechatPublicTemplates){
        return [
            'common_template_id'       =>  $wechatPublicTemplates->common_template_id,
            'title'       =>  $wechatPublicTemplates->title,
            'primary_industry'       =>  $wechatPublicTemplates->primary_industry,
            'deputy_industry'       =>  $wechatPublicTemplates->deputy_industry,
            'content'       =>  $wechatPublicTemplates->content,
            'example'       =>  $wechatPublicTemplates->example,
            
        ];
    }
}