add created_at field for ReserveResultPojo
This commit is contained in:
@@ -13,6 +13,7 @@ class ReserveResultPojo {
|
|||||||
this.email = mail;
|
this.email = mail;
|
||||||
this.type = type;
|
this.type = type;
|
||||||
this.source_from = ""
|
this.source_from = ""
|
||||||
|
this.created_at = new Date().toLocaleString()
|
||||||
}
|
}
|
||||||
|
|
||||||
to_mongo_dict() {
|
to_mongo_dict() {
|
||||||
@@ -25,7 +26,8 @@ class ReserveResultPojo {
|
|||||||
passport: this.passportNumber,
|
passport: this.passportNumber,
|
||||||
url: this.url,
|
url: this.url,
|
||||||
store_type: this.storeType,
|
store_type: this.storeType,
|
||||||
source_from: this.source_from
|
source_from: this.source_from,
|
||||||
|
created_at: this.created_at
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user