Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // GINO JSON
- const user = {
- email: "email@mail.com",
- password: "123",
- role: 1 // 1 parent 2 student 3 teacher
- };
- // 1 Parent
- const userMetaParent = {
- children: [1, 2, 3] // Children IDS
- };
- const userMetaStudent = {
- subjects: [1, 2, 3], // Subject Ids
- schedules: [1, 2, 3],
- assignment: [1, 2, 3], // Ass ID
- section: 1, //Section id
- grade: 4
- };
- const userMetaTeacher = {
- schedules: [1, 2, 3], //Schedule ID
- sections: [1, 2, 3] // Section ID
- };
- const section = {
- id: 1,
- name: "J",
- teacher: 1, // Teacher ID
- students: [1, 2, 3] // Section Students
- };
- const schedule = {
- id: 1,
- teacher: 1, // Teacher id
- subject: 1, // Subject ID - Math
- students: [1, 2, 3], // Schedule Students,
- days: [1, 2] // 1 - Mon 2 - Tue and so on 7 - sun
- };
- const subjects = [
- {
- id: 1,
- name: "Math - 1",
- description: "Mathalino",
- grade: 1
- },
- {
- id: 2,
- name: "Physics -1",
- description: "Masakit sa ulo",
- grade: 2
- }
- ];
- const assignment = {
- id: 1,
- name: "",
- description: "",
- completed: false
- };
Add Comment
Please, Sign In to add comment