Refactor move tests from ebean-core to ebean-test

This commit is contained in:
rbygrave committed 2021-09-08 22:49:23 +12:00
1 parent 0b00a14fd3
commit eab56d323b
1650 files changed
+185 -147

No files matched your search

@@ -0,0 +1,72 @@
package org.etest;
import io.ebean.annotation.WhenModified;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;
import javax.persistence.Version;
import java.time.Instant;
import java.util.List;
import java.util.Map;
@Entity
public class BSimpleFor {
@Id
private Integer id;
private String name;
private String other;
@Transient
private Map<String, List<String>> someMap;
@WhenModified
private Instant whenModified;
@Version
private long version;
public BSimpleFor(String name) {
this.name = name;
}
public BSimpleFor(String name, String other) {
this.name = name;
this.other = other;
}
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 Map<String, List<String>> getSomeMap() {
return someMap;
}
public void setSomeMap(Map<String, List<String>> someMap) {
this.someMap = someMap;
}
public Instant getWhenModified() {
return whenModified;
}
public long getVersion() {
return version;
}
}