diff --git a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Switchable.java b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Switchable.java index 2f0f64e..b73d105 100644 --- a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Switchable.java +++ b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Switchable.java @@ -9,7 +9,7 @@ import lombok.EqualsAndHashCode; /** A device that can be turned either on or off */ @Entity -@EqualsAndHashCode(callSuper = true) +@EqualsAndHashCode(callSuper = false) @Inheritance(strategy = InheritanceType.JOINED) public abstract class Switchable extends OutputDevice {