<?php
namespace App\Models;
class StockAdjustment extends BaseModel {
    protected function casts(): array { return ['adjustment_date' => 'date']; }
    public function warehouse() { return $this->belongsTo(Warehouse::class); }
    public function lines() { return $this->hasMany(StockAdjustmentLine::class, 'adjustment_id'); }
}
