package com.ffii.fpsms.modules.stock.entity

import com.ffii.core.entity.BaseEntity
import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.Table
import jakarta.validation.constraints.NotNull
import java.time.LocalDateTime

@Entity
@Table(name = "stock_out")
open class StockOut: BaseEntity<Long>(){
    @NotNull
    @Column(name = "type")
    open var type: String? = null

    @Column(name = "deliveryOrderCode")
    open var deliveryOrderCode: String? = null

    @Column(name = "consoPickOrderCode")
    open var consoPickOrderCode: String? = null

    @Column(name = "completeDate")
    open var completeDate: LocalDateTime? = null

    @Column(name = "status")
    open var status: String? = null

    @Column(name = "handlerId")
    open var handler: Long? = null

    @Column(name = "targetOutletId")
    open var targetOutletId: Long? = null

    @Column(name = "remarks")
    open var remarks: String? = null
    @Column(name = "stockTakeId")
    open var stockTakeId: Long? = null
}