model modified
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user