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

import java.time.LocalDateTime

data class SaveEscalationLogResponse(
    val id: Long?,
    val stockInLineId: Long?,
    val stockOutLineId: Long?,
    val handlerId: Long?,
    val handlerName: String?,
    val handlerTitle: String?,
    val handlerDepartment: String?,
    val recordDate: LocalDateTime?,
    val status: String?,
    val reason: String?,
)
enum class LedgerFailFactor {
    INVALID_DELTA_QTY,
    STOCK_OUT_LINE_NOT_FOUND,
    ITEM_NOT_FOUND,
    INVENTORY_NOT_FOUND,
    LEDGER_SAVE_EXCEPTION,
    UNKNOWN
}
 data class LedgerCreateResult(
    val success: Boolean,
    val failFactor: LedgerFailFactor? = null,
    val message: String? = null
)