osb/app/Models/Product/Domain.php

38 lines
549 B
PHP
Raw Normal View History

2019-07-02 05:28:27 +00:00
<?php
namespace App\Models\Product;
2020-02-19 12:37:45 +00:00
use Illuminate\Support\Collection;
use App\Interfaces\ProductSupplier;
use App\Models\Base\ProductType;
2019-07-02 05:28:27 +00:00
use App\Traits\NextKey;
2020-02-19 12:37:45 +00:00
class Domain extends ProductType implements ProductSupplier
2019-07-02 05:28:27 +00:00
{
use NextKey;
const RECORD_ID = '';
2020-02-19 12:37:45 +00:00
public function allowance(): Collection
{
// N/A
return collect();
}
public function allowance_string(): string
{
// N/A
return '';
}
public function getCostAttribute(): float
{
// N/A
return 0;
}
2020-02-20 11:54:28 +00:00
public function getSupplierAttribute()
{
return '';
}
2019-07-02 05:28:27 +00:00
}