osb/app/Models/Supplier.php

20 lines
282 B
PHP
Raw Normal View History

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