}
+ public function applications() {
+ return $this->hasMany(Application::class);
+ }
+
public function participants() {
return $this->hasMany(Participant::class);
}
protected $casts = [
+ 'accept_applications' => 'boolean',
'locked' => 'boolean',
'no_record' => 'boolean',
];