Advertisement
joris

Messages

Aug 5th, 2017
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.73 KB | None | 0 0
  1. public class Messages implements MsgType {
  2.  
  3.     public String message;
  4.     public boolean seen;
  5.     public long time;
  6.     public String type;
  7.     public String profile_pic;
  8.     public String current_user_id;
  9.     public String typeMsg;
  10.  
  11.     public String getMessage() {
  12.         return message;
  13.     }
  14.  
  15.     public void setMessage(String message) {
  16.         this.message = message;
  17.     }
  18.  
  19.     public boolean isSeen() {
  20.         return seen;
  21.     }
  22.  
  23.     public void setSeen(boolean seen) {
  24.         this.seen = seen;
  25.     }
  26.  
  27.     public long getTime() {
  28.         return time;
  29.     }
  30.  
  31.     public void setTime(long time) {
  32.         this.time = time;
  33.     }
  34.  
  35.     public String getType() {
  36.         return type;
  37.     }
  38.  
  39.     public void setType(String type) {
  40.         this.type = type;
  41.     }
  42.  
  43.     public String getProfile_pic() {
  44.         return profile_pic;
  45.     }
  46.  
  47.     public void setProfile_pic(String profile_pic) {
  48.         this.profile_pic = profile_pic;
  49.     }
  50.  
  51.     public String getCurrent_user_id() {
  52.         return current_user_id;
  53.     }
  54.  
  55.     public void setCurrent_user_id(String current_user_id) {
  56.         this.current_user_id = current_user_id;
  57.     }
  58.  
  59.     public String getTypeMsg() {
  60.         return typeMsg;
  61.     }
  62.  
  63.     public void setTypeMsg(String typeMsg) {
  64.         this.typeMsg = typeMsg;
  65.     }
  66.  
  67.     public Messages(String message, boolean seen, long time, String type, String profile_pic, String current_user_id, String typeMsg) {
  68.         this.message = message;
  69.         this.seen = seen;
  70.         this.time = time;
  71.         this.type = type;
  72.         this.profile_pic = profile_pic;
  73.         this.current_user_id = current_user_id;
  74.         this.typeMsg = typeMsg;
  75.     }
  76.  
  77.     public Messages() {
  78.  
  79.     }
  80. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement