mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 21:41:55 +00:00
feat[BE-378]:Create API Get All HPP Harian Kandang
This commit is contained in:
@@ -42,3 +42,15 @@ type PurchaseSupplierQuery struct {
|
||||
SortBy string `query:"sort_by" validate:"omitempty"`
|
||||
FilterBy string `query:"filter_by" validate:"omitempty"`
|
||||
}
|
||||
|
||||
type HppPerKandangQuery struct {
|
||||
Page int `query:"page" validate:"omitempty,min=1,gt=0"`
|
||||
Limit int `query:"limit" validate:"omitempty,min=1,max=100,gt=0"`
|
||||
Period string `query:"period" validate:"required"`
|
||||
ShowUnrecorded bool `query:"show_unrecorded"`
|
||||
AreaIDs []int64 `query:"-"`
|
||||
LocationIDs []int64 `query:"-"`
|
||||
KandangIDs []int64 `query:"-"`
|
||||
WeightMin *float64 `query:"-"`
|
||||
WeightMax *float64 `query:"-"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user