add api update periode flock/project flock kandang

This commit is contained in:
giovanni
2026-04-23 21:56:17 +07:00
parent e6010fe47e
commit be440af1c2
5 changed files with 108 additions and 8 deletions
@@ -41,3 +41,7 @@ type Resubmit struct {
KandangIds []uint `json:"kandang_ids" validate:"required_strict,min=1,dive,gt=0"`
ProjectBudgets []ProjectBudget `json:"project_budgets" validate:"required_strict,min=1,dive"`
}
type Update struct {
Period *int `json:"period" validate:"required,number,gt=0"`
}