From 3c33a762288a6e61a0d1b0df95a0166fa4e92997 Mon Sep 17 00:00:00 2001 From: insanity Date: Thu, 27 Jul 2017 12:02:42 +0900 Subject: [PATCH] comment --- .../overflow/module/infra/model/Infra.java | 9 +++++++++ .../module/infra/model/InfraMachine.java | 6 ++++++ .../overflow/module/probe/model/Probe.java | 17 +++++++++++++++++ .../overflow/module/target/model/Target.java | 7 +++++++ 4 files changed, 39 insertions(+) diff --git a/src/main/java/com/loafle/overflow/module/infra/model/Infra.java b/src/main/java/com/loafle/overflow/module/infra/model/Infra.java index 7766e43..c427e93 100644 --- a/src/main/java/com/loafle/overflow/module/infra/model/Infra.java +++ b/src/main/java/com/loafle/overflow/module/infra/model/Infra.java @@ -17,6 +17,15 @@ public class Infra { private long childId; private Date createDate; + /* + private long id; + private MetaInfraType type; + private long childId; + private Date createDate; + private Probe probeId; + private Target targetId; + */ + @Id @GeneratedValue(strategy= GenerationType.IDENTITY) public long getId() { diff --git a/src/main/java/com/loafle/overflow/module/infra/model/InfraMachine.java b/src/main/java/com/loafle/overflow/module/infra/model/InfraMachine.java index 0538ce4..ea5a846 100644 --- a/src/main/java/com/loafle/overflow/module/infra/model/InfraMachine.java +++ b/src/main/java/com/loafle/overflow/module/infra/model/InfraMachine.java @@ -16,6 +16,12 @@ public class InfraMachine { private String meta; private Date createDate; + /* + private long id; + private String meta; + private Date createDate; + */ + @Id @GeneratedValue(strategy= GenerationType.IDENTITY) public long getId() { diff --git a/src/main/java/com/loafle/overflow/module/probe/model/Probe.java b/src/main/java/com/loafle/overflow/module/probe/model/Probe.java index 26164b0..962109b 100644 --- a/src/main/java/com/loafle/overflow/module/probe/model/Probe.java +++ b/src/main/java/com/loafle/overflow/module/probe/model/Probe.java @@ -22,6 +22,23 @@ public class Probe { private String probeKey; private String encryptionKey; + /* + domain Domain +target count int +sensor count int +displayName String +description String +cidr String +createdDate Date +restartedDated Date +authorizedDate Date +authorizedMember Member +infraHost InfraHost // infraHost > infraOS > infraMachine -> Probe +probeKey String +encryptionKey String +status (Meta) + */ + @Id @GeneratedValue(strategy= GenerationType.IDENTITY) public long getId() { diff --git a/src/main/java/com/loafle/overflow/module/target/model/Target.java b/src/main/java/com/loafle/overflow/module/target/model/Target.java index c758ee7..a7d13c9 100644 --- a/src/main/java/com/loafle/overflow/module/target/model/Target.java +++ b/src/main/java/com/loafle/overflow/module/target/model/Target.java @@ -20,6 +20,13 @@ public class Target { private Probe probe; private Infra infra; + /* + private long id; + private Date createDate; + private String displayName; + private String description; + */ + @Id @GeneratedValue(strategy= GenerationType.IDENTITY) public long getId() {