model

package
v0.0.0-...-f7dd486 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mutation

type Mutation struct {
}

type NewCourse

type NewCourse struct {
	Name          string   `json:"name"`
	Description   *string  `json:"description,omitempty"`
	Price         int      `json:"price"`
	Psychologists []string `json:"psychologists"`
}

type NewLesson

type NewLesson struct {
	Name   string `json:"name"`
	Number int    `json:"number"`
	Course string `json:"course"`
}

type NewPsychologist

type NewPsychologist struct {
	Name        string  `json:"name"`
	Description *string `json:"description,omitempty"`
}

type Query

type Query struct {
}

type UpdateCourse

type UpdateCourse struct {
	ID          string  `json:"id"`
	Name        string  `json:"name"`
	Description *string `json:"description,omitempty"`
	Price       int     `json:"price"`
}

type UpdateLesson

type UpdateLesson struct {
	ID     string `json:"id"`
	Name   string `json:"name"`
	Number int    `json:"number"`
}

type UpdatePsychologist

type UpdatePsychologist struct {
	ID          string  `json:"id"`
	Name        string  `json:"name"`
	Description *string `json:"description,omitempty"`
}

Jump to

Keyboard shortcuts

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