internationalization added and backend updated until services
This commit is contained in:
1 parent
9bcf1fb0eb
commit
027d1090df
23 files changed
+935
-165
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Website;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class SkillTranslation extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'website_skill_translations'; // نام جدول
|
||||
protected $fillable = ['skill_id', 'locale', 'title', 'description']; // فیلدهایی که قابل پر کردن هستند
|
||||
|
||||
/**
|
||||
* ارتباط با جدول Skills
|
||||
*/
|
||||
public function skill()
|
||||
{
|
||||
return $this->belongsTo(Skill::class, 'skill_id');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user