<?php
namespace Incoviba\Model\Contabilidad;

use Incoviba\Common\Ideal;
use Incoviba\Model\Venta;

class PagoCentroCosto extends Ideal\Model
{
    public Venta\Pago $pago;
    public CentroCosto $centroCosto;

    public function jsonSerialize(): mixed
    {
        return array_merge(parent::jsonSerialize(), [
            'pago' => $this->pago,
            'centro_costo' => $this->centroCosto
        ]);
    }
}
