parsaaghayi-backend/app/Models/Website/AboutMe.php

23 lines
475 B
PHP

<?php
namespace App\Models\Website;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Spatie\Translatable\HasTranslations;
class AboutMe extends Model
{
use HasFactory, HasTranslations;
protected $table = 'website_about_me';
protected $fillable = ['image'];
protected array $translatable = ['title', 'description'];
public function skills()
{
return $this->hasMany(Skill::class);
}
}