<?php

namespace App\Models;

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

class Studentdetails extends Model
{
    protected $table = 'student_details';
    protected $fillable = [
        'student_name',
        'student_age',
        'date_of_birth',
        'gender',
        'guardian_name',
        'communication_address',
        'contact_phone',
        'student_class',
        'student_std',
        'school_fees',
        'school_details',
        'student_image',
    ];
    public function sponsors()
    {
        return $this->hasMany(Sponsor::class);
    }
    
}
