metaDisplayItemMapping - isRequired property
This commit is contained in:
parent
47dafa6087
commit
7104f9415e
2
pom.xml
2
pom.xml
@ -13,7 +13,7 @@
|
|||||||
<groupId>com.loafle.overflow</groupId>
|
<groupId>com.loafle.overflow</groupId>
|
||||||
<artifactId>commons-java</artifactId>
|
<artifactId>commons-java</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>1.0.112-SNAPSHOT</version>
|
<version>1.0.113-SNAPSHOT</version>
|
||||||
<name>com.loafle.overflow.commons-java</name>
|
<name>com.loafle.overflow.commons-java</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -44,6 +44,9 @@ public class MetaDisplayItemMapping {
|
|||||||
@Column(name = "PRIORITY", nullable = true)
|
@Column(name = "PRIORITY", nullable = true)
|
||||||
private int priority;
|
private int priority;
|
||||||
|
|
||||||
|
@Column(name = "IS_REQUIRED", nullable = false, columnDefinition = "Boolean default false")
|
||||||
|
private Boolean isRequired;
|
||||||
|
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -84,6 +87,14 @@ public class MetaDisplayItemMapping {
|
|||||||
isDefault = aDefault;
|
isDefault = aDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Boolean getRequired() {
|
||||||
|
return isRequired;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRequired(Boolean aRequired) {
|
||||||
|
isRequired = aRequired;
|
||||||
|
}
|
||||||
|
|
||||||
public String getFormula() {
|
public String getFormula() {
|
||||||
return formula;
|
return formula;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user