From 7104f9415e9aeefffb36f653a5d9f88ed0f7f1af Mon Sep 17 00:00:00 2001 From: insanity Date: Fri, 29 Jun 2018 14:29:52 +0900 Subject: [PATCH] metaDisplayItemMapping - isRequired property --- pom.xml | 2 +- .../overflow/model/meta/MetaDisplayItemMapping.java | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 446ab44..327bfdb 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ com.loafle.overflow commons-java jar - 1.0.112-SNAPSHOT + 1.0.113-SNAPSHOT com.loafle.overflow.commons-java diff --git a/src/main/java/com/loafle/overflow/model/meta/MetaDisplayItemMapping.java b/src/main/java/com/loafle/overflow/model/meta/MetaDisplayItemMapping.java index 070be0a..7f4f1bd 100644 --- a/src/main/java/com/loafle/overflow/model/meta/MetaDisplayItemMapping.java +++ b/src/main/java/com/loafle/overflow/model/meta/MetaDisplayItemMapping.java @@ -44,6 +44,9 @@ public class MetaDisplayItemMapping { @Column(name = "PRIORITY", nullable = true) private int priority; + @Column(name = "IS_REQUIRED", nullable = false, columnDefinition = "Boolean default false") + private Boolean isRequired; + public Long getId() { return id; } @@ -84,6 +87,14 @@ public class MetaDisplayItemMapping { isDefault = aDefault; } + public Boolean getRequired() { + return isRequired; + } + + public void setRequired(Boolean aRequired) { + isRequired = aRequired; + } + public String getFormula() { return formula; }