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