override fun equals()

in src/main/kotlin/com/haulmont/astronomy/model/Individual.kt [19:25]


    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (other == null || Hibernate.getClass(this) != Hibernate.getClass(other)) return false
        other as Individual

        return id != null && id == other.id
    }