<?php

namespace App\Http\Controllers\Wap\Book\Transformers;
use Hashids;
class RedBookChapterListTransformer
{

    public function transform($chapter){
        return [
            'bid'       =>  $chapter->red_bid,
            //'bid_no_hash'       =>  ($chapter->bid),
            'chapter_id'       =>  $chapter->id,
            'chapter_name'   =>  $chapter->name,
            'chapter_sequence'   =>  $chapter->sequence,

        ];
    }
}