mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
sub to trans
This commit is contained in:
@@ -20,7 +20,7 @@ type Subscription struct {
|
||||
TransactionTypeID string `json:"transactionTypeId", pg:"transaction_type_id"`
|
||||
TransactionType *TransactionType `json:"transactionType", pg:"rel:has-one, fk:transaction_type_id"`
|
||||
LastTransactionDate time.Time `json:"lastTransactionDate", pg:"last_transaction_date"`
|
||||
Amount int `json:"amount", pg:"amount"`
|
||||
Amount float32 `json:"amount", pg:"amount"`
|
||||
}
|
||||
|
||||
type NewSubscriptionBody struct {
|
||||
|
||||
Reference in New Issue
Block a user