Sha256: 8f627560f1d85efd729667047df078426af9821e57cbba3e4690a79576a15a5a

Contents?: true

Size: 801 Bytes

Versions: 1

Compression:

Stored size: 801 Bytes

Contents

package app.models;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Product {

	@Id
	private Long id;
	private String name;
	private boolean myFlag;
	private Double price;
	private Category category;

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

	public Long getId() {
		return id;
	}

	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/Objectify_Product.java