This commit is contained in:
2022-06-13 21:36:52 -04:00
parent 3580738273
commit 42a97bb074
100 changed files with 2574 additions and 313 deletions

22
src/Mapper/Subsidio.php Normal file
View File

@ -0,0 +1,22 @@
<?php
namespace Incoviba\Mapper;
use Incoviba\Model\Model;
use Incoviba\Model\Venta\Subsidio as BaseModel;
class Subsidio extends Mapper
{
protected string $table = 'subsidio';
protected function load(bool|array $row, bool $lazy = false): BaseModel|bool
{
$model = new BaseModel();
$model->id = $row['id'];
return $model;
}
public function save(Model $model): bool
{
// TODO: Implement save() method.
}
}