Sha256: 76c8f065a0742b8211af4996526978bd725fc2310120471582983e2c21467c1c
Contents?: true
Size: 509 Bytes
Versions: 2
Compression:
Stored size: 509 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; 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; } }
Version data entries
2 entries across 2 versions & 2 rubygems