package io.videtur.ignis.model;

import com.google.firebase.auth.FirebaseUser;

import java.util.Map;

@SuppressWarnings("unused")
public class User {

    private String mName;
    private String mEmail;
    private String mPhotoUrl;
    private long mLastOnline;
    private Map<String, Object> connections;
    private Map<String, Object> chats;
    private Map<String, Object> unread;

    public User() {
    }

    public User(FirebaseUser firebaseUser) {
        mName = firebaseUser.getDisplayName();
        mEmail = firebaseUser.getEmail();
        if (firebaseUser.getPhotoUrl() != null) {
            mPhotoUrl = firebaseUser.getPhotoUrl().toString();
        }
    }

    public String getName() {
        return mName;
    }

    public void setName(String mName) {
        this.mName = mName;
    }

    public String getEmail() {
        return mEmail;
    }

    public void setEmail(String mEmail) {
        this.mEmail = mEmail;
    }

    public String getPhotoUrl() {
        return mPhotoUrl;
    }

    public void setPhotoUrl(String mPhotoUrl) {
        this.mPhotoUrl = mPhotoUrl;
    }

    public long getLastOnline() {
        return mLastOnline;
    }

    public void setLastOnline(long mLastOnline) {
        this.mLastOnline = mLastOnline;
    }

    public Map<String, Object> getConnections() {
        return connections;
    }

    public void setConnections(Map<String, Object> connections) {
        this.connections = connections;
    }

    public Map<String, Object> getChats() {
        return chats;
    }

    public void setChats(Map<String, Object> chats) {
        this.chats = chats;
    }

    public Map<String, Object> getUnread() {
        return unread;
    }

    public void setUnread(Map<String, Object> unread) {
        this.unread = unread;
    }
}

@@ -164,18 +164,17 @@
  String 
-mN
+n
 ame;%0A   
@@ -185,26 +185,25 @@
 vate String 
-mE
+e
 mail;%0A    pr
@@ -211,26 +211,25 @@
 vate String 
-mP
+p
 hotoUrl;%0A   
@@ -238,26 +238,25 @@
 rivate long 
-mL
+l
 astOnline;%0A 
@@ -459,18 +459,17 @@
         
-mN
+n
 ame = fi
@@ -505,18 +505,17 @@
         
-mE
+e
 mail = f
@@ -600,18 +600,17 @@
         
-mP
+p
 hotoUrl 
@@ -712,18 +712,17 @@
  return 
-mN
+n
 ame;%0A   
@@ -778,18 +778,17 @@
    this.
-mN
+n
 ame = mN
@@ -845,18 +845,17 @@
  return 
-mE
+e
 mail;%0A  
@@ -914,18 +914,17 @@
    this.
-mE
+e
 mail = m
@@ -986,18 +986,17 @@
  return 
-mP
+p
 hotoUrl;
@@ -1064,18 +1064,17 @@
    this.
-mP
+p
 hotoUrl 
@@ -1142,18 +1142,17 @@
  return 
-mL
+l
 astOnlin
@@ -1224,18 +1224,17 @@
    this.
-mL
+l
 astOnlin

Make User attribute names consistent