File "ModelInterface.php"

Full Path: /var/www/html/back/app/Repositories/Model/Interfaces/ModelInterface.php
File size: 528 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace App\Repositories\Model\Interfaces;

use Illuminate\Support\Collection;

interface ModelInterface
{

    public function getAccounts(int $modelId, bool $archive);

    public function getCashAccounts(int $modelId, bool $isCash);

    public function getCounterparties(int $modelId, bool $archive);

    public function getOrganizations(int $modelId, bool $archive);

    public function getModel(int $modelId);

    public function getAll(): Collection;

    public function update(int $modelId, array $data);
}