<?php
namespace App\Models;
class TripLog extends BaseModel {
    protected function casts(): array { return ['trip_date' => 'date']; }
    public function equipment() { return $this->belongsTo(Equipment::class); }
    public function product() { return $this->belongsTo(Product::class); }
    public function customer() { return $this->belongsTo(Customer::class); }
}
