DB design for Android. Snippet1
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
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