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,30 @@
<?php
namespace Database\Factories;
use App\Models\Category;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
/**
* @extends Factory<Category>
*/
class CategoryFactory extends Factory
{
/**
* @return array<string, mixed>
*/
public function definition(): array
{
$label = fake()->unique()->words(2, true);
return [
'slug' => Str::slug($label),
'label' => ucfirst($label),
'desc' => fake()->paragraph(),
'image' => null,
'meta_title' => fake()->sentence(4),
'meta_description' => fake()->sentence(10),
];
}
}