package com.dowstats.data.entities.weapon

import com.dowstats.data.entities.RequirementBase
import com.fasterxml.jackson.annotation.JsonIgnore
import jakarta.persistence.Entity
import jakarta.persistence.JoinColumn
import jakarta.persistence.ManyToOne
import jakarta.persistence.Table


@Entity
@Table(name = "weapon_requirements")
class WeaponRequirements: RequirementBase() {

    @ManyToOne
    @JoinColumn(name = "weapon_id", nullable = false)
    @JsonIgnore
    var weapon: Weapon? = null
}
