override fun equals()

in src/main/kotlin/com/jpabuddy/kotlinentities/domain.kt [118:124]


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

        return email == other.email
    }