23 lines
487 B
PHP
23 lines
487 B
PHP
<?php
|
|
|
|
namespace App\Models\Website;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class AboutMeTranslation extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'website_about_me_translations';
|
|
protected $fillable = ['about_me_id', 'locale', 'title', 'description'];
|
|
|
|
/**
|
|
* ارتباط با AboutMe
|
|
*/
|
|
public function aboutMe()
|
|
{
|
|
return $this->belongsTo(AboutMe::class, 'about_me_id');
|
|
}
|
|
}
|