48 lines
1.5 KiB
PHP
48 lines
1.5 KiB
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\CabinetTabletSetting;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @template TModel of \App\Models\CabinetTabletSetting
|
|
*
|
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<TModel>
|
|
*/
|
|
class CabinetTabletSettingFactory extends Factory
|
|
{
|
|
protected $model = CabinetTabletSetting::class;
|
|
|
|
/**
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'store_status' => 'auto',
|
|
'notice_headline' => null,
|
|
'notice_subtext' => null,
|
|
'override_open_today' => null,
|
|
'override_close_today' => null,
|
|
'next_appointment_date' => fake()->dateTimeBetween('now', '+7 days'),
|
|
'next_appointment_time' => '14:00',
|
|
'hours_monday_open' => '10:00',
|
|
'hours_monday_close' => '18:00',
|
|
'hours_tuesday_open' => '10:00',
|
|
'hours_tuesday_close' => '18:00',
|
|
'hours_wednesday_open' => '10:00',
|
|
'hours_wednesday_close' => '18:00',
|
|
'hours_thursday_open' => '10:00',
|
|
'hours_thursday_close' => '18:00',
|
|
'hours_friday_open' => '10:00',
|
|
'hours_friday_close' => '18:00',
|
|
'hours_saturday_open' => '10:00',
|
|
'hours_saturday_close' => '14:00',
|
|
'hours_sunday_open' => null,
|
|
'hours_sunday_close' => null,
|
|
'contact_phone' => '0521 98620100',
|
|
'contact_email' => 'info@cabinet-bielefeld.de',
|
|
];
|
|
}
|
|
}
|