generated from getclasslabs/api-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
course.go
29 lines (28 loc) · 1.37 KB
/
course.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package domain
type Course struct {
Email string `json:"email,omitempty"`
ID int `json:"id,omitempty"`
Name string `json:"name"`
Description string `json:"description"`
CategoryID int `json:"categoryID"`
CategoryName string `json:"categoryName,omitempty"`
TeacherName string `json:"teacherName,omitempty"`
TeacherId int `json:"teacher_id,omitempty"`
MaxStudents int `json:"maxStudents,omitempty"`
Classes int `json:"classes,omitempty"`
Periods string `json:"periods,omitempty"`
Price float64 `json:"price"`
Payment string `json:"payment"`
StartDay string `json:"startDay"`
Type string `json:"type"`
Place string `json:"place,omitempty"`
AllowStudentsAfterStart bool `json:"allowStudentsAfterStart,omitempty"`
ClassOpen bool `json:"classOpen,omitempty"`
ClassesGiven int `json:"classesGiven,omitempty"`
CreatedAt string `json:"createdAt"`
Active bool `json:"active,omitempty"`
Image string `json:"image"`
Registered *bool `json:"registered,omitempty"`
Solicitation *bool `json:"solicitation,omitempty"`
StudentsRegistered int `json:"studentsRegistered"`
}