osb/app/Models/Supplier.php

20 lines
282 B
PHP
Raw Normal View History

2018-06-05 21:13:57 +10:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
2021-12-20 14:25:43 +11:00
use Leenooks\Traits\ScopeActive;
2018-06-05 21:13:57 +10:00
class Supplier extends Model
{
2021-12-20 14:25:43 +11:00
use ScopeActive;
public $timestamps = FALSE;
/* RELATIONS */
public function detail()
{
return $this->hasOne(SupplierDetail::class);
}
}