Merge branch 'feature/automatic' into feature/auto_with_checkresults
This commit is contained in:
@@ -30,6 +30,7 @@ class ReserveResultPojo:
|
||||
sim_position = None
|
||||
ccid: str = ""
|
||||
source_from: str = definitions.LOG_SOURCE
|
||||
store_type = 0
|
||||
|
||||
@staticmethod
|
||||
def from_firestore_dict(source):
|
||||
@@ -62,6 +63,9 @@ class ReserveResultPojo:
|
||||
if 'ccid' in source:
|
||||
ccid = source['ccid']
|
||||
result.ccid = ccid
|
||||
if 'store_type' in source:
|
||||
store_type = source['store_type']
|
||||
result.store_type = store_type
|
||||
result.id = id
|
||||
return result
|
||||
|
||||
@@ -79,7 +83,8 @@ class ReserveResultPojo:
|
||||
u'sim_position': self.sim_position,
|
||||
u'slot_position': self.slot_position,
|
||||
u'ccid': self.ccid,
|
||||
u'source_from': self.source_from
|
||||
u'source_from': self.source_from,
|
||||
u'store_type': self.store_type,
|
||||
}
|
||||
|
||||
return dest
|
||||
|
||||
Reference in New Issue
Block a user