Skip to content

Instantly share code, notes, and snippets.

@needToRoll
Last active May 17, 2017 20: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 needToRoll/8dbcc485765e457a39e185202453ec89 to your computer and use it in GitHub Desktop.
Save needToRoll/8dbcc485765e457a39e185202453ec89 to your computer and use it in GitHub Desktop.
{
"id": 1,
"value": 5.0,
"weight": 2.0,
"groupId": 1
}
{
"id": 1,
"value": 5.5,
"weight": 1.0,
"marks": [
{
"id": 1,
"value": 5.0,
"weight": 2.0,
"groupId": 1
}
],
"subjectId": 3, //one of the parents has to be 0
"parentGroupId": 0,
"markGroups": []
}
{
"id": 1,
"name": "1. Semester",
"validFrom": "2017-01-01",
"validTo": "2017-06-30",
"subjects": [
{
"id": 1,
"name": "Math",
"color": "...",
"subjectMarkGroup": {
"id": 1,
"value": 5.5,
"weight": 1.0,
"marks": [
{
"id": 2,
"value": 5.0,
"weight": 2.0,
"groupId": 2
}
],
"markGroups": [
{
"id": 2,
"value": 5.5,
"weight": 1.0,
"marks": [
{
"id": 1,
"value": 5.0,
"weight": 2.0,
"groupId": 1
}
],
"markGroups": [],
"subjectId": 0,
"parentGroupId": 1
}
],
"subjectId": 1,
"parentGroupId": 0
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment