natsio/model/campaign_request.go

23 lines
548 B
Go
Raw Permalink Normal View History

2022-11-24 02:06:48 +00:00
package model
2023-01-11 02:27:49 +00:00
import (
"go.mongodb.org/mongo-driver/bson/primitive"
"time"
)
2022-11-24 02:06:48 +00:00
// GetCampaignTransactionsRequest ...
type GetCampaignTransactionsRequest struct {
Campaign string `json:"campaign"`
Keyword string `json:"keyword"`
Status string `json:"status"`
FromAt time.Time `json:"fromAt"`
ToAt time.Time `json:"toAt"`
Page int64 `json:"page"`
Limit int64 `json:"limit"`
}
2023-01-11 02:27:49 +00:00
// GetCampaignSellerStatisticBySellerIDs ...
type GetCampaignSellerStatisticBySellerIDs struct {
SellerIDs []primitive.ObjectID
}