|
<?php
|
|
namespace Backend\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model as Eloquent;
|
|
class GameJam extends Eloquent{
|
|
|
|
protected $fillable =[
|
|
'name',
|
|
'startTime',
|
|
'endTime',
|
|
'keyWord',
|
|
'description'
|
|
];
|
|
|
|
|
|
public function group(){
|
|
return $this->hasMany(Group::class);
|
|
}
|
|
|
|
} |