Browse Source

Hello world!

Dasflugen 5 years ago
parent
commit
4834a5a1fd
1 changed files with 23 additions and 5 deletions
  1. 23 5
      api/models.go

+ 23 - 5
api/models.go

@@ -1,9 +1,5 @@
 package api
 
-
-
-
-
 type Professionalmodule struct {
 	ID        uint
 	Name      string
@@ -54,6 +50,8 @@ type Group struct {
 	IDTeacher   uint
 	Groupnumber string 
 	Studentsquantity uint
+	Isbudget bool
+	IDPlan uint
 }
 
 type Semester struct {
@@ -61,6 +59,12 @@ type Semester struct {
 	Weeksquantity uint
 }
 
+
+type Exampleprogram struct {
+	ID            uint
+	IDSpecialty   uint
+}
+
 type Teacher struct {
 	ID          uint
 	Name        string
@@ -123,7 +127,7 @@ type Subjectofplan struct {
 	IDPlan		  uint
 	IDSubject	  uint
 	Hoursquantitytotal uint
-	idepentwork	  uint
+	independentwork	  uint
 	consulthours  uint
 }
 
@@ -131,4 +135,18 @@ type Subjectofplan struct {
 type Studyplan struct {
 	ID            uint
 	IDSpecialty   uint
+	IDGroup       uint
+	Isarchive 	  bool
+}
+
+
+type Subjectofexample struct {
+	ID            uint
+	IDSubject     uint
+	IDExampleprogram     uint
+	Totalhours uint
+	Prefferedcourse string
+	Labhours uint
+	Practicehours uint
+
 }