-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added "Last Trip" and "Last Visit" fields
To Caves and Cavers.
- Loading branch information
1 parent
f4245f2
commit 9cb7c83
Showing
6 changed files
with
91 additions
and
50 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,29 @@ | ||
package model | ||
|
||
type Cave struct { | ||
ID string | ||
Name string | ||
Region string | ||
Country string | ||
SRT bool | ||
Visits int64 | ||
Notes string | ||
ID string | ||
Name string | ||
Region string | ||
Country string | ||
SRT bool | ||
Visits int64 | ||
LastVisit string | ||
Notes string | ||
} | ||
|
||
type Caver struct { | ||
ID string | ||
Name string | ||
Club string | ||
Count int64 | ||
Notes string | ||
ID string | ||
Name string | ||
Club string | ||
Count int64 | ||
LastTrip string | ||
Notes string | ||
} | ||
|
||
type Log struct { | ||
ID string | ||
Date string | ||
Cave string | ||
Names string // `, ` sep | ||
Notes string | ||
ID string | ||
Date string | ||
Cave string | ||
Names string // `, ` sep | ||
Notes string | ||
} |
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