package org.tests.model.basic; import io.ebean.annotation.Cache; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.Version; import java.sql.Timestamp; @Cache(enableQueryCache = true) @Entity @Table(name = "e_basicver") public class EBasicVer { @Id Integer id; String name; String description; String other; @Version Timestamp lastUpdate; public EBasicVer(String name) { this.name = name; } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getOther() { return other; } public void setOther(String other) { this.other = other; } public Timestamp getLastUpdate() { return lastUpdate; } public void setLastUpdate(Timestamp lastUpdate) { this.lastUpdate = lastUpdate; } }