<?php

namespace App\Module\Poll;

use App\Shared\Interface\ModuleInterface;

class PollModule implements ModuleInterface
{
    public static function getModuleSlug(): string { return 'poll'; }
    public static function getModuleName(): string { return 'Anket Sistemi'; }
    public static function getModuleDescription(): string { return 'Anket oluşturma ve oylama.'; }
    public static function getModuleVersion(): string { return '1.0.0'; }
    public static function isCore(): bool { return false; }
    public static function getDependencies(): array { return ['core']; }
    public static function getRequiredPlan(): string { return 'starter'; }

    public static function getAdminMenuItems(): array
    {
        return [
            ['label' => 'Anketler', 'icon' => 'fa-poll', 'route' => 'admin_polls', 'priority' => 70],
        ];
    }
}
