Created
January 21, 2018 19:05
-
-
Save tejainece/4284a414c4ad6cc9a615981d660dbf76 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class TimeAlarm { | |
String id; | |
DateTime time; | |
String message; | |
} | |
class LocationAlarm { | |
String id; | |
Location location; | |
int radius; | |
String message; | |
} | |
class Location { | |
int longitude; | |
int latitude; | |
} | |
class SavedLocation { | |
String name; | |
Location location; | |
} | |
class User { | |
String id; | |
String username; | |
List<SavedLocation> savedLocations; | |
List<TimeAlarm> timeAlarms; | |
List<LocationAlarm> locationAlarm; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment