*/ class EvaluationRuleSetFactory extends Factory { protected $model = EvaluationRuleSet::class; public function definition(): array { return [ 'name' => $this->faker->words(2, true), 'code' => strtoupper($this->faker->unique()->bothify('RULE_##??')), 'description' => $this->faker->sentence(), ]; } }