26 lines
354 B
Go
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
|