From 131052528fb70a7fcd749d21d5f1af2fecbddfc5 Mon Sep 17 00:00:00 2001 From: emymaria <68675647+emymaria@users.noreply.github.com> Date: Tue, 7 Dec 2021 12:14:35 +0100 Subject: [PATCH] adding the source of qpu (#203) --- .../main/java/org/planqk/atlas/core/model/ComputeResource.java | 2 ++ .../main/java/org/planqk/atlas/web/dtos/ComputeResourceDto.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/org.planqk.atlas.core/src/main/java/org/planqk/atlas/core/model/ComputeResource.java b/org.planqk.atlas.core/src/main/java/org/planqk/atlas/core/model/ComputeResource.java index ae149e10..12ae019e 100644 --- a/org.planqk.atlas.core/src/main/java/org/planqk/atlas/core/model/ComputeResource.java +++ b/org.planqk.atlas.core/src/main/java/org/planqk/atlas/core/model/ComputeResource.java @@ -59,6 +59,8 @@ public class ComputeResource extends HasId { private QuantumComputationModel quantumComputationModel; + private Boolean qprovOrigin; + @EqualsAndHashCode.Exclude @ToString.Exclude @ManyToMany(fetch = FetchType.LAZY, diff --git a/org.planqk.atlas.web/src/main/java/org/planqk/atlas/web/dtos/ComputeResourceDto.java b/org.planqk.atlas.web/src/main/java/org/planqk/atlas/web/dtos/ComputeResourceDto.java index 7543fe7e..26db65bd 100644 --- a/org.planqk.atlas.web/src/main/java/org/planqk/atlas/web/dtos/ComputeResourceDto.java +++ b/org.planqk.atlas.web/src/main/java/org/planqk/atlas/web/dtos/ComputeResourceDto.java @@ -56,4 +56,6 @@ public class ComputeResourceDto implements Identifyable { private String technology; private QuantumComputationModel quantumComputationModel; + + private boolean qprovOrigin; }