Заполнен data.json тестовыми данными

This commit is contained in:
Никита Потапов 2024-01-11 12:13:30 +04:00
parent 21b220a7f2
commit cda991cd94

274
data.json
View File

@ -1,19 +1,257 @@
{
"posts": [
{
"id": 1,
"title": "json-server",
"author": "typicode"
}
],
"comments": [
{
"id": 1,
"body": "some comment",
"postId": 1
}
],
"profile": {
"name": "typicode"
}
}
"users": [
{
"id": 1,
"name": "Никита",
"surname": "Потапов",
"username": "nspotapov",
"password": "123456",
"isTeacher": false,
"groupId": 1
},
{
"id": 2,
"name": "Алексей",
"surname": "Филиппов",
"username": "afilippov",
"password": "123456",
"isTeacher": true,
"groupId": null
},
{
"id": 3,
"name": "Елена",
"surname": "Бакальская",
"username": "ekallin",
"password": "123456",
"isTeacher": false,
"groupId": 1
}
],
"groups": [
{
"id": 1,
"name": "пибд-21"
}
],
"subjects": [
{
"id": 1,
"name": "Интернет программирование"
},
{
"id": 2,
"name": "РПП"
},
{
"id": 3,
"name": "Физическая культура"
},
{
"id": 4,
"name": "Системный анализ"
},
{
"id": 5,
"name": "Системное администрирование"
},
{
"id": 6,
"name": "Основы теории систем"
},
{
"id": 7,
"name": "Иностранный язык"
},
{
"id": 8,
"name": "Философия"
},
{
"id": 9,
"name": "Теория вероятностей"
},
{
"id": 10,
"name": "Операционные системы"
},
{
"id": 11,
"name": "Основы ЭВМ и систем"
},
{
"id": 12,
"name": "Базы данных"
}
],
"marks": [
{
"id": 2,
"name": "неуд",
"controltypeId": 1
},
{
"id": 3,
"name": "удов",
"controltypeId": 1
},
{
"id": 4,
"name": "хорошо",
"controltypeId": 1
},
{
"id": 5,
"name": "отлично",
"controltypeId": 1
},
{
"id": 6,
"name": "зачтено",
"controltypeId": 2
},
{
"id": 7,
"name": "незачет",
"controltypeId": 2
}
],
"statements": [
{
"id": 1,
"subjectId": 6,
"groupId": 1,
"controlTypeId": 2,
"date": "Dec 25 2023"
},
{
"id": 2,
"subjectId": 8,
"groupId": 1,
"controlTypeId": 2,
"date": "Dec 26 2023"
}
{
"id": 3,
"subjectId": 7,
"groupId": 1,
"controlTypeId": 2,
"date": "Dec 27 2023"
},
{
"id": 4,
"subjectId": 9,
"groupId": 1,
"controlTypeId": 2,
"date": "Dec 28 2023"
},
{
"id": 5,
"subjectId": 3,
"groupId": 1,
"controlTypeId": 2,
"date": "Dec 28 2023"
},
{
"id": 5,
"subjectId": 10,
"groupId": 1,
"controlTypeId": 2,
"date": "Dec 29 2023"
},
{
"id": 6,
"subjectId": 1,
"groupId": 1,
"controlTypeId": 1,
"date": "Jan 11 2024"
},
{
"id": 7,
"subjectId": 11,
"groupId": 1,
"controlTypeId": 1,
"date": "Jan 15 2024"
},
{
"id": 8,
"subjectId": 2,
"groupId": 1,
"controlTypeId": 1,
"date": "Jan 18 2024"
},
{
"id": 9,
"subjectId": 12,
"groupId": 1,
"controlTypeId": 1,
"date": "Jan 23 2024"
}
],
"controltypes": [
{
"id": 1,
"name": "Экзамен"
},
{
"id": 2,
"name": "Зачет"
}
],
"usermarks": [
{
"id": 1,
"userId": 1,
"markId": 6,
"statementId": 1
},
{
"id": 2,
"userId": 1,
"markId": 6,
"statementId": 2
},
{
"id": 3,
"userId": 1,
"markId": 6,
"statementId": 3
},
{
"id": 4,
"userId": 1,
"markId": 6,
"statementId": 4
},
{
"id": 5,
"userId": 1,
"markId": 6,
"statementId": 5
},
{
"id": 6,
"userId": 1,
"markId": 5,
"statementId": 6
},
{
"id": 7,
"userId": 1,
"markId": 5,
"statementId": 7
},
{
"id": 8,
"userId": 1,
"markId": 4,
"statementId": 8
},
{
"id": 9,
"userId": 1,
"markId": 3,
"statementId": 9
}
]
}