changes name response transfer

This commit is contained in:
ragilap
2026-03-16 11:08:37 +07:00
parent d0f3392738
commit 131949874a
@@ -16,7 +16,6 @@ type ProductWarehouseRelationDTO struct {
ProductId uint `json:"product_id"`
WarehouseId uint `json:"warehouse_id"`
Quantity float64 `json:"quantity"`
AvailableQty *float64 `json:"available_qty,omitempty"`
TransferAvailableQty *float64 `json:"transfer_available_qty,omitempty"`
}
@@ -67,7 +66,6 @@ func ToProductWarehouseRelationDTO(e entity.ProductWarehouse) ProductWarehouseRe
ProductId: e.ProductId, // Field yang benar dari entity
WarehouseId: e.WarehouseId, // Field yang benar dari entity
Quantity: e.Quantity,
AvailableQty: e.AvailableQty,
TransferAvailableQty: e.AvailableQty,
}
}