<?php

namespace App\Http\Resources;

use Illuminate\Http\Resources\Json\JsonResource;


class CuotaEntidad extends JsonResource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function toArray($request)
    {
        return [
            'chk'               => true,
            'ano'               => $this->ano,
            'mes'               => $this->mes,
            'typeEmisionCond'   => $this->typeEmisionCond,
            'montoTotal'        => $this->montoTotal,
            'idCond'            => $this->idCond,
            'tcValorCond'       => $this->tcValorCond,
            'tcDateCond'        => $this->tcDateCond,
            'cuotas'            => $this->cuotas,
            'idNP'              => $this->idNP,
        ];
    }
}
