<?php
/**
 * Created by PhpStorm.
 * User: hp
 * Date: 2017/11/21
 * Time: 11:17
 */

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


/**
 * Class DocumentCoversTransformer  文案封面
 * @package App\Modules\Promotion\Transformers
 */
class DocumentCoversTransformer
{
    public function transform($documentCoversItem)
    {
        return [
            'id' => $documentCoversItem->id,
            'origin_cover' => $documentCoversItem->link
        ];
    }
}