<?php

namespace App\Models;

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

class Change extends Model
{
    use HasFactory;

    protected $table = 'change';
    public $timestamps = false;
    
    public   $rules = [
        'student_id' => ['required','integer'],
        'user_id'=>['required','integer'],
        'created_at'=>['required','max:20'],
    ];

    protected $fillable = ['student_id', 'user_id','file','file_name','created_at'];
    protected $guarded = ['id'];
}
