add hash method for ReserveResultPojo.py

This commit is contained in:
2024-04-22 23:03:50 +02:00
parent fdba247d35
commit fe276eab5a
+3
View File
@@ -39,6 +39,9 @@ class ReserveResultPojo:
validated_at = None
ip_address = None
def __hash__(self):
return hash("{}_{}_{}_{}_{}".format(self.mail, self.first_name, self.last_name, self.phone, self.passport))
@staticmethod
def from_firestore_dict(source):
publish_type = PublishType.ERROR