model modified
This commit is contained in:
parent
f5a095c4e7
commit
dad52b0d4b
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user