This commit is contained in:
2026-08-19 19:56:47 +08:00
parent 07a24c5297
commit d3866efcd8
11 changed files with 193 additions and 23 deletions

View File

@@ -12,6 +12,10 @@ class User extends Model
{
protected $table = 'users';
protected $type = [
'can_view_all_tickets' => 'boolean',
];
public function company(){
return $this->belongsTo(Companys::class,'company_id','id');
}