package org.example.seed.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.example.seed.group.client.ClientUpdateGroup;

import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode
public class Point {

  @NotNull(groups = {ClientUpdateGroup.class})
  private Double latitude;

  @NotNull(groups = {ClientUpdateGroup.class})
  private Double longitude;
}

@@ -41,20 +41,22 @@
  lombok.
-Data
+Getter
 ;%0Aimport
@@ -63,33 +63,22 @@
  lombok.
-EqualsAndHashCode
+Setter
 ;%0Aimport
@@ -179,31 +179,22 @@
 ;%0A%0A@
-Data%0A@EqualsAndHashCode
+Getter%0A@Setter
 %0Apub

remove @Data by @Getter/@Setter