*/ class kriteriaFactory extends Factory { protected $model = KriteriaModel::class; /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'id' => $this->faker->random_integer(), 'nama_kriteria' => $this->faker->name(), 'kode_kriteria' => $this->faker->random_int(), 'bobot' => $this->faker->randomFloat(2, 0, 100), ]; } }