metaDisplayItemMapping - isRequired property

This commit is contained in:
insanity 2018-06-29 14:29:52 +09:00
parent 47dafa6087
commit 7104f9415e
2 changed files with 12 additions and 1 deletions

View File

@ -13,7 +13,7 @@
<groupId>com.loafle.overflow</groupId>
<artifactId>commons-java</artifactId>
<packaging>jar</packaging>
<version>1.0.112-SNAPSHOT</version>
<version>1.0.113-SNAPSHOT</version>
<name>com.loafle.overflow.commons-java</name>
<properties>

View File

@ -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;
}