Sha256: d98d2578f5c33c663efe321fe436e2880e539af3042ecda3bd00bd0115f7e57e

Contents?: true

Size: 558 Bytes

Versions: 2

Compression:

Stored size: 558 Bytes

Contents

package app.models;

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

@Entity
public class Product {

	@Id @GeneratedValue
	private Long id;
	
	private String name;
	private boolean flag;
  
	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 setFlag(boolean flag) {
		this.flag = flag;
	}
	
	public boolean getFlag() {
		return flag;
	}
	
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vraptor-scaffold-0.0.1.beta4 spec/lib/generators/scaffold_generator/model_generator/templates/Product.java
vraptor-scaffold-0.0.1.beta3 spec/lib/generators/scaffold_generator/model_generator/templates/Product.java