diff --git a/src/main/java/cactusServer/entities/Account.java b/src/main/java/cactusServer/entities/Account.java index e0dfb91..431ced0 100644 --- a/src/main/java/cactusServer/entities/Account.java +++ b/src/main/java/cactusServer/entities/Account.java @@ -1,10 +1,9 @@ package cactusServer.entities; public class Account { - private int id; - private String name; + private String id,name,pass; - public Account(int userId, String userName) { + public Account(String userId, String userName) { setId(userId); setName(userName); } @@ -13,11 +12,11 @@ } - public int getId() { + public String getId() { return id; } - public void setId(int id) { + public void setId(String id) { this.id = id; } @@ -28,4 +27,12 @@ public void setName(String name) { this.name = name; } + + public String getPass() { + return pass; + } + + public void setPass(String pass) { + this.pass = pass; + } }