19 lines
243 B
PHP
19 lines
243 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
use App\Traits\SiteID;
|
|
|
|
class SupplierDetail extends Model
|
|
{
|
|
use SiteID;
|
|
|
|
/* RELATIONS */
|
|
|
|
public function supplier()
|
|
{
|
|
return $this->belongsTo(Supplier::class);
|
|
}
|
|
} |