<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class StockpileMovement extends Model {
    protected $guarded = ['id'];
    protected function casts(): array { return ['movement_date' => 'date']; }
    public function stockpile() { return $this->belongsTo(Stockpile::class); }
}
