package fi.otavanopisto.muikku.plugins.communicator.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Inheritance; import javax.persistence.InheritanceType; @Entity @Inheritance(strategy=InheritanceType.JOINED) public class CommunicatorMessageRecipientGroup { public Long getId() { return id; } @Id @GeneratedValue (strategy = GenerationType.IDENTITY) private Long id; }