-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.txt
58 lines (51 loc) · 944 Bytes
/
schema.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
category : {
name: string
}
image : {
imageUrl : string
}
item : {
title : string,
price : number,
country : string,
city : string ,
isPopular : boolean
imageId : [{_id : ObjectId}],
featureId : [{_id : ObjectId}],
activityId : [{_id : ObjectId}],
}
feature : {
name : string,
qty : nmumber,
imageUrl : string
}
activity : {
name : string,
type : string,
imageUrl : string,
isPopular : boolean
}
booking : {
bookingStartDate : date,
bookingEndDate : date,
itemId : [{
_id : ObjectId,
price : number,
night : number
}],
memberId : [{_id : ObjectId}],
bankId : [{_id : ObjectId}],
proofPayment : string,
accountHolder : string
}
member : {
firstName : string,
lastName : string,
email :string,
phoneNumber : string
}
bank : {
nameBank : string,
nomorRekening : string,
name : string,
}