<?php

namespace App\Http\Controllers\Manage\Notice\Transformers;

class NoticeTypeTransformer
{
    public function transform($noticeType){
        return [
            'id'       =>  $noticeType->id,
            'name'   =>  $noticeType->name,
        ];
    }
}