<?php
namespace App\Models;
class ExpenseClaim extends BaseModel {
    protected function casts(): array { return ['claim_date' => 'date']; }
    public function employee() { return $this->belongsTo(Employee::class); }
    public function quarry() { return $this->belongsTo(Quarry::class); }
    public function project() { return $this->belongsTo(Project::class); }
    public function lines() { return $this->hasMany(ExpenseClaimLine::class, 'claim_id'); }
}
