models

package
v0.0.0-...-1dba6d9 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	ID        primitive.ObjectID `bson:"_id"`
	FullName  string             `bson:"fullName"`
	BirthDay  time.Time          `bson:"birthDay"`
	Email     string             `bson:"email"`
	Password  string             `bson:"password"`
	CreatedAt time.Time          `bson:"createdAt"`
	UpdatedAt time.Time          `bson:"updatedAt"`
}

type File

type File struct {
	FileID        primitive.ObjectID `bson:"_id"`
	User          primitive.ObjectID `bson:"user"`
	FileName      string             `bson:"fileName"`
	FileExtension string             `bson:"fileExtension"`
	FileLocation  string             `bson:"fileLocation"`
	InsertionDate time.Time          `bson:"insertionDate"`
}

Jump to

Keyboard shortcuts

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