mirror of
https://github.com/Cybrarist/Discount-Bandit.git
synced 2026-11-24 19:49:54 +01:00
29 lines
579 B
PHP
29 lines
579 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\Store;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<Store>
|
|
*/
|
|
class StoreFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => fake()->company(),
|
|
'domain' => fake()->domainName(),
|
|
'image' => fake()->imageUrl(),
|
|
'slug' => fake()->unique()->slug(),
|
|
'status' => 'active',
|
|
];
|
|
}
|
|
}
|