package com.example.cosmos_serversb.entities; import com.fasterxml.jackson.annotation.JsonIgnore; public class User { public String uId, uri, name, iconUri; public boolean login = true; public User() { } public User(String name, String uId, String uri, String iconUri) { setuId(uId); setUri(uri); setName(name); setIconUri(iconUri); this.login = true; } public static interface removeuIdAnduri{ @JsonIgnore String getUId(); @JsonIgnore String getUri(); } public String getuId() { return uId; } public void setuId(String uId) { this.uId = uId; } public String getUri() { return uri; } public void setUri(String uri) { this.uri = uri; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getIconUri() { return iconUri; } public void setIconUri(String iconUri) { this.iconUri = iconUri; } public boolean getLogin() { return login; } public void setLogin(boolean login) { this.login = login; } }