diff --git a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Condition.java b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Condition.java index 7cec0be..70bad76 100644 --- a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Condition.java +++ b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Condition.java @@ -8,6 +8,7 @@ import lombok.EqualsAndHashCode; @Data @Entity +@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) public abstract class Condition { @Transient private String kind;