package com.gitrekt.resort.model.entities;

/**
 * TODO: Document
 */
public class Guest {

    private Long id;
    private String firstName;
    private String lastName;
    private String emailAddress;
    private String phoneNumber;
    private MailingAddress mailingAddress;
    private boolean isCheckedIn;

    public Guest(Long id, String firstName, String lastName, String lasrName,
            String emailAddress, String phoneNumber,
            MailingAddress mailingAddress, boolean isCheckedIn) {
        this.emailAddress = emailAddress;
        this.firstName = firstName;
        this.lastName = lastName;
        this.id = id;
        this.phoneNumber = phoneNumber;
        this.mailingAddress = mailingAddress;
        this.isCheckedIn = isCheckedIn;
    }

    public Long getId() {
        return id;
    }
    
    public String getLastName(){
        return lastName;
    }
    
    public String getFirstName(){
        return firstName;
    }
    
    public String getEmailAddress(){
        return emailAddress;
    }
    
    public MailingAddress getMailingAddress(){
        return mailingAddress;
    }
    
    public String phoneNumber(){
        return phoneNumber;
    }
    
    public boolean isCheckedIn(){
        return isCheckedIn;
    }
}

@@ -88,29 +88,12 @@
 t %7B%0A
-%0A
     
-private Long id;
 %0A   
@@ -287,18 +287,68 @@
 heckedIn
-;%0A
+ = true;%0A    %0A    protected Guest()%7B%0A    %0A    %7D%0A    
 %0A    pub
@@ -361,17 +361,8 @@
 est(
-Long id, 
 Stri
@@ -395,25 +395,8 @@
 ame,
- String lasrName,
 %0A   
@@ -490,29 +490,8 @@
 ress
-, boolean isCheckedIn
 ) %7B%0A
@@ -606,30 +606,8 @@
 me;%0A
-        this.id = id;%0A
     
@@ -696,50 +696,79 @@
     
+%7D%0A
     
-this.isCheckedIn = isCheckedIn
+%0A    public String getLastName()%7B%0A        return lastName
 ;%0A    %7D%0A
 %0A   
@@ -763,16 +763,20 @@
 ;%0A    %7D%0A
+    
 %0A    pub
@@ -783,21 +783,41 @@
 lic 
-Long getId() 
+void setLastName(String lastName)
 %7B%0A  
@@ -826,17 +826,35 @@
     
+ 
-return id
+  this.lastName = lastName
 ;%0A  
@@ -875,34 +875,35 @@
 ublic String get
-La
+Fir
 stName()%7B%0A      
@@ -903,34 +903,35 @@
 %0A        return 
-la
+fir
 stName;%0A    %7D%0A  
@@ -944,35 +944,50 @@
  public 
+void setFirstName(
 String 
-getF
+f
 irstName
 ()%7B%0A    
@@ -970,33 +970,32 @@
 String firstName
-(
 )%7B%0A        retur
@@ -981,38 +981,48 @@
 tName)%7B%0A        
-return
+this.firstName =
  firstName;%0A    
@@ -1120,58 +1120,294 @@
 lic 
-MailingAddress getMailingAddress()%7B%0A        return
+void setEmailAddress(String emailingAddress)%7B%0A        this.emailAddress = emailingAddress;%0A    %7D%0A    %0A    public MailingAddress getMailingAddress()%7B%0A        return mailingAddress;%0A    %7D%0A    %0A    public void setMailingAddress(MailingAddress mailingAddress)%7B%0A        this.mailingAddress =
  mai
@@ -1440,32 +1440,35 @@
   public String 
+get
 phoneNumber()%7B%0A 
@@ -1497,32 +1497,135 @@
 ber;%0A    %7D%0A    %0A
+    public void setphoneNUmber(String phoneNumber)%7B%0A        this.phoneNumber = phoneNumber;%0A    %7D%0A    %0A
     public boole

Add setters to Guest