Sha256: 8f8b392d27e6f100903727cb24ddd63de4d295c8d1a360cf34a211af6bf67fcc
Contents?: true
Size: 562 Bytes
Versions: 2
Compression:
Stored size: 562 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 Double value; 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 setValue(Double value) { this.value = value; } public Double getValue() { return value; } }
Version data entries
2 entries across 2 versions & 1 rubygems