*/ final class EducationFactory extends Factory { protected $model = Education::class; public function definition(): array { return [ 'institution' => $this->faker->word(), 'url' => $this->faker->url(), 'area' => $this->faker->word(), 'study_type' => $this->faker->word(), 'start_date' => Carbon::now(), 'end_date' => Carbon::now(), 'score' => $this->faker->word(), 'courses' => $this->faker->words(), 'resume_id' => Resume::factory(), ]; } }