Last active
May 18, 2019 10:23
-
-
Save iSanjayAchar/bc38c58c5b5c5d1d8bca145cf02d5fa4 to your computer and use it in GitHub Desktop.
MongoDB Classes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"timestamp": "2019-05-18T10:20:54+0000", | |
"user_id": ObjectId("5cdfce277b0c5ee88b24069c"), | |
"orders": [ObjectId("5cdfd3887b0c5ee88b2406a0"), ObjectId("5cdfd46c7b0c5ee88b2406a2")], | |
"price": { | |
"delivery_charges": 30, | |
"taxes": 10, | |
"total": 110 | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "", | |
"sku_id": "", | |
"price": { | |
"mrp": 2, | |
"selling_price": 1 | |
}, | |
"brand": "", | |
"description": "", | |
"color": [], | |
"ratings": [{ | |
"user_id": "", | |
"rating": 1, | |
"review": "" | |
}], | |
"returns": { | |
"warranty": 1, | |
"exchange": 1 | |
}, | |
"flags": { | |
"is_published": true, | |
"is_soldout": false | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"product_id": "", | |
"in_stock": 0 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": { | |
"first": "Mayank", | |
"last": "Jassi" | |
}, | |
"email": "mayank@gmail.com", | |
"phone": 45678937235, | |
"gender": "male", | |
"date_of_birth": "1997-10-18T00:00:00+0500", | |
"address": [{ | |
"door_number": "1", | |
"street": "Sandhya Street", | |
"city": "Mandya", | |
"state": "Karnataka", | |
"pincode": 560101 | |
}], | |
"password": "sandya@123" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment