Conecciones de Promociones
This commit is contained in:
@ -43,6 +43,15 @@ class ProyectoTipoUnidad extends Ideal\Model
|
||||
return $this->abreviacion;
|
||||
}
|
||||
|
||||
protected array $unidades;
|
||||
public function unidades(): array
|
||||
{
|
||||
if (!isset($this->unidades)) {
|
||||
$this->unidades = $this->runFactory('unidades');
|
||||
}
|
||||
return $this->unidades;
|
||||
}
|
||||
|
||||
public function jsonSerialize(): mixed
|
||||
{
|
||||
return array_merge(parent::jsonSerialize(), [
|
||||
|
Reference in New Issue
Block a user