33 lines
911 B
PHP
33 lines
911 B
PHP
![]() |
<?php
|
||
|
namespace Incoviba\Model;
|
||
|
|
||
|
use Incoviba\Common\Ideal\Model;
|
||
|
use Incoviba\Model\Proyecto\Superficie;
|
||
|
use Incoviba\Model\Proyecto\Terreno;
|
||
|
|
||
|
class Proyecto extends Model
|
||
|
{
|
||
|
public Inmobiliaria $inmobiliaria;
|
||
|
public string $descripcion;
|
||
|
public Direccion $direccion;
|
||
|
public Terreno $terreno;
|
||
|
public Superficie $superficie;
|
||
|
public float $corredor;
|
||
|
public int $pisos;
|
||
|
public int $subterraneos;
|
||
|
|
||
|
public function jsonSerialize(): mixed
|
||
|
{
|
||
|
return array_merge(parent::jsonSerialize(), [
|
||
|
'inmobiliaria' => $this->inmobiliaria,
|
||
|
'descripcion' => $this->descripcion,
|
||
|
'direccion' => $this->direccion,
|
||
|
'terreno' => $this->terreno,
|
||
|
'superficie' => $this->superficie,
|
||
|
'corredor' => $this->corredor,
|
||
|
'pisos' => $this->pisos,
|
||
|
'subterraneos' => $this->subterraneos
|
||
|
]);
|
||
|
}
|
||
|
}
|