11 lines
567 B
PHP
11 lines
567 B
PHP
<?php
|
|
namespace App\Repositories\Order;
|
|
|
|
use App\Repositories\BaseRepositoryInterface;
|
|
|
|
interface OrderRepositoryInterface extends BaseRepositoryInterface{
|
|
public function filter(array $data = [],array $relationships = [],array $withCount = [],array $select = ['*'], bool $returnQuery = false);
|
|
public function findWithRelationships(int $id = 0, array $relationships = [],array $withCount = [], array $withSum = []);
|
|
public function updateBy(string $key = '',string|int $value = '',array $data =[]);
|
|
public function findByOrderNum(string $orderNum);
|
|
} |