2024-05-27 21:46:44 +01:00

28 lines
382 B
Go

package entity
import (
"time"
"github.com/google/uuid"
"github.com/shopspring/decimal"
)
const InvalidId uint64 = 0
type Transaction struct {
Id uint64
Date time.Time
Description string
Value decimal.Decimal
}
type Transactions = []Transaction
type Bank struct {
Id string
Name string
NordigenId uuid.UUID
}
type Banks = []Bank