Compare commits
2 Commits
7645930f1b
...
196ae6eb3a
Author | SHA1 | Date |
---|---|---|
Minh Nguyen | 196ae6eb3a | |
Nguyen Minh | 7c6738e6a9 |
149
struct.go
149
struct.go
|
@ -36,80 +36,81 @@ type DeleteDataPayload struct {
|
||||||
// ESQuery
|
// ESQuery
|
||||||
// Query support to search document
|
// Query support to search document
|
||||||
type ESQuery struct {
|
type ESQuery struct {
|
||||||
IsMatch bool // Search with match or prefix
|
IsMatch bool // Search with match or prefix
|
||||||
Index string // Index
|
Index string // Index
|
||||||
Page int64
|
Page int64
|
||||||
Limit int64
|
Limit int64
|
||||||
Keyword string
|
Keyword string
|
||||||
ProvinceCode int
|
ProvinceCode int
|
||||||
Active string
|
Active string
|
||||||
Display string
|
Display string
|
||||||
ShopID string
|
ShopID string
|
||||||
IsOutOfStock string
|
IsOutOfStock string
|
||||||
CanIssueInvoice string
|
CanIssueInvoice string
|
||||||
PendingInactive string
|
PendingInactive string
|
||||||
Categories []string
|
Categories []string
|
||||||
SubCategories []string
|
SubCategories []string
|
||||||
IgnoreIDs []string
|
IgnoreIDs []string
|
||||||
Suppliers []string
|
Suppliers []string
|
||||||
SlugCites []string
|
SlugCites []string
|
||||||
Type string
|
Type string
|
||||||
ServiceDelivery string
|
ServiceDelivery string
|
||||||
SourceDelivery string
|
SourceDelivery string
|
||||||
Brands []string
|
Brands []string
|
||||||
NoBrand string
|
NoBrand string
|
||||||
Banned string
|
Banned string
|
||||||
ListUser []string
|
ListUser []string
|
||||||
ListNotUser []string
|
ListNotUser []string
|
||||||
PaymentMethod string
|
PaymentMethod string
|
||||||
Source string
|
Source string
|
||||||
ListSource []string
|
ListSource []string
|
||||||
FromNewActiveSeller string
|
FromNewActiveSeller string
|
||||||
FromNewActiveBuyer string
|
FromNewActiveBuyer string
|
||||||
EmailStatus string
|
EmailStatus string
|
||||||
MerchantStatus string
|
MerchantStatus string
|
||||||
IsCalled string
|
IsCalled string
|
||||||
IsAutoApproved string
|
IsAutoApproved string
|
||||||
ProcessStatus string
|
ProcessStatus string
|
||||||
OutboundRequestStatus string
|
OutboundRequestStatus string
|
||||||
IsWholesaleBonus string
|
IsWholesaleBonus string
|
||||||
IsPreorder string
|
IsPreorder string
|
||||||
IsDeleted string
|
IsDeleted string
|
||||||
Tags []string
|
Tags []string
|
||||||
Sorts []ESSort
|
Sorts []ESSort
|
||||||
ListStatus []string
|
ListStatus []string
|
||||||
ListDeliveryStatus []string
|
ListDeliveryStatus []string
|
||||||
FromAt time.Time
|
FromAt time.Time
|
||||||
ToAt time.Time
|
ToAt time.Time
|
||||||
ApprovedFrom time.Time
|
ApprovedFrom time.Time
|
||||||
ApprovedTo time.Time
|
ApprovedTo time.Time
|
||||||
DeliveredFrom time.Time
|
DeliveredFrom time.Time
|
||||||
DeliveredTo time.Time
|
DeliveredTo time.Time
|
||||||
CashbackFrom time.Time
|
CashbackFrom time.Time
|
||||||
CashbackTo time.Time
|
CashbackTo time.Time
|
||||||
FromPrice float64
|
FromPrice float64
|
||||||
ToPrice float64
|
ToPrice float64
|
||||||
Inventories []string
|
Inventories []string
|
||||||
NotInventories []string
|
NotInventories []string
|
||||||
ReferralCode string
|
ReferralCode string
|
||||||
MembershipLevel int
|
MembershipLevel int
|
||||||
Invitee string
|
Invitee string
|
||||||
Segments []string
|
Segments []string
|
||||||
IsOrderMerchant bool
|
IsOrderMerchant bool
|
||||||
ImportHistory string
|
ImportHistory string
|
||||||
IsSetup string
|
IsSetup string
|
||||||
IsAvailable string
|
IsAvailable string
|
||||||
PlatForm string
|
PlatForm string
|
||||||
BusinessType string
|
BusinessType string
|
||||||
ServiceEcommerce []string
|
ServiceEcommerce []string
|
||||||
Status string
|
Status string
|
||||||
Fraud string
|
Fraud string
|
||||||
PickedFrom time.Time
|
PickedFrom time.Time
|
||||||
PickedTo time.Time
|
PickedTo time.Time
|
||||||
SupplierApproveFrom time.Time
|
SupplierApproveFrom time.Time
|
||||||
SupplierApproveTo time.Time
|
SupplierApproveTo time.Time
|
||||||
PlanPackage int
|
PlanPackage int
|
||||||
ProductType string
|
ProductType string
|
||||||
|
IsBlockedVisibleInSelly bool
|
||||||
}
|
}
|
||||||
|
|
||||||
// ESSort
|
// ESSort
|
||||||
|
|
Loading…
Reference in New Issue