Skip to content

Instantly share code, notes, and snippets.

@d-tarasov
Created June 5, 2012 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d-tarasov/2876503 to your computer and use it in GitHub Desktop.
Save d-tarasov/2876503 to your computer and use it in GitHub Desktop.
DB design for Android. Snippet1
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