feat/BE/US-284/TASK-,299-Create API (GET ONE in tab Perhitungan Sapronak),add filtering by flag

This commit is contained in:
ragilap
2025-12-08 13:40:37 +07:00
parent a8434a5246
commit e0e2d91db5
5 changed files with 163 additions and 41 deletions
@@ -5,5 +5,5 @@ type SapronakQuery struct {
KandangID uint `query:"kandang_id" validate:"omitempty,gt=0"`
ProjectFlockKandangID uint `query:"project_flock_kandang_id" validate:"omitempty,gt=0"`
Status string `query:"status" validate:"omitempty,oneof=active closing all"`
Debug bool `query:"debug"`
Flag string `query:"flag" validate:"omitempty,oneof=DOC OVK PAKAN doc ovk pakan"`
}