<?php

namespace App\Modules\Careers\Models;

use Illuminate\Database\Eloquent\Model;

class ApplicationNote extends Model
{
    protected $table = 'careers_application_notes';

    protected $fillable = [
        'application_id',
        'hr_user_id',
        'note',
    ];

    public function application()
    {
        return $this->belongsTo(Application::class);
    }

    // You can also add a relation to your User model if available
    // public function hrUser()
    // {
    //     return $this->belongsTo(User::class, 'hr_user_id');
    // }
}
