<?php

declare(strict_types=1);

namespace App\Modules\Tenants\Models;

class Tenant
{
    public function __construct(
        public readonly string $id,
        public readonly string $tenantKey,
        public readonly string $name,
        public readonly string $status,
    ) {
    }

    public function isActive(): bool
    {
        return $this->status === 'active';
    }
}
