feat(transaction): #101 replace "note" with "party" and "description"
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m17s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m40s

This commit was merged in pull request #103.
This commit is contained in:
2025-05-17 22:06:52 +02:00
parent 84b7144f7b
commit 989a31afd1
5 changed files with 79 additions and 41 deletions

View File

@@ -17,8 +17,10 @@ type Transaction struct {
Id uuid.UUID
UserId uuid.UUID `db:"user_id"`
Timestamp time.Time
Note string
Timestamp time.Time
Company string
Party string
Description string
// account id is only nil, if the transaction is a deposit to a treasure chest
AccountId *uuid.UUID `db:"account_id"`
@@ -40,5 +42,6 @@ type TransactionInput struct {
TreasureChestId string
Value string
Timestamp string
Note string
Party string
Description string
}