21 lines
508 B
PHP
21 lines
508 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\Persona $representative = null;
|
|
public ?string $legalName = null;
|
|
|
|
protected function jsonComplement(): array
|
|
{
|
|
return [
|
|
'broker_rut' => $this->broker->rut,
|
|
'representative_rut' => $this->representative?->rut,
|
|
'legal_name' => $this->legalName
|
|
];
|
|
}
|
|
} |