models

package
v0.0.0-...-6119ed1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 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 User

type User struct {
	gorm.Model        // gorm.Model is embedded to provide common fields like ID, CreatedAt, UpdatedAt, and DeletedAt
	Email      string `gorm:"unique"` // Email field represents the email address of the user and is marked as unique in the database
	Password   string // Password field stores the hashed password of the user
}

User represents the user model in the application. It defines the structure of user data stored in the database.

Jump to

Keyboard shortcuts

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