models

package
v0.0.0-...-90e23d6 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 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 BlackList

type BlackList struct {
	CardNumber  string `gorm:"primaryKey"`
	DeletedById uint   `gorm:"index"`
	DeletedBy   User   `gorm:"foreignKey:DeletedById"`
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

type CardActivity

type CardActivity struct {
	gorm.Model
	CardNumber string `json:"cardNumber"`
	CardType   string `json:"cardType"`
	Event      string `json:"event"`
}

type User

type User struct {
	gorm.Model
	Email    string `json:"email" gorm:"type:varchar(255);unique;index;not null"`
	Username string `json:"username"`
	Password string `json:"-"`
}

Jump to

Keyboard shortcuts

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