mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-11 01:37:07 +00:00
#1677 - No effective change - Add test but not failing etc
This commit is contained in:
1 parent
b4105ab5d0
commit
cf31830cbc
2 files changed
+43
No files matched your search
@@ -8,6 +8,7 @@ import javax.persistence.Id;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Version;
|
||||
import java.time.LocalDate;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@@ -22,6 +23,8 @@ public class UTMaster extends Model {
|
||||
|
||||
String description;
|
||||
|
||||
LocalDate date;
|
||||
|
||||
@Version
|
||||
Integer version;
|
||||
|
||||
@@ -52,6 +55,14 @@ public class UTMaster extends Model {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public LocalDate getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
public void setDate(LocalDate date) {
|
||||
this.date = date;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user