<?php

namespace Modules\Shares\app\Http\Resources;

use Illuminate\Http\Resources\Json\JsonResource;

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