model modified

This commit is contained in:
insanity 2018-06-27 19:41:06 +09:00
parent f5a095c4e7
commit dad52b0d4b
3 changed files with 13 additions and 3 deletions

View File

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

View File

@ -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)

View File

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