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