2021-03-03 10:41:09 +00:00
|
|
|
<?php
|
|
|
|
use Illuminate\Database\Eloquent\Model as Eloquent;
|
|
|
|
class GameJam extends Eloquent{
|
|
|
|
protected $fillable =[
|
2021-03-03 10:46:58 +00:00
|
|
|
'name', 'startTime', 'endTime', 'keyWord', 'description'
|
2021-03-03 10:41:09 +00:00
|
|
|
];
|
2021-03-03 11:48:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
public function group(){
|
|
|
|
return $this->hasMany(Group::class);
|
|
|
|
}
|
|
|
|
|
2021-03-03 10:41:09 +00:00
|
|
|
}
|