<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class Profile extends Model
{
    protected $primaryKey = 'user_id';

    public $incrementing = false;

    protected $fillable = [
        'user_id',
        'display_name',
        'avatar_url',
        'instagram_handle',
    ];

    public function user(): BelongsTo
    {
        return $this->belongsTo(User::class);
    }
}
