50 lines
1.5 KiB
PHP
Executable File
50 lines
1.5 KiB
PHP
Executable File
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\SubscriptionPlan;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class PlanSeeder extends Seeder
|
|
{
|
|
public function run(): void
|
|
{
|
|
SubscriptionPlan::firstOrCreate(
|
|
['name' => 'Plano Básico Mensal'],
|
|
[
|
|
'description' => 'Acesso completo a todos os recursos do Annunk por 30 dias. Ideal para quem está começando.',
|
|
'price' => 29.90,
|
|
'currency' => 'BRL',
|
|
'duration_days' => 30,
|
|
'token_limit' => 50000,
|
|
'is_active' => true,
|
|
]
|
|
);
|
|
|
|
SubscriptionPlan::firstOrCreate(
|
|
['name' => 'Plano Premium Mensal'],
|
|
[
|
|
'description' => 'Acesso completo com limite de tokens estendido e suporte prioritário.',
|
|
'price' => 59.90,
|
|
'currency' => 'BRL',
|
|
'duration_days' => 30,
|
|
'token_limit' => 200000,
|
|
'is_active' => true,
|
|
]
|
|
);
|
|
|
|
SubscriptionPlan::firstOrCreate(
|
|
['name' => 'Plano Anual Premium'],
|
|
[
|
|
'description' => 'O melhor custo-benefício! Acesso completo por 12 meses com limite de tokens generoso.',
|
|
'price' => 399.90,
|
|
'currency' => 'BRL',
|
|
'duration_days' => 365,
|
|
'token_limit' => 500000,
|
|
'is_active' => true,
|
|
]
|
|
);
|
|
}
|
|
} |