From 5b7d8329aef2d5c623060db3292e55b11f16e22b Mon Sep 17 00:00:00 2001 From: anbuiselly <105765792+anbuiselly@users.noreply.github.com> Date: Sun, 4 Dec 2022 21:05:25 +0700 Subject: [PATCH] update model gettransaction --- model/affiliate_request.go | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/model/affiliate_request.go b/model/affiliate_request.go index 1e6a369..359391b 100644 --- a/model/affiliate_request.go +++ b/model/affiliate_request.go @@ -1,12 +1,16 @@ package model +import "time" + // GetTransactionsRequest ... type GetTransactionsRequest struct { - Page int64 `json:"page"` - Limit int64 `json:"limit"` - Keyword string `json:"keyword"` - Status string `json:"status"` - Source string `json:"source"` - Campaign string `json:"campaign"` - Seller string `json:"seller"` + Page int64 `json:"page"` + Limit int64 `json:"limit"` + Keyword string `json:"keyword"` + Status string `json:"status"` + Source string `json:"source"` + Campaign string `json:"campaign"` + Seller string `json:"seller"` + FromAt time.Time `json:"fromAt"` + ToAt time.Time `json:"toAt"` }