<?php

namespace App\Models;

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

class InternshipApplication extends Model
{
    protected $fillable = [
        'internship_id',
        'name',
        'birthdate',
        'resume_file',
        'email',
        'phone_number',
        'cover_letter',
    ];

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