22 lines
515 B
PHP
22 lines
515 B
PHP
<?php
|
|
namespace Incoviba\Model\Proyecto\Broker;
|
|
|
|
use Incoviba\Common;
|
|
use Incoviba\Model;
|
|
|
|
class Data extends Common\Ideal\Model
|
|
{
|
|
public Model\Proyecto\Broker $broker;
|
|
public ?Model\Proyecto\Broker\Contact $representative = null;
|
|
public ?string $legalName = null;
|
|
|
|
protected function jsonComplement(): array
|
|
{
|
|
return [
|
|
'broker_rut' => $this->broker->rut,
|
|
'representative' => $this->representative,
|
|
'legal_name' => $this->legalName
|
|
];
|
|
}
|
|
}
|