Created
June 5, 2012 17:43
-
-
Save d-tarasov/2876503 to your computer and use it in GitHub Desktop.
DB design for Android. Snippet1
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 Group { | |
private Long _id; | |
private String number; | |
private List<Student> students; | |
// getters and setters | |
... | |
} | |
class Student { | |
private Long _id; | |
private String name; | |
private String surname; | |
private Group group; | |
// getters and setters | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment