Open nus-se-bot opened 3 years ago
The userflow is stated in our addBooking UG. Before the user wants to make a new booking, he is expected to run findPerson command first to see if the guest exists in the personBook already. If the person exists, then the user will not create a new guest profile. Hence this is a rare situation. Moreover, we have the ID that can be used to differentiate between the two Person in the worse case, which is uniquely assigned to each Person.
--
Duplicate person with the same value in each field can be added, which doesn't make sense for me for a hotel booking app.
[original: nus-cs2103-AY2021S1/pe-interim#893]