natsio/model/supplier_request.go

25 lines
476 B
Go
Raw Normal View History

2022-08-26 16:13:18 +00:00
package model
import (
"go.mongodb.org/mongo-driver/bson/primitive"
)
// GetSupplierRequest ...
type GetSupplierRequest struct {
2022-08-29 07:25:12 +00:00
ListID []primitive.ObjectID `json:"listID"`
}
type GetSupplierContractRequest struct {
SupplierID primitive.ObjectID `json:"supplierID"`
2022-08-26 16:13:18 +00:00
}
2022-08-31 07:29:11 +00:00
// SupplierRequestPayload ...
type SupplierRequestPayload struct {
2022-08-31 07:18:04 +00:00
Limit int
Page int
Keyword string
Status string
PIC string
ContractStatus string
2022-08-26 16:13:18 +00:00
}