models

package
v0.0.0-...-1954100 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Subject string `bson:"Subject"`
	Points  int    `bson:"Points"`
	Mark    string `bson:"Mark"`
}

type Results

type Results struct {
	ID          int64    `bson:"_id"` // owner's Telegram ID
	LastUpdated int64    `bson:"LastUpdated"`
	List        []Result `bson:"List"`
}

type User

type User struct {
	ID         int64  `bson:"_id"` // Telegram ID
	Lastname   string `bson:"Lastname"`
	Name       string `bson:"Name"`
	SecondName string `bson:"SecondName"`
	DocNumber  string `bson:"DocNumber"`
}

Jump to

Keyboard shortcuts

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