Game-Jaming/Backend/Models/KeyWord.php

14 lines
255 B
PHP
Raw Normal View History

<?php
2021-03-03 11:56:14 +00:00
namespace Backend\Models;
use Illuminate\Database\Eloquent\Model as Eloquent;
class KeyWord extends Eloquent{
protected $fillable =[
2021-03-08 12:09:50 +00:00
'key_word'
];
2021-03-03 11:48:49 +00:00
public function group(){
2021-03-05 09:52:42 +00:00
return $this->belongsTo(Group::class);
2021-03-03 11:48:49 +00:00
}
}