*/ class DamageFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'title' => $this->faker->title(), 'unit' => $this->faker->word(), 'base_price' => $this->faker->numberBetween(1000, 10000), 'status' => 1 ]; } }