diff --git a/src/main/java/org/sadtech/autoresponder/entity/UnitPointer.java b/src/main/java/org/sadtech/autoresponder/entity/UnitPointer.java index 20f39e3..7916ec9 100644 --- a/src/main/java/org/sadtech/autoresponder/entity/UnitPointer.java +++ b/src/main/java/org/sadtech/autoresponder/entity/UnitPointer.java @@ -1,8 +1,9 @@ package org.sadtech.autoresponder.entity; import lombok.AllArgsConstructor; -import lombok.Data; -import lombok.RequiredArgsConstructor; +import lombok.EqualsAndHashCode; +import lombok.Getter; +import lombok.Setter; import org.sadtech.autoresponder.util.Description; /** @@ -10,13 +11,14 @@ import org.sadtech.autoresponder.util.Description; * * @author upagge [07/07/2019] */ -@Data -@RequiredArgsConstructor +@Getter +@Setter @AllArgsConstructor +@EqualsAndHashCode(of = "entityId") public class UnitPointer { @Description("Идентификатор пользователя") - private final Long entityId; + private Long entityId; @Description("Юнит, который был обработан") private U unit;