Sha256: 20bb7aee937b1c23ea93eab9dad120482af0cca7c30c44a247b52226c2db0d34

Contents?: true

Size: 657 Bytes

Versions: 1

Compression:

Stored size: 657 Bytes

Contents

package app.model;

@javax.persistence.Entity
public class Product extends Entity {

	private String name;
	private boolean myFlag;
	private Double price;
	private Category category;

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

	public String getName() {
		return name;
	}

	public void setMyFlag(boolean myFlag) {
		this.myFlag = myFlag;
	}

	public boolean isMyFlag() {
		return myFlag;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Double getPrice() {
		return price;
	}

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

	public Category getCategory() {
		return category;
	}

}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vraptor-scaffold-1.3.0 spec/vraptor-scaffold/generators/scaffold/model_generator/templates/Product.java