@@ -0,0 +1,1038 @@
+/*%0A * Copyright (c) Ipan Taupik Rahman%0A */%0A%0Apackage com.github.ipan97.enggal.damang.model;%0A%0Aimport javax.persistence.Column;%0Aimport javax.persistence.Entity;%0A%0A/**%0A * Created by ipan on 03/06/17.%0A */%0A@Entity%0Apublic class Product extends AbstractModel%3CLong%3E %7B%0A%0A    @Column(name=%22name%22,length = 50)%0A    private String name;%0A%0A    @Column(name=%22price%22)%0A    private Double price;%0A%0A    @Column(name=%22type%22,length = 50)%0A    private String type;%0A%0A    @Column(name=%22stock%22,length = 4)%0A    private Integer stock;%0A%0A    public String getName() %7B%0A        return name;%0A    %7D%0A%0A    public void setName(String name) %7B%0A        this.name = name;%0A    %7D%0A%0A    public Double getPrice() %7B%0A        return price;%0A    %7D%0A%0A    public void setPrice(Double price) %7B%0A        this.price = price;%0A    %7D%0A%0A    public String getType() %7B%0A        return type;%0A    %7D%0A%0A    public void setType(String type) %7B%0A        this.type = type;%0A    %7D%0A%0A    public Integer getStock() %7B%0A        return stock;%0A    %7D%0A%0A    public void setStock(Integer stock) %7B%0A        this.stock = stock;%0A    %7D%0A%7D%0A

add entity product