first commit

This commit is contained in:
ghassan committed 2025-12-11 07:38:56 +00:00
commit 83e28827a1
64 files changed
+11127

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class ParkingRecord extends Model
{
use HasFactory;
protected $fillable = ['car_id', 'entry_time', 'exit_time'];
protected $dates = ['entry_time', 'exit_time'];
public function car()
{
return $this->belongsTo(Car::class);
}
}