package com.dowstats.data.entities.addon

import com.dowstats.data.entities.RequirementBase
import com.fasterxml.jackson.annotation.JsonIgnore
import jakarta.persistence.*


@Entity
@Table(name = "addon_requirements")
class AddonRequirements: RequirementBase() {

    @ManyToOne
    @JoinColumn(name = "addon_id", nullable = false)
    @JsonIgnore
    var addon: BuildingAddon? = null
    var replaceWhenDone: Boolean = false
}
