mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-12 17:51:06 +03:30
update ItemController
This commit is contained in:
@@ -11,4 +11,8 @@ class Item extends Model
|
||||
{
|
||||
return $this->belongsToMany('App\Package', 'item_package');
|
||||
}
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo('App\User');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user