package com.dowstats.data.entities.building

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 = "building_requirements")
class BuildingRequirements: RequirementBase() {

    @ManyToOne
    @JoinColumn(name = "building_id", nullable = false)
    @JsonIgnore
    var building: Building? = null
}
