meta arrange

This commit is contained in:
insanity 2017-06-23 14:06:48 +09:00
parent 7a27736a58
commit 79ac8df9cd
12 changed files with 6 additions and 15 deletions

View File

@ -15,7 +15,6 @@ public class MetaCrawler {
private String description;
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
public short getId() {
return id;
}

View File

@ -22,7 +22,6 @@ public class MetaCrawlerInputItem {
private String keyValue;
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
public int getId() {
return id;
}

View File

@ -14,7 +14,6 @@ public class MetaInfraType {
private Date createDate;
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
public int getId() {
return id;
}

View File

@ -15,7 +15,6 @@ public class MetaInfraVendor {
private MetaInfraType metaInfraType;
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
public int getId() {
return id;
}

View File

@ -15,7 +15,6 @@ public class MetaInputType {
private Date createDate;
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
public short getId() {
return id;
}
@ -45,7 +44,7 @@ public class MetaInputType {
}
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "CREATE_DATE", nullable = true)
@Column(name = "CREATE_DATE", nullable = false)
public Date getCreateDate() {
return createDate;
}

View File

@ -1,6 +1,9 @@
package com.loafle.overflow.meta.model;
import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* Created by root on 17. 6. 22.
@ -20,7 +23,6 @@ public class MetaMemberStatus {
}
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
public short getId() {
return id;
}

View File

@ -15,7 +15,6 @@ public class MetaNotification {
private String description;
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
public long getId() {
return id;
}

View File

@ -14,7 +14,6 @@ public class MetaProbeArchitecture {
private Date createDate;
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
public short getId() {
return id;
}
@ -34,7 +33,7 @@ public class MetaProbeArchitecture {
}
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "CREATE_DATE", nullable = true)
@Column(name = "CREATE_DATE", nullable = false)
public Date getCreateDate() {
return createDate;
}

View File

@ -14,7 +14,6 @@ public class MetaProbeOs {
private Date createDate;
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
public short getId() {
return id;
}

View File

@ -15,7 +15,6 @@ public class MetaProbeTaskType {
private Date createDate;
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
public short getId() {
return id;
}

View File

@ -15,7 +15,6 @@ public class MetaSensorItemType {
private Date createDate;
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
public short getId() {
return id;
}

View File

@ -15,7 +15,6 @@ public class MetaVendorCrawler {
private Date createDate;
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
public int getId() {
return id;
}