File manager - Edit - /home/autoph/public_html/projects/aha-api/app/Models/CarplusAlert.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use OwenIt\Auditing\Contracts\Auditable; use OwenIt\Auditing\Auditable as AuditableTrait; class CarplusAlert extends Model implements Auditable { use HasFactory, AuditableTrait; protected $table = 'aha_carplusalert'; protected $guarded = []; /** * The attributes that should be cast. * * @var array<string, string> */ protected $casts = [ 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; /** * Get the Owner of the Vehicle * * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function vehicle() { return $this->belongsTo(Vehicle::class, 'car_plate', 'plate_no'); } }
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0 |
proxy
|
phpinfo
|
Settings