Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.androidchatapp;
- /**
- * Created by manlai on 11/4/2017.
- */
- public class Message
- {
- private String text, user, to, status, photoURL, type/*, fileName*/;
- public Message() { }
- public Message(String text, String user, String to, String status, String photoURL, String type/*, String fileName*/)
- {
- this.text = text;
- this.user = user;
- this.to = to;
- this.status = status;
- this.photoURL = photoURL;
- this.type = type;
- // this.fileName = fileName;
- }
- public String getText() {
- return text;
- }
- public void setText(String text) {
- this.text = text;
- }
- public String getUser() {
- return user;
- }
- public void setUser(String user) {
- this.user = user;
- }
- public String getTo() {
- return to;
- }
- public void setTo(String to) {
- this.to = to;
- }
- public String getStatus() {
- return status;
- }
- public void setStatus(String status) {
- this.status = status;
- }
- public String getPhotoURL() {
- return photoURL;
- }
- public void setPhotoURL(String photoURL) {
- this.photoURL = photoURL;
- }
- public String getType() {
- return type;
- }
- public void setType(String type) {
- this.type = type;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement