Luís Murta 688a9dcaf2
Add DAL interface and mock
Also add entity package with domain types.
2024-04-27 20:42:11 +01:00

26 lines
354 B
Go

package entity
import (
"time"
"github.com/google/uuid"
"github.com/shopspring/decimal"
)
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