model

package
v0.0.0-...-62c488e Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: Apache-2.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 Harga

type Harga struct {
	AdminID      string `json:"admin_id"`
	HargaTopUp   int64  `json:"harga_topup"`
	HargaBuyBack int64  `json:"harga_buyback"`
}

type Rekening

type Rekening struct {
	NoRek string  `gorm:"primaryKey unique" json:"norek"`
	Saldo float64 `json:"saldo"`
}

type Transaction

type Transaction struct {
	ID              string                   `gorm:"primaryKey" json:"-"`
	NoRek           string                   `json:"norek"`
	TransactionDate int64                    `json:"date"`
	Type            constant.TransactionType `json:"type"`
	Gram            float64                  `json:"gram"`
	Saldo           float64                  `json:"saldo"`
	HargaTopUp      int64                    `json:"harga_topup"`
	HargaBuyBack    int64                    `json:"harga_buyback"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳