new database

This commit is contained in:
2021-04-19 09:15:15 +02:00
parent 24663071e6
commit 22a431da07
43 changed files with 423 additions and 302 deletions
+9 -4
View File
@@ -1,14 +1,19 @@
<?php
namespace Backend\Models;
use Illuminate\Database\Eloquent\Model as Eloquent;
class KeyWord extends Eloquent{
protected $fillable =[
class KeyWord extends Eloquent
{
protected $fillable = [
'key_word'
];
public function group(){
return $this->belongsTo(Group::class);
public function registration()
{
return $this->belongsTo(Registration::class);
}
}