Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.example.firebasecrud;
- import java.io.Serializable;
- public class Request implements Serializable {
- private String name, email, desc, key;
- public Request(){
- }
- public Request(String name, String email, String desc){
- this.name = name;
- this.email = email;
- this.desc = desc;
- }
- 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 getDesc() {
- return desc;
- }
- public void setDesc(String desc) {
- this.desc = desc;
- }
- public String getKey() {
- return key;
- }
- public void setKey(String key) {
- this.key = key;
- }
- @Override
- public String toString() {
- return " "+name+"\n" +
- " "+email+"\n"+
- " "+desc;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement