equals

open operator override fun equals(other: Any?): Boolean

Compares two Entity instances based on their identifiers.

Return

true if both entities have equal identifiers and are of the same type.

Parameters

other

the object to compare with.