Newer
Older
NemophilaClient / app / src / main / java / com / example / nemophila / entities / Account.java
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<String, Post> 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<String, Post> 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<String, Post> posts) {
        this.posts = posts;
    }
}