add more order. removed private modifier of entity def fields.