Initial Commit

This commit is contained in:
Mark Gregory
2026-09-12 20:21:11 +01:00
commit 35d3f344c8
62 changed files with 3215 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Concerns\HasUlids;
use Illuminate\Database\Eloquent\Model;
class Booking extends Model
{
use HasUlids;
protected $fillable = ['enquiry_id', 'client_id', 'dj_profile_id', 'event_date', 'total', 'deposit', 'status', 'paid_at'];
protected function casts(): array
{
return ['event_date' => 'date', 'total' => 'decimal:2', 'deposit' => 'decimal:2', 'paid_at' => 'datetime'];
}
}