More works on products

This commit is contained in:
Deon George
2022-02-01 16:40:46 +11:00
parent 1e9f15b40f
commit b9b4416737
36 changed files with 952 additions and 312 deletions

View File

@@ -2,9 +2,6 @@
namespace App\Interfaces;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
interface SupplierItem
{
/* RELATIONS */
@@ -12,16 +9,16 @@ interface SupplierItem
/**
* Supplier that provides this offering
*
* @return BelongsTo
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function supplier_detail(): BelongsTo;
public function supplier_detail();
/**
* Available products created from this supplier offering
*
* @return BelongsToMany
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
*/
public function types(): BelongsToMany;
public function types();
/* ATTRIBUTES */