@Override
    public Identity<PermissionDocRecord, Long> getIdentity() {
        return (Identity<PermissionDocRecord, Long>) super.getIdentity();
    }
Create a <code>stroom.permission_doc</code> table reference
stroom-security/stroom-security-impl-db-jooq/src/main/java/stroom/security/impl/db/jooq/tables/PermissionDoc.java