*/ final class ProductCommentFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = ProductComment::class; /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'evaluation' => fake()->text, 'aspect' => fake()->text, 'taste' => fake()->text, 'odor' => fake()->text, 'texture' => fake()->text, ]; } }