model

package
v0.0.0-...-fd95499 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 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 Client

type Client struct {
	ID         string    `json:"id,omitempty"`
	FamilyName string    `json:"family_name,omitempty"`
	Name       string    `json:"name,omitempty"`
	Patronomic string    `json:"patronomic,omitempty"`
	Employee   *Employee `json:"employee,omitempty"`
}

Client presents client

type Employee

type Employee struct {
	ID         string    `json:"id,omitempty"`
	FamilyName string    `json:"family_name,omitempty"`
	Name       string    `json:"name,omitempty"`
	Patronomic string    `json:"patronomic,omitempty"`
	Clients    []*Client `json:"clients,omitempty"`
}

Employee presents psychologist

type Employment

type Employment struct {
	Client  *Client    `json:"client,omitempty"`
	Shedule []*Shedule `json:"shedule,omitempty"`
}

Employment ...

type Shedule

type Shedule struct {
	Employee *Employee `json:"employee,omitempty"`
	DateTime time.Time `json:"date_time,omitempty"`
}

Shedule ...

Jump to

Keyboard shortcuts

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