This commit is contained in:
2021-12-02 10:44:14 +00:00
parent cdc767a497
commit e465b961a5
5 changed files with 25 additions and 11 deletions

View File

@ -7,6 +7,7 @@ import (
"time"
"github.com/google/uuid"
"github.com/jackc/pgtype"
)
type Account struct {
@ -30,8 +31,8 @@ type Payee struct {
type Transaction struct {
ID uuid.UUID
Date time.Time
Memo sql.NullString
Amount string
Memo string
Amount pgtype.Numeric
AccountID uuid.UUID
PayeeID uuid.NullUUID
}