noauth probe
This commit is contained in:
snoop 2017-06-22 18:52:28 +09:00
parent 49350f1377
commit 8fa1af06c5

View File

@ -1,8 +1,10 @@
package com.loafle.overflow.module.noauthprobe.model;
import com.loafle.overflow.models.TblDomain;
import com.loafle.overflow.module.domain.Domain;
import com.loafle.overflow.module.noauthprobe.type.AuthType;
import com.loafle.overflow.module.probe.model.TblProbe;
import com.loafle.overflow.module.probe.model.Probe;
import javax.persistence.*;
import java.sql.Timestamp;
@ -22,8 +24,8 @@ public class NoAuthProbe {
private String tempProbeKey;
private Date createDate;
private String apiKey;
private TblDomain domain;
private TblProbe probe;
private Domain domain;
private Probe probe;
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
@ -108,21 +110,21 @@ public class NoAuthProbe {
@ManyToOne
@JoinColumn(name = "DOMAIN_ID", nullable=false)
public TblDomain getDomainId() {
public Domain getDomainId() {
return domain;
}
public void setDomainId(TblDomain domain) {
public void setDomainId(Domain domain) {
this.domain = domain;
}
@ManyToOne
@JoinColumn(name = "PROBE_ID", nullable = true)
public TblProbe getProbeId() {
public Probe getProbeId() {
return probe;
}
public void setProbeId(TblProbe probe) {
public void setProbeId(Probe probe) {
this.probe = probe;
}