<?php

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


class OfficialImgtextUrlsTransformer
{
    public function transform($officialImgtextUrls){
        return [
            'id'       =>  $officialImgtextUrls->id,
            'img_url'       =>  $officialImgtextUrls->img_url,
            'created_at'       =>  $officialImgtextUrls->created_at,
            'content_source_url'       =>  $officialImgtextUrls->content_source_url,
            'book_name'       =>  $officialImgtextUrls->book_name,
            'chapter_sequence'       =>  $officialImgtextUrls->chapter_sequence,
            'title'       =>  $officialImgtextUrls->title,
            'send_orders_id'       =>  $officialImgtextUrls->send_orders_id,
            'send_orders_name'       =>  $officialImgtextUrls->send_orders_name,
            'send_orders_url'       =>  $officialImgtextUrls->send_orders_url,
            // 'content'       =>  $officialImgtextUrls->content,
            // 'author'       =>  $officialImgtextUrls->author,
            // 'digest'       =>  $officialImgtextUrls->digest,
            // 'gzh_app_id'       =>  $officialImgtextUrls->gzh_app_id,
            // 'thumb_media_id'       =>  $officialImgtextUrls->thumb_media_id,
            // 'distribution_channel_id'       =>  $officialImgtextUrls->distribution_channel_id,
        ];
    }
}