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

import com.ffii.core.entity.BaseEntity
import jakarta.persistence.*
import jakarta.validation.constraints.NotNull
import jakarta.validation.constraints.Size

@Entity
@Table(name = "item_category")
open class ItemCategory : BaseEntity<Long>() {
    @Size(max = 50)
    @NotNull
    @Column(name = "name", nullable = false, length = 50)
    open var name: String? = null
}