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