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/Credito.php Normal file
View File

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