diff --git a/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java b/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java index 4b1a608..d85c6de 100644 --- a/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java +++ b/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java @@ -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; }