<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Relations\BelongsTo;

class Certification extends BaseModel
{
    protected $guarded = ['id'];
    protected $casts = ['issueDate' => 'date', 'expiryDate' => 'date'];

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