package com.jgardella.app.backend;

public class Member
{
	private String firstName;
	private String lastName;
	private int id;

	public Member(String firstName, String lastName, int id)
	{
		this.firstName = firstName;
		this.lastName = lastName;
		this.id = id;
	}

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

	public String getFirstName()
	{
		return firstName;
	}

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

	public String getLastName()
	{
		return lastName;
	}

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

	public int getId()
	{
		return id;
	}

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

@@ -120,16 +120,90 @@
  int id;
+%0A%09private Status status;%0A%0A%09public enum Status %7B ACTIVE, INACTIVE, UNDEF %7D;
 %0A%0A%09publi
@@ -327,24 +327,54 @@
 is.id = id;%0A
+%09%09this.status = Status.UNDEF;%0A
 %09%7D%0A%0A%09public 
@@ -776,13 +776,358 @@
 d = id;%0A
-
 %09%7D%0A
+%0A%09public void setStatus(Status status)%0A%09%7B%0A%09%09this.status = status;%0A%09%7D%0A%0A%09public Status getStatus()%0A%09%7B%0A%09%09return status;%0A%09%7D%0A%0A%09@Override%0A%09public boolean equals(Object obj)%0A%09%7B%0A%09%09if(obj instanceof Member)%0A%09%09%7B%0A%09%09%09Member member = (Member) obj;%0A%09%09%09return this.id == member.id;%0A%09%09%7D%0A%09%09return false;%0A%09%7D%0A%0A%09@Override%0A%09public int hashCode()%0A%09%7B%0A%09%09return id;%0A%09%7D%0A%0A
 %7D%0A

Implement equals and hashCode in Member.