<?php
namespace Incoviba\Model\Inmobiliaria\Proveedor;

use Incoviba\Common\Ideal;
use Incoviba\Model\Direccion;
use Incoviba\Model\Inmobiliaria\Proveedor;

class Datos extends Ideal\Model
{
    public Proveedor $proveedor;
    public ?Direccion $direccion;
    public ?int $telefono;
    public ?string $giro;

    public function jsonSerialize(): mixed
    {
        return [
            'proveedor' => $this->proveedor,
            'direccion' => $this->direccion,
            'telefono' => $this->telefono,
            'giro' => $this->giro
        ];
    }
}
