-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDatabaseDesign.txt
More file actions
27 lines (23 loc) · 806 Bytes
/
DatabaseDesign.txt
File metadata and controls
27 lines (23 loc) · 806 Bytes
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
Database Design:
JSON was chosen as the database file because it will enable us to quickly and easily store our created objects and retreive them as needed.
JSON compatablility with java is strong and so the object model will make it very easy for us to store everything that we need to.
We will have our database be local to servers, so there will be for this prototype one database that grows out in this context:
{
"Houses" : {[
"Doors" : {
"requests" : {
"PASS_MSG" : MessageObject[],
"IMG_MSG" : MessageObject[],
"D_STAT_MSG" : MessageObject[],
"LK_MSG" : MessageObject[],
},
"State" : boolean,
},
"Passcode" : String,
"Users" : {
"Username" : String,
"Password" : String,
}
]
}
}