update ItemController

This commit is contained in:
Fayyazi
2019-07-18 17:47:57 +04:30
116 changed files with 1122 additions and 106 deletions
+4
View File
@@ -11,4 +11,8 @@ class Item extends Model
{
return $this->belongsToMany('App\Package', 'item_package');
}
public function user()
{
return $this->belongsTo('App\User');
}
}