Feat[BE-127] create get all with param on project flock kandang

This commit is contained in:
aguhh18
2025-11-06 14:03:47 +07:00
parent 5cfa97dd03
commit 4b69afe4fa
5 changed files with 129 additions and 29 deletions
@@ -68,6 +68,12 @@ type ProjectFlockKandangDetailDTO struct {
ProjectFlockKandangListDTO
}
// Wrapper untuk GetAll dengan available quantities sudah included
type ProjectFlockKandangWithAvailableQtysDTO struct {
Entity entity.ProjectFlockKandang
AvailableQtys []map[string]interface{}
}
// === Mapper Functions (ordered) ===
func ToProjectFlockKandangBaseDTO(e entity.ProjectFlockKandang) ProjectFlockKandangBaseDTO {