add created_at field for ReserveResultPojo

This commit is contained in:
2022-09-22 21:58:24 +02:00
parent 681507d790
commit 9022786580
+3 -1
View File
@@ -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
} }
} }