update model gettransaction

This commit is contained in:
anbuiselly 2022-12-04 21:05:25 +07:00
parent d7c2660ae2
commit 5b7d8329ae
1 changed files with 11 additions and 7 deletions

View File

@ -1,5 +1,7 @@
package model package model
import "time"
// GetTransactionsRequest ... // GetTransactionsRequest ...
type GetTransactionsRequest struct { type GetTransactionsRequest struct {
Page int64 `json:"page"` Page int64 `json:"page"`
@ -9,4 +11,6 @@ type GetTransactionsRequest struct {
Source string `json:"source"` Source string `json:"source"`
Campaign string `json:"campaign"` Campaign string `json:"campaign"`
Seller string `json:"seller"` Seller string `json:"seller"`
FromAt time.Time `json:"fromAt"`
ToAt time.Time `json:"toAt"`
} }