osb/app/Models/Supplier.php
2022-02-01 16:45:35 +11:00

20 lines
282 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Leenooks\Traits\ScopeActive;
class Supplier extends Model
{
use ScopeActive;
public $timestamps = FALSE;
/* RELATIONS */
public function detail()
{
return $this->hasOne(SupplierDetail::class);
}
}