<?php
namespace Incoviba\Model\Proyecto\Broker;

use Incoviba\Common\Ideal;
use Incoviba\Model\Direccion;
use Incoviba\Model\Proyecto\Broker;

class Contact extends Ideal\Model
{
    public string $name;
    public ?string $email = null;
    public ?string $phone = null;
    public ?Direccion $address = null;

    protected function jsonComplement(): array
    {
        return [
            'name' => $this->name,
            'email' => $this->email,
            'phone' => $this->phone,
            'address' => $this->address
        ];
    }
}
