Changed equals for EcoNewsCommentAuthorDto
package greencity.dto.econewscomment;
import javax.validation.constraints.NotEmpty;
-import lombok.AllArgsConstructor;
-import lombok.Builder;
-import lombok.Getter;
-import lombok.NoArgsConstructor;
-import lombok.Setter;
+
+import lombok.*;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
+@EqualsAndHashCode
public class EcoNewsCommentAuthorDto {
@NotEmpty
private Long id;
