<?php

namespace App\Models;

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

class Group extends Model
{
    use HasFactory;
    protected $table = 'group';
    public $timestamps = false;
    
    public   $rules = [
        'direction_id' => ['required','integer'],
        'date'=>['required','max:20'],
        'status'=>['max:20'],
    ];

    protected $fillable = ['direction_id', 'date','status'];
    protected $guarded = ['id'];
}
