2024-09-11 06:47:15 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Modules\Stock\Repositories;
|
|
|
|
|
|
|
|
interface StockInterface
|
|
|
|
{
|
|
|
|
public function findAll();
|
|
|
|
public function getStockById($StockId);
|
|
|
|
public function getStockByEmail($email);
|
2024-09-17 10:49:40 +00:00
|
|
|
public function getStocksByProduct($productId);
|
2024-09-11 06:47:15 +00:00
|
|
|
public function delete($StockId);
|
|
|
|
public function create($StockDetails);
|
|
|
|
public function update($StockId, array $newDetails);
|
|
|
|
public function pluck();
|
|
|
|
|
|
|
|
}
|