<?php

namespace App\Models;

// use Illuminate\Database\Eloquent\Factories\HasFactory;
// use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Laravel\Sanctum\HasApiTokens;
use Illuminate\Notifications\Notifiable;


class Candidate extends Authenticatable
{
    use HasApiTokens, Notifiable;

    protected $fillable = [
        'first_name', 'last_name', 'email',  'password', 'profile_img',
     'status', 'contact_number', 'bio', 'location', 'headline','linkedin_profile_url'];

    public function profile()
    {
        return $this->hasOne(CandidateProfile::class);
    }
}
