update contact list
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user