<?php

namespace Modules\VetClinic\Entities;

use Illuminate\Database\Eloquent\Model;

class VcWellnessBenefitUsage extends Model
{
    protected $table = 'vc_wellness_benefit_usage';
    protected $guarded = ['id'];

    protected $casts = ['used_at' => 'datetime'];

    public function subscription() { return $this->belongsTo(VcWellnessSubscription::class, 'subscription_id'); }
    public function benefit()      { return $this->belongsTo(VcWellnessPlanBenefit::class, 'benefit_id'); }
}
