You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
344 B
PHP

<?php
declare(strict_types=1);
namespace App\Model;
use App\Scopes\CommonPromoteScopes;
use App\Scopes\UserScopes;
class User extends Model
{
use CommonPromoteScopes;
use UserScopes;
protected $table = 'tab_user';
public function promote()
{
return $this->belongsTo(Promote::class, 'promote_id', 'id');
}
}