
package com.uwetrottmann.shopr.model;

import java.math.BigDecimal;

public class Item {

    private int id;
    private String name;
    private String picture;
    private String label;
    private BigDecimal price;
    private int shop_id;

    public int id() {
        return id;
    }

    public Item id(int id) {
        this.id = id;
        return this;
    }

    public String name() {
        return name;
    }

    public Item name(String name) {
        this.name = name;
        return this;
    }

    public String picture() {
        return picture;
    }

    public Item picture(String picture) {
        this.picture = picture;
        return this;
    }

    public int shopId() {
        return shop_id;
    }

    public Item shopId(int shop_id) {
        this.shop_id = shop_id;
        return this;
    }

    public BigDecimal price() {
        return price;
    }

    public Item price(BigDecimal price) {
        this.price = price;
        return this;
    }

    public String label() {
        return label;
    }

    public Item label(String label) {
        this.label = label;
        return this;
    }

}

@@ -179,24 +179,75 @@
 ring label;%0A
+    private String color;%0A    private String type;%0A
     private 
@@ -1190,10 +1190,306 @@
 %0A    %7D%0A%0A
+    public String color() %7B%0A        return color;%0A    %7D%0A%0A    public Item color(String color) %7B%0A        this.color = color;%0A        return this;%0A    %7D%0A%0A    public String type() %7B%0A        return type;%0A    %7D%0A%0A    public Item type(String type) %7B%0A        this.type = type;%0A        return this;%0A    %7D%0A%0A
 %7D%0A

Update Shopr item model to include simple color and type property.