FEAT[BE] :add type filtering and validation to product warehouse services

This commit is contained in:
aguhh18
2026-02-04 09:59:15 +07:00
parent f59cdd821a
commit 90de167fcd
8 changed files with 70 additions and 36 deletions
@@ -20,4 +20,5 @@ type Query struct {
Flags string `query:"flags" validate:"omitempty"`
KandangId uint `query:"kandang_id" validate:"omitempty,number,min=1"`
TransferContext string `query:"transfer_context" validate:"omitempty,oneof=inventory_transfer"`
Type string `query:"type" validate:"omitempty,oneof=AYAM TELUR TRADING AYAM_PULLET"`
}