update contact list

This commit is contained in:
2022-03-01 16:29:38 +01:00
parent 1a3ae260b6
commit 2832922566
5 changed files with 31 additions and 5 deletions
+8
View File
@@ -6,6 +6,14 @@ class SimInfoPojo:
self.phone = phone
self.ccid = ccid
@staticmethod
def from_firestore_dict(source):
phone = source['phone']
ccid = source['ccid']
result = SimInfoPojo(phone=phone, ccid=ccid)
result.id = id
return result
def to_firestore_dict(self):
dest = {
u'phone': self.phone,