package com.ffii.fpsms.modules.pickOrder.web.models

import com.ffii.fpsms.modules.pickOrder.enums.PickOrderType
import java.math.BigDecimal
import java.time.LocalDate
import java.time.LocalDateTime

data class SavePickOrderLineRequest (
    val itemId: Long?,
    val qty: BigDecimal,
//    val uomId: Long
    val uom: String? = null,
    val uomId: Long? = null
)
data class SavePickOrderRequest (
    val joId: Long? = null,
    val doId: Long? = null,
    val type: PickOrderType,
    var targetDate: LocalDate,
    val pickOrderLine: List<SavePickOrderLineRequest>
)

data class QrPickedLineRequest(
    val pickOrderLineId: Long,        
    val inventoryLotLineId: Long,   
    val submitQty: BigDecimal,       
    val targetStatus: String         
)
data class QrPickBatchSubmitRequest(
    val userId: Long,
    val lines: List<QrPickedLineRequest>
)

