Student 1: I am going back to Brazil.
Student 2: I am going back to Korea.
Student 1: Good luck to you! I hope we will meet again soon!
Student 2: Have a good one!
Have fun on your vacation! I hope you enjoy Mexico! Have a good one!
have a good one is used as a friendly way of saying goodbye.