package de.reneruck.contactor.models;

/**
 * Created by reneruck on 19/06/15.
 */
public class Contact {
}

package de.reneruck.contactor.models;

/**
 * Created by reneruck on 19/06/15.
 */
public class Contact {

    private int id = -1;
    private String firstName;
    private String lastName;
    private String email;
    private String phoneWork;
    private String phonePrivate;

    public String getName() {
        return firstName + " " + lastName;
    }

    public String getFirstName() {
        return firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public String getEmail() {
        return email;
    }

    public String getPhoneWork() {
        return phoneWork;
    }

    public String getPhonePrivate() {
        return phonePrivate;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

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

    public void setPhoneWork(String phoneWork) {
        this.phoneWork = phoneWork;
    }

    public void setPhonePrivate(String phonePrivate) {
        this.phonePrivate = phonePrivate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}

define local fields with getters and setters