override fun equals()

in src/main/kotlin/com/haulmont/astronomy/model/Dimensions.kt [18:27]


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

        if (length != other.length) return false
        if (width != other.width) return false
        if (height != other.height) return false
        return true
    }