package de.hsma.informatik.bdea;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

@JsonIgnoreProperties
public class Person implements Serializable {

    @JsonProperty(value = "id")
    private Long id;

    @JsonProperty(value = "fname")
    private String fname;

    @JsonProperty(value = "lname")
    private String lname;

    @JsonProperty(value = "email")
    private String email;

    @JsonProperty(value = "gender")
    private String gender;

	public Long getId() {
		return id;
	}

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

	public String getFname() {
		return fname;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public String getLname() {
		return lname;
	}

	public void setLname(String lname) {
		this.lname = lname;
	}

	public String getEmail() {
		return email;
	}

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

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

    //getters and setters
}