<?php

namespace App\Modules\UserProfile\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class UserHobby extends Model
{
    use HasFactory;

    protected $table = 'user_hobbies';

    protected $fillable = [
        'user_profile_id',
        'name',
        'description',
    ];

    public function profile()
    {
        return $this->belongsTo(UserProfile::class);
    }
}
