2021-06-29 00:27:57 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Database\Factories\Engelsystem\Models\User;
|
|
|
|
|
|
|
|
use Engelsystem\Models\User\Settings;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
|
|
|
|
class SettingsFactory extends Factory
|
|
|
|
{
|
|
|
|
/** @var string */
|
|
|
|
protected $model = Settings::class;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function definition()
|
|
|
|
{
|
|
|
|
return [
|
|
|
|
'language' => $this->faker->locale(),
|
|
|
|
'theme' => $this->faker->numberBetween(1, 20),
|
|
|
|
'email_human' => $this->faker->boolean(),
|
2021-11-30 00:19:44 +01:00
|
|
|
'email_goody' => $this->faker->boolean(),
|
2021-06-29 00:27:57 +02:00
|
|
|
'email_shiftinfo' => $this->faker->boolean(),
|
|
|
|
'email_news' => $this->faker->boolean(),
|
2022-10-16 17:29:34 +02:00
|
|
|
'mobile_show' => $this->faker->boolean(),
|
2021-06-29 00:27:57 +02:00
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|