database/factories/RoleUserFactory.php
/**
     * Define the model's default state.
     *
     * @return array
     */
Define the model's default state.
@return array
Define the model ' s default state . @return array
public function definition(): array
    {
        return [
            'status'=> 'ACT',
            'created_at' => now(),
            'updated_at' => now(),
        ];
    }
public function definition ( ) : array { return [ 'status' => 'ACT' , 'created_at' => now ( ) , 'updated_at' => now ( ) , ] ; }
Define the model's default state.
Define the model ' s default state .
// 'name' => Str::upper('ROLE_' . Str::random(6)),