This repository has been archived on 2026-09-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
tutoring/app/Models/Slot.php
T
2026-01-14 00:54:08 +00:00

18 lines
326 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Slot extends Model
{
use HasFactory;
protected $fillable = ['weekday', 'time', 'is_active'];
public function bookings()
{
return $this->hasMany(Booking::class);
}
}