mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
New Model for Event,Booking and Course
This commit is contained in:
@@ -17,4 +17,9 @@ class Item extends Model
|
||||
$col_items->forget(0);
|
||||
return $col_items;
|
||||
}
|
||||
|
||||
public function bookings()
|
||||
{
|
||||
return $this->hasMany('App\Booking');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user