diff --git a/pom.xml b/pom.xml index 3da7088..1acfc85 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ com.loafle.overflow commons-java jar - 1.0.101-SNAPSHOT + 1.0.102-SNAPSHOT com.loafle.overflow.commons-java diff --git a/src/main/java/com/loafle/overflow/model/meta/MetaCollectionItem.java b/src/main/java/com/loafle/overflow/model/meta/MetaCollectionItem.java index 7deee96..44366d4 100644 --- a/src/main/java/com/loafle/overflow/model/meta/MetaCollectionItem.java +++ b/src/main/java/com/loafle/overflow/model/meta/MetaCollectionItem.java @@ -19,11 +19,11 @@ public class MetaCollectionItem { @Column(name = "ITEM", nullable = true, length = 100) private String item; - @Column(name = "ITEM", nullable = true, length = 100) + @Column(name = "ITEM_CLASS", nullable = true, length = 100) private String itemClass; @ManyToOne - @JoinColumn(name = "META_ITEM_UNIT_ID", nullable = false) + @JoinColumn(name = "META_ITEM_UNIT_ID", nullable = true) private MetaItemUnit metaItemUnit; @Temporal(TemporalType.TIMESTAMP) 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 f26978d..7ea3498 100644 --- a/src/main/java/com/loafle/overflow/model/meta/MetaDisplayItemMapping.java +++ b/src/main/java/com/loafle/overflow/model/meta/MetaDisplayItemMapping.java @@ -41,6 +41,8 @@ public class MetaDisplayItemMapping { @Column(name = "CREATE_DATE", nullable = false, columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", insertable = false, updatable = false) private Date createDate; + @Column(name = "PRIORITY", nullable = true) + private int priority; public Long getId() { return id; @@ -97,4 +99,12 @@ public class MetaDisplayItemMapping { public void setCreateDate(Date createDate) { this.createDate = createDate; } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } }