- 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;}
-
- }