first commit
This commit is contained in:
commit
83e28827a1
64 files changed
+11127
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Car extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = ['plate_number'];
|
||||
|
||||
public function parkingRecords()
|
||||
{
|
||||
return $this->hasMany(ParkingRecord::class);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user