@Override
    public PermissionDocId as(Name alias) {
        return new PermissionDocId(alias, this);
    }
Create a <code>stroom.permission_doc_id</code> table reference
stroom-security/stroom-security-impl-db-jooq/src/main/java/stroom/security/impl/db/jooq/tables/PermissionDocId.java