File: /var/www/admin.fixgini.com/app/Models/Profile.php
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Profile extends Model
{
use HasFactory;
protected $fillable = [
'display_name',
'occupation',
'skill',
'description',
'education',
'certifications',
'website',
'category_id',
'hotline_line',
'language',
'address',
'city',
'state',
'country_id',
'facebook',
'other_social',
'profile_image',
'intro_video',
'intro_image',
'user_id',
];
protected $table = 'profiles';
public function user()
{
return $this->belongsTo(User::class);
}
}