diff --git a/src/main/java/com/example/cosmos_serversb/entities/Request.java b/src/main/java/com/example/cosmos_serversb/entities/Request.java index 7557139..f18b8db 100644 --- a/src/main/java/com/example/cosmos_serversb/entities/Request.java +++ b/src/main/java/com/example/cosmos_serversb/entities/Request.java @@ -138,4 +138,8 @@ public void setDone(boolean done) { this.done = done; } + + public boolean equals(Request request) { + return this.rId.equals(request.getrId()); + } } \ No newline at end of file