Limpieza de input de valor y filtro de datos a nivel Repo
This commit is contained in:
19
app/src/Model/Venta/Unidad/Prorrateo.php
Normal file
19
app/src/Model/Venta/Unidad/Prorrateo.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
namespace Incoviba\Model\Venta\Unidad;
|
||||
|
||||
use Incoviba\Common\Ideal;
|
||||
use Incoviba\Model;
|
||||
|
||||
class Prorrateo extends Ideal\Model
|
||||
{
|
||||
public Model\Venta\Unidad $unidad;
|
||||
public float $prorrateo;
|
||||
|
||||
public function jsonSerialize(): mixed
|
||||
{
|
||||
return [
|
||||
'unidad_id' => $this->unidad->id,
|
||||
'prorrateo' => $this->prorrateo,
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user