AY2324S1-CS2103T-T08-1 / tp

MIT License
0 stars 5 forks source link

Fix add appointment bugs #100

Closed derekjxtan closed 11 months ago

derekjxtan commented 11 months ago

Add checks to ensure

  1. doctor nric != patient nric
  2. appointment start < appointment end
  3. appointments do not overlap

Override hashcode for those place where equals is overriden