19 lines
378 B
PHP
19 lines
378 B
PHP
<?php
|
|
namespace Incoviba\Model;
|
|
|
|
use Incoviba\Common\Ideal\Model;
|
|
|
|
class Comuna extends Model
|
|
{
|
|
public string $descripcion;
|
|
public Provincia $provincia;
|
|
|
|
public function jsonSerialize(): mixed
|
|
{
|
|
return array_merge(parent::jsonSerialize(), [
|
|
'descripcion' => $this->descripcion,
|
|
'provincia' => $this->provincia
|
|
]);
|
|
}
|
|
}
|