you should use sequence here. we have uniqueness validation. that why when you need to create more than one record from factory it will fail