models

package
v0.0.0-...-fa757dc Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID          primitive.ObjectID `bson:"_id" json:"id,omitempty"`
	FirstName   string             `bson:"first_name" json:"first_name,omitempty"`
	LastName    string             `bson:"last_name" json:"last_name,omitempty"`
	PhoneNumber string             `bson:"phone_number" json:"phone_number,omitempty"`
	Email       string             `bson:"email" json:"email,omitempty"`
	Password    string             `bson:"password" json:"password,omitempty"`
	CreatedAt   time.Time          `bson:"created_at" json:"created_at,omitempty"`
	UpdatedAt   time.Time          `bson:"updated_at" json:"updated_at,omitempty"`
}

Jump to

Keyboard shortcuts

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