33 lines
702 B
PHP
33 lines
702 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\DeliverySchedule;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<DeliverySchedule>
|
|
*/
|
|
class DeliveryScheduleFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => $this->faker->word(),
|
|
'monday' => false,
|
|
'tuesday' => false,
|
|
'wednesday' => false,
|
|
'thursday' => false,
|
|
'friday' => false,
|
|
'saturday' => false,
|
|
'sunday' => false,
|
|
'is_active' => true,
|
|
];
|
|
}
|
|
}
|