<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Student extends Model
{
    protected $table = 'students';
    public $timestamps = false; // table uses `date` column, not created_at/updated_at

    protected $fillable = [
        'st_id','exam','school','st_code','stud_id','fname','mname','lname',
        'sex','bdate','pob','country','disable','disability','photo','status','date'
    ];
    public function payments() {
        return $this->hasMany(Payment::class);
    }

}
