How did you solve the problem?
Did you manage to have the @Model class confirm to AppEntity, or do you convert between them when going to the persistence layer?