SettingFactory.php
1 <?php 2 3 namespace Database\Factories; 4 5 use App\Models\Scheduler; 6 use Illuminate\Database\Eloquent\Factories\Factory; 7 8 /** 9 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Setting> 10 */ 11 class SettingFactory extends Factory 12 { 13 /** 14 * Define the model's default state. 15 * 16 * @return array<string, mixed> 17 */ 18 public function definition() 19 { 20 return [ 21 'head' => $this->faker->name(), 22 'sub_head' => $this->faker->name(), 23 'title_certifier' => collect(['Sr', 'Sra'])->random(), 24 'email' => $this->faker->email(), 25 'logo' => '', 26 // 'primary_color' => $this->faker->hexColor(), 27 // 'secondary_color' => $this->faker->hexColor(), 28 ]; 29 } 30 }