Feat[BE]: create resubmit projectflock API

This commit is contained in:
aguhh18
2025-12-02 12:39:58 +07:00
parent 002981e63b
commit e667d88218
6 changed files with 128 additions and 2 deletions
@@ -43,3 +43,8 @@ type ProjectBudget struct {
Price float64 `json:"price" validate:"required_strict,number,gt=0"`
Qty float64 `json:"qty" validate:"required_strict,number,gt=0"`
}
type Resubmit struct {
KandangIds []uint `json:"kandang_ids" validate:"required_strict,min=1,dive,gt=0"`
ProjectBudgts []ProjectBudget `json:"project_budgets" validate:"required_strict,min=1,dive"`
}