Newer
Older
NemophilaClient / app / src / main / java / com / example / nemophila / entities / AccountJson.java
m-mifune on 15 Jun 2023 653 bytes PostJsonの編集
package com.example.nemophila.entities;

public class AccountJson {
    private int postsCount;
    private String name;
    private String id;
    private String token;

    //Getter
    public int getPostsCount() {
        return postsCount;
    }
    public String getId() {return id;}
    public String getName() {return name;}
    public String getToken() {return token;}

    //Setter
    public void setPostsCount(int postsCount) {
        this.postsCount = postsCount;
    }
    public void setName(String name) {this.name = name;}
    public void setId(String id) {this.id = id;}
    public void setToken(String token) {this.token = token;}

}