Feat[BE-127] Creating project flock kandang get all with soma query param

This commit is contained in:
aguhh18
2025-11-06 17:57:10 +07:00
parent d587a793fe
commit 663d5129bb
4 changed files with 126 additions and 66 deletions
@@ -20,4 +20,5 @@ type Query struct {
AreaId uint `query:"area_id" validate:"omitempty"`
SortBy string `query:"sort_by" validate:"omitempty,oneof=created_at period"`
SortOrder string `query:"sort_order" validate:"omitempty,oneof=ASC DESC"`
StepName string `query:"step_name" validate:"omitempty,max=50"`
}