questiontemplate extends entity