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