override fun equals()

in src/main/kotlin/com/haulmont/astronomy/model/Waybill.kt [43:49]


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

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