domain

package
v0.0.0-...-19f0fab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Course

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"`
}

type IngressAcceptance

type IngressAcceptance struct {
	Email                 string `json:"email,omitempty"`
	StudentID             int    `json:"studentID"`
	CourseID              int    `json:"courseID"`
	IngressSolicitationID int    `json:"ingressSolicitationID"`
	CreatedAt             string `json:"createdAt,omitempty"`
}

type IngressSolicitation

type IngressSolicitation struct {
	Email     string         `json:"email,omitempty"`
	StudentId string         `json:"studentID"`
	CourseID  string         `json:"courseID"`
	Text      string         `json:"text"`
	Image     multipart.File `json:"image"`
	CreatedAt string         `json:"createdAt,omitempty"`
}

type IngressSolicitationResponse

type IngressSolicitationResponse struct {
	Email     string `json:"email,omitempty"`
	ID        int64  `json:"id"`
	StudentId int64  `json:"studentID"`
	CourseID  int64  `json:"courseID"`
	Text      string `json:"text"`
	Image     string `json:"image"`
	Nickname  string `json:"nickname"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
	CreatedAt string `json:"createdAt,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL