summaryrefslogtreecommitdiff
path: root/data/personaldb.json
diff options
context:
space:
mode:
authorMichael Lizzio <mjl2396@rit.edu>2025-10-07 13:14:41 -0400
committerMichael Lizzio <mjl2396@rit.edu>2025-10-07 13:14:41 -0400
commitb50bce5a1c303e03cc50e1945de9c16cee044976 (patch)
tree9871865c410e1570f386134fd6cd5f5e6ec0012b /data/personaldb.json
parent701aba30fe05f65ab0e027f9d9aac0928d814560 (diff)
downloaddesignproject-design-6-b50bce5a1c303e03cc50e1945de9c16cee044976.tar.gz
designproject-design-6-b50bce5a1c303e03cc50e1945de9c16cee044976.tar.bz2
designproject-design-6-b50bce5a1c303e03cc50e1945de9c16cee044976.zip
Added AddClubMenu and modified club and golfer to allow club id's, added menu to UserSettings
Diffstat (limited to 'data/personaldb.json')
-rw-r--r--data/personaldb.json79
1 files changed, 4 insertions, 75 deletions
diff --git a/data/personaldb.json b/data/personaldb.json
index 75faec5..611387b 100644
--- a/data/personaldb.json
+++ b/data/personaldb.json
@@ -1,88 +1,17 @@
[
{
"username": "john_doe",
- "passwordHash": 12345,
+ "passwordHash": 46792755,
"fullName": "John Doe",
"courses": [
1,
2
],
"rounds": [
- {
- "course": 2,
- "dateTime": [
- 2025,
- 10,
- 7,
- 9,
- 4,
- 6,
- 798620300
- ],
- "startingHole": {
- "number": 3,
- "par": 5
- },
- "plays": [
- {
- "holeNumber": 3,
- "swings": [
- {
- "distance": 1000,
- "clubUsed": {
- "manufacture": "Generic",
- "nickname": "Tyler",
- "clubType": "DRIVER"
- }
- },
- {
- "distance": 250,
- "clubUsed": {
- "manufacture": "Generic",
- "nickname": "Tyler",
- "clubType": "DRIVER"
- }
- }
- ],
- "distance": 1250,
- "swingCount": 2
- },
- {
- "holeNumber": 4,
- "swings": [
- {
- "distance": 125,
- "clubUsed": {
- "manufacture": "Generic",
- "nickname": "Dman",
- "clubType": "DRIVER"
- }
- }
- ],
- "distance": 125,
- "swingCount": 1
- }
- ],
- "currentHoleIndex": 4,
- "totalDistance": 1375.0,
- "currentHole": {
- "number": 5,
- "par": 3
- },
- "totalSwings": 3
- }
+
],
"clubs": [
- {
- "manufacture": "TaylorMade",
- "nickname": "Old Faithful",
- "clubType": "DRIVER"
- },
- {
- "manufacture": "Callaway",
- "nickname": "Lucky Seven",
- "clubType": "IRON"
- }
- ]
+ ],
+ "nextClubId": 1
}
] \ No newline at end of file