New-Thanasoft/thanasoft-back/app/Repositories/InvoiceLineRepositoryInterface.php

15 lines
376 B
PHP

<?php
namespace App\Repositories;
use App\Models\InvoiceLine;
interface InvoiceLineRepositoryInterface
{
public function create(array $data): InvoiceLine;
public function update(string $id, array $data): bool;
public function delete(string $id): bool;
public function find(string $id): ?InvoiceLine;
public function getByInvoiceId(string $invoiceId);
}