package com.dowstats.data.entities.sergant

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

    @ManyToOne
    @JoinColumn(name = "sergeant_id", nullable = false)
    @JsonIgnore
    var sergeant: Sergeant? = null
}
