feature/cierres #30

Merged
aldarien merged 460 commits from feature/cierres into develop 2025-09-11 15:16:17 -03:00
311 changed files with 754 additions and 12531 deletions
Showing only changes of commit ea8f483dd5 - Show all commits

View File

@ -2,8 +2,10 @@
namespace Incoviba\Repository;
use DateTimeInterface;
use DateTimeImmutable;
use Incoviba\Common\Define;
use Incoviba\Common\Ideal;
use Incoviba\Common\Ideal\Repository;
use Incoviba\Common\Implement;
use Incoviba\Model;
@ -13,6 +15,19 @@ class UF extends Ideal\Repository
{
return 'uf';
}
protected function getIndex(Define\Model $model): string
{
return 'fecha';
}
protected function setIndex(Define\Model &$model, mixed $value): Repository
{
$model->fecha = new DateTimeImmutable($value);
return $this;
}
protected function getKey(): string
{
return 'fecha';
}
public function create(?array $data = null): Model\UF
{