<?php
namespace App\Models;
class ExtractionLog extends BaseModel {
    protected function casts(): array { return ['log_date' => 'date']; }
    public function quarry() { return $this->belongsTo(Quarry::class); }
    public function bench() { return $this->belongsTo(PitBench::class, 'bench_id'); }
    public function equipmentRef() { return $this->belongsTo(Equipment::class, 'equipment_id'); }
}
