comment
This commit is contained in:
parent
277f4a147b
commit
3c33a76228
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user