package com.avaje.tests.model.array; import com.avaje.ebean.annotation.DbArray; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Version; import java.util.ArrayList; import java.util.List; import java.util.UUID; @Entity public class EArrayBean { @Id Long id; String name; @DbArray(length = 300) List phoneNumbers = new ArrayList(); @DbArray List uids = new ArrayList(); @DbArray List otherIds = new ArrayList(); @DbArray List doubs; @Version Long version; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public List getPhoneNumbers() { return phoneNumbers; } public void setPhoneNumbers(List phoneNumbers) { this.phoneNumbers = phoneNumbers; } public List getUids() { return uids; } public void setUids(List uids) { this.uids = uids; } public List getOtherIds() { return otherIds; } public void setOtherIds(List otherIds) { this.otherIds = otherIds; } public List getDoubs() { return doubs; } public void setDoubs(List doubs) { this.doubs = doubs; } public Long getVersion() { return version; } public void setVersion(Long version) { this.version = version; } }