entity

package
v0.0.0-...-c103791 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 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 Token

type Token struct {
	RefreshToken         string    `bson:"refreshToken,omitempty"`
	AccessToken          string    `bson:"accessToken,omitempty"`
	AccessTokenExpiresAt time.Time `bson:"expiresAt,omitempty"`
}

type User

type User struct {
	ID        string    `bson:"_id,omitempty"`
	Email     string    `bson:"email,omitempty"`
	CompanyID string    `bson:"companyID,omitempty"`
	Token     Token     `bson:"token,omitempty"`
	CreatedAt time.Time `bson:"createdAt,omitempty"`
	UpdatedAt time.Time `bson:"updatedAt,omitempty"`
	DeletedAt time.Time `bson:"deletedAt,omitempty"`
}

Jump to

Keyboard shortcuts

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