hasOne(SupplierHost::class,'id','supplier_item_id'); } /* INTERFACES */ public function getContractTermAttribute(): int { return 12; } public function hasUsage(): bool { return FALSE; } public function allowance(): Collection { // TODO: Implement allowance() method. } public function allowance_string(): string { // TODO: Implement allowance_string() method. return ''; } public function getCostAttribute(): float { // TODO: Implement getCostAttribute() method. return 0; } public function getSupplierAttribute() { // TODO: Implement getSupplierAttribute() method. } }