first commit api production-result

This commit is contained in:
MacBook Air M1
2026-01-02 11:24:26 +07:00
parent 10f42ed9c4
commit 39909d1c2e
8 changed files with 523 additions and 3 deletions
@@ -54,3 +54,9 @@ type HppPerKandangQuery struct {
WeightMin *float64 `query:"-"`
WeightMax *float64 `query:"-"`
}
type ProductionResultQuery struct {
Page int `query:"page" validate:"omitempty,min=1,gt=0"`
Limit int `query:"limit" validate:"omitempty,min=1,max=100,gt=0"`
ProjectFlockKandangID uint `query:"-" validate:"required,gt=0"`
}