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

View File

@@ -2,9 +2,24 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Services extends Model
class Services extends Model // услуги ĸлининга
{
//
use HasFactory;
protected $fillable = [
'name',
'description',
'durationminutes',
'price',
'isactive',
];
// Простая связь с bookings, если нужно
public function bookings()
{
return $this->hasMany(Booking::class);
}
}