<?php

namespace App\Transformers;

use League\Fractal\TransformerAbstract;
use App\Models\GrantPond;

/**
 * Class GrantPondTransformer.
 *
 * @package namespace App\Transformers;
 */
class GrantPondTransformer extends TransformerAbstract
{
    /**
     * Transform the GrantPond entity.
     *
     * @param \App\Models\GrantPond $model
     *
     * @return array
     */
    public function transform(GrantPond $model)
    {
        return [
            'id'         => (int) $model->id,

            /* place your other model properties here */

            'created_at' => $model->created_at,
            'updated_at' => $model->updated_at
        ];
    }
}