*/ class BrandFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Brand::class; /** * Define the model's default state. * * @return array */ public function definition() { return [ 'name' => fake()->unique()->company(), 'contact_mail' => fake()->unique()->email(), 'rcs' => \sprintf( 'RCS %s B %s', fake()->unique()->city(), fake()->randomNumber(9, true) ), 'crm_token' => fake()->uuid(), 'crm_password' => fake()->uuid() ]; } }