package com.ffii.fpsms.modules.bag.entity

import com.fasterxml.jackson.annotation.JsonManagedReference
import com.ffii.core.entity.BaseEntity
import com.ffii.fpsms.m18.entity.M18DataLog
import jakarta.persistence.*
import jakarta.validation.constraints.NotNull
import jakarta.validation.constraints.Size
import java.time.LocalDateTime
@Entity
@Table(name = "bag")
open class Bag: BaseEntity<Long>() {
    @Column(name = "itemId", nullable = false)
    open var itemId: Long? = null

    @Column(name = "itemCode", nullable = false)
    open var itemCode: String? = null

    @Column(name = "itemName", nullable = false)
    open var itemName: String? = null

    @Column(name = "takenBagBalance", nullable = false)
    open var takenBagBalance: Int? = null
}