package de.openpizza.android.service.data;

public class Product {
	private int id;
	private String name;
	private String category;
	
	public Product() {
		// empty constructor for gson
	}

	public Product(int id, String name, String category) {
		super();
		this.id = id;
		this.name = name;
		this.category = category;
	}

	public int getId() {
		return id;
	}

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

	public String getName() {
		return name;
	}

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

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}
	
}

@@ -125,18 +125,41 @@
 tegory;%0A
+%09private double price;%0A
 %09%0A
-
 %09public 
@@ -254,24 +254,38 @@
 ing category
+, double price
 ) %7B%0A%09%09super(
@@ -343,32 +343,54 @@
 ory = category;%0A
+%09%09this.price = price;%0A
 %09%7D%0A%0A%09public int 
@@ -665,24 +665,24 @@
 category) %7B%0A
-
 %09%09this.categ
@@ -699,13 +699,125 @@
 gory;%0A%09%7D
+%0A%0A%09public double getPrice() %7B%0A%09%09return price;%0A%09%7D%0A%0A%09public void setPrice(double price) %7B%0A%09%09this.price = price;%0A%09%7D
 %0A%09%0A%7D%0A

add price from api change