coursework tasks 1 to 10

This commit is contained in:
Владимир
2026-01-07 11:55:53 +00:00
parent 9f637e6be7
commit bbe639b604
13 changed files with 545 additions and 51 deletions

23
app/Models/Booking.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
// бронирование ĸлиентов
class Booking extends Model {
use HasFactory;
protected $table = 'bookings';
protected $fillable = [
'bookingnumber',
'client_id',
'employee_id',
'service_id',
'bookingdate',
'starttime',
'endtime',
'status',
'cancelledby',
'cancelreason'
];
}