models

package
v0.0.0-...-d1da606 Latest Latest
Warning

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

Go to latest
Published: May 12, 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 Transaction

type Transaction struct {
	Id          int       `db:"transaction_id"`
	UserId      int       `db:"user_id" `
	Amount      float64   `db:"amount"`
	Type        string    `db:"transaction_type" `
	Description string    `db:"description"`
	Date        time.Time `db:"transaction_date"`
}

type Wallet

type Wallet struct {
	UserID  int     `db:"id" `
	Balance float64 `db:"balance" `
}

Jump to

Keyboard shortcuts

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