<?php

namespace App\Models;

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

class StudentType extends Model
{
    use HasFactory;

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

    /**
     * Students who belong to this type.
     * 
     * Assuming student_profiles has a student_type_id column.
     */
    public function students()
    {
        return $this->hasMany(StudentProfile::class);
    }
}
