Simple pojo class with hashCode and equals overrided methods