bug fix
This commit is contained in:
parent
eba59ee47e
commit
0550d5ea0f
|
@ -17,6 +17,7 @@ public class MetaSensorDisplayItem {
|
|||
private MetaSensorItemUnit unit;
|
||||
private Date createDate;
|
||||
private MetaSensorItemType itemType;
|
||||
private String key;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy= GenerationType.IDENTITY)
|
||||
|
@ -77,4 +78,13 @@ public class MetaSensorDisplayItem {
|
|||
public void setItemType(MetaSensorItemType itemType) {
|
||||
this.itemType = itemType;
|
||||
}
|
||||
|
||||
@Column(name = "KEY", nullable = false, length = 50)
|
||||
public String getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
public void setKey(String key) {
|
||||
this.key = key;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,15 +1,25 @@
|
|||
package com.loafle.overflow.service.central.infra;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.loafle.overflow.core.model.PageParams;
|
||||
import com.loafle.overflow.model.domain.Domain;
|
||||
import com.loafle.overflow.model.infra.Infra;
|
||||
import com.loafle.overflow.model.probe.Probe;
|
||||
import com.loafle.overflow.model.target.Target;
|
||||
|
||||
import org.springframework.data.domain.Page;
|
||||
|
||||
/**
|
||||
* Created by insanity on 17. 6. 28.
|
||||
*/
|
||||
|
||||
public interface InfraService {
|
||||
// Infra regist(Infra infra);
|
||||
// Infra read(long id);
|
||||
// Page<Infra> readAllByProbe(Probe probe, PageParams pageParams);
|
||||
// Page<Infra> readAllByDomain(Domain domain, PageParams pageParams);
|
||||
// List<Target> readAllTargetByDomain(Domain domain);
|
||||
// List<Target> readAllTargetByProbeList(List<Probe> probeList);
|
||||
// Infra readByTarget(Target target);
|
||||
Infra regist(Infra infra);
|
||||
Infra read(long id);
|
||||
Page<Infra> readAllByProbe(Probe probe, PageParams pageParams);
|
||||
Page<Infra> readAllByDomain(Domain domain, PageParams pageParams);
|
||||
List<Target> readAllTargetByDomain(Domain domain);
|
||||
List<Target> readAllTargetByProbeList(List<Probe> probeList);
|
||||
Infra readByTarget(Target target);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user