2021-03-03 10:46:58 +00:00
|
|
|
<?php
|
2021-03-03 11:56:14 +00:00
|
|
|
namespace Backend\Models;
|
2021-03-03 10:46:58 +00:00
|
|
|
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 10:46:58 +00:00
|
|
|
];
|
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
|
|
|
}
|
|
|
|
|
2021-03-03 10:46:58 +00:00
|
|
|
}
|