move category entity to mapped super class