From 55925af1078e91a84454a4743510646ba272f397 Mon Sep 17 00:00:00 2001
From: Ilham Firdausi Putra <ilhamfputra31@gmail.com>
Date: Wed, 20 Feb 2019 03:50:42 +0700
Subject: [PATCH] add user model

---
 .../src/main/java/com/chatman/model/User.java | 47 +++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/android/app/src/main/java/com/chatman/model/User.java b/android/app/src/main/java/com/chatman/model/User.java
index d3af306..0d1b9ad 100644
--- a/android/app/src/main/java/com/chatman/model/User.java
+++ b/android/app/src/main/java/com/chatman/model/User.java
@@ -1,4 +1,51 @@
 package com.chatman.model;
 
 public class User {
+    private String key;
+    private String name;
+    private String email;
+    private String password;
+
+
+    public User() {
+    }
+
+    public User(String key, String name, String email, String password) {
+        this.key = key;
+        this.name = name;
+        this.email = email;
+        this.password = password;
+    }
+
+    public String getKey() {
+        return key;
+    }
+
+    public void setKey(String key) {
+        this.key = key;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getEmail() {
+        return email;
+    }
+
+    public void setEmail(String email) {
+        this.email = email;
+    }
+
+    public String getPassword() {
+        return password;
+    }
+
+    public void setPassword(String password) {
+        this.password = password;
+    }
 }
-- 
GitLab