Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnswerMediaTask ¶
type MasterClass ¶
type MasterClass struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` StartAt string `json:"start_at"` EndAt string `json:"end_at"` Responsible Member `json:"responsible"` CountAll int `json:"count_all"` CountFree int `json:"count_free"` CountReserve int `json:"count_reserve"` PlacePhotoUrl string `json:"place_photo_url"` }
type MediaAnswer ¶
type MediaAnswer struct { Id int `json:"id"` MediaTaskId int `json:"media_task_id"` TeamId int `json:"team_id"` Points int `json:"points"` Status string `json:"status"` Comment string `json:"comment"` PhotoId int `json:"photo_id"` PhotoKey string `json:"photo_key"` PhotoUrl string `json:"photo_url"` PhotoAnswer []byte `json:"photo_answer"` PhotoType string `json:"photo_type"` }
type Member ¶
type Member struct { ID int `json:"id"` RoleId int `json:"roleId"` Name string `json:"name"` Group string `json:"group"` Email string `json:"email"` Telegram string `json:"telegram"` VK string `json:"VK"` TeamName string `json:"team_name"` Role string `json:"role"` PhoneNumber string `json:"phone_number"` }
type Sec ¶
type Sec struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` FIO string `json:"fio"` Phone string `json:"phone"` Telegram string `json:"telegram"` MasterClassId int `json:"master_class_id"` StartedAt time.Time `json:"started_at"` EndedAt time.Time `json:"ended_at"` Capacity int `json:"capacity"` Busy int `json:"busy"` PhotoUrl string `json:"photo_url"` }
type User ¶
type User struct { ID ID `db:"id"` Password string `db:"password"` PhoneNumber string `db:"phone_number"` Email string `db:"email"` EmailConfirmed bool `db:"email_confirmed"` Telegram string `db:"telegram"` VK string `db:"vk"` StudyGroup string `db:"group"` FIO string `db:"name"` TeamID *ID `db:"team_id"` RoleID *int `db:"role_id"` IsAdmin bool `db:"is_admin"` }
User
Таблица пользователей
Source Files ¶
Click to show internal directories.
Click to hide internal directories.