Game-Jaming/Backend/Models/GameJam.php

13 lines
271 B
PHP
Raw Normal View History

2021-03-03 10:41:09 +00:00
<?php
use Illuminate\Database\Eloquent\Model as Eloquent;
class GameJam extends Eloquent{
protected $fillable =[
'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
}