2021-03-03 10:41:09 +00:00
|
|
|
<?php
|
2021-03-03 11:56:14 +00:00
|
|
|
namespace Backend\Models;
|
2021-03-04 08:18:32 +00:00
|
|
|
|
2021-03-03 10:41:09 +00:00
|
|
|
use Illuminate\Database\Eloquent\Model as Eloquent;
|
|
|
|
class GameJam extends Eloquent{
|
2021-03-04 08:18:32 +00:00
|
|
|
|
2021-03-03 10:41:09 +00:00
|
|
|
protected $fillable =[
|
2021-03-04 08:18:32 +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
|
|
|
}
|