daily checklist can edit empty kandang kosong

This commit is contained in:
giovanni
2026-05-17 19:11:13 +07:00
parent 45bbe2ab1b
commit 18f9da1eaf
10 changed files with 490 additions and 121 deletions
@@ -9,7 +9,8 @@ type Create struct {
KandangId uint `json:"kandang_id" validate:"required"`
Category string `json:"category" validate:"required"`
Status string `json:"status" validate:"required"`
EmptyKandang bool `json:"empty_kandang"`
EmptyKandang bool `json:"empty_kandang"`
EmptyKandangEndDate string `json:"empty_kandang_end_date" validate:"omitempty"`
}
type Update struct {