package com.dowstats.data.entities.unit

import com.dowstats.data.dto.controllers.ModifierDto
import com.dowstats.data.entities.ModifiersBase
import com.dowstats.data.entities.building.Building
import com.fasterxml.jackson.annotation.JsonIgnore
import jakarta.persistence.*


@Entity
@Table(name = "unit_morale_break_modifiers")
class UnitMoraleBrakeModifiers : ModifiersBase() {

    @ManyToOne
    @JoinColumn(name = "unit_id", nullable = false)
    @JsonIgnore
    var unit: DowUnit? = null

}
