diff --git a/src/main/java/cactusServer/entities/Account.java b/src/main/java/cactusServer/entities/Account.java index c46e353..e0dfb91 100644 --- a/src/main/java/cactusServer/entities/Account.java +++ b/src/main/java/cactusServer/entities/Account.java @@ -1,5 +1,31 @@ package cactusServer.entities; public class Account { + private int id; + private String name; + public Account(int userId, String userName) { + setId(userId); + setName(userName); + } + + public Account() { + + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } }