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; private String description;
@Id @Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
public short getId() { public short getId() {
return id; return id;
} }

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,9 @@
package com.loafle.overflow.meta.model; 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. * Created by root on 17. 6. 22.
@ -20,7 +23,6 @@ public class MetaMemberStatus {
} }
@Id @Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
public short getId() { public short getId() {
return id; return id;
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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