Use BaseEntity in tags model