<?php

namespace App\Models;

class StudentDecision extends BaseModel
{
    protected $table = 'student_decisions';

    public $timestamps = true;

    protected $fillable = [
        'student_id',
        'school_year',
        'class_section_name',
        'year_score',
        'decision',
        'source',
        'notes',
        'generated_by',
        'created_at',
        'updated_at',
    ];

    protected $casts = [
        'student_id' => 'integer',
        'generated_by' => 'integer',
        'year_score' => 'decimal:2',
    ];
}
