package com.ferienclub.beachclub.esb.messages;

public class MenuItem {

	private String name;
	private double price;
	
	public MenuItem(){
		
	}
	
	public MenuItem(String name, double price){
		this.name= name;
		this.price = price;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}
	
	public boolean equals(MenuItem mi){
		return (mi.getName().equals(name) && mi.getPrice() == price);
	}
	
}
