package com.ffii.fpsms.modules.master.entity

import com.ffii.core.entity.BaseEntity
import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.Table
import jakarta.validation.constraints.Size

/**
 * Lookup table for PS scheduling. Maps itemCode to systemType (e.g. coffee/tea).
 */
@Entity
@Table(name = "coffee_or_tea")
open class CoffeeOrTea : BaseEntity<Long>() {

    @Size(max = 100)
    @Column(name = "itemCode", length = 100)
    open var itemCode: String? = null

    @Size(max = 100)
    @Column(name = "systemType", length = 100)
    open var systemType: String? = null
}
