mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
#463 - ENH: Add @DraftReset support - property that is set to null on the draft been when it is published (@Draftable feature)
This commit is contained in:
1 parent
5f194f066a
commit
4f51a3b130
7 files changed
+132
-22
No files matched your search
@@ -152,10 +152,12 @@ public class AnnotationFields extends AnnotationParser {
|
||||
if (get(prop, DraftOnly.class) != null) {
|
||||
prop.setDraftOnly();
|
||||
}
|
||||
|
||||
if (get(prop, DraftDirty.class) != null) {
|
||||
prop.setDraftDirty();
|
||||
}
|
||||
if (get(prop, DraftReset.class) != null) {
|
||||
prop.setDraftReset();
|
||||
}
|
||||
|
||||
DbJson dbJson = get(prop, DbJson.class);
|
||||
if (dbJson != null) {
|
||||
|
||||
Reference in new issue
Block a user