<?php

namespace Modules\Notification\app\Http\Resources;

use Illuminate\Http\Resources\Json\JsonResource;

class NotificationResource extends JsonResource
{
    /**
     * Transform the resource into an array.
     */
    public function toArray($request): array
    {
        return [
            'id' => $this->id,
            'reference' => $this->reference,
            'model_id' => $this->model_id,
            'model_name' => $this->model_name,
            'message' => $this->message,
            'status' => $this->status,
            ];
    }
}
