update deploy

This commit is contained in:
bulut
2026-03-27 10:41:54 +03:00
parent 69d19c0176
commit 6f6448aa06
422 changed files with 37956 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?php
namespace Database\Factories;
use App\Models\Story;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<Story>
*/
class StoryFactory extends Factory
{
/**
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'title' => fake()->sentence(4),
'badge' => fake()->randomElement(['Tanıtım', 'Yeni Dönem', null]),
'content' => fake()->paragraphs(2, true),
'image' => null,
'cta_text' => fake()->randomElement(['Detaylı Bilgi', 'Hakkımızda', null]),
'cta_url' => fake()->randomElement(['/kurumsal/hakkimizda', '/egitimler', null]),
'order_index' => fake()->numberBetween(0, 10),
'is_active' => true,
];
}
}