Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.example.xinruigao.robin_foood;
- public class Event {
- private String name;
- private String email;
- private String address;
- private String postalCode;
- private String contact;
- private Boolean accepted;
- Event() {
- }
- Event(String name, String email, String address, String postalCode, String contact) {
- this.name = name;
- this.email = email;
- this.address = address;
- this.postalCode = postalCode;
- this.contact = contact;
- this.accepted = false;
- }
- public String getAddress() {
- return address;
- }
- public String getPostalCode() {
- return postalCode;
- }
- public String getContact() {
- return contact;
- }
- public String getName() {
- return name;
- }
- public String getEmail() {
- return email;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement