model

package
v0.0.0-...-2ecb562 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessToken

type AccessToken struct {
	*gorm.Model
	Token  string
	UserId string
	User   User `gorm:"foreignKey:UserId,constraint:OnUpdate:CASCADE,OnDelete:SET NULL;"`
}

type EmailLogs

type EmailLogs struct {
	*gorm.Model
	EmailId string
	Status  string
	UserId  string
	User    User `gorm:"foreignKey:UserId,constraint:OnUpdate:CASCADE,OnDelete:SET NULL;"`
}

type User

type User struct {
	*gorm.Model
	Name     string
	Email    string
	Password string
}

Jump to

Keyboard shortcuts

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