<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Relations\BelongsTo;

class Milestone extends BaseModel
{
    protected $guarded = ['id'];
    protected $casts = ['dueDate' => 'date', 'progress' => 'integer'];

    public function project(): BelongsTo { return $this->belongsTo(Project::class); }
}
