<?php

namespace App\Http\Resources;

use Illuminate\Http\Resources\Json\JsonResource;

class CondominioItems extends JsonResource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function toArray($request)
    {
        return [
            'idCond'            => strval($this->idCond),
            'anoCond'           => $this->anoCond,
            'mesCond'           => $this->mesCond,
            'typeEmisionCond'   => $this->typeEmisionCond,
            'idECond'           => strval($this->idECond),
            'refCond'           => $this->refCond,
            'idTC'              => strval($this->idTC),
            'idTCond'           => strval($this->idTCond),
            'dateVenTasa'       => $this->dateVenTasa,
            'idDT'              => strval($this->idDT),
            'idE'               => strval($this->idE),
            'idT'               => strval($this->idT),
            'ctaDT'             => $this->ctaDT,
            'descripcionDT'     => $this->descripcionDT,
            'anoDT'             => $this->anoDT,
            'mesDT'             => $this->mesDT,
            'typeDT'            => $this->typeDT,
            'dhDT'              => $this->dhDT,
            'montoDT'           => $this->montoDT,
            'idMoneda'          => $this->idMoneda,
        ];
    }
}
