*/ class AwardFactory extends Factory { protected $model = Award::class; public function definition(): array { return [ 'title' => $this->faker->word(), 'awarded_at' => Carbon::now(), 'awarder' => $this->faker->word(), 'summary' => $this->faker->text(), 'resume_id' => Resume::factory(), ]; } }