<?php

namespace Modules\ServiceHelper\app\Http\Resources;

use Illuminate\Http\Resources\Json\JsonResource;

class DiscontResource extends JsonResource
{
    /**
     * Transform the resource into an array.
     */
    public function toArray($request): array
    {
        return [
            'id' => $this->id,          
            'value' => $this->value,
            'badge' => $this->badge,
            'status' => $this->status,
            'created_at'=> $this->created_at,

        ];
    }
}
