Broker Contact

This commit is contained in:
Juan Pablo Vial
2025-03-07 17:11:59 -03:00
parent 2bc30ab9e8
commit 5055d2703c
12 changed files with 452 additions and 124 deletions

View File

@ -0,0 +1,24 @@
<?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
];
}
}