mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
feat: add more filters
This commit is contained in:
@@ -5,9 +5,11 @@ type Create struct {
|
||||
}
|
||||
|
||||
type Query struct {
|
||||
Page int `query:"page" validate:"omitempty,number,min=1"`
|
||||
Limit int `query:"limit" validate:"omitempty,number,min=1,max=100"`
|
||||
Search string `query:"search" validate:"omitempty,max=50"`
|
||||
Page int `query:"page" validate:"omitempty,number,min=1"`
|
||||
Limit int `query:"limit" validate:"omitempty,number,min=1,max=100"`
|
||||
Search string `query:"search" validate:"omitempty,max=50"`
|
||||
ProductID uint `query:"product_id" validate:"omitempty"`
|
||||
WarehouseID uint `query:"warehouse_id" validate:"omitempty"`
|
||||
}
|
||||
|
||||
type TransferProduct struct {
|
||||
|
||||
Reference in New Issue
Block a user