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

import java.math.BigDecimal
import java.time.LocalDateTime

data class CreateJobOrderRequest (
    val bomId: Long?,
    val planStart: LocalDateTime? = null,
    val planEnd: LocalDateTime? = null,
    val reqQty: BigDecimal?,
    val type: String? = "detailed",
    val approverId: Long? = null,
    val prodScheduleLineId: Long? = null,
    val status: String = "planning",
)

data class CreateJobOrderBomMaterialRequest (
    val joId: Long?,
    val itemId: Long?,
    val reqQty: BigDecimal?,
    val uomId: Long?,
    val status: String = "pending",
)

data class CreateJobOrderProcessRequest (
    val joId: Long?,
    val processId: Long?,
    val seqNo: Long?,
    val remarks: String? = null,
    val status: String = "pending",
)