2023-07-24 20:55:26 -04:00
|
|
|
<?php
|
|
|
|
namespace Incoviba\Model;
|
|
|
|
|
2023-07-28 16:22:20 -04:00
|
|
|
use Incoviba\Common\Ideal;
|
2023-07-24 20:55:26 -04:00
|
|
|
|
2023-07-28 16:22:20 -04:00
|
|
|
class Proyecto extends Ideal\Model
|
2023-07-24 20:55:26 -04:00
|
|
|
{
|
|
|
|
public Inmobiliaria $inmobiliaria;
|
|
|
|
public string $descripcion;
|
|
|
|
public Direccion $direccion;
|
2023-07-28 16:22:20 -04:00
|
|
|
public Proyecto\Terreno $terreno;
|
|
|
|
public Proyecto\Superficie $superficie;
|
2023-07-24 20:55:26 -04:00
|
|
|
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
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
}
|