package com.ffii.fpsms.modules.stock.web.model

import com.fasterxml.jackson.annotation.JsonFormat
import java.time.LocalDateTime

/**
 * PO-linked stock-in line needing user action (pending / receiving), for alert list UI.
 */
data class PurchaseStockInAlertRow(
    val stockInLineId: Long,
    val purchaseOrderId: Long,
    val purchaseOrderLineId: Long,
    val poCode: String?,
    val itemNo: String?,
    val itemName: String?,
    val status: String?,
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    val lineCreated: LocalDateTime?,
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    val receiptDate: LocalDateTime?,
    val lotNo: String?,
)