multilanguage updated
This commit is contained in:
1 parent
027d1090df
commit
6c834607bd
12 files changed
+299
-25
No files matched your search
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Website;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ProjectTranslation extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'website_project_translations'; // نام صحیح جدول
|
||||
protected $fillable = ['project_id', 'locale', 'title', 'description'];
|
||||
|
||||
public function project()
|
||||
{
|
||||
return $this->belongsTo(Project::class, 'project_id');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user