package com.dowstats.data.entities.weapon

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


@Entity
@Table(name = "weapon_modifiers")
class WeaponModifiers : ModifiersBase() {

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

    var maxLifeTime: Double? = null

}
