add cycle

This commit is contained in:
Fayyazi
2019-08-21 10:09:27 +04:30
parent e16fd9a120
commit 2872e09039
23 changed files with 213 additions and 485 deletions
+4
View File
@@ -15,5 +15,9 @@ class Package extends Model
{
return $this->belongsToMany('App\Item', 'item_package');
}
public function cycles()
{
return $this->belongsToMany('App\Cycle', 'cycle_package');
}
}