New Model for Event,Booking and Course

This commit is contained in:
Mathieu Lagace
2019-08-17 11:43:52 -04:00
parent b850b38b85
commit d4b3b1b47d
20 changed files with 629 additions and 61 deletions

View File

@@ -17,4 +17,9 @@ class Item extends Model
$col_items->forget(0);
return $col_items;
}
public function bookings()
{
return $this->hasMany('App\Booking');
}
}