mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
add total amount in home page
This commit is contained in:
@@ -44,6 +44,12 @@ type Transaction struct {
|
||||
DeletedUnixTime int64
|
||||
}
|
||||
|
||||
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"`
|
||||
|
||||
Reference in New Issue
Block a user