Newer
Older
NemophilaClient / app / src / main / java / com / example / nemophila / entities / AccountNameJson.java
package com.example.nemophila.entities;

public class AccountNameJson {
    private String uid;
    private String name;

    // Getter
    public String getName() {
        return name;
    }
    public String getUid() {
        return uid;
    }

    // Setter
    public void setName(String name) {
        this.name = name;
    }
    public void setUid(String uid) {
        this.uid = uid;
    }

    @Override
    public boolean equals(Object o) {
        if (!(o instanceof AccountNameJson)) {
            return false;
        }
        AccountNameJson anj = (AccountNameJson) o;
        if (!this.uid.equals(anj.uid)) {
            return false;
        }
        return true;
    }
}