added BaseEntity class as a @MappedSuperClass
added BaseEntity class as @MappedSuperClass