Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. package com.example.xinruigao.robin_foood;
  2.  
  3. public class Event {
  4. private String name;
  5. private String email;
  6. private String address;
  7. private String postalCode;
  8. private String contact;
  9. private Boolean accepted;
  10.  
  11.  
  12. Event() {
  13.  
  14. }
  15.  
  16. Event(String name, String email, String address, String postalCode, String contact) {
  17. this.name = name;
  18. this.email = email;
  19. this.address = address;
  20. this.postalCode = postalCode;
  21. this.contact = contact;
  22. this.accepted = false;
  23. }
  24.  
  25. public String getAddress() {
  26. return address;
  27. }
  28.  
  29. public String getPostalCode() {
  30. return postalCode;
  31. }
  32.  
  33. public String getContact() {
  34. return contact;
  35. }
  36.  
  37. public String getName() {
  38. return name;
  39. }
  40.  
  41. public String getEmail() {
  42. return email;
  43. }
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement