mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-12 04:51:05 +03:30
add cycle
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user