<?php

namespace App\Events\Packages;

use App\Models\TenantPackage;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class TenantPackageEventThresholdReached
{
    use Dispatchable;
    use SerializesModels;

    public function __construct(
        public TenantPackage $tenantPackage,
        public float $threshold,
        public int $limit,
        public int $used,
    ) {}
}
