From f57f56b9eaecfc5c847db049a755cce482796e04 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Mon, 29 Mar 2021 00:03:06 +0800 Subject: [PATCH] remove unused code --- pkg/models/transaction.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkg/models/transaction.go b/pkg/models/transaction.go index 9bc261aa..77a6f9ea 100644 --- a/pkg/models/transaction.go +++ b/pkg/models/transaction.go @@ -50,13 +50,6 @@ type Transaction struct { DeletedUnixTime int64 } -// TransactionTotalAmount represents total amount for specific transaction type -type TransactionTotalAmount struct { - Uid int64 - Type TransactionDbType - TotalAmount int64 `xorm:"NOT NULL"` -} - // TransactionCreateRequest represents all parameters of transaction creation request type TransactionCreateRequest struct { Type TransactionType `json:"type" binding:"required"`