feat(transaction): #101 replace "note" with "party" and "description"
This commit was merged in pull request #103.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user