This commit is contained in:
insanity 2017-07-27 12:02:42 +09:00
parent 277f4a147b
commit 3c33a76228
4 changed files with 39 additions and 0 deletions

View File

@ -17,6 +17,15 @@ public class Infra {
private long childId; private long childId;
private Date createDate; private Date createDate;
/*
private long id;
private MetaInfraType type;
private long childId;
private Date createDate;
private Probe probeId;
private Target targetId;
*/
@Id @Id
@GeneratedValue(strategy= GenerationType.IDENTITY) @GeneratedValue(strategy= GenerationType.IDENTITY)
public long getId() { public long getId() {

View File

@ -16,6 +16,12 @@ public class InfraMachine {
private String meta; private String meta;
private Date createDate; private Date createDate;
/*
private long id;
private String meta;
private Date createDate;
*/
@Id @Id
@GeneratedValue(strategy= GenerationType.IDENTITY) @GeneratedValue(strategy= GenerationType.IDENTITY)
public long getId() { public long getId() {

View File

@ -22,6 +22,23 @@ public class Probe {
private String probeKey; private String probeKey;
private String encryptionKey; 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 @Id
@GeneratedValue(strategy= GenerationType.IDENTITY) @GeneratedValue(strategy= GenerationType.IDENTITY)
public long getId() { public long getId() {

View File

@ -20,6 +20,13 @@ public class Target {
private Probe probe; private Probe probe;
private Infra infra; private Infra infra;
/*
private long id;
private Date createDate;
private String displayName;
private String description;
*/
@Id @Id
@GeneratedValue(strategy= GenerationType.IDENTITY) @GeneratedValue(strategy= GenerationType.IDENTITY)
public long getId() { public long getId() {