*/ class StationPriceFactory extends Factory { public function definition(): array { return [ 'station_id' => Station::factory(), 'fuel_type' => FuelType::E10, 'price_pence' => $this->faker->numberBetween(12000, 18000), 'price_effective_at' => now()->subDays($this->faker->numberBetween(1, 30)), 'price_reported_at' => now()->subDays($this->faker->numberBetween(1, 30)), 'recorded_at' => now(), ]; } }