From 68c2d6580daaed665eb7a719a0700c92f9c64b42 Mon Sep 17 00:00:00 2001 From: upagge Date: Fri, 1 May 2020 18:01:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D0=BD=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sadtech/autoresponder/entity/UnitPointer.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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;