Actualizacion de Repos
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
namespace Incoviba\Repository\Proyecto;
|
||||
|
||||
use Incoviba\Common;
|
||||
use Incoviba\Common\Define;
|
||||
use Incoviba\Repository;
|
||||
use Incoviba\Model;
|
||||
|
||||
@ -11,6 +12,14 @@ class Broker extends Common\Ideal\Repository
|
||||
{
|
||||
return 'brokers';
|
||||
}
|
||||
protected function getIndex(Define\Model $model): mixed
|
||||
{
|
||||
return $model->rut;
|
||||
}
|
||||
protected function getKey(): string
|
||||
{
|
||||
return 'rut';
|
||||
}
|
||||
|
||||
public function create(?array $data = null): Model\Proyecto\Broker
|
||||
{
|
||||
|
Reference in New Issue
Block a user