first commit

This commit is contained in:
Milos Holba
2021-01-11 15:36:41 +01:00
parent c2a5d4bc74
commit a8457cf261
7 changed files with 225 additions and 63 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App;
use App\LanguageString;
use Illuminate\Database\Eloquent\Model;
class Language extends Model
{
public $timestamps = false;
protected $guarded = ['id'];
public function languegeStrings()
{
return $this->hasMany('App\LanguageString', 'language_id', 'id');
}
}