package au.com.subash.entity;

/**
 *
 * @author subash
 */
public class AppUser {
    private int id;
    private String email;
    private String firstname;
    private String lastname;
    private String password;

    public AppUser(int id, String email, String firstname, String lastname, String password) {
        this.id = id;
        this.email = email;
        this.firstname = firstname;
        this.lastname = lastname;
        this.password = password;
    }

    public int getId() {
        return id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFirstname() {
        return firstname;
    }

    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }

    public String getLastname() {
        return lastname;
    }

    public void setLastname(String lastname) {
        this.lastname = lastname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}

@@ -1121,11 +1121,98 @@
 ;%0A    %7D%0A
+    %0A    public String getFullname() %7B%0A        return firstname + %22 %22 + lastname;%0A    %7D
 %0A%7D%0A

add get fullname method