<?php

namespace App\Models;

use App\Models\BaseModel;

class CurrentIncident extends BaseModel
{
    protected $table = 'current_incident';

    public $timestamps = true;

    protected $fillable = [
        'student_id',
        'student_name',
        'grade',
        'incident',
        'incident_datetime',
        'incident_state',
        'updated_by_open',
        'open_description',
        'updated_by_closed',
        'close_description',
        'action_taken',
        'updated_by_canceled',
        'cancel_description',
        'semester',
        'school_year',
        'created_at',
        'updated_at',
    ];

    protected $casts = [
        'student_id' => 'integer',
        'updated_by_open' => 'integer',
        'updated_by_closed' => 'integer',
        'updated_by_canceled' => 'integer',
        'incident_datetime' => 'datetime',
    ];
}
