Auth, Login, Home, Venta->Listados->Precios
This commit is contained in:
25
app/src/Model/Venta/Unidad.php
Normal file
25
app/src/Model/Venta/Unidad.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
namespace Incoviba\Model\Venta;
|
||||
|
||||
use Incoviba\Common\Ideal;
|
||||
use Incoviba\Model;
|
||||
|
||||
class Unidad extends Ideal\Model
|
||||
{
|
||||
public ?string $subtipo = '';
|
||||
public int $piso;
|
||||
public string $descripcion;
|
||||
public ?string $orientacion = '';
|
||||
public Model\Proyecto\ProyectoTipoUnidad $proyectoTipoUnidad;
|
||||
|
||||
public function jsonSerialize(): mixed
|
||||
{
|
||||
return array_merge(parent::jsonSerialize(), [
|
||||
'subtipo' => $this->subtipo,
|
||||
'piso' => $this->piso,
|
||||
'descripcion' => $this->descripcion,
|
||||
'orientacion' => $this->orientacion,
|
||||
'proyecto_tipo_unidad' => $this->proyectoTipoUnidad
|
||||
]);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user