diff --git a/src/main/java/org/ntlab/amaryllis/server/entities/SignUpJson.java b/src/main/java/org/ntlab/amaryllis/server/entities/SignUpJson.java index 9a63106..4de2348 100644 --- a/src/main/java/org/ntlab/amaryllis/server/entities/SignUpJson.java +++ b/src/main/java/org/ntlab/amaryllis/server/entities/SignUpJson.java @@ -1,8 +1,15 @@ package org.ntlab.amaryllis.server.entities; +import java.util.UUID; + public class SignUpJson { private String message; private String uid; + private String token; + + public SignUpJson(){ + this.token= UUID.randomUUID().toString(); + } public String getMessage() { return message; @@ -12,6 +19,10 @@ return uid; } + public String getToken() { + return token; + } + public void setMessage(String message) { this.message = message; } @@ -19,4 +30,8 @@ public void setUid(String uid) { this.uid = uid; } + + public void setToken(String token) { + this.token = token; + } }