You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
669 B
PHTML
27 lines
669 B
PHTML
4 years ago
|
<?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(),
|
||
|
'email_shiftinfo' => $this->faker->boolean(),
|
||
|
'email_news' => $this->faker->boolean(),
|
||
|
];
|
||
|
}
|
||
|
}
|