diff --git a/src/main/java/com/example/cosmos_serversb/entities/Token.java b/src/main/java/com/example/cosmos_serversb/entities/Token.java index 6e5a120..5afba99 100644 --- a/src/main/java/com/example/cosmos_serversb/entities/Token.java +++ b/src/main/java/com/example/cosmos_serversb/entities/Token.java @@ -2,8 +2,6 @@ import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.Data; - -@Data public class Token { public String token; @JsonIgnore @@ -16,6 +14,15 @@ setToken(token); setuId(uId); } + + public void setToken(String token) { + this.token = token; + } + + public String getToken() { + return token; + } + public void setuId(String uId) { this.uId = uId; }