diff --git a/app/src/main/java/com/example/nemophila/entities/Account.java b/app/src/main/java/com/example/nemophila/entities/Account.java index 2664fa0..9ebbf12 100644 --- a/app/src/main/java/com/example/nemophila/entities/Account.java +++ b/app/src/main/java/com/example/nemophila/entities/Account.java @@ -1,4 +1,46 @@ package com.example.nemophila.entities; +import java.util.HashMap; + public class Account { + private String name; + private String id; + private String pw; + private String token; + private HashMap posts = new HashMap<>(); + + + //Getter + + public String getName() { + return name; + } + public String getId() { + return id; + } + public String getPw() { + return pw; + } + public String getToken() { + return token; + } + public HashMap getPosts() { + return posts; + } + //Setter + public void setName(String name) { + this.name = name; + } + public void setId(String id) { + this.id = id; + } + public void setPw(String pw) { + this.pw = pw; + } + public void setToken(String token) { + this.token = token; + } + public void setPosts(HashMap posts) { + this.posts = posts; + } }