in service/src/main/java/org/apache/fineract/cn/customer/internal/repository/DocumentEntity.java [128:134]
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DocumentEntity that = (DocumentEntity) o;
return Objects.equals(customer, that.customer) &&
Objects.equals(identifier, that.identifier);
}