Sha256: 0502522b54be9d40127947203209af81324e203d72e33032ff6809991edcb51c
Contents?: true
Size: 658 Bytes
Versions: 1
Compression:
Stored size: 658 Bytes
Contents
package app.models; @javax.persistence.Entity public class Product extends Entity { private String name; private boolean active; private Double price; private Category category; public void setName(String name) { this.name = name; } public String getName() { return name; } public void setActive(boolean active) { this.active = active; } public boolean isActive() { return active; } 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 |
---|---|
springmvc-scaffold-1.0.1 | spec/springmvc-scaffold/generators/scaffold/model/templates/Product.java |