mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 00:12:11 +08:00
code refactor
This commit is contained in:
@@ -87,7 +87,7 @@ type TransactionCategoryHideRequest struct {
|
||||
|
||||
// TransactionCategoryMoveRequest represents all parameters of transaction category moving request
|
||||
type TransactionCategoryMoveRequest struct {
|
||||
NewDisplayOrders []*TransactionCategoryNewDisplayOrderRequest `json:"newDisplayOrders"`
|
||||
NewDisplayOrders []*TransactionCategoryNewDisplayOrderRequest `json:"newDisplayOrders" binding:"required,min=1"`
|
||||
}
|
||||
|
||||
// TransactionCategoryNewDisplayOrderRequest represents a data pair of id and display order
|
||||
|
||||
Reference in New Issue
Block a user