*/ class ScreenPrintEntryFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'quantity' => random_int(1, 10), 'logo' => $this->faker->words(2, true), 'placement' => $this->faker->words(2, true), 'width' => $this->faker->randomFloat(2, 1, 5), 'height' => $this->faker->randomFloat(2, 1, 5), 'color_amount' => random_int(1, 5), 'setup_amount' => random_int(1, 5), 'artwork_fee' => $this->faker->randomFloat(2, 1, 10), 'color_change' => $this->faker->randomFLoat(2, 1, 10), 'color_match' => $this->faker->randomFLoat(2, 1, 10), 'flash' => $this->faker->randomFloat(2, 0, 2), 'fleece' => $this->faker->randomFloat(2, 0, 2), 'poly_ink' => $this->faker->randomFloat(2, 0, 2), 'run_charge' => $this->faker->randomFloat(2, 0, 2), 'repacking_fee' => $this->faker->randomFloat(2, 0, 2), ]; } }