initial commit

This commit is contained in:
Халтобин Евгений 2024-08-21 12:20:40 +03:00
commit c43cf85dec
1081 changed files with 282568 additions and 0 deletions

67
.gitignore vendored Normal file
View file

@ -0,0 +1,67 @@
#ignore target dir
target*/
#gradle files
.gradle*/
*.orig
#
# Eclipse project files
#
#.classpath
#.project
#.settings*/
.springBeans
.metadata/
war*/
#
# IntelliJ IDEA project files
#
.idea*/
.classes*/
*.ipr
*.iml
*.iws
*.ids
atlassian-ide-plugin.xml
#ignore NetBeans project files
nb-configuration.xml
profiles.xml
catalog.xml
nbactions.xml
#ignore some temporary files
*.vpp~*
# os meta files
Thumbs.db
.DS_Store
pom.xml.versionsBackup
*.jasper
#studio
.studio*/
resources/src/main/generated-resources*/
resources/src/main/resources/database/database_structure.xml
frontend/build*/
frontend/tmp*/
frontend/.angular*/
frontend/build_dev*/
frontend/dist*/
frontend/node_modules*/
frontend/src/ts/**/*.js
frontend/src/ts/**/*.js.map
frontend/src/ts/**/*.ngsummary.json
frontend/src/ts/aot*/
frontend/src/ts/generated*/
npm-debug.log
#Sublime project files
*.sublime-project
*.sublime-workspace

29
.studioignore Normal file
View file

@ -0,0 +1,29 @@
#Files for Webbpm-Studio to ignore
frontend/build/
frontend/build_dev/
frontend/dist/
frontend/node_modules/
frontend/src/ts/page.routing.ts
frontend/src/ts/generated-sources/
frontend/src/ts/generated/
frontend/target/
backend/target/
backend/src/main/generated-sources/
distribution/target/
resources/target/
test/
extensions/
config/
target/
themes/
.studio/
.git/
.idea/
.studioignore
**.js

22
Dockerfile Normal file
View file

@ -0,0 +1,22 @@
FROM maven:3-openjdk-17-slim AS build
RUN apt update \
&& apt upgrade -y \
&& curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \
&& apt install -y git nodejs \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . .
RUN mvn clean && mvn package -T4C
FROM tomee:8.0.15-jre17-webprofile
ARG ADMIN_PASSWORD=Secr3t
COPY config/tomcat/tomee /usr/local/tomee
RUN rm -rf /usr/local/tomee/webapps/ROOT \
&& cat /usr/local/tomee/conf/webbpm.properties >> /usr/local/tomee/conf/catalina.properties \
&& sed -i -r "s/<must-be-changed>/$ADMIN_PASSWORD/g" /usr/local/tomee/conf/tomcat-users.xml
COPY --from=build /app/frontend/target/frontend*.war /usr/local/tomee/webapps/ROOT.war
COPY --from=build /app/backend/target/dashboard*.war /usr/local/tomee/webapps/dashboard.war

224
README.md Normal file
View file

@ -0,0 +1,224 @@
# Создание БД проекта
Создание роли для основной схемы БД проекта
```
CREATE ROLE "<your-project-main-role>" WITH
LOGIN
NOSUPERUSER
INHERIT
NOCREATEDB
NOCREATEROLE
NOREPLICATION
PASSWORD '<your password>';
```
Создание роли для схемы безопасности БД проекта
```
CREATE ROLE "<your-project-security-role>" WITH
LOGIN
NOSUPERUSER
INHERIT
NOCREATEDB
NOCREATEROLE
NOREPLICATION
PASSWORD '<your password>';
```
Создание БД проекта
```
CREATE DATABASE "<your-project-db>"
WITH
OWNER = "<your-project-main-role>";
```
ВНИМАНИЕ: в общем случае, отдельную БД для безопасности создавать не нужно. В конфигурации источника данных security-ds в файле standalone.xml в качестве имени базы данных используйте базу данных приложения.
Предоставление необходимых прав для роли &lt;your-project-security-role&gt;
```
GRANT CREATE ON DATABASE "<your-project-db>" TO "<your-project-security-role>";
```
Создание таблицы shedlock для автосинхронизации
```
CREATE TABLE shedlock
(
name varchar not null
constraint tasks_lock_pkey
primary key,
lock_until timestamp,
locked_at timestamp,
locked_by varchar
);
comment on table shedlock is 'Таблица для синхронизации выполнения запланированных задач между нодами.';
ALTER TABLE shedlock
OWNER to "owner";
```
## Дополнительные ограничения базы секьюрити
Логин пользователя &lt;user_account.username&gt; и имена ролей &lt;user_role.name&gt; не должны совпадать, так как в ходе работы jbpm-а они сохраняются в одну и ту же таблицу.
Пример ошибки при совпадении: username = 'qa_test' и role_name = 'qa_test' (роль привязана к этому пользователю). Ошибка возникает при запуске любого процесса под этим пользователем.
```
ERROR [errorhandling.ExceptionHandlerController] (default task-5) [19usm9-bgyi63]
Organizational entity already exists with [GroupImpl:'qa_test'] id,
please check that there is no group and user with same id:
java.lang.RuntimeException: Organizational entity already exists with [GroupImpl:'qa_test'] id,
please check that there is no group and user with same id
```
## Создание нового администратора
Создайте группу &lt;your-admin-group&gt; и предоставьте ей права в модуль администрирования. Для этого выполните в БД проекта
```
INSERT INTO security.user_group(
user_group_id, name, access_level_id)
(SELECT uuid_in(md5(random()::text || clock_timestamp()::text)::cstring),
'<your-admin-group>', access_level_id FROM security.access_level where level=999);
```
```
INSERT INTO security.link_user_group_user_role(
link_user_group_user_role_id, user_group_id, user_role_id)
(SELECT uuid_in(md5(random()::text || clock_timestamp()::text)::cstring),
(SELECT user_group_id FROM security.user_group WHERE name = '<your-admin-group>'),
(SELECT user_role_id FROM security.user_role WHERE name = 'Security - User Admin'));
```
```
INSERT INTO security.link_user_group_user_role(
link_user_group_user_role_id, user_group_id, user_role_id)
(SELECT uuid_in(md5(random()::text || clock_timestamp()::text)::cstring),
(SELECT user_group_id FROM security.user_group WHERE name = '<your-admin-group>'),
(SELECT user_role_id FROM security.user_role WHERE name = 'Security - Group Admin'));
```
```
INSERT INTO security.link_user_group_user_role(
link_user_group_user_role_id, user_group_id, user_role_id)
(SELECT uuid_in(md5(random()::text || clock_timestamp()::text)::cstring),
(SELECT user_group_id FROM security.user_group WHERE name = '<your-admin-group>'),
(SELECT user_role_id FROM security.user_role WHERE name = 'Security - Role Admin'));
```
# Настройка браузера для входа в систему с помощью Kerberos
1. Запустите браузер firefox.
2. В адресной строке введите about:config, нажать кнопку "я принимаю на себя риск"
3. С помощью поиска найдите параметр network.negotiate-auth.trusted-uris и в качестве значения ввести домен(например для домена example.com надо ввести .example.com)
4. Откройте в браузере приложение. Пример http://app.example.com/ . Приложение должно открыться без запроса логина/пароля
# Восстановление структуры БД
На основе БД проекта с помощью jOOQ генерируются Java классы для каждого объекта БД. Это происходит по нажатию кнопки Обновить на панели БД в студии. При необходимости можно сформировать DDL на основе данных классов. Пример класса для генерации DDL
```
package ru.cg.webbpm.test_project.db_beans;
import org.jooq.*;
import org.jooq.impl.*;
public class Main {
public static void main (String args []) {
DefaultConfiguration defaultConfiguration = new DefaultConfiguration();
defaultConfiguration.setSQLDialect(SQLDialect.POSTGRES);
Queries ddl = DSL.using(defaultConfiguration).ddl(DefaultCatalog.DEFAULT_CATALOG);
for (Query query : ddl.queries()) {
System.out.println(query);
}
}
}
```
** ВНИМАНИЕ: **
- этим способом нельзя восстановить функции/процедуры БД
см. также [https://www.jooq.org/doc/latest/manual/sql-building/ddl-statements/generating-ddl/](https://www.jooq.org/doc/latest/manual/sql-building/ddl-statements/generating-ddl/)
# Сборка проекта
## В dev режиме
```bash
mvn clean && mvn package
```
## В prod режиме
```bash
mvn clean && mvn package -Pprod -DngcCoreCount=4 -DpagePackSizeMb=24
```
ngcCoreCount - количество ядер, выделяемых процессу компиляции ngc. По умолчанию - количество ядер - 1
pagePackSizeMb - размер пачки в МБ. По умолчанию - количество ядер - 24 МБ.
## С обновлением database beans
```bash
mvn clean && mvn package -Dwebbpm.generate-db-beans
```
# Версия проекта
Если версия проекта содержит SNAPSHOT (например 1.0-SNAPSHOT), то при установке такой версии на сервере приложений будет запущена процедура остановки запущенных процессов данной версии. Этот режим удобен при отладке процесса на рабочем месте аналитика.
На боевом и тестовом стенде необходимо передавать дистрибутив проекта, с версией, которая не содержит SNAPSHOT. Например - 1.0
# Обновление платформы
## Обновления версии платформы
### С помощью студии
1. Откройте проект в студии. Версия платформы обновится автоматически
### Вручную
1. Обновите значение webbpm-platform.version в pom.xml. Пример
```xml
<webbpm-platform.version>3.164.0-SNAPSHOT</webbpm-platform.version>
```
## Обновление базового пакета компонент
### С помощью студии
1. Откройте проект в студии.
2. Откройте меню "Проект - Пакеты"
3. Нажмите обновить.
### Вручную
#### Из удаленного репозитория
```bash
mvn webbpm:update-package -DpackageVersion="3.158.8"
```
#### Из файла
```bash
mvn webbpm:update-package -DexecuteNpmInstall=false -Dpath=resources-<your-version>.jar
```
#### Руками
1. Измените версию платформы и backend модуля в файле [pom.xml](pom.xml) вашего проекта на нужную версию
2. Скопируйте ресурсы
```
из директории: webbpm-platform\components\resources\target\classes\
в директорию: {your-project}\packages\ru.cg.webbpm.packages.base.resources\
```
3. Скопируйте фронт
```
из директории: webbpm-platform\components\frontend\dist
в директорию: {your-project}\frontend\node_modules\@webbpm\base-package\
```
4. Запретите выполнение npm install при запуске студии. Для этого добавьте параметр `-DexecuteNpmInstall=false` в настройках Run/Debug Configurations студии

222
backend/backend-deps.txt Normal file
View file

@ -0,0 +1,222 @@
ru.micord.ervu.dashboard:backend:war:1.0.0-SNAPSHOT
+- org.springframework.security:spring-security-jwt:jar:1.0.9.RELEASE:compile
+- io.jsonwebtoken:jjwt-api:jar:0.10.5:compile
+- io.jsonwebtoken:jjwt-impl:jar:0.10.5:runtime
+- ru.micord.ervu.dashboard:resources:jar:1.0.0-SNAPSHOT:runtime
| \- ru.cg.webbpm.modules.resources:resources-impl:jar:3.177.0:runtime
| \- commons-io:commons-io:jar:2.4:compile
+- ru.cg.webbpm.modules.reporting.reporting-jasper:reporting-jasper-fonts:jar:3.177.0:runtime
| +- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:Arial:jar:3.177.0:runtime
| +- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:ArialCyr:jar:3.177.0:runtime
| +- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:ArialNarrow:jar:3.177.0:runtime
| +- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:sanserif:jar:3.177.0:runtime
| \- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:TimesNewRoman:jar:3.177.0:runtime
+- org.ocpsoft.prettytime:prettytime:jar:4.0.0.Final:compile
+- org.jooq:jooq:jar:3.19.3:compile
| \- io.r2dbc:r2dbc-spi:jar:1.0.0.RELEASE:compile
| \- org.reactivestreams:reactive-streams:jar:1.0.3:compile
+- org.apache.santuario:xmlsec:jar:1.5.7:compile
| \- commons-logging:commons-logging:jar:1.1.1:compile
+- javax.servlet:javax.servlet-api:jar:3.1.0:provided
+- org.slf4j:slf4j-api:jar:1.7.10:provided
+- org.springframework:spring-core:jar:5.3.33:compile
| \- org.springframework:spring-jcl:jar:5.3.33:compile
+- org.springframework:spring-context:jar:5.3.33:compile
| \- org.springframework:spring-expression:jar:5.3.33:compile
+- org.springframework:spring-beans:jar:5.3.33:compile
+- org.springframework:spring-aop:jar:5.3.33:compile
+- org.springframework:spring-jdbc:jar:5.3.33:compile
+- org.springframework:spring-tx:jar:5.3.33:compile
+- org.springframework:spring-aspects:jar:5.3.33:compile
| \- org.aspectj:aspectjweaver:jar:1.9.7:compile
+- org.springframework:spring-web:jar:5.3.33:compile
+- org.springframework:spring-webmvc:jar:5.3.33:compile
+- org.springframework.security:spring-security-web:jar:5.7.11:compile
| \- org.springframework.security:spring-security-core:jar:5.7.11:compile
| \- org.springframework.security:spring-security-crypto:jar:5.7.11:compile
+- org.springframework.security:spring-security-config:jar:5.7.11:compile
+- ru.cg.webbpm.modules:inject:jar:3.177.0:compile
| \- com.google.code.gson:gson:jar:2.10.1:compile
+- ru.cg.webbpm.modules:webkit-rpc:jar:3.177.0:compile
| +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.4:compile
| +- com.fasterxml.jackson.core:jackson-core:jar:2.12.4:compile
| \- ru.cg.webbpm.modules:webkit-annotations:jar:3.177.0:compile
+- ru.cg.webbpm.modules:webkit-beans:jar:3.177.0:compile
+- ru.cg.webbpm.modules.core:core-runtime-api:jar:3.177.0:compile
+- ru.cg.webbpm.modules.resources:resources-api:jar:3.177.0:compile
+- ru.cg.webbpm.modules.core:error-handling-api:jar:3.177.0:compile
| \- ru.cg.webbpm.modules.core:app-info:jar:3.177.0:compile
+- ru.cg.webbpm.modules.database:database-api:jar:3.177.0:compile
| \- ru.cg.webbpm.modules.database:database-beans:jar:3.177.0:compile
+- ru.cg.webbpm.modules.database:database-impl:jar:3.177.0:runtime
| +- com.zaxxer:HikariCP:jar:2.4.0:runtime
| +- org.postgresql:postgresql:jar:42.7.3:runtime
| | \- org.checkerframework:checker-qual:jar:3.42.0:compile
| +- org.xerial:sqlite-jdbc:jar:3.34.0:runtime
| +- jakarta.xml.bind:jakarta.xml.bind-api:jar:3.0.1:compile
| | \- com.sun.activation:jakarta.activation:jar:2.0.1:compile
| \- com.sun.xml.bind:jaxb-impl:jar:3.0.2:compile
| \- com.sun.xml.bind:jaxb-core:jar:3.0.2:compile
+- ru.cg.webbpm.modules.jndi:jndi-beans:jar:3.177.0:compile
+- ru.cg.webbpm.modules.jndi:jndi-inject:jar:3.177.0:compile
+- com.sun.mail:javax.mail:jar:1.5.1:compile
| \- javax.activation:activation:jar:1.1.1:compile
+- ru.cg.webbpm.modules.database:database-test:jar:3.177.0:test
| \- org.apache.derby:derby:jar:10.11.1.1:test
+- ru.cg.webbpm.modules:standard-annotations:jar:3.177.0:compile
+- ru.cg.webbpm.modules.core:metrics:jar:3.177.0:compile
| +- ru.fix:aggregating-profiler:jar:1.4.7:compile
| \- javax.annotation:javax.annotation-api:jar:1.3.2:compile
+- ru.cg.webbpm.modules.reporting:reporting-api:jar:3.177.0:compile
+- ru.cg.webbpm.modules.reporting:reporting-runtime-api:jar:3.177.0:compile
+- ru.cg.webbpm.modules.reporting:reporting-runtime-impl:jar:3.177.0:runtime
+- ru.cg.webbpm.modules.reporting.reporting-jasper:reporting-jasper-impl:jar:3.177.0:runtime
+- ru.cg.webbpm.modules.reporting.reporting-jasper:reporting-jasper-runtime-impl:jar:3.177.0:runtime
| +- net.sf.jasperreports:jasperreports:jar:6.15.0:runtime
| | +- commons-beanutils:commons-beanutils:jar:1.9.4:runtime
| | | \- commons-collections:commons-collections:jar:3.2.2:runtime
| | +- commons-digester:commons-digester:jar:2.1:runtime
| | +- com.lowagie:itext:jar:2.1.7.js8:runtime
| | +- org.jfree:jcommon:jar:1.0.23:runtime
| | +- org.jfree:jfreechart:jar:1.0.19:runtime
| | +- org.eclipse.jdt:ecj:jar:3.21.0:runtime
| | +- org.codehaus.castor:castor-xml:jar:1.4.1:runtime
| | | +- org.codehaus.castor:castor-core:jar:1.4.1:runtime
| | | \- javax.inject:javax.inject:jar:1:runtime
| | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.4:compile
| +- net.sf.jasperreports:jasperreports-functions:jar:6.15.0:runtime
| | \- joda-time:joda-time:jar:2.9.2:compile
| \- org.apache.poi:poi:jar:4.1.2:compile
| +- org.apache.commons:commons-math3:jar:3.6.1:compile
| \- com.zaxxer:SparseBitSet:jar:1.2:compile
+- ru.cg.webbpm.modules.reporting.reporting-xdoc:reporting-xdoc-impl:jar:3.177.0:runtime
| \- org.zeroturnaround:zt-zip:jar:1.15:runtime
+- ru.cg.webbpm.modules.reporting.reporting-xdoc:reporting-xdoc-runtime-impl:jar:3.177.0:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.core:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.template:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.template.freemarker:jar:2.0.2:runtime
| +- org.freemarker:freemarker:jar:2.3.26-incubating:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.document:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.document.docx:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.document.odt:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.converter:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.converter.docx.xwpf:jar:2.0.2:runtime
| | +- fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.pdf:jar:2.0.2:runtime
| | | +- fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.core:jar:2.0.2:runtime
| | | | \- org.apache.poi:ooxml-schemas:jar:1.4:runtime
| | | \- fr.opensagres.xdocreport:fr.opensagres.xdocreport.itext.extension:jar:2.0.2:runtime
| | \- fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.xhtml:jar:2.0.2:runtime
| \- fr.opensagres.xdocreport:fr.opensagres.xdocreport.converter.odt.odfdom:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.odfdom.converter.pdf:jar:2.0.2:runtime
| | \- fr.opensagres.xdocreport:fr.opensagres.odfdom.converter.core:jar:2.0.2:runtime
| | \- org.odftoolkit:odfdom-java:jar:0.8.7:runtime
| \- fr.opensagres.xdocreport:fr.opensagres.odfdom.converter.xhtml:jar:2.0.2:runtime
+- org.liquibase:liquibase-core:jar:4.26.0:compile
| +- com.opencsv:opencsv:jar:5.9:compile
| +- org.apache.commons:commons-lang3:jar:3.13.0:compile
| +- org.apache.commons:commons-text:jar:1.11.0:compile
| +- org.apache.commons:commons-collections4:jar:4.4:compile
| +- org.yaml:snakeyaml:jar:2.2:compile
| \- javax.xml.bind:jaxb-api:jar:2.3.1:compile
+- ru.cg.webbpm.modules:webkit-base:jar:3.177.0:compile
| +- com.hazelcast:hazelcast:jar:4.1.9:compile
| +- com.hazelcast:hazelcast-kubernetes:jar:2.2.3:compile
| \- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.4:compile
+- xerces:xercesImpl:jar:2.11.0:runtime
| \- xml-apis:xml-apis:jar:1.4.01:runtime
+- com.google.guava:guava:jar:23.4-jre:compile
| +- com.google.code.findbugs:jsr305:jar:1.3.9:compile
| +- com.google.errorprone:error_prone_annotations:jar:2.0.18:compile
| +- com.google.j2objc:j2objc-annotations:jar:1.1:compile
| \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile
+- ru.micord.fias:client:jar:2.25.0:compile
| +- org.easymock:easymock:jar:3.5.1:compile
| | \- org.objenesis:objenesis:jar:2.6:compile
| +- org.springframework:spring-context-support:jar:5.3.33:compile
| \- com.github.ben-manes.caffeine:caffeine:jar:2.9.2:compile
+- org.apache.tika:tika-core:jar:1.7:compile
+- org.bouncycastle:bcprov-jdk15on:jar:1.60:compile
+- org.bouncycastle:bcpkix-jdk15on:jar:1.60:compile
+- org.mnode.ical4j:ical4j:jar:3.0.5:compile
| +- commons-codec:commons-codec:jar:1.6:compile
| \- javax.mail:javax.mail-api:jar:1.5.4:compile
+- net.javacrumbs.shedlock:shedlock-spring:jar:0.18.2:compile
| \- net.javacrumbs.shedlock:shedlock-core:jar:0.18.2:compile
+- net.javacrumbs.shedlock:shedlock-provider-jdbc-template:jar:0.18.2:compile
| \- net.javacrumbs.shedlock:shedlock-provider-jdbc-internal:jar:0.18.2:compile
\- ru.cg.webbpm.packages.base:backend:jar:3.177.0:compile
+- ru.micord.gar:gar-client:jar:3.4.0:compile
| +- ru.micord.gar:gar-core:jar:3.4.0:compile
| +- org.springframework.data:spring-data-elasticsearch:jar:4.0.0.RELEASE:compile
| | +- org.springframework.data:spring-data-commons:jar:2.3.0.RELEASE:compile
| | +- org.elasticsearch.client:transport:jar:7.6.2:compile
| | | +- org.elasticsearch:elasticsearch:jar:7.6.2:compile
| | | | +- org.elasticsearch:elasticsearch-core:jar:7.6.2:compile
| | | | +- org.elasticsearch:elasticsearch-secure-sm:jar:7.6.2:compile
| | | | +- org.elasticsearch:elasticsearch-x-content:jar:7.6.2:compile
| | | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.8.11:compile
| | | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.8.11:compile
| | | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.8.11:compile
| | | | +- org.elasticsearch:elasticsearch-geo:jar:7.6.2:compile
| | | | +- org.apache.lucene:lucene-core:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-analyzers-common:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-backward-codecs:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-grouping:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-highlighter:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-join:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-memory:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-misc:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-queries:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-queryparser:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-sandbox:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-spatial:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-spatial-extras:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-spatial3d:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-suggest:jar:8.4.0:compile
| | | | +- org.elasticsearch:elasticsearch-cli:jar:7.6.2:compile
| | | | | \- net.sf.jopt-simple:jopt-simple:jar:5.0.2:compile
| | | | +- com.carrotsearch:hppc:jar:0.8.1:compile
| | | | +- com.tdunning:t-digest:jar:3.2:compile
| | | | +- org.hdrhistogram:HdrHistogram:jar:2.1.9:compile
| | | | +- org.apache.logging.log4j:log4j-api:jar:2.11.1:compile
| | | | \- org.elasticsearch:jna:jar:4.5.1:compile
| | | +- org.elasticsearch.plugin:reindex-client:jar:7.6.2:compile
| | | | \- org.elasticsearch:elasticsearch-ssl-config:jar:7.6.2:compile
| | | +- org.elasticsearch.plugin:lang-mustache-client:jar:7.6.2:compile
| | | | \- com.github.spullara.mustache.java:compiler:jar:0.9.10:compile
| | | +- org.elasticsearch.plugin:percolator-client:jar:7.6.2:compile
| | | +- org.elasticsearch.plugin:parent-join-client:jar:7.6.2:compile
| | | \- org.elasticsearch.plugin:rank-eval-client:jar:7.6.2:compile
| | +- org.elasticsearch.plugin:transport-netty4-client:jar:7.6.2:compile
| | | +- io.netty:netty-buffer:jar:4.1.43.Final:compile
| | | +- io.netty:netty-codec:jar:4.1.43.Final:compile
| | | +- io.netty:netty-codec-http:jar:4.1.43.Final:compile
| | | +- io.netty:netty-common:jar:4.1.43.Final:compile
| | | +- io.netty:netty-handler:jar:4.1.43.Final:compile
| | | +- io.netty:netty-resolver:jar:4.1.43.Final:compile
| | | \- io.netty:netty-transport:jar:4.1.43.Final:compile
| | \- org.elasticsearch.client:elasticsearch-rest-high-level-client:jar:7.6.2:compile
| | +- org.elasticsearch.client:elasticsearch-rest-client:jar:7.6.2:compile
| | | +- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile
| | | \- org.apache.httpcomponents:httpcore-nio:jar:4.4.12:compile
| | +- org.elasticsearch.plugin:mapper-extras-client:jar:7.6.2:compile
| | \- org.elasticsearch.plugin:aggs-matrix-stats-client:jar:7.6.2:compile
| +- org.apache.httpcomponents:httpcore:jar:4.4.12:compile
| \- org.apache.httpcomponents:httpclient:jar:4.5.1:compile
+- org.apache.poi:poi-ooxml:jar:4.1.2:compile
| +- org.apache.poi:poi-ooxml-schemas:jar:4.1.2:compile
| | \- org.apache.xmlbeans:xmlbeans:jar:3.1.0:compile
| +- org.apache.commons:commons-compress:jar:1.19:compile
| \- com.github.virtuald:curvesapi:jar:1.06:compile
+- org.apache.commons:commons-csv:jar:1.9.0:compile
+- org.springframework.ldap:spring-ldap-core:jar:2.3.4.RELEASE:compile
+- org.telegram:telegrambots-client:jar:7.2.1:compile
| \- com.squareup.okhttp3:okhttp:jar:4.12.0:compile
| +- com.squareup.okio:okio:jar:3.6.0:compile
| | \- com.squareup.okio:okio-jvm:jar:3.6.0:compile
| | \- org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.9.10:compile
| \- org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.8.21:compile
| +- org.jetbrains.kotlin:kotlin-stdlib:jar:1.8.21:compile
| | \- org.jetbrains:annotations:jar:13.0:compile
| \- org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.8.21:compile
\- org.telegram:telegrambots-meta:jar:7.2.1:compile

222
backend/deps3.txt Normal file
View file

@ -0,0 +1,222 @@
ru.micord.ervu.dashboard:backend:war:1.0.0-SNAPSHOT
+- org.springframework.security:spring-security-jwt:jar:1.0.9.RELEASE:compile
+- io.jsonwebtoken:jjwt-api:jar:0.10.5:compile
+- io.jsonwebtoken:jjwt-impl:jar:0.10.5:runtime
+- ru.micord.ervu.dashboard:resources:jar:1.0.0-SNAPSHOT:runtime
| \- ru.cg.webbpm.modules.resources:resources-impl:jar:3.177.0:runtime
| \- commons-io:commons-io:jar:2.4:compile
+- ru.cg.webbpm.modules.reporting.reporting-jasper:reporting-jasper-fonts:jar:3.177.0:runtime
| +- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:Arial:jar:3.177.0:runtime
| +- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:ArialCyr:jar:3.177.0:runtime
| +- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:ArialNarrow:jar:3.177.0:runtime
| +- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:sanserif:jar:3.177.0:runtime
| \- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:TimesNewRoman:jar:3.177.0:runtime
+- org.ocpsoft.prettytime:prettytime:jar:4.0.0.Final:compile
+- org.jooq:jooq:jar:3.19.3:compile
| \- io.r2dbc:r2dbc-spi:jar:1.0.0.RELEASE:compile
| \- org.reactivestreams:reactive-streams:jar:1.0.3:compile
+- org.apache.santuario:xmlsec:jar:1.5.7:compile
| \- commons-logging:commons-logging:jar:1.1.1:compile
+- javax.servlet:javax.servlet-api:jar:3.1.0:provided
+- org.slf4j:slf4j-api:jar:1.7.10:provided
+- org.springframework:spring-core:jar:5.3.33:compile
| \- org.springframework:spring-jcl:jar:5.3.33:compile
+- org.springframework:spring-context:jar:5.3.33:compile
| \- org.springframework:spring-expression:jar:5.3.33:compile
+- org.springframework:spring-beans:jar:5.3.33:compile
+- org.springframework:spring-aop:jar:5.3.33:compile
+- org.springframework:spring-jdbc:jar:5.3.33:compile
+- org.springframework:spring-tx:jar:5.3.33:compile
+- org.springframework:spring-aspects:jar:5.3.33:compile
| \- org.aspectj:aspectjweaver:jar:1.9.7:compile
+- org.springframework:spring-web:jar:5.3.33:compile
+- org.springframework:spring-webmvc:jar:5.3.33:compile
+- org.springframework.security:spring-security-web:jar:5.7.11:compile
| \- org.springframework.security:spring-security-core:jar:5.7.11:compile
| \- org.springframework.security:spring-security-crypto:jar:5.7.11:compile
+- org.springframework.security:spring-security-config:jar:5.7.11:compile
+- ru.cg.webbpm.modules:inject:jar:3.177.0:compile
| \- com.google.code.gson:gson:jar:2.10.1:compile
+- ru.cg.webbpm.modules:webkit-rpc:jar:3.177.0:compile
| +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.4:compile
| +- com.fasterxml.jackson.core:jackson-core:jar:2.12.4:compile
| \- ru.cg.webbpm.modules:webkit-annotations:jar:3.177.0:compile
+- ru.cg.webbpm.modules:webkit-beans:jar:3.177.0:compile
+- ru.cg.webbpm.modules.core:core-runtime-api:jar:3.177.0:compile
+- ru.cg.webbpm.modules.resources:resources-api:jar:3.177.0:compile
+- ru.cg.webbpm.modules.core:error-handling-api:jar:3.177.0:compile
| \- ru.cg.webbpm.modules.core:app-info:jar:3.177.0:compile
+- ru.cg.webbpm.modules.database:database-api:jar:3.177.0:compile
| \- ru.cg.webbpm.modules.database:database-beans:jar:3.177.0:compile
+- ru.cg.webbpm.modules.database:database-impl:jar:3.177.0:runtime
| +- com.zaxxer:HikariCP:jar:2.4.0:runtime
| +- org.postgresql:postgresql:jar:42.7.3:runtime
| | \- org.checkerframework:checker-qual:jar:3.42.0:compile
| +- org.xerial:sqlite-jdbc:jar:3.34.0:runtime
| +- jakarta.xml.bind:jakarta.xml.bind-api:jar:3.0.1:compile
| | \- com.sun.activation:jakarta.activation:jar:2.0.1:compile
| \- com.sun.xml.bind:jaxb-impl:jar:3.0.2:compile
| \- com.sun.xml.bind:jaxb-core:jar:3.0.2:compile
+- ru.cg.webbpm.modules.jndi:jndi-beans:jar:3.177.0:compile
+- ru.cg.webbpm.modules.jndi:jndi-inject:jar:3.177.0:compile
+- com.sun.mail:javax.mail:jar:1.5.1:compile
| \- javax.activation:activation:jar:1.1.1:compile
+- ru.cg.webbpm.modules.database:database-test:jar:3.177.0:test
| \- org.apache.derby:derby:jar:10.11.1.1:test
+- ru.cg.webbpm.modules:standard-annotations:jar:3.177.0:compile
+- ru.cg.webbpm.modules.core:metrics:jar:3.177.0:compile
| +- ru.fix:aggregating-profiler:jar:1.4.7:compile
| \- javax.annotation:javax.annotation-api:jar:1.3.2:compile
+- ru.cg.webbpm.modules.reporting:reporting-api:jar:3.177.0:compile
+- ru.cg.webbpm.modules.reporting:reporting-runtime-api:jar:3.177.0:compile
+- ru.cg.webbpm.modules.reporting:reporting-runtime-impl:jar:3.177.0:runtime
+- ru.cg.webbpm.modules.reporting.reporting-jasper:reporting-jasper-impl:jar:3.177.0:runtime
+- ru.cg.webbpm.modules.reporting.reporting-jasper:reporting-jasper-runtime-impl:jar:3.177.0:runtime
| +- net.sf.jasperreports:jasperreports:jar:6.15.0:runtime
| | +- commons-beanutils:commons-beanutils:jar:1.9.4:runtime
| | | \- commons-collections:commons-collections:jar:3.2.2:runtime
| | +- commons-digester:commons-digester:jar:2.1:runtime
| | +- com.lowagie:itext:jar:2.1.7.js8:runtime
| | +- org.jfree:jcommon:jar:1.0.23:runtime
| | +- org.jfree:jfreechart:jar:1.0.19:runtime
| | +- org.eclipse.jdt:ecj:jar:3.21.0:runtime
| | +- org.codehaus.castor:castor-xml:jar:1.4.1:runtime
| | | +- org.codehaus.castor:castor-core:jar:1.4.1:runtime
| | | \- javax.inject:javax.inject:jar:1:runtime
| | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.4:compile
| +- net.sf.jasperreports:jasperreports-functions:jar:6.15.0:runtime
| | \- joda-time:joda-time:jar:2.9.2:compile
| \- org.apache.poi:poi:jar:4.1.2:compile
| +- org.apache.commons:commons-math3:jar:3.6.1:compile
| \- com.zaxxer:SparseBitSet:jar:1.2:compile
+- ru.cg.webbpm.modules.reporting.reporting-xdoc:reporting-xdoc-impl:jar:3.177.0:runtime
| \- org.zeroturnaround:zt-zip:jar:1.15:runtime
+- ru.cg.webbpm.modules.reporting.reporting-xdoc:reporting-xdoc-runtime-impl:jar:3.177.0:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.core:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.template:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.template.freemarker:jar:2.0.2:runtime
| +- org.freemarker:freemarker:jar:2.3.26-incubating:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.document:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.document.docx:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.document.odt:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.converter:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.converter.docx.xwpf:jar:2.0.2:runtime
| | +- fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.pdf:jar:2.0.2:runtime
| | | +- fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.core:jar:2.0.2:runtime
| | | | \- org.apache.poi:ooxml-schemas:jar:1.4:runtime
| | | \- fr.opensagres.xdocreport:fr.opensagres.xdocreport.itext.extension:jar:2.0.2:runtime
| | \- fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.xhtml:jar:2.0.2:runtime
| \- fr.opensagres.xdocreport:fr.opensagres.xdocreport.converter.odt.odfdom:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.odfdom.converter.pdf:jar:2.0.2:runtime
| | \- fr.opensagres.xdocreport:fr.opensagres.odfdom.converter.core:jar:2.0.2:runtime
| | \- org.odftoolkit:odfdom-java:jar:0.8.7:runtime
| \- fr.opensagres.xdocreport:fr.opensagres.odfdom.converter.xhtml:jar:2.0.2:runtime
+- org.liquibase:liquibase-core:jar:4.26.0:compile
| +- com.opencsv:opencsv:jar:5.9:compile
| +- org.apache.commons:commons-lang3:jar:3.13.0:compile
| +- org.apache.commons:commons-text:jar:1.11.0:compile
| +- org.apache.commons:commons-collections4:jar:4.4:compile
| +- org.yaml:snakeyaml:jar:2.2:compile
| \- javax.xml.bind:jaxb-api:jar:2.3.1:compile
+- ru.cg.webbpm.modules:webkit-base:jar:3.177.0:compile
| +- com.hazelcast:hazelcast:jar:4.1.9:compile
| +- com.hazelcast:hazelcast-kubernetes:jar:2.2.3:compile
| \- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.4:compile
+- xerces:xercesImpl:jar:2.11.0:runtime
| \- xml-apis:xml-apis:jar:1.4.01:runtime
+- com.google.guava:guava:jar:23.4-jre:compile
| +- com.google.code.findbugs:jsr305:jar:1.3.9:compile
| +- com.google.errorprone:error_prone_annotations:jar:2.0.18:compile
| +- com.google.j2objc:j2objc-annotations:jar:1.1:compile
| \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile
+- ru.micord.fias:client:jar:2.25.0:compile
| +- org.easymock:easymock:jar:3.5.1:compile
| | \- org.objenesis:objenesis:jar:2.6:compile
| +- org.springframework:spring-context-support:jar:5.3.33:compile
| \- com.github.ben-manes.caffeine:caffeine:jar:2.9.2:compile
+- org.apache.tika:tika-core:jar:1.7:compile
+- org.bouncycastle:bcprov-jdk15on:jar:1.60:compile
+- org.bouncycastle:bcpkix-jdk15on:jar:1.60:compile
+- org.mnode.ical4j:ical4j:jar:3.0.5:compile
| +- commons-codec:commons-codec:jar:1.6:compile
| \- javax.mail:javax.mail-api:jar:1.5.4:compile
+- net.javacrumbs.shedlock:shedlock-spring:jar:0.18.2:compile
| \- net.javacrumbs.shedlock:shedlock-core:jar:0.18.2:compile
+- net.javacrumbs.shedlock:shedlock-provider-jdbc-template:jar:0.18.2:compile
| \- net.javacrumbs.shedlock:shedlock-provider-jdbc-internal:jar:0.18.2:compile
\- ru.cg.webbpm.packages.base:backend:jar:3.177.0:compile
+- ru.micord.gar:gar-client:jar:3.4.0:compile
| +- ru.micord.gar:gar-core:jar:3.4.0:compile
| +- org.springframework.data:spring-data-elasticsearch:jar:4.0.0.RELEASE:compile
| | +- org.springframework.data:spring-data-commons:jar:2.3.0.RELEASE:compile
| | +- org.elasticsearch.client:transport:jar:7.6.2:compile
| | | +- org.elasticsearch:elasticsearch:jar:7.6.2:compile
| | | | +- org.elasticsearch:elasticsearch-core:jar:7.6.2:compile
| | | | +- org.elasticsearch:elasticsearch-secure-sm:jar:7.6.2:compile
| | | | +- org.elasticsearch:elasticsearch-x-content:jar:7.6.2:compile
| | | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.8.11:compile
| | | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.8.11:compile
| | | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.8.11:compile
| | | | +- org.elasticsearch:elasticsearch-geo:jar:7.6.2:compile
| | | | +- org.apache.lucene:lucene-core:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-analyzers-common:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-backward-codecs:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-grouping:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-highlighter:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-join:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-memory:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-misc:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-queries:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-queryparser:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-sandbox:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-spatial:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-spatial-extras:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-spatial3d:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-suggest:jar:8.4.0:compile
| | | | +- org.elasticsearch:elasticsearch-cli:jar:7.6.2:compile
| | | | | \- net.sf.jopt-simple:jopt-simple:jar:5.0.2:compile
| | | | +- com.carrotsearch:hppc:jar:0.8.1:compile
| | | | +- com.tdunning:t-digest:jar:3.2:compile
| | | | +- org.hdrhistogram:HdrHistogram:jar:2.1.9:compile
| | | | +- org.apache.logging.log4j:log4j-api:jar:2.11.1:compile
| | | | \- org.elasticsearch:jna:jar:4.5.1:compile
| | | +- org.elasticsearch.plugin:reindex-client:jar:7.6.2:compile
| | | | \- org.elasticsearch:elasticsearch-ssl-config:jar:7.6.2:compile
| | | +- org.elasticsearch.plugin:lang-mustache-client:jar:7.6.2:compile
| | | | \- com.github.spullara.mustache.java:compiler:jar:0.9.10:compile
| | | +- org.elasticsearch.plugin:percolator-client:jar:7.6.2:compile
| | | +- org.elasticsearch.plugin:parent-join-client:jar:7.6.2:compile
| | | \- org.elasticsearch.plugin:rank-eval-client:jar:7.6.2:compile
| | +- org.elasticsearch.plugin:transport-netty4-client:jar:7.6.2:compile
| | | +- io.netty:netty-buffer:jar:4.1.43.Final:compile
| | | +- io.netty:netty-codec:jar:4.1.43.Final:compile
| | | +- io.netty:netty-codec-http:jar:4.1.43.Final:compile
| | | +- io.netty:netty-common:jar:4.1.43.Final:compile
| | | +- io.netty:netty-handler:jar:4.1.43.Final:compile
| | | +- io.netty:netty-resolver:jar:4.1.43.Final:compile
| | | \- io.netty:netty-transport:jar:4.1.43.Final:compile
| | \- org.elasticsearch.client:elasticsearch-rest-high-level-client:jar:7.6.2:compile
| | +- org.elasticsearch.client:elasticsearch-rest-client:jar:7.6.2:compile
| | | +- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile
| | | \- org.apache.httpcomponents:httpcore-nio:jar:4.4.12:compile
| | +- org.elasticsearch.plugin:mapper-extras-client:jar:7.6.2:compile
| | \- org.elasticsearch.plugin:aggs-matrix-stats-client:jar:7.6.2:compile
| +- org.apache.httpcomponents:httpcore:jar:4.4.12:compile
| \- org.apache.httpcomponents:httpclient:jar:4.5.1:compile
+- org.apache.poi:poi-ooxml:jar:4.1.2:compile
| +- org.apache.poi:poi-ooxml-schemas:jar:4.1.2:compile
| | \- org.apache.xmlbeans:xmlbeans:jar:3.1.0:compile
| +- org.apache.commons:commons-compress:jar:1.19:compile
| \- com.github.virtuald:curvesapi:jar:1.06:compile
+- org.apache.commons:commons-csv:jar:1.9.0:compile
+- org.springframework.ldap:spring-ldap-core:jar:2.3.4.RELEASE:compile
+- org.telegram:telegrambots-client:jar:7.2.1:compile
| \- com.squareup.okhttp3:okhttp:jar:4.12.0:compile
| +- com.squareup.okio:okio:jar:3.6.0:compile
| | \- com.squareup.okio:okio-jvm:jar:3.6.0:compile
| | \- org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.9.10:compile
| \- org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.8.21:compile
| +- org.jetbrains.kotlin:kotlin-stdlib:jar:1.8.21:compile
| | \- org.jetbrains:annotations:jar:13.0:compile
| \- org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.8.21:compile
\- org.telegram:telegrambots-meta:jar:7.2.1:compile

222
backend/deps4.txt Normal file
View file

@ -0,0 +1,222 @@
ru.micord.ervu.dashboard:backend:war:1.0.0-SNAPSHOT
+- org.springframework.security:spring-security-jwt:jar:1.0.9.RELEASE:compile
+- io.jsonwebtoken:jjwt-api:jar:0.10.5:compile
+- io.jsonwebtoken:jjwt-impl:jar:0.10.5:runtime
+- ru.micord.ervu.dashboard:resources:jar:1.0.0-SNAPSHOT:runtime
| \- ru.cg.webbpm.modules.resources:resources-impl:jar:3.177.0:runtime
| \- commons-io:commons-io:jar:2.4:compile
+- ru.cg.webbpm.modules.reporting.reporting-jasper:reporting-jasper-fonts:jar:3.177.0:runtime
| +- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:Arial:jar:3.177.0:runtime
| +- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:ArialCyr:jar:3.177.0:runtime
| +- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:ArialNarrow:jar:3.177.0:runtime
| +- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:sanserif:jar:3.177.0:runtime
| \- ru.cg.webbpm.modules.reporting.reporting-jasper.fonts:TimesNewRoman:jar:3.177.0:runtime
+- org.ocpsoft.prettytime:prettytime:jar:4.0.0.Final:compile
+- org.jooq:jooq:jar:3.19.3:compile
| \- io.r2dbc:r2dbc-spi:jar:1.0.0.RELEASE:compile
| \- org.reactivestreams:reactive-streams:jar:1.0.3:compile
+- org.apache.santuario:xmlsec:jar:1.5.7:compile
| \- commons-logging:commons-logging:jar:1.1.1:compile
+- javax.servlet:javax.servlet-api:jar:3.1.0:provided
+- org.slf4j:slf4j-api:jar:1.7.10:provided
+- org.springframework:spring-core:jar:5.3.33:compile
| \- org.springframework:spring-jcl:jar:5.3.33:compile
+- org.springframework:spring-context:jar:5.3.33:compile
| \- org.springframework:spring-expression:jar:5.3.33:compile
+- org.springframework:spring-beans:jar:5.3.33:compile
+- org.springframework:spring-aop:jar:5.3.33:compile
+- org.springframework:spring-jdbc:jar:5.3.33:compile
+- org.springframework:spring-tx:jar:5.3.33:compile
+- org.springframework:spring-aspects:jar:5.3.33:compile
| \- org.aspectj:aspectjweaver:jar:1.9.7:compile
+- org.springframework:spring-web:jar:5.3.33:compile
+- org.springframework:spring-webmvc:jar:5.3.33:compile
+- org.springframework.security:spring-security-web:jar:5.7.11:compile
| \- org.springframework.security:spring-security-core:jar:5.7.11:compile
| \- org.springframework.security:spring-security-crypto:jar:5.7.11:compile
+- org.springframework.security:spring-security-config:jar:5.7.11:compile
+- ru.cg.webbpm.modules:inject:jar:3.177.0:compile
| \- com.google.code.gson:gson:jar:2.10.1:compile
+- ru.cg.webbpm.modules:webkit-rpc:jar:3.177.0:compile
| +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.4:compile
| +- com.fasterxml.jackson.core:jackson-core:jar:2.12.4:compile
| \- ru.cg.webbpm.modules:webkit-annotations:jar:3.177.0:compile
+- ru.cg.webbpm.modules:webkit-beans:jar:3.177.0:compile
+- ru.cg.webbpm.modules.core:core-runtime-api:jar:3.177.0:compile
+- ru.cg.webbpm.modules.resources:resources-api:jar:3.177.0:compile
+- ru.cg.webbpm.modules.core:error-handling-api:jar:3.177.0:compile
| \- ru.cg.webbpm.modules.core:app-info:jar:3.177.0:compile
+- ru.cg.webbpm.modules.database:database-api:jar:3.177.0:compile
| \- ru.cg.webbpm.modules.database:database-beans:jar:3.177.0:compile
+- ru.cg.webbpm.modules.database:database-impl:jar:3.177.0:runtime
| +- com.zaxxer:HikariCP:jar:2.4.0:runtime
| +- org.postgresql:postgresql:jar:42.7.3:runtime
| | \- org.checkerframework:checker-qual:jar:3.42.0:compile
| +- org.xerial:sqlite-jdbc:jar:3.34.0:runtime
| +- jakarta.xml.bind:jakarta.xml.bind-api:jar:3.0.1:compile
| | \- com.sun.activation:jakarta.activation:jar:2.0.1:compile
| \- com.sun.xml.bind:jaxb-impl:jar:3.0.2:compile
| \- com.sun.xml.bind:jaxb-core:jar:3.0.2:compile
+- ru.cg.webbpm.modules.jndi:jndi-beans:jar:3.177.0:compile
+- ru.cg.webbpm.modules.jndi:jndi-inject:jar:3.177.0:compile
+- com.sun.mail:javax.mail:jar:1.5.1:compile
| \- javax.activation:activation:jar:1.1.1:compile
+- ru.cg.webbpm.modules.database:database-test:jar:3.177.0:test
| \- org.apache.derby:derby:jar:10.11.1.1:test
+- ru.cg.webbpm.modules:standard-annotations:jar:3.177.0:compile
+- ru.cg.webbpm.modules.core:metrics:jar:3.177.0:compile
| +- ru.fix:aggregating-profiler:jar:1.4.7:compile
| \- javax.annotation:javax.annotation-api:jar:1.3.2:compile
+- ru.cg.webbpm.modules.reporting:reporting-api:jar:3.177.0:compile
+- ru.cg.webbpm.modules.reporting:reporting-runtime-api:jar:3.177.0:compile
+- ru.cg.webbpm.modules.reporting:reporting-runtime-impl:jar:3.177.0:runtime
+- ru.cg.webbpm.modules.reporting.reporting-jasper:reporting-jasper-impl:jar:3.177.0:runtime
+- ru.cg.webbpm.modules.reporting.reporting-jasper:reporting-jasper-runtime-impl:jar:3.177.0:runtime
| +- net.sf.jasperreports:jasperreports:jar:6.15.0:runtime
| | +- commons-beanutils:commons-beanutils:jar:1.9.4:runtime
| | | \- commons-collections:commons-collections:jar:3.2.2:runtime
| | +- commons-digester:commons-digester:jar:2.1:runtime
| | +- com.lowagie:itext:jar:2.1.7.js8:runtime
| | +- org.jfree:jcommon:jar:1.0.23:runtime
| | +- org.jfree:jfreechart:jar:1.0.19:runtime
| | +- org.eclipse.jdt:ecj:jar:3.21.0:runtime
| | +- org.codehaus.castor:castor-xml:jar:1.4.1:runtime
| | | +- org.codehaus.castor:castor-core:jar:1.4.1:runtime
| | | \- javax.inject:javax.inject:jar:1:runtime
| | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.4:compile
| +- net.sf.jasperreports:jasperreports-functions:jar:6.15.0:runtime
| | \- joda-time:joda-time:jar:2.9.2:compile
| \- org.apache.poi:poi:jar:4.1.2:compile
| +- org.apache.commons:commons-math3:jar:3.6.1:compile
| \- com.zaxxer:SparseBitSet:jar:1.2:compile
+- ru.cg.webbpm.modules.reporting.reporting-xdoc:reporting-xdoc-impl:jar:3.177.0:runtime
| \- org.zeroturnaround:zt-zip:jar:1.15:runtime
+- ru.cg.webbpm.modules.reporting.reporting-xdoc:reporting-xdoc-runtime-impl:jar:3.177.0:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.core:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.template:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.template.freemarker:jar:2.0.2:runtime
| +- org.freemarker:freemarker:jar:2.3.26-incubating:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.document:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.document.docx:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.document.odt:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.converter:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.xdocreport.converter.docx.xwpf:jar:2.0.2:runtime
| | +- fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.pdf:jar:2.0.2:runtime
| | | +- fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.core:jar:2.0.2:runtime
| | | | \- org.apache.poi:ooxml-schemas:jar:1.4:runtime
| | | \- fr.opensagres.xdocreport:fr.opensagres.xdocreport.itext.extension:jar:2.0.2:runtime
| | \- fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.xhtml:jar:2.0.2:runtime
| \- fr.opensagres.xdocreport:fr.opensagres.xdocreport.converter.odt.odfdom:jar:2.0.2:runtime
| +- fr.opensagres.xdocreport:fr.opensagres.odfdom.converter.pdf:jar:2.0.2:runtime
| | \- fr.opensagres.xdocreport:fr.opensagres.odfdom.converter.core:jar:2.0.2:runtime
| | \- org.odftoolkit:odfdom-java:jar:0.8.7:runtime
| \- fr.opensagres.xdocreport:fr.opensagres.odfdom.converter.xhtml:jar:2.0.2:runtime
+- org.liquibase:liquibase-core:jar:4.26.0:compile
| +- com.opencsv:opencsv:jar:5.9:compile
| +- org.apache.commons:commons-lang3:jar:3.13.0:compile
| +- org.apache.commons:commons-text:jar:1.11.0:compile
| +- org.apache.commons:commons-collections4:jar:4.4:compile
| +- org.yaml:snakeyaml:jar:2.2:compile
| \- javax.xml.bind:jaxb-api:jar:2.3.1:compile
+- ru.cg.webbpm.modules:webkit-base:jar:3.177.0:compile
| +- com.hazelcast:hazelcast:jar:4.1.9:compile
| +- com.hazelcast:hazelcast-kubernetes:jar:2.2.3:compile
| \- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.4:compile
+- xerces:xercesImpl:jar:2.11.0:runtime
| \- xml-apis:xml-apis:jar:1.4.01:runtime
+- com.google.guava:guava:jar:23.4-jre:compile
| +- com.google.code.findbugs:jsr305:jar:1.3.9:compile
| +- com.google.errorprone:error_prone_annotations:jar:2.0.18:compile
| +- com.google.j2objc:j2objc-annotations:jar:1.1:compile
| \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile
+- ru.micord.fias:client:jar:2.25.0:compile
| +- org.easymock:easymock:jar:3.5.1:compile
| | \- org.objenesis:objenesis:jar:2.6:compile
| +- org.springframework:spring-context-support:jar:5.3.33:compile
| \- com.github.ben-manes.caffeine:caffeine:jar:2.9.2:compile
+- org.apache.tika:tika-core:jar:1.7:compile
+- org.bouncycastle:bcprov-jdk15on:jar:1.60:compile
+- org.bouncycastle:bcpkix-jdk15on:jar:1.60:compile
+- org.mnode.ical4j:ical4j:jar:3.0.5:compile
| +- commons-codec:commons-codec:jar:1.6:compile
| \- javax.mail:javax.mail-api:jar:1.5.4:compile
+- net.javacrumbs.shedlock:shedlock-spring:jar:0.18.2:compile
| \- net.javacrumbs.shedlock:shedlock-core:jar:0.18.2:compile
+- net.javacrumbs.shedlock:shedlock-provider-jdbc-template:jar:0.18.2:compile
| \- net.javacrumbs.shedlock:shedlock-provider-jdbc-internal:jar:0.18.2:compile
\- ru.cg.webbpm.packages.base:backend:jar:3.177.0:compile
+- ru.micord.gar:gar-client:jar:3.4.0:compile
| +- ru.micord.gar:gar-core:jar:3.4.0:compile
| +- org.springframework.data:spring-data-elasticsearch:jar:4.0.0.RELEASE:compile
| | +- org.springframework.data:spring-data-commons:jar:2.3.0.RELEASE:compile
| | +- org.elasticsearch.client:transport:jar:7.6.2:compile
| | | +- org.elasticsearch:elasticsearch:jar:7.6.2:compile
| | | | +- org.elasticsearch:elasticsearch-core:jar:7.6.2:compile
| | | | +- org.elasticsearch:elasticsearch-secure-sm:jar:7.6.2:compile
| | | | +- org.elasticsearch:elasticsearch-x-content:jar:7.6.2:compile
| | | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.8.11:compile
| | | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.8.11:compile
| | | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.8.11:compile
| | | | +- org.elasticsearch:elasticsearch-geo:jar:7.6.2:compile
| | | | +- org.apache.lucene:lucene-core:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-analyzers-common:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-backward-codecs:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-grouping:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-highlighter:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-join:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-memory:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-misc:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-queries:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-queryparser:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-sandbox:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-spatial:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-spatial-extras:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-spatial3d:jar:8.4.0:compile
| | | | +- org.apache.lucene:lucene-suggest:jar:8.4.0:compile
| | | | +- org.elasticsearch:elasticsearch-cli:jar:7.6.2:compile
| | | | | \- net.sf.jopt-simple:jopt-simple:jar:5.0.2:compile
| | | | +- com.carrotsearch:hppc:jar:0.8.1:compile
| | | | +- com.tdunning:t-digest:jar:3.2:compile
| | | | +- org.hdrhistogram:HdrHistogram:jar:2.1.9:compile
| | | | +- org.apache.logging.log4j:log4j-api:jar:2.11.1:compile
| | | | \- org.elasticsearch:jna:jar:4.5.1:compile
| | | +- org.elasticsearch.plugin:reindex-client:jar:7.6.2:compile
| | | | \- org.elasticsearch:elasticsearch-ssl-config:jar:7.6.2:compile
| | | +- org.elasticsearch.plugin:lang-mustache-client:jar:7.6.2:compile
| | | | \- com.github.spullara.mustache.java:compiler:jar:0.9.10:compile
| | | +- org.elasticsearch.plugin:percolator-client:jar:7.6.2:compile
| | | +- org.elasticsearch.plugin:parent-join-client:jar:7.6.2:compile
| | | \- org.elasticsearch.plugin:rank-eval-client:jar:7.6.2:compile
| | +- org.elasticsearch.plugin:transport-netty4-client:jar:7.6.2:compile
| | | +- io.netty:netty-buffer:jar:4.1.43.Final:compile
| | | +- io.netty:netty-codec:jar:4.1.43.Final:compile
| | | +- io.netty:netty-codec-http:jar:4.1.43.Final:compile
| | | +- io.netty:netty-common:jar:4.1.43.Final:compile
| | | +- io.netty:netty-handler:jar:4.1.43.Final:compile
| | | +- io.netty:netty-resolver:jar:4.1.43.Final:compile
| | | \- io.netty:netty-transport:jar:4.1.43.Final:compile
| | \- org.elasticsearch.client:elasticsearch-rest-high-level-client:jar:7.6.2:compile
| | +- org.elasticsearch.client:elasticsearch-rest-client:jar:7.6.2:compile
| | | +- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile
| | | \- org.apache.httpcomponents:httpcore-nio:jar:4.4.12:compile
| | +- org.elasticsearch.plugin:mapper-extras-client:jar:7.6.2:compile
| | \- org.elasticsearch.plugin:aggs-matrix-stats-client:jar:7.6.2:compile
| +- org.apache.httpcomponents:httpcore:jar:4.4.12:compile
| \- org.apache.httpcomponents:httpclient:jar:4.5.1:compile
+- org.apache.poi:poi-ooxml:jar:4.1.2:compile
| +- org.apache.poi:poi-ooxml-schemas:jar:4.1.2:compile
| | \- org.apache.xmlbeans:xmlbeans:jar:3.1.0:compile
| +- org.apache.commons:commons-compress:jar:1.19:compile
| \- com.github.virtuald:curvesapi:jar:1.06:compile
+- org.apache.commons:commons-csv:jar:1.9.0:compile
+- org.springframework.ldap:spring-ldap-core:jar:2.3.4.RELEASE:compile
+- org.telegram:telegrambots-client:jar:7.2.1:compile
| \- com.squareup.okhttp3:okhttp:jar:4.12.0:compile
| +- com.squareup.okio:okio:jar:3.6.0:compile
| | \- com.squareup.okio:okio-jvm:jar:3.6.0:compile
| | \- org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.9.10:compile
| \- org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.8.21:compile
| +- org.jetbrains.kotlin:kotlin-stdlib:jar:1.8.21:compile
| | \- org.jetbrains:annotations:jar:13.0:compile
| \- org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.8.21:compile
\- org.telegram:telegrambots-meta:jar:7.2.1:compile

BIN
backend/deps5.txt Normal file

Binary file not shown.

82
backend/frontend-deps.txt Normal file
View file

@ -0,0 +1,82 @@
"dependencies": {
"@angular/animations": "7.2.15",
"@angular/common": "7.2.15",
"@angular/compiler": "7.2.15",
"@angular/core": "7.2.15",
"@angular/forms": "7.2.15",
"@angular/http": "7.2.15",
"@angular/platform-browser": "7.2.15",
"@angular/platform-browser-dynamic": "7.2.15",
"@angular/router": "7.2.15",
"@ng-bootstrap/ng-bootstrap": "4.1.1",
"@webbpm/base-package": "3.176.3",
"ag-grid-angular": "29.0.0-micord.4",
"ag-grid-community": "29.0.0-micord.4",
"angular-calendar": "0.28.28",
"autonumeric": "4.5.10-cg",
"bootstrap": "4.3.1",
"bootstrap-icons": "1.10.3",
"cadesplugin_api": "2.0.4-micord.1",
"chart.js": "3.8.0-cg.1",
"chartjs-adapter-moment": "1.0.0",
"core-js": "2.4.1",
"date-fns": "2.29.3",
"downloadjs": "1.4.8",
"eonasdan-bootstrap-datetimepicker": "4.17.47-micord.4",
"esmarttokenjs": "2.2.1-cg",
"font-awesome": "4.7.0",
"google-libphonenumber": "3.0.9",
"inputmask": "5.0.5-cg.2",
"jquery": "3.3.1",
"js-year-calendar": "1.0.0-cg.2",
"jsgantt-improved": "2.0.10-cg",
"moment": "2.17.1",
"moment-timezone": "0.5.11",
"ngx-cookie": "3.0.1",
"ngx-international-phone-number": "1.0.6",
"ngx-toastr": "10.2.0-cg",
"popper.js": "1.14.7",
"reflect-metadata": "0.1.13",
"rxjs": "6.4.0",
"rxjs-compat": "6.4.0",
"selectize": "0.12.4-cg.10",
"systemjs": "0.21.4",
"systemjs-plugin-babel": "0.0.25",
"tslib": "1.9.3",
"zone.js": "0.8.29"
},
"devDependencies": {
"@angular-devkit/build-optimizer": "0.13.9",
"@angular-devkit/core": "7.3.9",
"@angular/cli": "7.3.9",
"@angular/compiler-cli": "7.2.15",
"@angular/platform-server": "7.2.15",
"@babel/core": "7.9.6",
"@babel/preset-env": "7.9.6",
"@types/bootstrap": "3.3.39",
"@types/jquery": "2.0.49",
"@types/node": "7.0.5",
"@types/selectize": "0.12.33",
"angular-router-loader": "0.8.5",
"angular2-template-loader": "0.6.2",
"babel-loader": "8.1.0",
"codelyzer": "5.2.1",
"copy-webpack-plugin": "5.0.3",
"cross-env": "5.2.1",
"css-loader": "2.1.0",
"del": "2.2.2",
"file-loader": "3.0.1",
"html-webpack-plugin": "4.5.2",
"lite-server": "2.3.0",
"mini-css-extract-plugin": "0.6.0",
"mkdirp": "0.5.1",
"raw-loader": "1.0.0",
"style-loader": "0.23.1",
"terser-webpack-plugin": "1.2.4",
"tslint": "5.13.1",
"typescript": "3.2.4",
"typescript-parser": "2.6.1-cg-fork",
"webpack": "4.32.2",
"webpack-bundle-analyzer": "3.3.2",
"webpack-cli": "3.3.2"
}

306
backend/pom.xml Normal file
View file

@ -0,0 +1,306 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>ru.micord.ervu</groupId>
<artifactId>dashboard</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<groupId>ru.micord.ervu.dashboard</groupId>
<artifactId>backend</artifactId>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-jwt</artifactId>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>ru.micord.ervu.dashboard</groupId>
<artifactId>resources</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.reporting.reporting-jasper</groupId>
<artifactId>reporting-jasper-fonts</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.ocpsoft.prettytime</groupId>
<artifactId>prettytime</artifactId>
</dependency>
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq</artifactId>
</dependency>
<dependency>
<groupId>org.apache.santuario</groupId>
<artifactId>xmlsec</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules</groupId>
<artifactId>inject</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules</groupId>
<artifactId>webkit-rpc</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules</groupId>
<artifactId>webkit-beans</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.core</groupId>
<artifactId>core-runtime-api</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.resources</groupId>
<artifactId>resources-api</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.core</groupId>
<artifactId>error-handling-api</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.database</groupId>
<artifactId>database-api</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.database</groupId>
<artifactId>database-impl</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.jndi</groupId>
<artifactId>jndi-beans</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.jndi</groupId>
<artifactId>jndi-inject</artifactId>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.database</groupId>
<artifactId>database-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules</groupId>
<artifactId>standard-annotations</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.core</groupId>
<artifactId>metrics</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.reporting</groupId>
<artifactId>reporting-api</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.reporting</groupId>
<artifactId>reporting-runtime-api</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.reporting</groupId>
<artifactId>reporting-runtime-impl</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.reporting.reporting-jasper</groupId>
<artifactId>reporting-jasper-impl</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.reporting.reporting-jasper</groupId>
<artifactId>reporting-jasper-runtime-impl</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.reporting.reporting-xdoc</groupId>
<artifactId>reporting-xdoc-impl</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.reporting.reporting-xdoc</groupId>
<artifactId>reporting-xdoc-runtime-impl</artifactId>
</dependency>
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules</groupId>
<artifactId>webkit-base</artifactId>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>ru.micord.fias</groupId>
<artifactId>client</artifactId>
</dependency>
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
</dependency>
<dependency>
<groupId>org.mnode.ical4j</groupId>
<artifactId>ical4j</artifactId>
</dependency>
<dependency>
<groupId>net.javacrumbs.shedlock</groupId>
<artifactId>shedlock-spring</artifactId>
</dependency>
<dependency>
<groupId>net.javacrumbs.shedlock</groupId>
<artifactId>shedlock-provider-jdbc-template</artifactId>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.packages.base</groupId>
<artifactId>backend</artifactId>
</dependency>
</dependencies>
<build>
<finalName>${parent.artifactId}</finalName>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<useIncrementalCompilation>false</useIncrementalCompilation>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
<release>17</release>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.basedir}/target/generated-sources/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.7.1</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<!-- configure the plugin here -->
<copyPom>true</copyPom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>studio</id>
<dependencies>
<dependency>
<groupId>ru.cg.webbpm.modules.resources</groupId>
<artifactId>resources-impl-development</artifactId>
</dependency>
</dependencies>
</profile>
<profile>
<id>dev</id>
<dependencies>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>

View file

@ -0,0 +1,67 @@
import java.time.Duration;
import javax.sql.DataSource;
import net.javacrumbs.shedlock.core.LockProvider;
import net.javacrumbs.shedlock.provider.jdbctemplate.JdbcTemplateLockProvider;
import net.javacrumbs.shedlock.spring.ScheduledLockConfiguration;
import net.javacrumbs.shedlock.spring.ScheduledLockConfigurationBuilder;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
/**
* Root application context
* This context imports XML configs from all the other jars, and is created by {@link WebAppInitializer}
* NB: modules are excluded from component scan since spring-context.xml sometimes holds important parameters and / or annotations
* @author krylov
*/
@Configuration
@ComponentScan(basePackages = {
"service",
"dao",
"bpmn",
"i18n",
"errorhandling",
"database",
"component.addresses",
"gen",
"ru.cg",
"ru.micord"
}, excludeFilters = {
@ComponentScan.Filter(type = FilterType.REGEX, pattern = "security.WebSecurityConfig")
})
@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableWebMvc
@EnableScheduling
public class AppConfig {
@Bean
public PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer(){
return new PropertySourcesPlaceholderConfigurer();
}
@Bean
public ScheduledLockConfiguration taskScheduler(LockProvider lockProvider) {
ThreadPoolTaskScheduler scheduler = new ThreadPoolTaskScheduler();
scheduler.setPoolSize(12);
scheduler.initialize();
return ScheduledLockConfigurationBuilder
.withLockProvider(lockProvider)
.withTaskScheduler(scheduler)
.withDefaultLockAtMostFor(Duration.ofHours(4))
.build();
}
@Bean
public LockProvider lockProvider(@Qualifier("datasource") DataSource dataSource) {
return new JdbcTemplateLockProvider(dataSource);
}
}

View file

@ -0,0 +1,31 @@
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;
import org.springframework.web.util.IntrospectorCleanupListener;
/**
* This initializer creates root context and registers dispatcher servlet
* Spring scans for initializers automatically
*/
public class WebAppInitializer extends AbstractAnnotationConfigDispatcherServletInitializer {
public void onStartup(ServletContext servletContext) throws ServletException {
super.onStartup(servletContext);
servletContext.addListener(new IntrospectorCleanupListener());
}
protected String[] getServletMappings() {
return new String[]{"/"};
}
@Override
protected Class<?>[] getRootConfigClasses() {
return new Class[]{AppConfig.class};
}
@Override
protected Class<?>[] getServletConfigClasses() {
return new Class[0];
}
}

View file

@ -0,0 +1,35 @@
package dto.jivoprofile;
import ru.cg.webbpm.modules.webkit.annotations.Model;
@Model
public class JivoProfileDto {
public String username;
public String email;
public String phone;
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
}

View file

@ -0,0 +1,26 @@
package ervu_dashboard.component.chart;
import java.util.Arrays;
import component.chart.dto.ChartConfigDto;
import component.chart.service.ChartV2Service;
import ervu_dashboard.model.chart.BarMockDatasets;
import model.Filter;
/**
* @author Vitaly Chekushkin
*/
public class BarMockChartV2Service implements ChartV2Service {
public BarMockDatasets datasetsConfiguration;
@Override
public ChartConfigDto loadData(Integer integer, Integer integer1, Filter[] filters) {
ChartConfigDto chartConfigDto = new ChartConfigDto();
datasetsConfiguration.labels = Arrays.stream(datasetsConfiguration.datasets)
.flatMap(dataset -> Arrays.stream(dataset.data)).map(String::valueOf).toArray(String[]::new);
chartConfigDto.setData(datasetsConfiguration);
chartConfigDto.setType("bar");
return chartConfigDto;
}
}

View file

@ -0,0 +1,22 @@
package ervu_dashboard.component.chart;
import component.chart.dto.ChartConfigDto;
import component.chart.service.ChartV2Service;
import ervu_dashboard.model.chart.DoughnutMockDatasets;
import model.Filter;
/**
* @author Vitaly Chekushkin
*/
public class DoughnutMockChartV2Service implements ChartV2Service {
public DoughnutMockDatasets datasetsConfiguration;
@Override
public ChartConfigDto loadData(Integer offset, Integer limit, Filter[] filters) {
ChartConfigDto chartConfigDto = new ChartConfigDto();
chartConfigDto.setData(datasetsConfiguration);
chartConfigDto.setType("doughnut");
return chartConfigDto;
}
}

View file

@ -0,0 +1,237 @@
package ervu_dashboard.component.chart;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import java.util.stream.Collectors;
import component.chart.dto.ChartDataSetDto;
import component.chart.dto.ChartPointDto;
import component.chart.model.AggregationDataSet;
import component.chart.model.ChartColumnSort;
import component.chart.model.StaticDataSet;
import component.chart.service.MultiChartDataSetService;
import component.chart.service.impl.AbstractChartDatasetService;
import ervu_dashboard.component.filter.FilterReferences;
import ervu_dashboard.model.chart.ChartDatasetType;
import ervu_dashboard.model.chart.ColumnAggregationDataSet;
import ervu_dashboard.model.chart.ErvuChartDataSetDto;
import model.Filter;
import model.FilterModel;
import ru.cg.webbpm.modules.database.api.bean.TableRow;
import ru.cg.webbpm.modules.database.api.dao.LoadDao;
import ru.cg.webbpm.modules.database.api.dao.option.LoadOptions;
import ru.cg.webbpm.modules.database.bean.entity_graph.AggregateFuncField;
import ru.cg.webbpm.modules.database.bean.entity_graph.EntityColumn;
import ru.cg.webbpm.modules.database.bean.filter.EntityFilter;
import ru.cg.webbpm.modules.standard_annotations.editor.Visible;
import ru.cg.webbpm.modules.standard_annotations.validation.NotNull;
import static java.util.Arrays.stream;
/**
* @author Vitaly Chekushkin
*/
public class ErvuMultiChartDataSetService extends AbstractChartDatasetService implements
MultiChartDataSetService {
@NotNull
public LoadDao loadDao;
@NotNull
public ChartDatasetType datasetType;
@NotNull(predicate = "datasetType==ChartDatasetType.AGGREGATION")
@Visible(predicate = "datasetType==ChartDatasetType.AGGREGATION")
public AggregationDataSet aggregationDataSet;
@NotNull(predicate = "datasetType==ChartDatasetType.STATIC")
@Visible(predicate = "datasetType==ChartDatasetType.STATIC")
public StaticDataSet staticDataSet;
@NotNull(predicate = "datasetType==ChartDatasetType.COLUMN_AGGREGATION")
@Visible(predicate = "datasetType==ChartDatasetType.COLUMN_AGGREGATION")
public ColumnAggregationDataSet columnAggregationDataSet;
private FilterReferences filterReferences;
@Override
protected void start() {
super.start();
this.filterReferences = getScript(FilterReferences.class);
}
@Override
public List<ChartDataSetDto> loadDataSets(Integer offset, Integer limit, Filter[] filters) {
LoadOptions loadOptions = loadOptions(offset, limit, filters);
return switch (datasetType) {
case AGGREGATION -> loadAggregationDataSets(loadOptions);
case STATIC -> loadStaticDataSets(loadOptions);
case COLUMN_AGGREGATION -> loadColumnAggregationDataSets(loadOptions);
};
}
protected List<ChartDataSetDto> loadAggregationDataSets(LoadOptions loadOptions) {
for (ChartColumnSort columnSort : aggregationDataSet.columnSorts) {
loadOptions.addSortField(columnSort.field, columnSort.sortOrder);
}
EntityColumn[] groupByColumnsArray = aggregationDataSet.groupByColumns;
Set<EntityColumn> groupByColumns = stream(groupByColumnsArray).collect(Collectors.toSet());
EntityColumn labelColumn = aggregationDataSet.labelColumn != null
? aggregationDataSet.labelColumn
: groupByColumnsArray[groupByColumnsArray.length - 1];
if (!groupByColumns.contains(labelColumn)) {
throw new IllegalStateException(
"Label column " + labelColumn + " must be in groupColumns array");
}
Set<AggregateFuncField> aggregateFuncFields = stream(aggregationDataSet.aggregationData).map(
aggregationData -> stream(aggregationData.aggregationFunctionData).map(
aggregationFunctionData -> new AggregateFuncField(aggregationData.aggregationColumn,
aggregationFunctionData.aggregationFunction
)).collect(Collectors.toList()))
.flatMap(Collection::stream)
.collect(Collectors.toSet());
List<TableRow> rows = loadDao.loadAggregations(groupByColumns, aggregateFuncFields,
loadOptions
);
return stream(aggregationDataSet.aggregationData).map(dataItem ->
stream(dataItem.aggregationFunctionData).map(aggFuncData -> {
List<ChartPointDto> points = rows.stream().map(tableRow -> {
Object xAxesValue = getAxesValue(tableRow, labelColumn,
aggregationDataSet.labelColumFormatter
);
Object yAxesValue = getAxesValue(tableRow, dataItem.aggregationColumn,
dataItem.aggregationColumnFormatter
);
return new ChartPointDto(xAxesValue, yAxesValue);
}).collect(Collectors.toList());
ChartDataSetDto chartDataSetDto = new ChartDataSetDto(aggFuncData.dataLabel,
aggFuncData.chartType.toString(), points
);
chartDataSetDto.setBorderColor(aggFuncData.borderColor);
chartDataSetDto.setBackgroundColor(aggFuncData.backgroundColor);
chartDataSetDto.setxAxisID(aggFuncData.xAxesId);
chartDataSetDto.setyAxisID(aggFuncData.yAxesId);
chartDataSetDto.setTension(aggFuncData.tension);
chartDataSetDto.setOrder(aggFuncData.drawOrder);
return chartDataSetDto;
}).collect(Collectors.toList())).flatMap(Collection::stream).collect(Collectors.toList());
}
protected List<ChartDataSetDto> loadStaticDataSets(LoadOptions loadOptions) {
for (ChartColumnSort columnSort : staticDataSet.columnSorts) {
loadOptions.addSortField(columnSort.field, columnSort.sortOrder);
}
Set<EntityColumn> columns = new HashSet<>();
stream(staticDataSet.staticData).forEach(
staticChartData -> columns.addAll(staticChartData.columns()));
List<TableRow> rows = loadDao.load(columns, loadOptions);
return stream(staticDataSet.staticData).map(staticChartData -> {
List<ChartPointDto> points = rows.stream().map(tableRow -> {
Object xAxesValue = getAxesValue(tableRow, staticChartData.labelColumn,
staticChartData.labelColumnFormatter
);
Object yAxesValue = getAxesValue(tableRow, staticChartData.dataColumn,
staticChartData.dataColumnFormatter
);
return new ChartPointDto(xAxesValue, yAxesValue);
}).collect(Collectors.toList());
ChartDataSetDto chartDataSetDto = new ChartDataSetDto(staticChartData.dataLabel,
staticChartData.chartType.toString(), points
);
chartDataSetDto.setData(points);
chartDataSetDto.setLabel(staticChartData.dataLabel);
chartDataSetDto.setBorderColor(staticChartData.borderColor);
chartDataSetDto.setBackgroundColor(staticChartData.backgroundColor);
chartDataSetDto.setxAxisID(staticChartData.xAxesId);
chartDataSetDto.setyAxisID(staticChartData.yAxesId);
chartDataSetDto.setTension(staticChartData.tension);
chartDataSetDto.setOrder(staticChartData.drawOrder);
return chartDataSetDto;
}).collect(Collectors.toList());
}
protected List<ChartDataSetDto> loadColumnAggregationDataSets(LoadOptions loadOptions) {
ColumnAggregationDataSet dataSet = columnAggregationDataSet;
Set<AggregateFuncField> aggregateFuncFields = stream(dataSet.aggregationData)
.map(aggData -> new AggregateFuncField(aggData.aggregationColumn,
aggData.aggregationFunction
))
.collect(LinkedHashSet::new, Set::add, Set::addAll);
TableRow tableRow = Optional.ofNullable(loadDao.loadAggregations(
aggregateFuncFields, loadOptions
)).orElse(new TableRow());
List<String> backgroundColors = new ArrayList<>();
List<ChartPointDto> points = stream(dataSet.aggregationData)
.map(aggData -> {
backgroundColors.add(aggData.borderColor);
return new ChartPointDto(
aggData.label,
getAxesValue(tableRow, aggData.aggregationColumn, aggData.aggregationColumnFormatter)
);
}).toList();
ErvuChartDataSetDto chartDataSetDto = new ErvuChartDataSetDto(
dataSet.dataSetLabel,
dataSet.chartType.toString(),
points
);
chartDataSetDto.setBackgroundColors(backgroundColors.toArray(new String[0]));
chartDataSetDto.setBorderColor(dataSet.borderColor);
chartDataSetDto.setxAxisID(dataSet.xAxesId);
chartDataSetDto.setyAxisID(dataSet.yAxesId);
chartDataSetDto.setTension(dataSet.tension);
chartDataSetDto.setOrder(dataSet.drawOrder);
chartDataSetDto.setBorderRadius(dataSet.borderRadius);
chartDataSetDto.setBarPercentage(dataSet.barPercentage);
return Collections.singletonList(chartDataSetDto);
}
protected LoadOptions loadOptions(Integer offset, Integer limit, Filter[] filters) {
LoadOptions loadOptions = new LoadOptions();
loadOptions.setOffset(offset);
loadOptions.setLimit(limit);
loadOptions.setEntityFilterGroup(getEntityFilterGroup(filters));
return loadOptions;
}
@Override
protected List<EntityFilter> convertFilterModels(Filter filter) {
return Arrays.stream(filter.filterModels)
.map(filterModel -> getComponentFilter(filter.componentGuid, filterModel))
.collect(Collectors.toList());
}
@Override
protected EntityFilter getComponentFilter(String componentGuid, FilterModel filterModel) {
if (filterReferences != null) {
return filterReferences.toEntityFilter(componentGuid, filterModel);
}
else {
return super.getComponentFilter(componentGuid, filterModel);
}
}
}

View file

@ -0,0 +1,316 @@
package ervu_dashboard.component.chart;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Future;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.stream.Collectors;
import component.chart.dto.SingleChartDataDto;
import component.chart.dto.SingleChartDataSetDto;
import component.chart.service.SingleChartDataSetService;
import component.chart.service.impl.AbstractChartDatasetService;
import ervu_dashboard.component.chart.label.RoundLabelConfiguration;
import ervu_dashboard.component.filter.FilterReferences;
import ervu_dashboard.model.chart.round.RoundAggregationData;
import ervu_dashboard.model.chart.round.RoundChartColumnSort;
import ervu_dashboard.model.chart.round.RoundChartDataDto;
import ervu_dashboard.model.chart.round.RoundChartDataSetConfiguration;
import ervu_dashboard.model.chart.round.RoundChartDataSetDto;
import ervu_dashboard.model.chart.round.RoundChartDataSetDtoWrapper;
import ervu_dashboard.model.chart.round.RoundColumnAggregationDataSet;
import ervu_dashboard.model.chart.round.RoundStaticData;
import ervu_dashboard.model.chart.round.label.ChartLabelModel;
import model.Filter;
import model.FilterModel;
import ru.cg.webbpm.modules.database.api.bean.TableRow;
import ru.cg.webbpm.modules.database.api.dao.option.LoadOptions;
import ru.cg.webbpm.modules.database.bean.entity_graph.AggregateFuncField;
import ru.cg.webbpm.modules.database.bean.entity_graph.EntityColumn;
import ru.cg.webbpm.modules.database.bean.filter.EntityFilter;
import ru.cg.webbpm.modules.standard_annotations.validation.NotNull;
import static java.lang.Runtime.getRuntime;
import static java.util.Arrays.stream;
import static java.util.concurrent.TimeUnit.MILLISECONDS;
/**
* @author Vitaly Chekushkin
*/
public class RoundSingleChartDataSetService extends AbstractChartDatasetService
implements SingleChartDataSetService {
@NotNull
public RoundChartDataSetConfiguration[] dataSetConfigurations;
public RoundLabelConfiguration[] centerLabelConfigurations = new RoundLabelConfiguration[0];
private FilterReferences filterReferences;
@Override
protected void start() {
super.start();
this.filterReferences = getScript(FilterReferences.class);
}
@Override
public SingleChartDataDto loadData(Integer offset, Integer limit, Filter[] filters) {
int availableProcessors = getRuntime().availableProcessors();
ExecutorService executorService = new ThreadPoolExecutor(0, availableProcessors,
0L, MILLISECONDS, new LinkedBlockingQueue<Runnable>()
);
List<Callable<RoundChartDataSetDtoWrapper>> dataSetTasks = new ArrayList<>();
stream(dataSetConfigurations).forEach(dataSetConfiguration ->
dataSetTasks.add(() ->
loadData(dataSetConfiguration, loadOptions(offset, limit, filters))
)
);
List<Callable<ChartLabelModel>> labelTasks = new ArrayList<>();
stream(centerLabelConfigurations).forEach(labelConfiguration ->
labelTasks.add(() ->
labelConfiguration.getLabelModel(loadOptions(offset, limit, filters))
)
);
try {
List<Future<RoundChartDataSetDtoWrapper>> dataSetFutures = executorService.invokeAll(dataSetTasks);
List<Future<ChartLabelModel>> labelFutures = executorService.invokeAll(labelTasks);
List<SingleChartDataSetDto> datasets = new ArrayList<>();
List<ChartLabelModel> centerLabelModels = new ArrayList<>();
List<Object> labels = new ArrayList<>();
for (Future<RoundChartDataSetDtoWrapper> future : dataSetFutures) {
RoundChartDataSetDtoWrapper chartDataSetDto = future.get();
if (chartDataSetDto.getRoundChartDataSetDto() != null) {
datasets.add(chartDataSetDto.getRoundChartDataSetDto());
}
labels.addAll(chartDataSetDto.getLabels());
}
executorService.shutdown();
for (Future<ChartLabelModel> future : labelFutures) {
centerLabelModels.add(future.get());
}
return new RoundChartDataDto(datasets, labels, centerLabelModels);
}
catch (InterruptedException | ExecutionException e) {
executorService.shutdownNow();
throw new RuntimeException(e);
}
}
protected RoundChartDataSetDtoWrapper loadData(
RoundChartDataSetConfiguration dataSetConfiguration, LoadOptions loadOptions) {
return switch (dataSetConfiguration.datasetType) {
case AGGREGATION -> loadAggregationDataSet(dataSetConfiguration, loadOptions);
case STATIC -> loadStaticDataSet(dataSetConfiguration, loadOptions);
case COLUMN_AGGREGATION -> loadColumnAggregationDataSet(dataSetConfiguration, loadOptions);
};
}
protected RoundChartDataSetDtoWrapper loadAggregationDataSet(
RoundChartDataSetConfiguration dataSetConfiguration, LoadOptions loadOptions) {
addSorting(dataSetConfiguration.aggregationDataSet.columnSorts, loadOptions);
EntityColumn[] groupByColumnsArray = dataSetConfiguration.aggregationDataSet.groupByColumns;
Set<EntityColumn> groupByColumns = stream(groupByColumnsArray).collect(Collectors.toSet());
EntityColumn labelColumn = dataSetConfiguration.aggregationDataSet.labelColumn != null
? dataSetConfiguration.aggregationDataSet.labelColumn
: groupByColumnsArray[groupByColumnsArray.length - 1];
if (!groupByColumns.contains(labelColumn)) {
throw new IllegalStateException(
"Label column " + labelColumn + " must be in groupColumns array");
}
RoundAggregationData aggregationData = dataSetConfiguration.aggregationDataSet.aggregationData;
AggregateFuncField funcField = new AggregateFuncField(
aggregationData.aggregationColumn, aggregationData.aggregationFunction);
Set<AggregateFuncField> aggregateFuncFields = Collections.singleton(funcField);
List<Object> labels = new ArrayList<>();
List<Object> data = new ArrayList<>();
List<TableRow> rows = dataSetConfiguration.loadDao.loadAggregations(
groupByColumns,
aggregateFuncFields,
loadOptions
);
rows.forEach(tableRow -> {
labels.add(getAxesValue(tableRow, labelColumn,
dataSetConfiguration.aggregationDataSet.labelColumFormatter
));
data.add(getAxesValue(tableRow, aggregationData.aggregationColumn,
aggregationData.aggregationColumnFormatter
));
});
String[] backgroundColors = generateBackgroundColors(dataSetConfiguration.backgroundColors,
data
);
RoundChartDataSetDto singleChartDataSetDto = new RoundChartDataSetDto(
aggregationData.dataLabel,
data,
backgroundColors,
dataSetConfiguration.borderWidth,
dataSetConfiguration.radius,
dataSetConfiguration.cutout,
dataSetConfiguration.hoverOffset
);
return new RoundChartDataSetDtoWrapper(singleChartDataSetDto, labels);
}
protected RoundChartDataSetDtoWrapper loadStaticDataSet(
RoundChartDataSetConfiguration dataSetConfiguration, LoadOptions loadOptions) {
addSorting(dataSetConfiguration.staticDataSet.columnSorts, loadOptions);
RoundStaticData staticData = dataSetConfiguration.staticDataSet.staticData;
Set<EntityColumn> columns = new HashSet<>(staticData.columns());
List<Object> labels = new ArrayList<>();
List<Object> data = new ArrayList<>();
dataSetConfiguration.loadDao.load(columns, loadOptions)
.forEach(tableRow -> {
labels.add(getAxesValue(tableRow, staticData.labelColumn,
staticData.labelColumnFormatter
));
data.add(getAxesValue(tableRow, staticData.dataColumn,
staticData.dataColumnFormatter
));
});
String[] backgroundColors = generateBackgroundColors(dataSetConfiguration.backgroundColors,
data
);
RoundChartDataSetDto singleChartDataSetDto = new RoundChartDataSetDto(
staticData.dataLabel,
data,
backgroundColors,
dataSetConfiguration.borderWidth,
dataSetConfiguration.radius,
dataSetConfiguration.cutout,
dataSetConfiguration.hoverOffset
);
return new RoundChartDataSetDtoWrapper(singleChartDataSetDto, labels);
}
protected RoundChartDataSetDtoWrapper loadColumnAggregationDataSet(
RoundChartDataSetConfiguration dataSetConfiguration, LoadOptions loadOptions) {
RoundColumnAggregationDataSet dataSet = dataSetConfiguration.columnAggregationDataSet;
Set<AggregateFuncField> aggregateFuncFields = stream(dataSet.aggregationData)
.map(aggData -> new AggregateFuncField(aggData.aggregationColumn,
aggData.aggregationFunction
))
.collect(LinkedHashSet::new, Set::add, Set::addAll);
TableRow tableRow = Optional.ofNullable(dataSetConfiguration.loadDao.loadAggregations(
aggregateFuncFields,
loadOptions
)).orElse(new TableRow());
List<Object> labels = new ArrayList<>();
List<Object> data = new ArrayList<>();
List<String> backgroundColors = new ArrayList<>();
stream(dataSet.aggregationData).forEach(aggData -> {
Object formattedValue = getAxesValue(
tableRow, aggData.aggregationColumn, aggData.aggregationColumnFormatter
);
if (formattedValue == null) return;
labels.add(aggData.label);
data.add(formattedValue);
backgroundColors.add(aggData.backgroundColor);
});
RoundChartDataSetDto singleChartDataSetDto = new RoundChartDataSetDto(
dataSet.dataLabel,
data,
backgroundColors.toArray(new String[0]),
dataSetConfiguration.borderWidth,
dataSetConfiguration.radius,
dataSetConfiguration.cutout,
dataSetConfiguration.hoverOffset
);
return new RoundChartDataSetDtoWrapper(singleChartDataSetDto, labels);
}
protected void addSorting(RoundChartColumnSort[] aggregationDataSet, LoadOptions loadOptions) {
for (RoundChartColumnSort columnSort : aggregationDataSet) {
loadOptions.addSortField(columnSort.field, columnSort.sortOrder);
}
}
@Override
protected List<EntityFilter> convertFilterModels(Filter filter) {
return Arrays.stream(filter.filterModels)
.map(filterModel -> getComponentFilter(filter.componentGuid, filterModel))
.collect(Collectors.toList());
}
protected LoadOptions loadOptions(Integer offset, Integer limit, Filter[] filters) {
LoadOptions loadOptions = new LoadOptions();
loadOptions.setOffset(offset);
loadOptions.setLimit(limit);
loadOptions.setEntityFilterGroup(getEntityFilterGroup(filters));
return loadOptions;
}
protected String[] generateBackgroundColors(String[] backgroundColors, List<Object> data) {
String[] colors;
if (backgroundColors.length > 0) {
if (backgroundColors.length >= data.size()) {
colors = backgroundColors;
}
else {
Set<String> definedColors = stream(backgroundColors).collect(Collectors.toSet());
String[] additionalColors = generateBackgroundColors(definedColors,
data.size() - backgroundColors.length
);
colors = Arrays.copyOf(backgroundColors,
backgroundColors.length + additionalColors.length
);
System.arraycopy(additionalColors, 0, colors, backgroundColors.length,
additionalColors.length
);
}
}
else {
colors = generateBackgroundColors(data.size());
}
return colors;
}
@Override
protected EntityFilter getComponentFilter(String componentGuid, FilterModel filterModel) {
if (filterReferences != null) {
return filterReferences.toEntityFilter(componentGuid, filterModel);
}
else {
return super.getComponentFilter(componentGuid, filterModel);
}
}
}

View file

@ -0,0 +1,29 @@
package ervu_dashboard.component.chart.label;
import ervu_dashboard.model.Font;
import ervu_dashboard.model.chart.round.label.ChartLabelModel;
import ru.cg.webbpm.modules.database.api.dao.option.LoadOptions;
import ru.cg.webbpm.modules.standard_annotations.editor.ColorEditor;
/**
* @author Vitaly Chekushkin
*/
public abstract class AbstractRoundLabelConfiguration implements RoundLabelConfiguration {
public Font font = Font.of("sans-serif", "500", 14);
@ColorEditor
public String color = "#FFFFFF";
@Override
public ChartLabelModel getLabelModel(LoadOptions loadOptions) {
return new ChartLabelModel(
getLabel(loadOptions),
color,
font
);
}
abstract protected String getLabel(LoadOptions loadOptions);
}

View file

@ -0,0 +1,42 @@
package ervu_dashboard.component.chart.label;
import java.util.Collections;
import property.grid.Formatter;
import rpc.LoadGraphSource;
import ru.cg.webbpm.modules.database.api.bean.TableRow;
import ru.cg.webbpm.modules.database.api.dao.LoadDao;
import ru.cg.webbpm.modules.database.api.dao.option.LoadOptions;
import ru.cg.webbpm.modules.database.bean.AggregationFunction;
import ru.cg.webbpm.modules.database.bean.annotation.LocalGraphSource;
import ru.cg.webbpm.modules.database.bean.entity_graph.AggregateFuncField;
import ru.cg.webbpm.modules.database.bean.entity_graph.EntityColumn;
import ru.cg.webbpm.modules.standard_annotations.validation.NotNull;
/**
* @author Vitaly Chekushkin
*/
public class DefaultRoundLabelConfiguration extends AbstractRoundLabelConfiguration
implements LoadGraphSource {
@NotNull
public LoadDao loadDao;
@NotNull
@LocalGraphSource(sourceFieldName = "loadDao")
public EntityColumn valueColumn;
@NotNull
public AggregationFunction aggregationFunction;
public Formatter<Object, Object> valueFormatter;
@Override
protected String getLabel(LoadOptions loadOptions) {
AggregateFuncField funcField = new AggregateFuncField(valueColumn, aggregationFunction);
TableRow tableRow = loadDao.loadAggregations(Collections.singleton(funcField), loadOptions);
Object value = tableRow.get(valueColumn);
value = valueFormatter != null ? valueFormatter.format(value) : value;
return value != null ? value.toString() : null;
}
}

View file

@ -0,0 +1,13 @@
package ervu_dashboard.component.chart.label;
import ervu_dashboard.model.chart.round.label.ChartLabelModel;
import ru.cg.webbpm.modules.database.api.dao.option.LoadOptions;
/**
* @author Vitaly Chekushkin
*/
public interface RoundLabelConfiguration {
ChartLabelModel getLabelModel(LoadOptions loadOptions);
}

View file

@ -0,0 +1,16 @@
package ervu_dashboard.component.chart.label;
import ru.cg.webbpm.modules.database.api.dao.option.LoadOptions;
/**
* @author Vitaly Chekushkin
*/
public class StaticRoundLabelDataSet extends AbstractRoundLabelConfiguration {
public String label;
@Override
public String getLabel(LoadOptions loadOptions) {
return label;
}
}

View file

@ -0,0 +1,20 @@
package ervu_dashboard.component.converter;
import java.util.UUID;
import component.field.dataconvert.DataConverter;
/**
* @author Vitaly Chekushkin
*/
public class UUIDValueConverter implements DataConverter<UUID, String> {
@Override
public UUID convertValueForSave(String value) {
return value != null ? UUID.fromString(value) : null;
}
@Override
public String convertValueForLoad(UUID uuid) {
return uuid != null ? uuid.toString() : null;
}
}

View file

@ -0,0 +1,58 @@
package ervu_dashboard.component.filter;
import component.field.dataconvert.DataConverter;
import component.field.dataconvert.DataConverterProvider;
import model.FilterModel;
import ru.cg.webbpm.modules.database.bean.entity_graph.EntityColumn;
import ru.cg.webbpm.modules.database.bean.entity_graph.condition.Operator;
import ru.cg.webbpm.modules.database.bean.filter.EntityFilter;
import ru.cg.webbpm.modules.database.bean.filter.FilterOperation;
import ru.cg.webbpm.modules.standard_annotations.editor.ObjectRef;
import ru.cg.webbpm.modules.standard_annotations.validation.NotNull;
import ru.cg.webbpm.modules.webkit.annotations.Model;
import ru.cg.webbpm.modules.webkit.beans.Behavior;
/**
* @author Vitaly Chekushkin
*/
public abstract class AbstractFilterReference implements FilterReference {
@NotNull
@ObjectRef
public Behavior filterComponent;
public DataConverter<?, ?> dataConverter;
public Operator multiValueOperator;
@Override
public String getSupportsFilterGuid() {
return filterComponent.getObjectId();
}
@Override
public EntityFilter toEntityFilter(FilterModel filterModel) {
Object convertedValue = convertData(filterModel.getValue());
FilterOperation operation = filterModel.getOperation();
EntityColumn entityColumn = getEntityColumn();
Operator multiValueOperator =
this.multiValueOperator != null ? this.multiValueOperator : Operator.AND;
return new EntityFilter(
convertedValue,
operation,
entityColumn,
multiValueOperator
);
}
protected Object convertData(Object value) {
DataConverter<Object, Object> converter =
dataConverter != null
? (DataConverter<Object, Object>) dataConverter
: (DataConverter<Object, Object>) DataConverterProvider.getDataConverter(value);
return converter.convertValueForSave(value);
}
protected abstract EntityColumn getEntityColumn();
}

View file

@ -0,0 +1,16 @@
package ervu_dashboard.component.filter;
import model.FilterModel;
import ru.cg.webbpm.modules.database.bean.filter.EntityFilter;
import ru.cg.webbpm.modules.webkit.annotations.Model;
/**
* @author Vitaly Chekushkin
*/
public interface FilterReference {
String getSupportsFilterGuid();
EntityFilter toEntityFilter(FilterModel filterModel);
}

View file

@ -0,0 +1,45 @@
package ervu_dashboard.component.filter;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import model.FilterModel;
import model.filter.FilterableReference;
import ru.cg.webbpm.modules.database.bean.filter.EntityFilter;
import ru.cg.webbpm.modules.standard_annotations.scopes.AnalyticalScope;
import ru.cg.webbpm.modules.standard_annotations.validation.NotNull;
import ru.cg.webbpm.modules.webkit.annotations.Model;
import ru.cg.webbpm.modules.webkit.beans.Behavior;
/**
* @author Vitaly Chekushkin
*/
@Model
@AnalyticalScope(FilterableReference.class)
public class FilterReferences extends Behavior {
@NotNull
public FilterReference[] references;
private final Map<String, FilterReference> referenceMap = new HashMap<>();
@Override
protected void start() {
super.start();
Arrays.stream(references).forEach(reference -> referenceMap.put(reference.getSupportsFilterGuid(), reference));
}
public EntityFilter toEntityFilter(String filterGuid, FilterModel filterModel) {
return Optional.ofNullable(referenceMap.get(filterGuid))
.map(reference -> reference.toEntityFilter(filterModel))
.orElseThrow(() -> new IllegalArgumentException(
"Filter reference for guid=%s(id:%s) not defined".formatted(
filterGuid, filterGuid
))
);
}
}

View file

@ -0,0 +1,25 @@
package ervu_dashboard.component.filter;
import model.filter.FilterableReference;
import ru.cg.webbpm.modules.database.bean.annotation.GraphSource;
import ru.cg.webbpm.modules.database.bean.entity_graph.EntityColumn;
import ru.cg.webbpm.modules.standard_annotations.validation.NotNull;
/**
* @author Vitaly Chekushkin
*/
public class GraphFilterReference extends AbstractFilterReference {
@NotNull
@GraphSource(
value = FilterableReference.class,
scanMode = GraphSource.ScanMode.SELF
)
public EntityColumn columnForFilter;
@Override
protected EntityColumn getEntityColumn() {
return columnForFilter;
}
}

View file

@ -0,0 +1,22 @@
package ervu_dashboard.component.filter;
import ru.cg.webbpm.modules.database.bean.entity_graph.EntityColumn;
import ru.cg.webbpm.modules.standard_annotations.validation.NotNull;
import ru.cg.webbpm.modules.webkit.annotations.Model;
/**
* @author Vitaly Chekushkin
*/
@Model
public class StaticFilterReference extends AbstractFilterReference {
@NotNull
public String table;
@NotNull
public String column;
@Override
protected EntityColumn getEntityColumn() {
return new EntityColumn(table, column);
}
}

View file

@ -0,0 +1,105 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.MainDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.Ratings;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.RecruitmentCampaign;
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
import ervu_dashboard.ervu_dashboard.db_beans.space.Space;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.TotalRegistered;
import java.util.Arrays;
import java.util.List;
import org.jooq.Constants;
import org.jooq.Schema;
import org.jooq.impl.CatalogImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DefaultCatalog extends CatalogImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>DEFAULT_CATALOG</code>
*/
public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog();
/**
* The schema <code>appeals</code>.
*/
public final Appeals APPEALS = Appeals.APPEALS;
/**
* The schema <code>main_dashboard</code>.
*/
public final MainDashboard MAIN_DASHBOARD = MainDashboard.MAIN_DASHBOARD;
/**
* The schema <code>public</code>.
*/
public final Public PUBLIC = Public.PUBLIC;
/**
* The schema <code>ratings</code>.
*/
public final Ratings RATINGS = Ratings.RATINGS;
/**
* The schema <code>recruitment_campaign</code>.
*/
public final RecruitmentCampaign RECRUITMENT_CAMPAIGN = RecruitmentCampaign.RECRUITMENT_CAMPAIGN;
/**
* The schema <code>security</code>.
*/
public final Security SECURITY = Security.SECURITY;
/**
* The schema <code>space</code>.
*/
public final Space SPACE = Space.SPACE;
/**
* The schema <code>total_registered</code>.
*/
public final TotalRegistered TOTAL_REGISTERED = TotalRegistered.TOTAL_REGISTERED;
/**
* No further instances allowed
*/
private DefaultCatalog() {
super("");
}
@Override
public final List<Schema> getSchemas() {
return Arrays.asList(
Appeals.APPEALS,
MainDashboard.MAIN_DASHBOARD,
Public.PUBLIC,
Ratings.RATINGS,
RecruitmentCampaign.RECRUITMENT_CAMPAIGN,
Security.SECURITY,
Space.SPACE,
TotalRegistered.TOTAL_REGISTERED
);
}
/**
* A reference to the 3.19 minor release of the code generator. If this
* doesn't compile, it's because the runtime library uses an older minor
* release, namely: 3.19. You can turn off the generation of this reference
* by specifying /configuration/generator/generate/jooqVersionReference
*/
private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_19;
}

View file

@ -0,0 +1,76 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.appeals;
import ervu_dashboard.ervu_dashboard.db_beans.DefaultCatalog;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReviewRating;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.TopicAppeal;
import java.util.Arrays;
import java.util.List;
import org.jooq.Catalog;
import org.jooq.Table;
import org.jooq.impl.SchemaImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Appeals extends SchemaImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>appeals</code>
*/
public static final Appeals APPEALS = new Appeals();
/**
* Основной профиль уровень РФ
*/
public final MainProfile MAIN_PROFILE = MainProfile.MAIN_PROFILE;
/**
* Причины обжалования уровень РФ
*/
public final ReasonsAppeal REASONS_APPEAL = ReasonsAppeal.REASONS_APPEAL;
/**
* Рейтинг рассмотрения жалоб уровень РФ
*/
public final ReviewRating REVIEW_RATING = ReviewRating.REVIEW_RATING;
/**
* Тема обжалования уровень РФ
*/
public final TopicAppeal TOPIC_APPEAL = TopicAppeal.TOPIC_APPEAL;
/**
* No further instances allowed
*/
private Appeals() {
super("appeals", null);
}
@Override
public Catalog getCatalog() {
return DefaultCatalog.DEFAULT_CATALOG;
}
@Override
public final List<Table<?>> getTables() {
return Arrays.asList(
MainProfile.MAIN_PROFILE,
ReasonsAppeal.REASONS_APPEAL,
ReviewRating.REVIEW_RATING,
TopicAppeal.TOPIC_APPEAL
);
}
}

View file

@ -0,0 +1,52 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.appeals;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReviewRating;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.TopicAppeal;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.MainProfileRecord;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReasonsAppealRecord;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReviewRatingRecord;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.TopicAppealRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Region;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.records.RegionRecord;
import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;
/**
* A class modelling foreign key relationships and constraints of tables in
* appeals.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {
// -------------------------------------------------------------------------
// UNIQUE and PRIMARY KEY definitions
// -------------------------------------------------------------------------
public static final UniqueKey<MainProfileRecord> PK_MAIN_PROFILE = Internal.createUniqueKey(MainProfile.MAIN_PROFILE, DSL.name("pk_main_profile"), new TableField[] { MainProfile.MAIN_PROFILE.ID_MAIN_PROFILE }, true);
public static final UniqueKey<ReasonsAppealRecord> PK_REASONS_APPEAL = Internal.createUniqueKey(ReasonsAppeal.REASONS_APPEAL, DSL.name("pk_reasons_appeal"), new TableField[] { ReasonsAppeal.REASONS_APPEAL.ID_REASONS_APPEAL }, true);
public static final UniqueKey<ReviewRatingRecord> PK_REVIEW_RATING = Internal.createUniqueKey(ReviewRating.REVIEW_RATING, DSL.name("pk_review_rating"), new TableField[] { ReviewRating.REVIEW_RATING.ID_REVIEW_RATING }, true);
public static final UniqueKey<TopicAppealRecord> PK_TOPIC_APPEAL = Internal.createUniqueKey(TopicAppeal.TOPIC_APPEAL, DSL.name("pk_topic_appeal"), new TableField[] { TopicAppeal.TOPIC_APPEAL.ID_TOPIC_APPEAL }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
// -------------------------------------------------------------------------
public static final ForeignKey<MainProfileRecord, PubRecruitmentRecord> MAIN_PROFILE__MAIN_PROFILE_FK1 = Internal.createForeignKey(MainProfile.MAIN_PROFILE, DSL.name("main_profile_fk1"), new TableField[] { MainProfile.MAIN_PROFILE.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<ReasonsAppealRecord, PubRecruitmentRecord> REASONS_APPEAL__REASONS_APPEAL_FK1 = Internal.createForeignKey(ReasonsAppeal.REASONS_APPEAL, DSL.name("reasons_appeal_fk1"), new TableField[] { ReasonsAppeal.REASONS_APPEAL.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<ReviewRatingRecord, RegionRecord> REVIEW_RATING__FK_REGION = Internal.createForeignKey(ReviewRating.REVIEW_RATING, DSL.name("fk_region"), new TableField[] { ReviewRating.REVIEW_RATING.ID_REGION }, ervu_dashboard.ervu_dashboard.db_beans.space.Keys.PK_REGION, new TableField[] { Region.REGION.ID_REGION }, true);
public static final ForeignKey<ReviewRatingRecord, PubRecruitmentRecord> REVIEW_RATING__REVIEW_RATING_FK1 = Internal.createForeignKey(ReviewRating.REVIEW_RATING, DSL.name("review_rating_fk1"), new TableField[] { ReviewRating.REVIEW_RATING.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<TopicAppealRecord, PubRecruitmentRecord> TOPIC_APPEAL__TOPIC_APPEAL_FK1 = Internal.createForeignKey(TopicAppeal.TOPIC_APPEAL, DSL.name("topic_appeal_fk1"), new TableField[] { TopicAppeal.TOPIC_APPEAL.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
}

View file

@ -0,0 +1,38 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.appeals;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReviewRating;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.TopicAppeal;
/**
* Convenience access to all tables in appeals.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Tables {
/**
* Основной профиль уровень РФ
*/
public static final MainProfile MAIN_PROFILE = MainProfile.MAIN_PROFILE;
/**
* Причины обжалования уровень РФ
*/
public static final ReasonsAppeal REASONS_APPEAL = ReasonsAppeal.REASONS_APPEAL;
/**
* Рейтинг рассмотрения жалоб уровень РФ
*/
public static final ReviewRating REVIEW_RATING = ReviewRating.REVIEW_RATING;
/**
* Тема обжалования уровень РФ
*/
public static final TopicAppeal TOPIC_APPEAL = TopicAppeal.TOPIC_APPEAL;
}

View file

@ -0,0 +1,317 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.MainProfileRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* Основной профиль уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class MainProfile extends TableImpl<MainProfileRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>appeals.main_profile</code>
*/
public static final MainProfile MAIN_PROFILE = new MainProfile();
/**
* The class holding records for this type
*/
@Override
public Class<MainProfileRecord> getRecordType() {
return MainProfileRecord.class;
}
/**
* The column <code>appeals.main_profile.id_main_profile</code>.
*/
public final TableField<MainProfileRecord, Long> ID_MAIN_PROFILE = createField(DSL.name("id_main_profile"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>appeals.main_profile.gender</code>. Пол
*/
public final TableField<MainProfileRecord, String> GENDER = createField(DSL.name("gender"), SQLDataType.CLOB, this, "Пол");
/**
* The column <code>appeals.main_profile.age</code>. Возраст
*/
public final TableField<MainProfileRecord, String> AGE = createField(DSL.name("age"), SQLDataType.CLOB, this, "Возраст");
/**
* The column <code>appeals.main_profile.child_min_18</code>. Дети до 18 лет
*/
public final TableField<MainProfileRecord, String> CHILD_MIN_18 = createField(DSL.name("child_min_18"), SQLDataType.CLOB, this, "Дети до 18 лет");
/**
* The column <code>appeals.main_profile.education</code>. Образование
*/
public final TableField<MainProfileRecord, String> EDUCATION = createField(DSL.name("education"), SQLDataType.CLOB, this, "Образование");
/**
* The column <code>appeals.main_profile.employment</code>. Занятость
*/
public final TableField<MainProfileRecord, String> EMPLOYMENT = createField(DSL.name("employment"), SQLDataType.CLOB, this, "Занятость");
/**
* The column <code>appeals.main_profile.recording_date</code>. Дата записи
*/
public final TableField<MainProfileRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column <code>appeals.main_profile.recruitment_id</code>.
*/
public final TableField<MainProfileRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
private MainProfile(Name alias, Table<MainProfileRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private MainProfile(Name alias, Table<MainProfileRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Основной профиль уровень РФ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>appeals.main_profile</code> table reference
*/
public MainProfile(String alias) {
this(DSL.name(alias), MAIN_PROFILE);
}
/**
* Create an aliased <code>appeals.main_profile</code> table reference
*/
public MainProfile(Name alias) {
this(alias, MAIN_PROFILE);
}
/**
* Create a <code>appeals.main_profile</code> table reference
*/
public MainProfile() {
this(DSL.name("main_profile"), null);
}
public <O extends Record> MainProfile(Table<O> path, ForeignKey<O, MainProfileRecord> childPath, InverseForeignKey<O, MainProfileRecord> parentPath) {
super(path, childPath, parentPath, MAIN_PROFILE);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class MainProfilePath extends MainProfile implements Path<MainProfileRecord> {
public <O extends Record> MainProfilePath(Table<O> path, ForeignKey<O, MainProfileRecord> childPath, InverseForeignKey<O, MainProfileRecord> parentPath) {
super(path, childPath, parentPath);
}
private MainProfilePath(Name alias, Table<MainProfileRecord> aliased) {
super(alias, aliased);
}
@Override
public MainProfilePath as(String alias) {
return new MainProfilePath(DSL.name(alias), this);
}
@Override
public MainProfilePath as(Name alias) {
return new MainProfilePath(alias, this);
}
@Override
public MainProfilePath as(Table<?> alias) {
return new MainProfilePath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Appeals.APPEALS;
}
@Override
public Identity<MainProfileRecord, Long> getIdentity() {
return (Identity<MainProfileRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<MainProfileRecord> getPrimaryKey() {
return Keys.PK_MAIN_PROFILE;
}
@Override
public List<ForeignKey<MainProfileRecord, ?>> getReferences() {
return Arrays.asList(Keys.MAIN_PROFILE__MAIN_PROFILE_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.MAIN_PROFILE__MAIN_PROFILE_FK1, null);
return _pubRecruitment;
}
@Override
public MainProfile as(String alias) {
return new MainProfile(DSL.name(alias), this);
}
@Override
public MainProfile as(Name alias) {
return new MainProfile(alias, this);
}
@Override
public MainProfile as(Table<?> alias) {
return new MainProfile(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public MainProfile rename(String name) {
return new MainProfile(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public MainProfile rename(Name name) {
return new MainProfile(name, null);
}
/**
* Rename this table
*/
@Override
public MainProfile rename(Table<?> name) {
return new MainProfile(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public MainProfile where(Condition condition) {
return new MainProfile(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public MainProfile where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public MainProfile where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public MainProfile where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MainProfile where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MainProfile where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MainProfile where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MainProfile where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public MainProfile whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public MainProfile whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,333 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReasonsAppealRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* Причины обжалования уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ReasonsAppeal extends TableImpl<ReasonsAppealRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>appeals.reasons_appeal</code>
*/
public static final ReasonsAppeal REASONS_APPEAL = new ReasonsAppeal();
/**
* The class holding records for this type
*/
@Override
public Class<ReasonsAppealRecord> getRecordType() {
return ReasonsAppealRecord.class;
}
/**
* The column <code>appeals.reasons_appeal.id_reasons_appeal</code>.
*/
public final TableField<ReasonsAppealRecord, Long> ID_REASONS_APPEAL = createField(DSL.name("id_reasons_appeal"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>appeals.reasons_appeal.appeal</code>. Обжалования
*/
public final TableField<ReasonsAppealRecord, BigDecimal> APPEAL = createField(DSL.name("appeal"), SQLDataType.NUMERIC, this, "Обжалования");
/**
* The column <code>appeals.reasons_appeal.incorrect_inf</code>.
* Некорректные сведения
*/
public final TableField<ReasonsAppealRecord, BigDecimal> INCORRECT_INF = createField(DSL.name("incorrect_inf"), SQLDataType.NUMERIC, this, "Некорректные сведения");
/**
* The column <code>appeals.reasons_appeal.no_data</code>. Нет данных
*/
public final TableField<ReasonsAppealRecord, BigDecimal> NO_DATA = createField(DSL.name("no_data"), SQLDataType.NUMERIC, this, "Нет данных");
/**
* The column <code>appeals.reasons_appeal.other</code>. Прочее
*/
public final TableField<ReasonsAppealRecord, BigDecimal> OTHER = createField(DSL.name("other"), SQLDataType.NUMERIC, this, "Прочее");
/**
* The column <code>appeals.reasons_appeal.recording_date</code>. Дата
* записи
*/
public final TableField<ReasonsAppealRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column <code>appeals.reasons_appeal.incorrect_inf_percent</code>.
* Некорректные сведения в процентах
*/
public final TableField<ReasonsAppealRecord, BigDecimal> INCORRECT_INF_PERCENT = createField(DSL.name("incorrect_inf_percent"), SQLDataType.NUMERIC, this, "Некорректные сведения в процентах");
/**
* The column <code>appeals.reasons_appeal.no_data_percent</code>. Нет
* данных в процентах
*/
public final TableField<ReasonsAppealRecord, BigDecimal> NO_DATA_PERCENT = createField(DSL.name("no_data_percent"), SQLDataType.NUMERIC, this, "Нет данных в процентах");
/**
* The column <code>appeals.reasons_appeal.other_percent</code>. Прочее в
* процентах
*/
public final TableField<ReasonsAppealRecord, BigDecimal> OTHER_PERCENT = createField(DSL.name("other_percent"), SQLDataType.NUMERIC, this, "Прочее в процентах");
/**
* The column <code>appeals.reasons_appeal.recruitment_id</code>.
*/
public final TableField<ReasonsAppealRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
private ReasonsAppeal(Name alias, Table<ReasonsAppealRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ReasonsAppeal(Name alias, Table<ReasonsAppealRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Причины обжалования уровень РФ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>appeals.reasons_appeal</code> table reference
*/
public ReasonsAppeal(String alias) {
this(DSL.name(alias), REASONS_APPEAL);
}
/**
* Create an aliased <code>appeals.reasons_appeal</code> table reference
*/
public ReasonsAppeal(Name alias) {
this(alias, REASONS_APPEAL);
}
/**
* Create a <code>appeals.reasons_appeal</code> table reference
*/
public ReasonsAppeal() {
this(DSL.name("reasons_appeal"), null);
}
public <O extends Record> ReasonsAppeal(Table<O> path, ForeignKey<O, ReasonsAppealRecord> childPath, InverseForeignKey<O, ReasonsAppealRecord> parentPath) {
super(path, childPath, parentPath, REASONS_APPEAL);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class ReasonsAppealPath extends ReasonsAppeal implements Path<ReasonsAppealRecord> {
public <O extends Record> ReasonsAppealPath(Table<O> path, ForeignKey<O, ReasonsAppealRecord> childPath, InverseForeignKey<O, ReasonsAppealRecord> parentPath) {
super(path, childPath, parentPath);
}
private ReasonsAppealPath(Name alias, Table<ReasonsAppealRecord> aliased) {
super(alias, aliased);
}
@Override
public ReasonsAppealPath as(String alias) {
return new ReasonsAppealPath(DSL.name(alias), this);
}
@Override
public ReasonsAppealPath as(Name alias) {
return new ReasonsAppealPath(alias, this);
}
@Override
public ReasonsAppealPath as(Table<?> alias) {
return new ReasonsAppealPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Appeals.APPEALS;
}
@Override
public Identity<ReasonsAppealRecord, Long> getIdentity() {
return (Identity<ReasonsAppealRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<ReasonsAppealRecord> getPrimaryKey() {
return Keys.PK_REASONS_APPEAL;
}
@Override
public List<ForeignKey<ReasonsAppealRecord, ?>> getReferences() {
return Arrays.asList(Keys.REASONS_APPEAL__REASONS_APPEAL_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.REASONS_APPEAL__REASONS_APPEAL_FK1, null);
return _pubRecruitment;
}
@Override
public ReasonsAppeal as(String alias) {
return new ReasonsAppeal(DSL.name(alias), this);
}
@Override
public ReasonsAppeal as(Name alias) {
return new ReasonsAppeal(alias, this);
}
@Override
public ReasonsAppeal as(Table<?> alias) {
return new ReasonsAppeal(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ReasonsAppeal rename(String name) {
return new ReasonsAppeal(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ReasonsAppeal rename(Name name) {
return new ReasonsAppeal(name, null);
}
/**
* Rename this table
*/
@Override
public ReasonsAppeal rename(Table<?> name) {
return new ReasonsAppeal(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonsAppeal where(Condition condition) {
return new ReasonsAppeal(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonsAppeal where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonsAppeal where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonsAppeal where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReasonsAppeal where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReasonsAppeal where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReasonsAppeal where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReasonsAppeal where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonsAppeal whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonsAppeal whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,323 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReviewRatingRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Region.RegionPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* Рейтинг рассмотрения жалоб уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ReviewRating extends TableImpl<ReviewRatingRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>appeals.review_rating</code>
*/
public static final ReviewRating REVIEW_RATING = new ReviewRating();
/**
* The class holding records for this type
*/
@Override
public Class<ReviewRatingRecord> getRecordType() {
return ReviewRatingRecord.class;
}
/**
* The column <code>appeals.review_rating.id_review_rating</code>.
*/
public final TableField<ReviewRatingRecord, Long> ID_REVIEW_RATING = createField(DSL.name("id_review_rating"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>appeals.review_rating.speed</code>. Скорость
* рассмотрения
*/
public final TableField<ReviewRatingRecord, BigDecimal> SPEED = createField(DSL.name("speed"), SQLDataType.NUMERIC, this, "Скорость рассмотрения");
/**
* The column <code>appeals.review_rating.rating</code>. Оценка
* удовлетворенности
*/
public final TableField<ReviewRatingRecord, BigDecimal> RATING = createField(DSL.name("rating"), SQLDataType.NUMERIC, this, "Оценка удовлетворенности");
/**
* The column <code>appeals.review_rating.recording_date</code>. Дата записи
*/
public final TableField<ReviewRatingRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column <code>appeals.review_rating.id_region</code>.
*/
public final TableField<ReviewRatingRecord, Long> ID_REGION = createField(DSL.name("id_region"), SQLDataType.BIGINT, this, "");
/**
* The column <code>appeals.review_rating.recruitment_id</code>.
*/
public final TableField<ReviewRatingRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
private ReviewRating(Name alias, Table<ReviewRatingRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ReviewRating(Name alias, Table<ReviewRatingRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Рейтинг рассмотрения жалоб уровень РФ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>appeals.review_rating</code> table reference
*/
public ReviewRating(String alias) {
this(DSL.name(alias), REVIEW_RATING);
}
/**
* Create an aliased <code>appeals.review_rating</code> table reference
*/
public ReviewRating(Name alias) {
this(alias, REVIEW_RATING);
}
/**
* Create a <code>appeals.review_rating</code> table reference
*/
public ReviewRating() {
this(DSL.name("review_rating"), null);
}
public <O extends Record> ReviewRating(Table<O> path, ForeignKey<O, ReviewRatingRecord> childPath, InverseForeignKey<O, ReviewRatingRecord> parentPath) {
super(path, childPath, parentPath, REVIEW_RATING);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class ReviewRatingPath extends ReviewRating implements Path<ReviewRatingRecord> {
public <O extends Record> ReviewRatingPath(Table<O> path, ForeignKey<O, ReviewRatingRecord> childPath, InverseForeignKey<O, ReviewRatingRecord> parentPath) {
super(path, childPath, parentPath);
}
private ReviewRatingPath(Name alias, Table<ReviewRatingRecord> aliased) {
super(alias, aliased);
}
@Override
public ReviewRatingPath as(String alias) {
return new ReviewRatingPath(DSL.name(alias), this);
}
@Override
public ReviewRatingPath as(Name alias) {
return new ReviewRatingPath(alias, this);
}
@Override
public ReviewRatingPath as(Table<?> alias) {
return new ReviewRatingPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Appeals.APPEALS;
}
@Override
public Identity<ReviewRatingRecord, Long> getIdentity() {
return (Identity<ReviewRatingRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<ReviewRatingRecord> getPrimaryKey() {
return Keys.PK_REVIEW_RATING;
}
@Override
public List<ForeignKey<ReviewRatingRecord, ?>> getReferences() {
return Arrays.asList(Keys.REVIEW_RATING__FK_REGION, Keys.REVIEW_RATING__REVIEW_RATING_FK1);
}
private transient RegionPath _region;
/**
* Get the implicit join path to the <code>space.region</code> table.
*/
public RegionPath region() {
if (_region == null)
_region = new RegionPath(this, Keys.REVIEW_RATING__FK_REGION, null);
return _region;
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.REVIEW_RATING__REVIEW_RATING_FK1, null);
return _pubRecruitment;
}
@Override
public ReviewRating as(String alias) {
return new ReviewRating(DSL.name(alias), this);
}
@Override
public ReviewRating as(Name alias) {
return new ReviewRating(alias, this);
}
@Override
public ReviewRating as(Table<?> alias) {
return new ReviewRating(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ReviewRating rename(String name) {
return new ReviewRating(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ReviewRating rename(Name name) {
return new ReviewRating(name, null);
}
/**
* Rename this table
*/
@Override
public ReviewRating rename(Table<?> name) {
return new ReviewRating(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ReviewRating where(Condition condition) {
return new ReviewRating(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ReviewRating where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReviewRating where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReviewRating where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReviewRating where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReviewRating where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReviewRating where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReviewRating where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReviewRating whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReviewRating whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,341 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.TopicAppealRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* Тема обжалования уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TopicAppeal extends TableImpl<TopicAppealRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>appeals.topic_appeal</code>
*/
public static final TopicAppeal TOPIC_APPEAL = new TopicAppeal();
/**
* The class holding records for this type
*/
@Override
public Class<TopicAppealRecord> getRecordType() {
return TopicAppealRecord.class;
}
/**
* The column <code>appeals.topic_appeal.id_topic_appeal</code>.
*/
public final TableField<TopicAppealRecord, Long> ID_TOPIC_APPEAL = createField(DSL.name("id_topic_appeal"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>appeals.topic_appeal.registration</code>. Тема
* обжалования постановка на учет
*/
public final TableField<TopicAppealRecord, BigDecimal> REGISTRATION = createField(DSL.name("registration"), SQLDataType.NUMERIC, this, "Тема обжалования постановка на учет");
/**
* The column <code>appeals.topic_appeal.sabpoena</code>. Тема обжалования
* повестки
*/
public final TableField<TopicAppealRecord, BigDecimal> SABPOENA = createField(DSL.name("sabpoena"), SQLDataType.NUMERIC, this, "Тема обжалования повестки");
/**
* The column <code>appeals.topic_appeal.appear</code>. Тема обжалования
* явка
*/
public final TableField<TopicAppealRecord, BigDecimal> APPEAR = createField(DSL.name("appear"), SQLDataType.NUMERIC, this, "Тема обжалования явка");
/**
* The column <code>appeals.topic_appeal.temporary_measures</code>. Тема
* обжалования временные меры
*/
public final TableField<TopicAppealRecord, BigDecimal> TEMPORARY_MEASURES = createField(DSL.name("temporary_measures"), SQLDataType.NUMERIC, this, "Тема обжалования временные меры");
/**
* The column <code>appeals.topic_appeal.recording_date</code>. Дата записи
*/
public final TableField<TopicAppealRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column <code>appeals.topic_appeal.registration_percent</code>. Тема
* обжалования постановка на учет в процентах
*/
public final TableField<TopicAppealRecord, BigDecimal> REGISTRATION_PERCENT = createField(DSL.name("registration_percent"), SQLDataType.NUMERIC, this, "Тема обжалования постановка на учет в процентах");
/**
* The column <code>appeals.topic_appeal.sabpoena_percent</code>. Тема
* обжалования повестки в процентах
*/
public final TableField<TopicAppealRecord, BigDecimal> SABPOENA_PERCENT = createField(DSL.name("sabpoena_percent"), SQLDataType.NUMERIC, this, "Тема обжалования повестки в процентах");
/**
* The column <code>appeals.topic_appeal.appear_percent</code>. Тема
* обжалования явка в процентах
*/
public final TableField<TopicAppealRecord, BigDecimal> APPEAR_PERCENT = createField(DSL.name("appear_percent"), SQLDataType.NUMERIC, this, "Тема обжалования явка в процентах");
/**
* The column <code>appeals.topic_appeal.temporary_measures_percent</code>.
* Тема обжалования временные меры в процентах
*/
public final TableField<TopicAppealRecord, BigDecimal> TEMPORARY_MEASURES_PERCENT = createField(DSL.name("temporary_measures_percent"), SQLDataType.NUMERIC, this, "Тема обжалования временные меры в процентах");
/**
* The column <code>appeals.topic_appeal.recruitment_id</code>.
*/
public final TableField<TopicAppealRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
private TopicAppeal(Name alias, Table<TopicAppealRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private TopicAppeal(Name alias, Table<TopicAppealRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Тема обжалования уровень РФ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>appeals.topic_appeal</code> table reference
*/
public TopicAppeal(String alias) {
this(DSL.name(alias), TOPIC_APPEAL);
}
/**
* Create an aliased <code>appeals.topic_appeal</code> table reference
*/
public TopicAppeal(Name alias) {
this(alias, TOPIC_APPEAL);
}
/**
* Create a <code>appeals.topic_appeal</code> table reference
*/
public TopicAppeal() {
this(DSL.name("topic_appeal"), null);
}
public <O extends Record> TopicAppeal(Table<O> path, ForeignKey<O, TopicAppealRecord> childPath, InverseForeignKey<O, TopicAppealRecord> parentPath) {
super(path, childPath, parentPath, TOPIC_APPEAL);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TopicAppealPath extends TopicAppeal implements Path<TopicAppealRecord> {
public <O extends Record> TopicAppealPath(Table<O> path, ForeignKey<O, TopicAppealRecord> childPath, InverseForeignKey<O, TopicAppealRecord> parentPath) {
super(path, childPath, parentPath);
}
private TopicAppealPath(Name alias, Table<TopicAppealRecord> aliased) {
super(alias, aliased);
}
@Override
public TopicAppealPath as(String alias) {
return new TopicAppealPath(DSL.name(alias), this);
}
@Override
public TopicAppealPath as(Name alias) {
return new TopicAppealPath(alias, this);
}
@Override
public TopicAppealPath as(Table<?> alias) {
return new TopicAppealPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Appeals.APPEALS;
}
@Override
public Identity<TopicAppealRecord, Long> getIdentity() {
return (Identity<TopicAppealRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<TopicAppealRecord> getPrimaryKey() {
return Keys.PK_TOPIC_APPEAL;
}
@Override
public List<ForeignKey<TopicAppealRecord, ?>> getReferences() {
return Arrays.asList(Keys.TOPIC_APPEAL__TOPIC_APPEAL_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.TOPIC_APPEAL__TOPIC_APPEAL_FK1, null);
return _pubRecruitment;
}
@Override
public TopicAppeal as(String alias) {
return new TopicAppeal(DSL.name(alias), this);
}
@Override
public TopicAppeal as(Name alias) {
return new TopicAppeal(alias, this);
}
@Override
public TopicAppeal as(Table<?> alias) {
return new TopicAppeal(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public TopicAppeal rename(String name) {
return new TopicAppeal(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TopicAppeal rename(Name name) {
return new TopicAppeal(name, null);
}
/**
* Rename this table
*/
@Override
public TopicAppeal rename(Table<?> name) {
return new TopicAppeal(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TopicAppeal where(Condition condition) {
return new TopicAppeal(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TopicAppeal where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TopicAppeal where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TopicAppeal where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TopicAppeal where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TopicAppeal where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TopicAppeal where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TopicAppeal where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TopicAppeal whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TopicAppeal whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,172 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* Основной профиль уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class MainProfileRecord extends UpdatableRecordImpl<MainProfileRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>appeals.main_profile.id_main_profile</code>.
*/
public void setIdMainProfile(Long value) {
set(0, value);
}
/**
* Getter for <code>appeals.main_profile.id_main_profile</code>.
*/
public Long getIdMainProfile() {
return (Long) get(0);
}
/**
* Setter for <code>appeals.main_profile.gender</code>. Пол
*/
public void setGender(String value) {
set(1, value);
}
/**
* Getter for <code>appeals.main_profile.gender</code>. Пол
*/
public String getGender() {
return (String) get(1);
}
/**
* Setter for <code>appeals.main_profile.age</code>. Возраст
*/
public void setAge(String value) {
set(2, value);
}
/**
* Getter for <code>appeals.main_profile.age</code>. Возраст
*/
public String getAge() {
return (String) get(2);
}
/**
* Setter for <code>appeals.main_profile.child_min_18</code>. Дети до 18 лет
*/
public void setChildMin_18(String value) {
set(3, value);
}
/**
* Getter for <code>appeals.main_profile.child_min_18</code>. Дети до 18 лет
*/
public String getChildMin_18() {
return (String) get(3);
}
/**
* Setter for <code>appeals.main_profile.education</code>. Образование
*/
public void setEducation(String value) {
set(4, value);
}
/**
* Getter for <code>appeals.main_profile.education</code>. Образование
*/
public String getEducation() {
return (String) get(4);
}
/**
* Setter for <code>appeals.main_profile.employment</code>. Занятость
*/
public void setEmployment(String value) {
set(5, value);
}
/**
* Getter for <code>appeals.main_profile.employment</code>. Занятость
*/
public String getEmployment() {
return (String) get(5);
}
/**
* Setter for <code>appeals.main_profile.recording_date</code>. Дата записи
*/
public void setRecordingDate(Date value) {
set(6, value);
}
/**
* Getter for <code>appeals.main_profile.recording_date</code>. Дата записи
*/
public Date getRecordingDate() {
return (Date) get(6);
}
/**
* Setter for <code>appeals.main_profile.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(7, value);
}
/**
* Getter for <code>appeals.main_profile.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(7);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached MainProfileRecord
*/
public MainProfileRecord() {
super(MainProfile.MAIN_PROFILE);
}
/**
* Create a detached, initialised MainProfileRecord
*/
public MainProfileRecord(Long idMainProfile, String gender, String age, String childMin_18, String education, String employment, Date recordingDate, UUID recruitmentId) {
super(MainProfile.MAIN_PROFILE);
setIdMainProfile(idMainProfile);
setGender(gender);
setAge(age);
setChildMin_18(childMin_18);
setEducation(education);
setEmployment(employment);
setRecordingDate(recordingDate);
setRecruitmentId(recruitmentId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,213 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* Причины обжалования уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ReasonsAppealRecord extends UpdatableRecordImpl<ReasonsAppealRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>appeals.reasons_appeal.id_reasons_appeal</code>.
*/
public void setIdReasonsAppeal(Long value) {
set(0, value);
}
/**
* Getter for <code>appeals.reasons_appeal.id_reasons_appeal</code>.
*/
public Long getIdReasonsAppeal() {
return (Long) get(0);
}
/**
* Setter for <code>appeals.reasons_appeal.appeal</code>. Обжалования
*/
public void setAppeal(BigDecimal value) {
set(1, value);
}
/**
* Getter for <code>appeals.reasons_appeal.appeal</code>. Обжалования
*/
public BigDecimal getAppeal() {
return (BigDecimal) get(1);
}
/**
* Setter for <code>appeals.reasons_appeal.incorrect_inf</code>.
* Некорректные сведения
*/
public void setIncorrectInf(BigDecimal value) {
set(2, value);
}
/**
* Getter for <code>appeals.reasons_appeal.incorrect_inf</code>.
* Некорректные сведения
*/
public BigDecimal getIncorrectInf() {
return (BigDecimal) get(2);
}
/**
* Setter for <code>appeals.reasons_appeal.no_data</code>. Нет данных
*/
public void setNoData(BigDecimal value) {
set(3, value);
}
/**
* Getter for <code>appeals.reasons_appeal.no_data</code>. Нет данных
*/
public BigDecimal getNoData() {
return (BigDecimal) get(3);
}
/**
* Setter for <code>appeals.reasons_appeal.other</code>. Прочее
*/
public void setOther(BigDecimal value) {
set(4, value);
}
/**
* Getter for <code>appeals.reasons_appeal.other</code>. Прочее
*/
public BigDecimal getOther() {
return (BigDecimal) get(4);
}
/**
* Setter for <code>appeals.reasons_appeal.recording_date</code>. Дата
* записи
*/
public void setRecordingDate(Date value) {
set(5, value);
}
/**
* Getter for <code>appeals.reasons_appeal.recording_date</code>. Дата
* записи
*/
public Date getRecordingDate() {
return (Date) get(5);
}
/**
* Setter for <code>appeals.reasons_appeal.incorrect_inf_percent</code>.
* Некорректные сведения в процентах
*/
public void setIncorrectInfPercent(BigDecimal value) {
set(6, value);
}
/**
* Getter for <code>appeals.reasons_appeal.incorrect_inf_percent</code>.
* Некорректные сведения в процентах
*/
public BigDecimal getIncorrectInfPercent() {
return (BigDecimal) get(6);
}
/**
* Setter for <code>appeals.reasons_appeal.no_data_percent</code>. Нет
* данных в процентах
*/
public void setNoDataPercent(BigDecimal value) {
set(7, value);
}
/**
* Getter for <code>appeals.reasons_appeal.no_data_percent</code>. Нет
* данных в процентах
*/
public BigDecimal getNoDataPercent() {
return (BigDecimal) get(7);
}
/**
* Setter for <code>appeals.reasons_appeal.other_percent</code>. Прочее в
* процентах
*/
public void setOtherPercent(BigDecimal value) {
set(8, value);
}
/**
* Getter for <code>appeals.reasons_appeal.other_percent</code>. Прочее в
* процентах
*/
public BigDecimal getOtherPercent() {
return (BigDecimal) get(8);
}
/**
* Setter for <code>appeals.reasons_appeal.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(9, value);
}
/**
* Getter for <code>appeals.reasons_appeal.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(9);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ReasonsAppealRecord
*/
public ReasonsAppealRecord() {
super(ReasonsAppeal.REASONS_APPEAL);
}
/**
* Create a detached, initialised ReasonsAppealRecord
*/
public ReasonsAppealRecord(Long idReasonsAppeal, BigDecimal appeal, BigDecimal incorrectInf, BigDecimal noData, BigDecimal other, Date recordingDate, BigDecimal incorrectInfPercent, BigDecimal noDataPercent, BigDecimal otherPercent, UUID recruitmentId) {
super(ReasonsAppeal.REASONS_APPEAL);
setIdReasonsAppeal(idReasonsAppeal);
setAppeal(appeal);
setIncorrectInf(incorrectInf);
setNoData(noData);
setOther(other);
setRecordingDate(recordingDate);
setIncorrectInfPercent(incorrectInfPercent);
setNoDataPercent(noDataPercent);
setOtherPercent(otherPercent);
setRecruitmentId(recruitmentId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,147 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReviewRating;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* Рейтинг рассмотрения жалоб уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ReviewRatingRecord extends UpdatableRecordImpl<ReviewRatingRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>appeals.review_rating.id_review_rating</code>.
*/
public void setIdReviewRating(Long value) {
set(0, value);
}
/**
* Getter for <code>appeals.review_rating.id_review_rating</code>.
*/
public Long getIdReviewRating() {
return (Long) get(0);
}
/**
* Setter for <code>appeals.review_rating.speed</code>. Скорость
* рассмотрения
*/
public void setSpeed(BigDecimal value) {
set(1, value);
}
/**
* Getter for <code>appeals.review_rating.speed</code>. Скорость
* рассмотрения
*/
public BigDecimal getSpeed() {
return (BigDecimal) get(1);
}
/**
* Setter for <code>appeals.review_rating.rating</code>. Оценка
* удовлетворенности
*/
public void setRating(BigDecimal value) {
set(2, value);
}
/**
* Getter for <code>appeals.review_rating.rating</code>. Оценка
* удовлетворенности
*/
public BigDecimal getRating() {
return (BigDecimal) get(2);
}
/**
* Setter for <code>appeals.review_rating.recording_date</code>. Дата записи
*/
public void setRecordingDate(Date value) {
set(3, value);
}
/**
* Getter for <code>appeals.review_rating.recording_date</code>. Дата записи
*/
public Date getRecordingDate() {
return (Date) get(3);
}
/**
* Setter for <code>appeals.review_rating.id_region</code>.
*/
public void setIdRegion(Long value) {
set(4, value);
}
/**
* Getter for <code>appeals.review_rating.id_region</code>.
*/
public Long getIdRegion() {
return (Long) get(4);
}
/**
* Setter for <code>appeals.review_rating.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(5, value);
}
/**
* Getter for <code>appeals.review_rating.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(5);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ReviewRatingRecord
*/
public ReviewRatingRecord() {
super(ReviewRating.REVIEW_RATING);
}
/**
* Create a detached, initialised ReviewRatingRecord
*/
public ReviewRatingRecord(Long idReviewRating, BigDecimal speed, BigDecimal rating, Date recordingDate, Long idRegion, UUID recruitmentId) {
super(ReviewRating.REVIEW_RATING);
setIdReviewRating(idReviewRating);
setSpeed(speed);
setRating(rating);
setRecordingDate(recordingDate);
setIdRegion(idRegion);
setRecruitmentId(recruitmentId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,234 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.TopicAppeal;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* Тема обжалования уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TopicAppealRecord extends UpdatableRecordImpl<TopicAppealRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>appeals.topic_appeal.id_topic_appeal</code>.
*/
public void setIdTopicAppeal(Long value) {
set(0, value);
}
/**
* Getter for <code>appeals.topic_appeal.id_topic_appeal</code>.
*/
public Long getIdTopicAppeal() {
return (Long) get(0);
}
/**
* Setter for <code>appeals.topic_appeal.registration</code>. Тема
* обжалования постановка на учет
*/
public void setRegistration(BigDecimal value) {
set(1, value);
}
/**
* Getter for <code>appeals.topic_appeal.registration</code>. Тема
* обжалования постановка на учет
*/
public BigDecimal getRegistration() {
return (BigDecimal) get(1);
}
/**
* Setter for <code>appeals.topic_appeal.sabpoena</code>. Тема обжалования
* повестки
*/
public void setSabpoena(BigDecimal value) {
set(2, value);
}
/**
* Getter for <code>appeals.topic_appeal.sabpoena</code>. Тема обжалования
* повестки
*/
public BigDecimal getSabpoena() {
return (BigDecimal) get(2);
}
/**
* Setter for <code>appeals.topic_appeal.appear</code>. Тема обжалования
* явка
*/
public void setAppear(BigDecimal value) {
set(3, value);
}
/**
* Getter for <code>appeals.topic_appeal.appear</code>. Тема обжалования
* явка
*/
public BigDecimal getAppear() {
return (BigDecimal) get(3);
}
/**
* Setter for <code>appeals.topic_appeal.temporary_measures</code>. Тема
* обжалования временные меры
*/
public void setTemporaryMeasures(BigDecimal value) {
set(4, value);
}
/**
* Getter for <code>appeals.topic_appeal.temporary_measures</code>. Тема
* обжалования временные меры
*/
public BigDecimal getTemporaryMeasures() {
return (BigDecimal) get(4);
}
/**
* Setter for <code>appeals.topic_appeal.recording_date</code>. Дата записи
*/
public void setRecordingDate(Date value) {
set(5, value);
}
/**
* Getter for <code>appeals.topic_appeal.recording_date</code>. Дата записи
*/
public Date getRecordingDate() {
return (Date) get(5);
}
/**
* Setter for <code>appeals.topic_appeal.registration_percent</code>. Тема
* обжалования постановка на учет в процентах
*/
public void setRegistrationPercent(BigDecimal value) {
set(6, value);
}
/**
* Getter for <code>appeals.topic_appeal.registration_percent</code>. Тема
* обжалования постановка на учет в процентах
*/
public BigDecimal getRegistrationPercent() {
return (BigDecimal) get(6);
}
/**
* Setter for <code>appeals.topic_appeal.sabpoena_percent</code>. Тема
* обжалования повестки в процентах
*/
public void setSabpoenaPercent(BigDecimal value) {
set(7, value);
}
/**
* Getter for <code>appeals.topic_appeal.sabpoena_percent</code>. Тема
* обжалования повестки в процентах
*/
public BigDecimal getSabpoenaPercent() {
return (BigDecimal) get(7);
}
/**
* Setter for <code>appeals.topic_appeal.appear_percent</code>. Тема
* обжалования явка в процентах
*/
public void setAppearPercent(BigDecimal value) {
set(8, value);
}
/**
* Getter for <code>appeals.topic_appeal.appear_percent</code>. Тема
* обжалования явка в процентах
*/
public BigDecimal getAppearPercent() {
return (BigDecimal) get(8);
}
/**
* Setter for <code>appeals.topic_appeal.temporary_measures_percent</code>.
* Тема обжалования временные меры в процентах
*/
public void setTemporaryMeasuresPercent(BigDecimal value) {
set(9, value);
}
/**
* Getter for <code>appeals.topic_appeal.temporary_measures_percent</code>.
* Тема обжалования временные меры в процентах
*/
public BigDecimal getTemporaryMeasuresPercent() {
return (BigDecimal) get(9);
}
/**
* Setter for <code>appeals.topic_appeal.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(10, value);
}
/**
* Getter for <code>appeals.topic_appeal.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(10);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TopicAppealRecord
*/
public TopicAppealRecord() {
super(TopicAppeal.TOPIC_APPEAL);
}
/**
* Create a detached, initialised TopicAppealRecord
*/
public TopicAppealRecord(Long idTopicAppeal, BigDecimal registration, BigDecimal sabpoena, BigDecimal appear, BigDecimal temporaryMeasures, Date recordingDate, BigDecimal registrationPercent, BigDecimal sabpoenaPercent, BigDecimal appearPercent, BigDecimal temporaryMeasuresPercent, UUID recruitmentId) {
super(TopicAppeal.TOPIC_APPEAL);
setIdTopicAppeal(idTopicAppeal);
setRegistration(registration);
setSabpoena(sabpoena);
setAppear(appear);
setTemporaryMeasures(temporaryMeasures);
setRecordingDate(recordingDate);
setRegistrationPercent(registrationPercent);
setSabpoenaPercent(sabpoenaPercent);
setAppearPercent(appearPercent);
setTemporaryMeasuresPercent(temporaryMeasuresPercent);
setRecruitmentId(recruitmentId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,49 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.RecruitmentCampaign;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.TotalRegistered;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.WaitingRegistration;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.AppealsRecord;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.RecruitmentCampaignRecord;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.TotalRegisteredRecord;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.WaitingRegistrationRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;
/**
* A class modelling foreign key relationships and constraints of tables in
* main_dashboard.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {
// -------------------------------------------------------------------------
// UNIQUE and PRIMARY KEY definitions
// -------------------------------------------------------------------------
public static final UniqueKey<AppealsRecord> PK_APPEAL = Internal.createUniqueKey(Appeals.APPEALS, DSL.name("pk_appeal"), new TableField[] { Appeals.APPEALS.ID_APPEAL }, true);
public static final UniqueKey<RecruitmentCampaignRecord> PK_RECRUITMENT_CAMPAIGN = Internal.createUniqueKey(RecruitmentCampaign.RECRUITMENT_CAMPAIGN, DSL.name("pk_recruitment_campaign"), new TableField[] { RecruitmentCampaign.RECRUITMENT_CAMPAIGN.ID_RECRUITMENT_CAMPAIGN }, true);
public static final UniqueKey<TotalRegisteredRecord> PK_TOTAL_REGISTERED = Internal.createUniqueKey(TotalRegistered.TOTAL_REGISTERED, DSL.name("pk_total_registered"), new TableField[] { TotalRegistered.TOTAL_REGISTERED.ID_TOTAL_REGISTERED }, true);
public static final UniqueKey<WaitingRegistrationRecord> PK_WAITING_REGISTRATION = Internal.createUniqueKey(WaitingRegistration.WAITING_REGISTRATION, DSL.name("pk_waiting_registration"), new TableField[] { WaitingRegistration.WAITING_REGISTRATION.ID_WAITING_REGISTRATION }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
// -------------------------------------------------------------------------
public static final ForeignKey<AppealsRecord, PubRecruitmentRecord> APPEALS__MD_APPEALS_FK1 = Internal.createForeignKey(Appeals.APPEALS, DSL.name("md_appeals_fk1"), new TableField[] { Appeals.APPEALS.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<RecruitmentCampaignRecord, PubRecruitmentRecord> RECRUITMENT_CAMPAIGN__RECRUITMENT_CAMPAIGN_FK1 = Internal.createForeignKey(RecruitmentCampaign.RECRUITMENT_CAMPAIGN, DSL.name("recruitment_campaign_fk1"), new TableField[] { RecruitmentCampaign.RECRUITMENT_CAMPAIGN.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<TotalRegisteredRecord, PubRecruitmentRecord> TOTAL_REGISTERED__MD_TOTAL_REGISTERED_FK1 = Internal.createForeignKey(TotalRegistered.TOTAL_REGISTERED, DSL.name("md_total_registered_fk1"), new TableField[] { TotalRegistered.TOTAL_REGISTERED.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<WaitingRegistrationRecord, PubRecruitmentRecord> WAITING_REGISTRATION__MD_WAITING_REGISTRATION_FK1 = Internal.createForeignKey(WaitingRegistration.WAITING_REGISTRATION, DSL.name("md_waiting_registration_fk1"), new TableField[] { WaitingRegistration.WAITING_REGISTRATION.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
}

View file

@ -0,0 +1,76 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard;
import ervu_dashboard.ervu_dashboard.db_beans.DefaultCatalog;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.RecruitmentCampaign;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.TotalRegistered;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.WaitingRegistration;
import java.util.Arrays;
import java.util.List;
import org.jooq.Catalog;
import org.jooq.Table;
import org.jooq.impl.SchemaImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class MainDashboard extends SchemaImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>main_dashboard</code>
*/
public static final MainDashboard MAIN_DASHBOARD = new MainDashboard();
/**
* Обжалования уровень РФ
*/
public final Appeals APPEALS = Appeals.APPEALS;
/**
* Призывная кампания уровень РФ
*/
public final RecruitmentCampaign RECRUITMENT_CAMPAIGN = RecruitmentCampaign.RECRUITMENT_CAMPAIGN;
/**
* Всего на учете уровень РФ
*/
public final TotalRegistered TOTAL_REGISTERED = TotalRegistered.TOTAL_REGISTERED;
/**
* Подлежат постановке на учет уровень РФ
*/
public final WaitingRegistration WAITING_REGISTRATION = WaitingRegistration.WAITING_REGISTRATION;
/**
* No further instances allowed
*/
private MainDashboard() {
super("main_dashboard", null);
}
@Override
public Catalog getCatalog() {
return DefaultCatalog.DEFAULT_CATALOG;
}
@Override
public final List<Table<?>> getTables() {
return Arrays.asList(
Appeals.APPEALS,
RecruitmentCampaign.RECRUITMENT_CAMPAIGN,
TotalRegistered.TOTAL_REGISTERED,
WaitingRegistration.WAITING_REGISTRATION
);
}
}

View file

@ -0,0 +1,38 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.RecruitmentCampaign;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.TotalRegistered;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.WaitingRegistration;
/**
* Convenience access to all tables in main_dashboard.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Tables {
/**
* Обжалования уровень РФ
*/
public static final Appeals APPEALS = Appeals.APPEALS;
/**
* Призывная кампания уровень РФ
*/
public static final RecruitmentCampaign RECRUITMENT_CAMPAIGN = RecruitmentCampaign.RECRUITMENT_CAMPAIGN;
/**
* Всего на учете уровень РФ
*/
public static final TotalRegistered TOTAL_REGISTERED = TotalRegistered.TOTAL_REGISTERED;
/**
* Подлежат постановке на учет уровень РФ
*/
public static final WaitingRegistration WAITING_REGISTRATION = WaitingRegistration.WAITING_REGISTRATION;
}

View file

@ -0,0 +1,346 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.MainDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.AppealsRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* Обжалования уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Appeals extends TableImpl<AppealsRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>main_dashboard.appeals</code>
*/
public static final Appeals APPEALS = new Appeals();
/**
* The class holding records for this type
*/
@Override
public Class<AppealsRecord> getRecordType() {
return AppealsRecord.class;
}
/**
* The column <code>main_dashboard.appeals.id_appeal</code>.
*/
public final TableField<AppealsRecord, Long> ID_APPEAL = createField(DSL.name("id_appeal"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>main_dashboard.appeals.total_appeals</code>. Всего жалоб
*/
public final TableField<AppealsRecord, BigDecimal> TOTAL_APPEALS = createField(DSL.name("total_appeals"), SQLDataType.NUMERIC, this, "Всего жалоб");
/**
* The column <code>main_dashboard.appeals.resolved</code>. Количество
* решенных
*/
public final TableField<AppealsRecord, BigDecimal> RESOLVED = createField(DSL.name("resolved"), SQLDataType.NUMERIC, this, "Количество решенных");
/**
* The column <code>main_dashboard.appeals.average_consideration</code>.
* Средний срок рассмотрения
*/
public final TableField<AppealsRecord, BigDecimal> AVERAGE_CONSIDERATION = createField(DSL.name("average_consideration"), SQLDataType.NUMERIC, this, "Средний срок рассмотрения");
/**
* The column <code>main_dashboard.appeals.average_rating</code>. Оценка
* удовлетворенности
*/
public final TableField<AppealsRecord, BigDecimal> AVERAGE_RATING = createField(DSL.name("average_rating"), SQLDataType.NUMERIC, this, "Оценка удовлетворенности");
/**
* The column <code>main_dashboard.appeals.average_to_face</code>. Способ
* подачи жалоб очно
*/
public final TableField<AppealsRecord, BigDecimal> AVERAGE_TO_FACE = createField(DSL.name("average_to_face"), SQLDataType.NUMERIC, this, "Способ подачи жалоб очно");
/**
* The column <code>main_dashboard.appeals.average_EPGU</code>. Способ
* подачи ЕПГУ
*/
public final TableField<AppealsRecord, BigDecimal> AVERAGE_EPGU = createField(DSL.name("average_EPGU"), SQLDataType.NUMERIC, this, "Способ подачи ЕПГУ");
/**
* The column <code>main_dashboard.appeals.recording_date</code>. Дата
* записи
*/
public final TableField<AppealsRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column <code>main_dashboard.appeals.average_to_face_percent</code>.
* Способ подачи жалоб очно в процентах
*/
public final TableField<AppealsRecord, BigDecimal> AVERAGE_TO_FACE_PERCENT = createField(DSL.name("average_to_face_percent"), SQLDataType.NUMERIC, this, "Способ подачи жалоб очно в процентах");
/**
* The column <code>main_dashboard.appeals.average_EPGU_percent</code>.
* Способ подачи ЕПГУ в процентах
*/
public final TableField<AppealsRecord, BigDecimal> AVERAGE_EPGU_PERCENT = createField(DSL.name("average_EPGU_percent"), SQLDataType.NUMERIC, this, "Способ подачи ЕПГУ в процентах");
/**
* The column <code>main_dashboard.appeals.recruitment_id</code>.
*/
public final TableField<AppealsRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
/**
* The column <code>main_dashboard.appeals.testrecruitment_id</code>.
*/
public final TableField<AppealsRecord, String> TESTRECRUITMENT_ID = createField(DSL.name("testrecruitment_id"), SQLDataType.CHAR(36), this, "");
private Appeals(Name alias, Table<AppealsRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Appeals(Name alias, Table<AppealsRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Обжалования уровень РФ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>main_dashboard.appeals</code> table reference
*/
public Appeals(String alias) {
this(DSL.name(alias), APPEALS);
}
/**
* Create an aliased <code>main_dashboard.appeals</code> table reference
*/
public Appeals(Name alias) {
this(alias, APPEALS);
}
/**
* Create a <code>main_dashboard.appeals</code> table reference
*/
public Appeals() {
this(DSL.name("appeals"), null);
}
public <O extends Record> Appeals(Table<O> path, ForeignKey<O, AppealsRecord> childPath, InverseForeignKey<O, AppealsRecord> parentPath) {
super(path, childPath, parentPath, APPEALS);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class AppealsPath extends Appeals implements Path<AppealsRecord> {
public <O extends Record> AppealsPath(Table<O> path, ForeignKey<O, AppealsRecord> childPath, InverseForeignKey<O, AppealsRecord> parentPath) {
super(path, childPath, parentPath);
}
private AppealsPath(Name alias, Table<AppealsRecord> aliased) {
super(alias, aliased);
}
@Override
public AppealsPath as(String alias) {
return new AppealsPath(DSL.name(alias), this);
}
@Override
public AppealsPath as(Name alias) {
return new AppealsPath(alias, this);
}
@Override
public AppealsPath as(Table<?> alias) {
return new AppealsPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : MainDashboard.MAIN_DASHBOARD;
}
@Override
public Identity<AppealsRecord, Long> getIdentity() {
return (Identity<AppealsRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<AppealsRecord> getPrimaryKey() {
return Keys.PK_APPEAL;
}
@Override
public List<ForeignKey<AppealsRecord, ?>> getReferences() {
return Arrays.asList(Keys.APPEALS__MD_APPEALS_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.APPEALS__MD_APPEALS_FK1, null);
return _pubRecruitment;
}
@Override
public Appeals as(String alias) {
return new Appeals(DSL.name(alias), this);
}
@Override
public Appeals as(Name alias) {
return new Appeals(alias, this);
}
@Override
public Appeals as(Table<?> alias) {
return new Appeals(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Appeals rename(String name) {
return new Appeals(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Appeals rename(Name name) {
return new Appeals(name, null);
}
/**
* Rename this table
*/
@Override
public Appeals rename(Table<?> name) {
return new Appeals(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Appeals where(Condition condition) {
return new Appeals(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Appeals where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Appeals where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Appeals where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Appeals where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Appeals where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Appeals where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Appeals where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Appeals whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Appeals whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,388 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.MainDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.RecruitmentCampaignRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* Призывная кампания уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RecruitmentCampaign extends TableImpl<RecruitmentCampaignRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>main_dashboard.recruitment_campaign</code>
*/
public static final RecruitmentCampaign RECRUITMENT_CAMPAIGN = new RecruitmentCampaign();
/**
* The class holding records for this type
*/
@Override
public Class<RecruitmentCampaignRecord> getRecordType() {
return RecruitmentCampaignRecord.class;
}
/**
* The column
* <code>main_dashboard.recruitment_campaign.id_recruitment_campaign</code>.
*/
public final TableField<RecruitmentCampaignRecord, Long> ID_RECRUITMENT_CAMPAIGN = createField(DSL.name("id_recruitment_campaign"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>main_dashboard.recruitment_campaign.new_recruits</code>.
* Подпадающие под призыв
*/
public final TableField<RecruitmentCampaignRecord, BigDecimal> NEW_RECRUITS = createField(DSL.name("new_recruits"), SQLDataType.NUMERIC, this, "Подпадающие под призыв");
/**
* The column
* <code>main_dashboard.recruitment_campaign.subpoenas_sent</code>.
* Направлено повесток
*/
public final TableField<RecruitmentCampaignRecord, BigDecimal> SUBPOENAS_SENT = createField(DSL.name("subpoenas_sent"), SQLDataType.NUMERIC, this, "Направлено повесток");
/**
* The column
* <code>main_dashboard.recruitment_campaign.appeared_on_subpoenas</code>.
* Явились по повесткам
*/
public final TableField<RecruitmentCampaignRecord, BigDecimal> APPEARED_ON_SUBPOENAS = createField(DSL.name("appeared_on_subpoenas"), SQLDataType.NUMERIC, this, "Явились по повесткам");
/**
* The column
* <code>main_dashboard.recruitment_campaign.not_appeared_on_subpoenas</code>.
* Не явились по повесткам
*/
public final TableField<RecruitmentCampaignRecord, BigDecimal> NOT_APPEARED_ON_SUBPOENAS = createField(DSL.name("not_appeared_on_subpoenas"), SQLDataType.NUMERIC, this, "Не явились по повесткам");
/**
* The column
* <code>main_dashboard.recruitment_campaign.postponement_have_right</code>.
* Имеют право на отсрочку
*/
public final TableField<RecruitmentCampaignRecord, BigDecimal> POSTPONEMENT_HAVE_RIGHT = createField(DSL.name("postponement_have_right"), SQLDataType.NUMERIC, this, "Имеют право на отсрочку");
/**
* The column
* <code>main_dashboard.recruitment_campaign.postponement_granted</code>.
* Предоставлена отсрочка
*/
public final TableField<RecruitmentCampaignRecord, BigDecimal> POSTPONEMENT_GRANTED = createField(DSL.name("postponement_granted"), SQLDataType.NUMERIC, this, "Предоставлена отсрочка");
/**
* The column
* <code>main_dashboard.recruitment_campaign.recording_date</code>. Дата
* записи
*/
public final TableField<RecruitmentCampaignRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column
* <code>main_dashboard.recruitment_campaign.spring_autumn</code>.
* Весна/Осень
*/
public final TableField<RecruitmentCampaignRecord, String> SPRING_AUTUMN = createField(DSL.name("spring_autumn"), SQLDataType.CLOB, this, "Весна/Осень");
/**
* The column
* <code>main_dashboard.recruitment_campaign.appeared_on_subpoenas_percent</code>.
* Явились по повесткам процент
*/
public final TableField<RecruitmentCampaignRecord, BigDecimal> APPEARED_ON_SUBPOENAS_PERCENT = createField(DSL.name("appeared_on_subpoenas_percent"), SQLDataType.NUMERIC, this, "Явились по повесткам процент");
/**
* The column
* <code>main_dashboard.recruitment_campaign.not_appeared_on_subpoenas_percent</code>.
* Не явились по повесткам процент
*/
public final TableField<RecruitmentCampaignRecord, BigDecimal> NOT_APPEARED_ON_SUBPOENAS_PERCENT = createField(DSL.name("not_appeared_on_subpoenas_percent"), SQLDataType.NUMERIC, this, "Не явились по повесткам процент");
/**
* The column
* <code>main_dashboard.recruitment_campaign.postponement_have_right_percent</code>.
* Имеют право на отсрочку процент
*/
public final TableField<RecruitmentCampaignRecord, BigDecimal> POSTPONEMENT_HAVE_RIGHT_PERCENT = createField(DSL.name("postponement_have_right_percent"), SQLDataType.NUMERIC, this, "Имеют право на отсрочку процент");
/**
* The column
* <code>main_dashboard.recruitment_campaign.postponement_granted_percent</code>.
* Предоставлена отсрочка процент
*/
public final TableField<RecruitmentCampaignRecord, BigDecimal> POSTPONEMENT_GRANTED_PERCENT = createField(DSL.name("postponement_granted_percent"), SQLDataType.NUMERIC, this, "Предоставлена отсрочка процент");
/**
* The column
* <code>main_dashboard.recruitment_campaign.recruitment_id</code>.
*/
public final TableField<RecruitmentCampaignRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
/**
* The column
* <code>main_dashboard.recruitment_campaign.testrecruitment_id</code>.
*/
public final TableField<RecruitmentCampaignRecord, String> TESTRECRUITMENT_ID = createField(DSL.name("testrecruitment_id"), SQLDataType.CHAR(36), this, "");
/**
* The column
* <code>main_dashboard.recruitment_campaign.testspring_autumn</code>.
*/
public final TableField<RecruitmentCampaignRecord, String> TESTSPRING_AUTUMN = createField(DSL.name("testspring_autumn"), SQLDataType.CHAR(36), this, "");
private RecruitmentCampaign(Name alias, Table<RecruitmentCampaignRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private RecruitmentCampaign(Name alias, Table<RecruitmentCampaignRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Призывная кампания уровень РФ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>main_dashboard.recruitment_campaign</code> table
* reference
*/
public RecruitmentCampaign(String alias) {
this(DSL.name(alias), RECRUITMENT_CAMPAIGN);
}
/**
* Create an aliased <code>main_dashboard.recruitment_campaign</code> table
* reference
*/
public RecruitmentCampaign(Name alias) {
this(alias, RECRUITMENT_CAMPAIGN);
}
/**
* Create a <code>main_dashboard.recruitment_campaign</code> table reference
*/
public RecruitmentCampaign() {
this(DSL.name("recruitment_campaign"), null);
}
public <O extends Record> RecruitmentCampaign(Table<O> path, ForeignKey<O, RecruitmentCampaignRecord> childPath, InverseForeignKey<O, RecruitmentCampaignRecord> parentPath) {
super(path, childPath, parentPath, RECRUITMENT_CAMPAIGN);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class RecruitmentCampaignPath extends RecruitmentCampaign implements Path<RecruitmentCampaignRecord> {
public <O extends Record> RecruitmentCampaignPath(Table<O> path, ForeignKey<O, RecruitmentCampaignRecord> childPath, InverseForeignKey<O, RecruitmentCampaignRecord> parentPath) {
super(path, childPath, parentPath);
}
private RecruitmentCampaignPath(Name alias, Table<RecruitmentCampaignRecord> aliased) {
super(alias, aliased);
}
@Override
public RecruitmentCampaignPath as(String alias) {
return new RecruitmentCampaignPath(DSL.name(alias), this);
}
@Override
public RecruitmentCampaignPath as(Name alias) {
return new RecruitmentCampaignPath(alias, this);
}
@Override
public RecruitmentCampaignPath as(Table<?> alias) {
return new RecruitmentCampaignPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : MainDashboard.MAIN_DASHBOARD;
}
@Override
public Identity<RecruitmentCampaignRecord, Long> getIdentity() {
return (Identity<RecruitmentCampaignRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<RecruitmentCampaignRecord> getPrimaryKey() {
return Keys.PK_RECRUITMENT_CAMPAIGN;
}
@Override
public List<ForeignKey<RecruitmentCampaignRecord, ?>> getReferences() {
return Arrays.asList(Keys.RECRUITMENT_CAMPAIGN__RECRUITMENT_CAMPAIGN_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.RECRUITMENT_CAMPAIGN__RECRUITMENT_CAMPAIGN_FK1, null);
return _pubRecruitment;
}
@Override
public RecruitmentCampaign as(String alias) {
return new RecruitmentCampaign(DSL.name(alias), this);
}
@Override
public RecruitmentCampaign as(Name alias) {
return new RecruitmentCampaign(alias, this);
}
@Override
public RecruitmentCampaign as(Table<?> alias) {
return new RecruitmentCampaign(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public RecruitmentCampaign rename(String name) {
return new RecruitmentCampaign(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public RecruitmentCampaign rename(Name name) {
return new RecruitmentCampaign(name, null);
}
/**
* Rename this table
*/
@Override
public RecruitmentCampaign rename(Table<?> name) {
return new RecruitmentCampaign(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public RecruitmentCampaign where(Condition condition) {
return new RecruitmentCampaign(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public RecruitmentCampaign where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public RecruitmentCampaign where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public RecruitmentCampaign where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RecruitmentCampaign where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RecruitmentCampaign where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RecruitmentCampaign where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RecruitmentCampaign where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public RecruitmentCampaign whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public RecruitmentCampaign whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,365 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.MainDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.TotalRegisteredRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* Всего на учете уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TotalRegistered extends TableImpl<TotalRegisteredRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>main_dashboard.total_registered</code>
*/
public static final TotalRegistered TOTAL_REGISTERED = new TotalRegistered();
/**
* The class holding records for this type
*/
@Override
public Class<TotalRegisteredRecord> getRecordType() {
return TotalRegisteredRecord.class;
}
/**
* The column
* <code>main_dashboard.total_registered.id_total_registered</code>.
*/
public final TableField<TotalRegisteredRecord, Long> ID_TOTAL_REGISTERED = createField(DSL.name("id_total_registered"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>main_dashboard.total_registered.total_registered</code>.
* Всего состоят на учете
*/
public final TableField<TotalRegisteredRecord, BigDecimal> TOTAL_REGISTERED_ = createField(DSL.name("total_registered"), SQLDataType.NUMERIC, this, "Всего состоят на учете");
/**
* The column
* <code>main_dashboard.total_registered.total_registered_M</code>. Всего на
* учете мужчин
*/
public final TableField<TotalRegisteredRecord, BigDecimal> TOTAL_REGISTERED_M = createField(DSL.name("total_registered_M"), SQLDataType.NUMERIC, this, "Всего на учете мужчин");
/**
* The column
* <code>main_dashboard.total_registered.total_registered_W</code>. Всего на
* учете женщин
*/
public final TableField<TotalRegisteredRecord, BigDecimal> TOTAL_REGISTERED_W = createField(DSL.name("total_registered_W"), SQLDataType.NUMERIC, this, "Всего на учете женщин");
/**
* The column
* <code>main_dashboard.total_registered.mobilization_criterion</code>.
* Количество подходящих под критерии мобилизации
*/
public final TableField<TotalRegisteredRecord, BigDecimal> MOBILIZATION_CRITERION = createField(DSL.name("mobilization_criterion"), SQLDataType.NUMERIC, this, "Количество подходящих под критерии мобилизации");
/**
* The column
* <code>main_dashboard.total_registered.volunteer_criterion</code>.
* Количество подходящих под критерии добровольной службы
*/
public final TableField<TotalRegisteredRecord, BigDecimal> VOLUNTEER_CRITERION = createField(DSL.name("volunteer_criterion"), SQLDataType.NUMERIC, this, "Количество подходящих под критерии добровольной службы");
/**
* The column
* <code>main_dashboard.total_registered.contract_criterion</code>.
* Количество подходящих под критерии контрактной службы
*/
public final TableField<TotalRegisteredRecord, BigDecimal> CONTRACT_CRITERION = createField(DSL.name("contract_criterion"), SQLDataType.NUMERIC, this, "Количество подходящих под критерии контрактной службы");
/**
* The column <code>main_dashboard.total_registered.recording_date</code>.
* дата записи
*/
public final TableField<TotalRegisteredRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "дата записи");
/**
* The column
* <code>main_dashboard.total_registered.mobilization_criterion_percent</code>.
* Процент подходящих под критерии мобилизации
*/
public final TableField<TotalRegisteredRecord, BigDecimal> MOBILIZATION_CRITERION_PERCENT = createField(DSL.name("mobilization_criterion_percent"), SQLDataType.NUMERIC, this, "Процент подходящих под критерии мобилизации");
/**
* The column
* <code>main_dashboard.total_registered.volunteer_criterion_percent</code>.
* Процент подходящих под критерии добровольной службы
*/
public final TableField<TotalRegisteredRecord, BigDecimal> VOLUNTEER_CRITERION_PERCENT = createField(DSL.name("volunteer_criterion_percent"), SQLDataType.NUMERIC, this, "Процент подходящих под критерии добровольной службы");
/**
* The column
* <code>main_dashboard.total_registered.contract_criterion_percent</code>.
* Процент подходящих под критерии контрактрой службы
*/
public final TableField<TotalRegisteredRecord, BigDecimal> CONTRACT_CRITERION_PERCENT = createField(DSL.name("contract_criterion_percent"), SQLDataType.NUMERIC, this, "Процент подходящих под критерии контрактрой службы");
/**
* The column <code>main_dashboard.total_registered.recruitment_id</code>.
*/
public final TableField<TotalRegisteredRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
/**
* The column
* <code>main_dashboard.total_registered.testrecruitment_id</code>.
*/
public final TableField<TotalRegisteredRecord, String> TESTRECRUITMENT_ID = createField(DSL.name("testrecruitment_id"), SQLDataType.CHAR(36), this, "");
private TotalRegistered(Name alias, Table<TotalRegisteredRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private TotalRegistered(Name alias, Table<TotalRegisteredRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Всего на учете уровень РФ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>main_dashboard.total_registered</code> table
* reference
*/
public TotalRegistered(String alias) {
this(DSL.name(alias), TOTAL_REGISTERED);
}
/**
* Create an aliased <code>main_dashboard.total_registered</code> table
* reference
*/
public TotalRegistered(Name alias) {
this(alias, TOTAL_REGISTERED);
}
/**
* Create a <code>main_dashboard.total_registered</code> table reference
*/
public TotalRegistered() {
this(DSL.name("total_registered"), null);
}
public <O extends Record> TotalRegistered(Table<O> path, ForeignKey<O, TotalRegisteredRecord> childPath, InverseForeignKey<O, TotalRegisteredRecord> parentPath) {
super(path, childPath, parentPath, TOTAL_REGISTERED);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TotalRegisteredPath extends TotalRegistered implements Path<TotalRegisteredRecord> {
public <O extends Record> TotalRegisteredPath(Table<O> path, ForeignKey<O, TotalRegisteredRecord> childPath, InverseForeignKey<O, TotalRegisteredRecord> parentPath) {
super(path, childPath, parentPath);
}
private TotalRegisteredPath(Name alias, Table<TotalRegisteredRecord> aliased) {
super(alias, aliased);
}
@Override
public TotalRegisteredPath as(String alias) {
return new TotalRegisteredPath(DSL.name(alias), this);
}
@Override
public TotalRegisteredPath as(Name alias) {
return new TotalRegisteredPath(alias, this);
}
@Override
public TotalRegisteredPath as(Table<?> alias) {
return new TotalRegisteredPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : MainDashboard.MAIN_DASHBOARD;
}
@Override
public Identity<TotalRegisteredRecord, Long> getIdentity() {
return (Identity<TotalRegisteredRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<TotalRegisteredRecord> getPrimaryKey() {
return Keys.PK_TOTAL_REGISTERED;
}
@Override
public List<ForeignKey<TotalRegisteredRecord, ?>> getReferences() {
return Arrays.asList(Keys.TOTAL_REGISTERED__MD_TOTAL_REGISTERED_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.TOTAL_REGISTERED__MD_TOTAL_REGISTERED_FK1, null);
return _pubRecruitment;
}
@Override
public TotalRegistered as(String alias) {
return new TotalRegistered(DSL.name(alias), this);
}
@Override
public TotalRegistered as(Name alias) {
return new TotalRegistered(alias, this);
}
@Override
public TotalRegistered as(Table<?> alias) {
return new TotalRegistered(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public TotalRegistered rename(String name) {
return new TotalRegistered(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TotalRegistered rename(Name name) {
return new TotalRegistered(name, null);
}
/**
* Rename this table
*/
@Override
public TotalRegistered rename(Table<?> name) {
return new TotalRegistered(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TotalRegistered where(Condition condition) {
return new TotalRegistered(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TotalRegistered where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TotalRegistered where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TotalRegistered where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TotalRegistered where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TotalRegistered where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TotalRegistered where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TotalRegistered where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TotalRegistered whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TotalRegistered whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,376 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.MainDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.WaitingRegistrationRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* Подлежат постановке на учет уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class WaitingRegistration extends TableImpl<WaitingRegistrationRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>main_dashboard.waiting_registration</code>
*/
public static final WaitingRegistration WAITING_REGISTRATION = new WaitingRegistration();
/**
* The class holding records for this type
*/
@Override
public Class<WaitingRegistrationRecord> getRecordType() {
return WaitingRegistrationRecord.class;
}
/**
* The column
* <code>main_dashboard.waiting_registration.id_waiting_registration</code>.
*/
public final TableField<WaitingRegistrationRecord, Long> ID_WAITING_REGISTRATION = createField(DSL.name("id_waiting_registration"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>main_dashboard.waiting_registration.waiting_registration</code>.
* Всего подлежат постановке на учет
*/
public final TableField<WaitingRegistrationRecord, BigDecimal> WAITING_REGISTRATION_ = createField(DSL.name("waiting_registration"), SQLDataType.NUMERIC, this, "Всего подлежат постановке на учет");
/**
* The column
* <code>main_dashboard.waiting_registration.waiting_registration_M</code>.
* Подлежат постановке мужчины
*/
public final TableField<WaitingRegistrationRecord, BigDecimal> WAITING_REGISTRATION_M = createField(DSL.name("waiting_registration_M"), SQLDataType.NUMERIC, this, "Подлежат постановке мужчины");
/**
* The column
* <code>main_dashboard.waiting_registration.waiting_registration_W</code>.
* Подлежат постановке женщины
*/
public final TableField<WaitingRegistrationRecord, BigDecimal> WAITING_REGISTRATION_W = createField(DSL.name("waiting_registration_W"), SQLDataType.NUMERIC, this, "Подлежат постановке женщины");
/**
* The column
* <code>main_dashboard.waiting_registration.mobilization_criterion</code>.
* Количество подлежащих под критерии мобилизации
*/
public final TableField<WaitingRegistrationRecord, BigDecimal> MOBILIZATION_CRITERION = createField(DSL.name("mobilization_criterion"), SQLDataType.NUMERIC, this, "Количество подлежащих под критерии мобилизации");
/**
* The column
* <code>main_dashboard.waiting_registration.volunteer_criterion</code>.
* Количество подлежащих под критерии добровольной службы
*/
public final TableField<WaitingRegistrationRecord, BigDecimal> VOLUNTEER_CRITERION = createField(DSL.name("volunteer_criterion"), SQLDataType.NUMERIC, this, "Количество подлежащих под критерии добровольной службы");
/**
* The column
* <code>main_dashboard.waiting_registration.contract_criterion</code>.
* Количество подлежащих под критерии контрактной службы
*/
public final TableField<WaitingRegistrationRecord, BigDecimal> CONTRACT_CRITERION = createField(DSL.name("contract_criterion"), SQLDataType.NUMERIC, this, "Количество подлежащих под критерии контрактной службы");
/**
* The column
* <code>main_dashboard.waiting_registration.recording_date</code>. Дата
* записи
*/
public final TableField<WaitingRegistrationRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column
* <code>main_dashboard.waiting_registration.waiting_registration_percent</code>.
* Всего подлежат постановке процент
*/
public final TableField<WaitingRegistrationRecord, BigDecimal> WAITING_REGISTRATION_PERCENT = createField(DSL.name("waiting_registration_percent"), SQLDataType.NUMERIC, this, "Всего подлежат постановке процент");
/**
* The column
* <code>main_dashboard.waiting_registration.mobilization_criterion_percent</code>.
* Процент подлежащих под критерии мобилизации
*/
public final TableField<WaitingRegistrationRecord, BigDecimal> MOBILIZATION_CRITERION_PERCENT = createField(DSL.name("mobilization_criterion_percent"), SQLDataType.NUMERIC, this, "Процент подлежащих под критерии мобилизации");
/**
* The column
* <code>main_dashboard.waiting_registration.volunteer_criterion_percent</code>.
* Процент подлежащих под критерии добровольной службы
*/
public final TableField<WaitingRegistrationRecord, BigDecimal> VOLUNTEER_CRITERION_PERCENT = createField(DSL.name("volunteer_criterion_percent"), SQLDataType.NUMERIC, this, "Процент подлежащих под критерии добровольной службы");
/**
* The column
* <code>main_dashboard.waiting_registration.contract_criterion_percent</code>.
* Процент подлежащих под критерии контрактной службы
*/
public final TableField<WaitingRegistrationRecord, BigDecimal> CONTRACT_CRITERION_PERCENT = createField(DSL.name("contract_criterion_percent"), SQLDataType.NUMERIC, this, "Процент подлежащих под критерии контрактной службы");
/**
* The column
* <code>main_dashboard.waiting_registration.recruitment_id</code>.
*/
public final TableField<WaitingRegistrationRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
/**
* The column
* <code>main_dashboard.waiting_registration.testrecruitment_id</code>.
*/
public final TableField<WaitingRegistrationRecord, String> TESTRECRUITMENT_ID = createField(DSL.name("testrecruitment_id"), SQLDataType.CHAR(36), this, "");
private WaitingRegistration(Name alias, Table<WaitingRegistrationRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private WaitingRegistration(Name alias, Table<WaitingRegistrationRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Подлежат постановке на учет уровень РФ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>main_dashboard.waiting_registration</code> table
* reference
*/
public WaitingRegistration(String alias) {
this(DSL.name(alias), WAITING_REGISTRATION);
}
/**
* Create an aliased <code>main_dashboard.waiting_registration</code> table
* reference
*/
public WaitingRegistration(Name alias) {
this(alias, WAITING_REGISTRATION);
}
/**
* Create a <code>main_dashboard.waiting_registration</code> table reference
*/
public WaitingRegistration() {
this(DSL.name("waiting_registration"), null);
}
public <O extends Record> WaitingRegistration(Table<O> path, ForeignKey<O, WaitingRegistrationRecord> childPath, InverseForeignKey<O, WaitingRegistrationRecord> parentPath) {
super(path, childPath, parentPath, WAITING_REGISTRATION);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class WaitingRegistrationPath extends WaitingRegistration implements Path<WaitingRegistrationRecord> {
public <O extends Record> WaitingRegistrationPath(Table<O> path, ForeignKey<O, WaitingRegistrationRecord> childPath, InverseForeignKey<O, WaitingRegistrationRecord> parentPath) {
super(path, childPath, parentPath);
}
private WaitingRegistrationPath(Name alias, Table<WaitingRegistrationRecord> aliased) {
super(alias, aliased);
}
@Override
public WaitingRegistrationPath as(String alias) {
return new WaitingRegistrationPath(DSL.name(alias), this);
}
@Override
public WaitingRegistrationPath as(Name alias) {
return new WaitingRegistrationPath(alias, this);
}
@Override
public WaitingRegistrationPath as(Table<?> alias) {
return new WaitingRegistrationPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : MainDashboard.MAIN_DASHBOARD;
}
@Override
public Identity<WaitingRegistrationRecord, Long> getIdentity() {
return (Identity<WaitingRegistrationRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<WaitingRegistrationRecord> getPrimaryKey() {
return Keys.PK_WAITING_REGISTRATION;
}
@Override
public List<ForeignKey<WaitingRegistrationRecord, ?>> getReferences() {
return Arrays.asList(Keys.WAITING_REGISTRATION__MD_WAITING_REGISTRATION_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.WAITING_REGISTRATION__MD_WAITING_REGISTRATION_FK1, null);
return _pubRecruitment;
}
@Override
public WaitingRegistration as(String alias) {
return new WaitingRegistration(DSL.name(alias), this);
}
@Override
public WaitingRegistration as(Name alias) {
return new WaitingRegistration(alias, this);
}
@Override
public WaitingRegistration as(Table<?> alias) {
return new WaitingRegistration(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public WaitingRegistration rename(String name) {
return new WaitingRegistration(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public WaitingRegistration rename(Name name) {
return new WaitingRegistration(name, null);
}
/**
* Rename this table
*/
@Override
public WaitingRegistration rename(Table<?> name) {
return new WaitingRegistration(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public WaitingRegistration where(Condition condition) {
return new WaitingRegistration(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public WaitingRegistration where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public WaitingRegistration where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public WaitingRegistration where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public WaitingRegistration where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public WaitingRegistration where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public WaitingRegistration where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public WaitingRegistration where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public WaitingRegistration whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public WaitingRegistration whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,249 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.Appeals;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* Обжалования уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>main_dashboard.appeals.id_appeal</code>.
*/
public void setIdAppeal(Long value) {
set(0, value);
}
/**
* Getter for <code>main_dashboard.appeals.id_appeal</code>.
*/
public Long getIdAppeal() {
return (Long) get(0);
}
/**
* Setter for <code>main_dashboard.appeals.total_appeals</code>. Всего жалоб
*/
public void setTotalAppeals(BigDecimal value) {
set(1, value);
}
/**
* Getter for <code>main_dashboard.appeals.total_appeals</code>. Всего жалоб
*/
public BigDecimal getTotalAppeals() {
return (BigDecimal) get(1);
}
/**
* Setter for <code>main_dashboard.appeals.resolved</code>. Количество
* решенных
*/
public void setResolved(BigDecimal value) {
set(2, value);
}
/**
* Getter for <code>main_dashboard.appeals.resolved</code>. Количество
* решенных
*/
public BigDecimal getResolved() {
return (BigDecimal) get(2);
}
/**
* Setter for <code>main_dashboard.appeals.average_consideration</code>.
* Средний срок рассмотрения
*/
public void setAverageConsideration(BigDecimal value) {
set(3, value);
}
/**
* Getter for <code>main_dashboard.appeals.average_consideration</code>.
* Средний срок рассмотрения
*/
public BigDecimal getAverageConsideration() {
return (BigDecimal) get(3);
}
/**
* Setter for <code>main_dashboard.appeals.average_rating</code>. Оценка
* удовлетворенности
*/
public void setAverageRating(BigDecimal value) {
set(4, value);
}
/**
* Getter for <code>main_dashboard.appeals.average_rating</code>. Оценка
* удовлетворенности
*/
public BigDecimal getAverageRating() {
return (BigDecimal) get(4);
}
/**
* Setter for <code>main_dashboard.appeals.average_to_face</code>. Способ
* подачи жалоб очно
*/
public void setAverageToFace(BigDecimal value) {
set(5, value);
}
/**
* Getter for <code>main_dashboard.appeals.average_to_face</code>. Способ
* подачи жалоб очно
*/
public BigDecimal getAverageToFace() {
return (BigDecimal) get(5);
}
/**
* Setter for <code>main_dashboard.appeals.average_EPGU</code>. Способ
* подачи ЕПГУ
*/
public void setAverageEpgu(BigDecimal value) {
set(6, value);
}
/**
* Getter for <code>main_dashboard.appeals.average_EPGU</code>. Способ
* подачи ЕПГУ
*/
public BigDecimal getAverageEpgu() {
return (BigDecimal) get(6);
}
/**
* Setter for <code>main_dashboard.appeals.recording_date</code>. Дата
* записи
*/
public void setRecordingDate(Date value) {
set(7, value);
}
/**
* Getter for <code>main_dashboard.appeals.recording_date</code>. Дата
* записи
*/
public Date getRecordingDate() {
return (Date) get(7);
}
/**
* Setter for <code>main_dashboard.appeals.average_to_face_percent</code>.
* Способ подачи жалоб очно в процентах
*/
public void setAverageToFacePercent(BigDecimal value) {
set(8, value);
}
/**
* Getter for <code>main_dashboard.appeals.average_to_face_percent</code>.
* Способ подачи жалоб очно в процентах
*/
public BigDecimal getAverageToFacePercent() {
return (BigDecimal) get(8);
}
/**
* Setter for <code>main_dashboard.appeals.average_EPGU_percent</code>.
* Способ подачи ЕПГУ в процентах
*/
public void setAverageEpguPercent(BigDecimal value) {
set(9, value);
}
/**
* Getter for <code>main_dashboard.appeals.average_EPGU_percent</code>.
* Способ подачи ЕПГУ в процентах
*/
public BigDecimal getAverageEpguPercent() {
return (BigDecimal) get(9);
}
/**
* Setter for <code>main_dashboard.appeals.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(10, value);
}
/**
* Getter for <code>main_dashboard.appeals.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(10);
}
/**
* Setter for <code>main_dashboard.appeals.testrecruitment_id</code>.
*/
public void setTestrecruitmentId(String value) {
set(11, value);
}
/**
* Getter for <code>main_dashboard.appeals.testrecruitment_id</code>.
*/
public String getTestrecruitmentId() {
return (String) get(11);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached AppealsRecord
*/
public AppealsRecord() {
super(Appeals.APPEALS);
}
/**
* Create a detached, initialised AppealsRecord
*/
public AppealsRecord(Long idAppeal, BigDecimal totalAppeals, BigDecimal resolved, BigDecimal averageConsideration, BigDecimal averageRating, BigDecimal averageToFace, BigDecimal averageEpgu, Date recordingDate, BigDecimal averageToFacePercent, BigDecimal averageEpguPercent, UUID recruitmentId, String testrecruitmentId) {
super(Appeals.APPEALS);
setIdAppeal(idAppeal);
setTotalAppeals(totalAppeals);
setResolved(resolved);
setAverageConsideration(averageConsideration);
setAverageRating(averageRating);
setAverageToFace(averageToFace);
setAverageEpgu(averageEpgu);
setRecordingDate(recordingDate);
setAverageToFacePercent(averageToFacePercent);
setAverageEpguPercent(averageEpguPercent);
setRecruitmentId(recruitmentId);
setTestrecruitmentId(testrecruitmentId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,347 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.RecruitmentCampaign;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* Призывная кампания уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCampaignRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.id_recruitment_campaign</code>.
*/
public void setIdRecruitmentCampaign(Long value) {
set(0, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.id_recruitment_campaign</code>.
*/
public Long getIdRecruitmentCampaign() {
return (Long) get(0);
}
/**
* Setter for <code>main_dashboard.recruitment_campaign.new_recruits</code>.
* Подпадающие под призыв
*/
public void setNewRecruits(BigDecimal value) {
set(1, value);
}
/**
* Getter for <code>main_dashboard.recruitment_campaign.new_recruits</code>.
* Подпадающие под призыв
*/
public BigDecimal getNewRecruits() {
return (BigDecimal) get(1);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.subpoenas_sent</code>.
* Направлено повесток
*/
public void setSubpoenasSent(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.subpoenas_sent</code>.
* Направлено повесток
*/
public BigDecimal getSubpoenasSent() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.appeared_on_subpoenas</code>.
* Явились по повесткам
*/
public void setAppearedOnSubpoenas(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.appeared_on_subpoenas</code>.
* Явились по повесткам
*/
public BigDecimal getAppearedOnSubpoenas() {
return (BigDecimal) get(3);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.not_appeared_on_subpoenas</code>.
* Не явились по повесткам
*/
public void setNotAppearedOnSubpoenas(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.not_appeared_on_subpoenas</code>.
* Не явились по повесткам
*/
public BigDecimal getNotAppearedOnSubpoenas() {
return (BigDecimal) get(4);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.postponement_have_right</code>.
* Имеют право на отсрочку
*/
public void setPostponementHaveRight(BigDecimal value) {
set(5, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.postponement_have_right</code>.
* Имеют право на отсрочку
*/
public BigDecimal getPostponementHaveRight() {
return (BigDecimal) get(5);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.postponement_granted</code>.
* Предоставлена отсрочка
*/
public void setPostponementGranted(BigDecimal value) {
set(6, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.postponement_granted</code>.
* Предоставлена отсрочка
*/
public BigDecimal getPostponementGranted() {
return (BigDecimal) get(6);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.recording_date</code>. Дата
* записи
*/
public void setRecordingDate(Date value) {
set(7, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.recording_date</code>. Дата
* записи
*/
public Date getRecordingDate() {
return (Date) get(7);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.spring_autumn</code>.
* Весна/Осень
*/
public void setSpringAutumn(String value) {
set(8, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.spring_autumn</code>.
* Весна/Осень
*/
public String getSpringAutumn() {
return (String) get(8);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.appeared_on_subpoenas_percent</code>.
* Явились по повесткам процент
*/
public void setAppearedOnSubpoenasPercent(BigDecimal value) {
set(9, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.appeared_on_subpoenas_percent</code>.
* Явились по повесткам процент
*/
public BigDecimal getAppearedOnSubpoenasPercent() {
return (BigDecimal) get(9);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.not_appeared_on_subpoenas_percent</code>.
* Не явились по повесткам процент
*/
public void setNotAppearedOnSubpoenasPercent(BigDecimal value) {
set(10, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.not_appeared_on_subpoenas_percent</code>.
* Не явились по повесткам процент
*/
public BigDecimal getNotAppearedOnSubpoenasPercent() {
return (BigDecimal) get(10);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.postponement_have_right_percent</code>.
* Имеют право на отсрочку процент
*/
public void setPostponementHaveRightPercent(BigDecimal value) {
set(11, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.postponement_have_right_percent</code>.
* Имеют право на отсрочку процент
*/
public BigDecimal getPostponementHaveRightPercent() {
return (BigDecimal) get(11);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.postponement_granted_percent</code>.
* Предоставлена отсрочка процент
*/
public void setPostponementGrantedPercent(BigDecimal value) {
set(12, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.postponement_granted_percent</code>.
* Предоставлена отсрочка процент
*/
public BigDecimal getPostponementGrantedPercent() {
return (BigDecimal) get(12);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(13, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(13);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.testrecruitment_id</code>.
*/
public void setTestrecruitmentId(String value) {
set(14, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.testrecruitment_id</code>.
*/
public String getTestrecruitmentId() {
return (String) get(14);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.testspring_autumn</code>.
*/
public void setTestspringAutumn(String value) {
set(15, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.testspring_autumn</code>.
*/
public String getTestspringAutumn() {
return (String) get(15);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached RecruitmentCampaignRecord
*/
public RecruitmentCampaignRecord() {
super(RecruitmentCampaign.RECRUITMENT_CAMPAIGN);
}
/**
* Create a detached, initialised RecruitmentCampaignRecord
*/
public RecruitmentCampaignRecord(Long idRecruitmentCampaign, BigDecimal newRecruits, BigDecimal subpoenasSent, BigDecimal appearedOnSubpoenas, BigDecimal notAppearedOnSubpoenas, BigDecimal postponementHaveRight, BigDecimal postponementGranted, Date recordingDate, String springAutumn, BigDecimal appearedOnSubpoenasPercent, BigDecimal notAppearedOnSubpoenasPercent, BigDecimal postponementHaveRightPercent, BigDecimal postponementGrantedPercent, UUID recruitmentId, String testrecruitmentId, String testspringAutumn) {
super(RecruitmentCampaign.RECRUITMENT_CAMPAIGN);
setIdRecruitmentCampaign(idRecruitmentCampaign);
setNewRecruits(newRecruits);
setSubpoenasSent(subpoenasSent);
setAppearedOnSubpoenas(appearedOnSubpoenas);
setNotAppearedOnSubpoenas(notAppearedOnSubpoenas);
setPostponementHaveRight(postponementHaveRight);
setPostponementGranted(postponementGranted);
setRecordingDate(recordingDate);
setSpringAutumn(springAutumn);
setAppearedOnSubpoenasPercent(appearedOnSubpoenasPercent);
setNotAppearedOnSubpoenasPercent(notAppearedOnSubpoenasPercent);
setPostponementHaveRightPercent(postponementHaveRightPercent);
setPostponementGrantedPercent(postponementGrantedPercent);
setRecruitmentId(recruitmentId);
setTestrecruitmentId(testrecruitmentId);
setTestspringAutumn(testspringAutumn);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,288 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.TotalRegistered;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* Всего на учете уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>main_dashboard.total_registered.id_total_registered</code>.
*/
public void setIdTotalRegistered(Long value) {
set(0, value);
}
/**
* Getter for
* <code>main_dashboard.total_registered.id_total_registered</code>.
*/
public Long getIdTotalRegistered() {
return (Long) get(0);
}
/**
* Setter for <code>main_dashboard.total_registered.total_registered</code>.
* Всего состоят на учете
*/
public void setTotalRegistered(BigDecimal value) {
set(1, value);
}
/**
* Getter for <code>main_dashboard.total_registered.total_registered</code>.
* Всего состоят на учете
*/
public BigDecimal getTotalRegistered() {
return (BigDecimal) get(1);
}
/**
* Setter for
* <code>main_dashboard.total_registered.total_registered_M</code>. Всего на
* учете мужчин
*/
public void setTotalRegisteredM(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>main_dashboard.total_registered.total_registered_M</code>. Всего на
* учете мужчин
*/
public BigDecimal getTotalRegisteredM() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>main_dashboard.total_registered.total_registered_W</code>. Всего на
* учете женщин
*/
public void setTotalRegisteredW(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>main_dashboard.total_registered.total_registered_W</code>. Всего на
* учете женщин
*/
public BigDecimal getTotalRegisteredW() {
return (BigDecimal) get(3);
}
/**
* Setter for
* <code>main_dashboard.total_registered.mobilization_criterion</code>.
* Количество подходящих под критерии мобилизации
*/
public void setMobilizationCriterion(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>main_dashboard.total_registered.mobilization_criterion</code>.
* Количество подходящих под критерии мобилизации
*/
public BigDecimal getMobilizationCriterion() {
return (BigDecimal) get(4);
}
/**
* Setter for
* <code>main_dashboard.total_registered.volunteer_criterion</code>.
* Количество подходящих под критерии добровольной службы
*/
public void setVolunteerCriterion(BigDecimal value) {
set(5, value);
}
/**
* Getter for
* <code>main_dashboard.total_registered.volunteer_criterion</code>.
* Количество подходящих под критерии добровольной службы
*/
public BigDecimal getVolunteerCriterion() {
return (BigDecimal) get(5);
}
/**
* Setter for
* <code>main_dashboard.total_registered.contract_criterion</code>.
* Количество подходящих под критерии контрактной службы
*/
public void setContractCriterion(BigDecimal value) {
set(6, value);
}
/**
* Getter for
* <code>main_dashboard.total_registered.contract_criterion</code>.
* Количество подходящих под критерии контрактной службы
*/
public BigDecimal getContractCriterion() {
return (BigDecimal) get(6);
}
/**
* Setter for <code>main_dashboard.total_registered.recording_date</code>.
* дата записи
*/
public void setRecordingDate(Date value) {
set(7, value);
}
/**
* Getter for <code>main_dashboard.total_registered.recording_date</code>.
* дата записи
*/
public Date getRecordingDate() {
return (Date) get(7);
}
/**
* Setter for
* <code>main_dashboard.total_registered.mobilization_criterion_percent</code>.
* Процент подходящих под критерии мобилизации
*/
public void setMobilizationCriterionPercent(BigDecimal value) {
set(8, value);
}
/**
* Getter for
* <code>main_dashboard.total_registered.mobilization_criterion_percent</code>.
* Процент подходящих под критерии мобилизации
*/
public BigDecimal getMobilizationCriterionPercent() {
return (BigDecimal) get(8);
}
/**
* Setter for
* <code>main_dashboard.total_registered.volunteer_criterion_percent</code>.
* Процент подходящих под критерии добровольной службы
*/
public void setVolunteerCriterionPercent(BigDecimal value) {
set(9, value);
}
/**
* Getter for
* <code>main_dashboard.total_registered.volunteer_criterion_percent</code>.
* Процент подходящих под критерии добровольной службы
*/
public BigDecimal getVolunteerCriterionPercent() {
return (BigDecimal) get(9);
}
/**
* Setter for
* <code>main_dashboard.total_registered.contract_criterion_percent</code>.
* Процент подходящих под критерии контрактрой службы
*/
public void setContractCriterionPercent(BigDecimal value) {
set(10, value);
}
/**
* Getter for
* <code>main_dashboard.total_registered.contract_criterion_percent</code>.
* Процент подходящих под критерии контрактрой службы
*/
public BigDecimal getContractCriterionPercent() {
return (BigDecimal) get(10);
}
/**
* Setter for <code>main_dashboard.total_registered.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(11, value);
}
/**
* Getter for <code>main_dashboard.total_registered.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(11);
}
/**
* Setter for
* <code>main_dashboard.total_registered.testrecruitment_id</code>.
*/
public void setTestrecruitmentId(String value) {
set(12, value);
}
/**
* Getter for
* <code>main_dashboard.total_registered.testrecruitment_id</code>.
*/
public String getTestrecruitmentId() {
return (String) get(12);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TotalRegisteredRecord
*/
public TotalRegisteredRecord() {
super(TotalRegistered.TOTAL_REGISTERED);
}
/**
* Create a detached, initialised TotalRegisteredRecord
*/
public TotalRegisteredRecord(Long idTotalRegistered, BigDecimal totalRegistered, BigDecimal totalRegisteredM, BigDecimal totalRegisteredW, BigDecimal mobilizationCriterion, BigDecimal volunteerCriterion, BigDecimal contractCriterion, Date recordingDate, BigDecimal mobilizationCriterionPercent, BigDecimal volunteerCriterionPercent, BigDecimal contractCriterionPercent, UUID recruitmentId, String testrecruitmentId) {
super(TotalRegistered.TOTAL_REGISTERED);
setIdTotalRegistered(idTotalRegistered);
setTotalRegistered(totalRegistered);
setTotalRegisteredM(totalRegisteredM);
setTotalRegisteredW(totalRegisteredW);
setMobilizationCriterion(mobilizationCriterion);
setVolunteerCriterion(volunteerCriterion);
setContractCriterion(contractCriterion);
setRecordingDate(recordingDate);
setMobilizationCriterionPercent(mobilizationCriterionPercent);
setVolunteerCriterionPercent(volunteerCriterionPercent);
setContractCriterionPercent(contractCriterionPercent);
setRecruitmentId(recruitmentId);
setTestrecruitmentId(testrecruitmentId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,313 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.WaitingRegistration;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* Подлежат постановке на учет уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegistrationRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>main_dashboard.waiting_registration.id_waiting_registration</code>.
*/
public void setIdWaitingRegistration(Long value) {
set(0, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.id_waiting_registration</code>.
*/
public Long getIdWaitingRegistration() {
return (Long) get(0);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.waiting_registration</code>.
* Всего подлежат постановке на учет
*/
public void setWaitingRegistration(BigDecimal value) {
set(1, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.waiting_registration</code>.
* Всего подлежат постановке на учет
*/
public BigDecimal getWaitingRegistration() {
return (BigDecimal) get(1);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.waiting_registration_M</code>.
* Подлежат постановке мужчины
*/
public void setWaitingRegistrationM(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.waiting_registration_M</code>.
* Подлежат постановке мужчины
*/
public BigDecimal getWaitingRegistrationM() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.waiting_registration_W</code>.
* Подлежат постановке женщины
*/
public void setWaitingRegistrationW(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.waiting_registration_W</code>.
* Подлежат постановке женщины
*/
public BigDecimal getWaitingRegistrationW() {
return (BigDecimal) get(3);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.mobilization_criterion</code>.
* Количество подлежащих под критерии мобилизации
*/
public void setMobilizationCriterion(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.mobilization_criterion</code>.
* Количество подлежащих под критерии мобилизации
*/
public BigDecimal getMobilizationCriterion() {
return (BigDecimal) get(4);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.volunteer_criterion</code>.
* Количество подлежащих под критерии добровольной службы
*/
public void setVolunteerCriterion(BigDecimal value) {
set(5, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.volunteer_criterion</code>.
* Количество подлежащих под критерии добровольной службы
*/
public BigDecimal getVolunteerCriterion() {
return (BigDecimal) get(5);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.contract_criterion</code>.
* Количество подлежащих под критерии контрактной службы
*/
public void setContractCriterion(BigDecimal value) {
set(6, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.contract_criterion</code>.
* Количество подлежащих под критерии контрактной службы
*/
public BigDecimal getContractCriterion() {
return (BigDecimal) get(6);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.recording_date</code>. Дата
* записи
*/
public void setRecordingDate(Date value) {
set(7, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.recording_date</code>. Дата
* записи
*/
public Date getRecordingDate() {
return (Date) get(7);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.waiting_registration_percent</code>.
* Всего подлежат постановке процент
*/
public void setWaitingRegistrationPercent(BigDecimal value) {
set(8, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.waiting_registration_percent</code>.
* Всего подлежат постановке процент
*/
public BigDecimal getWaitingRegistrationPercent() {
return (BigDecimal) get(8);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.mobilization_criterion_percent</code>.
* Процент подлежащих под критерии мобилизации
*/
public void setMobilizationCriterionPercent(BigDecimal value) {
set(9, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.mobilization_criterion_percent</code>.
* Процент подлежащих под критерии мобилизации
*/
public BigDecimal getMobilizationCriterionPercent() {
return (BigDecimal) get(9);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.volunteer_criterion_percent</code>.
* Процент подлежащих под критерии добровольной службы
*/
public void setVolunteerCriterionPercent(BigDecimal value) {
set(10, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.volunteer_criterion_percent</code>.
* Процент подлежащих под критерии добровольной службы
*/
public BigDecimal getVolunteerCriterionPercent() {
return (BigDecimal) get(10);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.contract_criterion_percent</code>.
* Процент подлежащих под критерии контрактной службы
*/
public void setContractCriterionPercent(BigDecimal value) {
set(11, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.contract_criterion_percent</code>.
* Процент подлежащих под критерии контрактной службы
*/
public BigDecimal getContractCriterionPercent() {
return (BigDecimal) get(11);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(12, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(12);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.testrecruitment_id</code>.
*/
public void setTestrecruitmentId(String value) {
set(13, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.testrecruitment_id</code>.
*/
public String getTestrecruitmentId() {
return (String) get(13);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached WaitingRegistrationRecord
*/
public WaitingRegistrationRecord() {
super(WaitingRegistration.WAITING_REGISTRATION);
}
/**
* Create a detached, initialised WaitingRegistrationRecord
*/
public WaitingRegistrationRecord(Long idWaitingRegistration, BigDecimal waitingRegistration, BigDecimal waitingRegistrationM, BigDecimal waitingRegistrationW, BigDecimal mobilizationCriterion, BigDecimal volunteerCriterion, BigDecimal contractCriterion, Date recordingDate, BigDecimal waitingRegistrationPercent, BigDecimal mobilizationCriterionPercent, BigDecimal volunteerCriterionPercent, BigDecimal contractCriterionPercent, UUID recruitmentId, String testrecruitmentId) {
super(WaitingRegistration.WAITING_REGISTRATION);
setIdWaitingRegistration(idWaitingRegistration);
setWaitingRegistration(waitingRegistration);
setWaitingRegistrationM(waitingRegistrationM);
setWaitingRegistrationW(waitingRegistrationW);
setMobilizationCriterion(mobilizationCriterion);
setVolunteerCriterion(volunteerCriterion);
setContractCriterion(contractCriterion);
setRecordingDate(recordingDate);
setWaitingRegistrationPercent(waitingRegistrationPercent);
setMobilizationCriterionPercent(mobilizationCriterionPercent);
setVolunteerCriterionPercent(volunteerCriterionPercent);
setContractCriterionPercent(contractCriterionPercent);
setRecruitmentId(recruitmentId);
setTestrecruitmentId(testrecruitmentId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,63 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Education;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Employment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Gender;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.MaritalStatus;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.ReasonRegistration;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Subpoena;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.CitizenRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.EducationRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.EmploymentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.GenderRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.MaritalStatusRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.ReasonRegistrationRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.SubpoenaRecord;
import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;
/**
* A class modelling foreign key relationships and constraints of tables in
* public.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {
// -------------------------------------------------------------------------
// UNIQUE and PRIMARY KEY definitions
// -------------------------------------------------------------------------
public static final UniqueKey<CitizenRecord> CITIZEN_PKEY = Internal.createUniqueKey(Citizen.CITIZEN, DSL.name("citizen_pkey"), new TableField[] { Citizen.CITIZEN.ID_ERN }, true);
public static final UniqueKey<EducationRecord> EDUCATION_PKEY = Internal.createUniqueKey(Education.EDUCATION, DSL.name("education_pkey"), new TableField[] { Education.EDUCATION.EDUCATION_ID }, true);
public static final UniqueKey<EmploymentRecord> EMPLOYMENT_PKEY = Internal.createUniqueKey(Employment.EMPLOYMENT, DSL.name("employment_pkey"), new TableField[] { Employment.EMPLOYMENT.EMPLOYMENT_ID }, true);
public static final UniqueKey<GenderRecord> GENDER_PKEY = Internal.createUniqueKey(Gender.GENDER, DSL.name("gender_pkey"), new TableField[] { Gender.GENDER.GENDER_ID }, true);
public static final UniqueKey<MaritalStatusRecord> MARITAL_STATUS_PKEY = Internal.createUniqueKey(MaritalStatus.MARITAL_STATUS, DSL.name("marital_status_pkey"), new TableField[] { MaritalStatus.MARITAL_STATUS.MARITAL_STATUS_ID }, true);
public static final UniqueKey<PubRecruitmentRecord> RECRUITMENT_IDM_ID_KEY = Internal.createUniqueKey(PubRecruitment.PUB_RECRUITMENT, DSL.name("recruitment_idm_id_key"), new TableField[] { PubRecruitment.PUB_RECRUITMENT.IDM_ID }, true);
public static final UniqueKey<PubRecruitmentRecord> RECRUITMENT_PKEY = Internal.createUniqueKey(PubRecruitment.PUB_RECRUITMENT, DSL.name("recruitment_pkey"), new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final UniqueKey<ReasonRegistrationRecord> REASON_REGISTRATION_PKEY = Internal.createUniqueKey(ReasonRegistration.REASON_REGISTRATION, DSL.name("reason_registration_pkey"), new TableField[] { ReasonRegistration.REASON_REGISTRATION.REASON_REGISTRATION_ID }, true);
public static final UniqueKey<SubpoenaRecord> SUBPOENA_PKEY = Internal.createUniqueKey(Subpoena.SUBPOENA, DSL.name("subpoena_pkey"), new TableField[] { Subpoena.SUBPOENA.SUBPOENA_ID }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
// -------------------------------------------------------------------------
public static final ForeignKey<CitizenRecord, PubRecruitmentRecord> CITIZEN__P_CITIZEN_FK1 = Internal.createForeignKey(Citizen.CITIZEN, DSL.name("p_citizen_fk1"), new TableField[] { Citizen.CITIZEN.RECRUITMENT_ID }, Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<CitizenRecord, GenderRecord> CITIZEN__P_CITIZEN_FK2 = Internal.createForeignKey(Citizen.CITIZEN, DSL.name("p_citizen_fk2"), new TableField[] { Citizen.CITIZEN.GENDER_ID }, Keys.GENDER_PKEY, new TableField[] { Gender.GENDER.GENDER_ID }, true);
public static final ForeignKey<CitizenRecord, MaritalStatusRecord> CITIZEN__P_CITIZEN_FK3 = Internal.createForeignKey(Citizen.CITIZEN, DSL.name("p_citizen_fk3"), new TableField[] { Citizen.CITIZEN.MARITAL_STATUS_ID }, Keys.MARITAL_STATUS_PKEY, new TableField[] { MaritalStatus.MARITAL_STATUS.MARITAL_STATUS_ID }, true);
public static final ForeignKey<CitizenRecord, EmploymentRecord> CITIZEN__P_CITIZEN_FK4 = Internal.createForeignKey(Citizen.CITIZEN, DSL.name("p_citizen_fk4"), new TableField[] { Citizen.CITIZEN.EMPLOYMENT_ID }, Keys.EMPLOYMENT_PKEY, new TableField[] { Employment.EMPLOYMENT.EMPLOYMENT_ID }, true);
public static final ForeignKey<CitizenRecord, EducationRecord> CITIZEN__P_CITIZEN_FK5 = Internal.createForeignKey(Citizen.CITIZEN, DSL.name("p_citizen_fk5"), new TableField[] { Citizen.CITIZEN.EDUCATION_ID }, Keys.EDUCATION_PKEY, new TableField[] { Education.EDUCATION.EDUCATION_ID }, true);
public static final ForeignKey<CitizenRecord, ReasonRegistrationRecord> CITIZEN__P_CITIZEN_FK6 = Internal.createForeignKey(Citizen.CITIZEN, DSL.name("p_citizen_fk6"), new TableField[] { Citizen.CITIZEN.REASON_REGISTRATION_ID }, Keys.REASON_REGISTRATION_PKEY, new TableField[] { ReasonRegistration.REASON_REGISTRATION.REASON_REGISTRATION_ID }, true);
public static final ForeignKey<MaritalStatusRecord, GenderRecord> MARITAL_STATUS__MARITAL_STATUS_FK1 = Internal.createForeignKey(MaritalStatus.MARITAL_STATUS, DSL.name("marital_status_fk1"), new TableField[] { MaritalStatus.MARITAL_STATUS.GENDER_ID }, Keys.GENDER_PKEY, new TableField[] { Gender.GENDER.GENDER_ID }, true);
}

View file

@ -0,0 +1,104 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_;
import ervu_dashboard.ervu_dashboard.db_beans.DefaultCatalog;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Education;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Employment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Gender;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.MaritalStatus;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.ReasonRegistration;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Subpoena;
import java.util.Arrays;
import java.util.List;
import org.jooq.Catalog;
import org.jooq.Table;
import org.jooq.impl.SchemaImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Public extends SchemaImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public</code>
*/
public static final Public PUBLIC = new Public();
/**
* The table <code>public.citizen</code>.
*/
public final Citizen CITIZEN = Citizen.CITIZEN;
/**
* The table <code>public.education</code>.
*/
public final Education EDUCATION = Education.EDUCATION;
/**
* The table <code>public.employment</code>.
*/
public final Employment EMPLOYMENT = Employment.EMPLOYMENT;
/**
* The table <code>public.gender</code>.
*/
public final Gender GENDER = Gender.GENDER;
/**
* The table <code>public.marital_status</code>.
*/
public final MaritalStatus MARITAL_STATUS = MaritalStatus.MARITAL_STATUS;
/**
* The table <code>public.pub_recruitment</code>.
*/
public final PubRecruitment PUB_RECRUITMENT = PubRecruitment.PUB_RECRUITMENT;
/**
* The table <code>public.reason_registration</code>.
*/
public final ReasonRegistration REASON_REGISTRATION = ReasonRegistration.REASON_REGISTRATION;
/**
* The table <code>public.subpoena</code>.
*/
public final Subpoena SUBPOENA = Subpoena.SUBPOENA;
/**
* No further instances allowed
*/
private Public() {
super("public", null);
}
@Override
public Catalog getCatalog() {
return DefaultCatalog.DEFAULT_CATALOG;
}
@Override
public final List<Table<?>> getTables() {
return Arrays.asList(
Citizen.CITIZEN,
Education.EDUCATION,
Employment.EMPLOYMENT,
Gender.GENDER,
MaritalStatus.MARITAL_STATUS,
PubRecruitment.PUB_RECRUITMENT,
ReasonRegistration.REASON_REGISTRATION,
Subpoena.SUBPOENA
);
}
}

View file

@ -0,0 +1,41 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_;
import ervu_dashboard.ervu_dashboard.db_beans.public_.routines.UuidGenerateV4;
import java.util.UUID;
import org.jooq.Configuration;
import org.jooq.Field;
/**
* Convenience access to all stored procedures and functions in public.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Routines {
/**
* Call <code>public.uuid_generate_v4</code>
*/
public static UUID uuidGenerateV4(
Configuration configuration
) {
UuidGenerateV4 f = new UuidGenerateV4();
f.execute(configuration);
return f.getReturnValue();
}
/**
* Get <code>public.uuid_generate_v4</code> as a field.
*/
public static Field<UUID> uuidGenerateV4() {
UuidGenerateV4 f = new UuidGenerateV4();
return f.asField();
}
}

View file

@ -0,0 +1,62 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Education;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Employment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Gender;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.MaritalStatus;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.ReasonRegistration;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Subpoena;
/**
* Convenience access to all tables in public.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Tables {
/**
* The table <code>public.citizen</code>.
*/
public static final Citizen CITIZEN = Citizen.CITIZEN;
/**
* The table <code>public.education</code>.
*/
public static final Education EDUCATION = Education.EDUCATION;
/**
* The table <code>public.employment</code>.
*/
public static final Employment EMPLOYMENT = Employment.EMPLOYMENT;
/**
* The table <code>public.gender</code>.
*/
public static final Gender GENDER = Gender.GENDER;
/**
* The table <code>public.marital_status</code>.
*/
public static final MaritalStatus MARITAL_STATUS = MaritalStatus.MARITAL_STATUS;
/**
* The table <code>public.pub_recruitment</code>.
*/
public static final PubRecruitment PUB_RECRUITMENT = PubRecruitment.PUB_RECRUITMENT;
/**
* The table <code>public.reason_registration</code>.
*/
public static final ReasonRegistration REASON_REGISTRATION = ReasonRegistration.REASON_REGISTRATION;
/**
* The table <code>public.subpoena</code>.
*/
public static final Subpoena SUBPOENA = Subpoena.SUBPOENA;
}

View file

@ -0,0 +1,38 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.routines;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import java.util.UUID;
import org.jooq.Parameter;
import org.jooq.impl.AbstractRoutine;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UuidGenerateV4 extends AbstractRoutine<UUID> {
private static final long serialVersionUID = 1L;
/**
* The parameter <code>public.uuid_generate_v4.RETURN_VALUE</code>.
*/
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
/**
* Create a new routine call instance
*/
public UuidGenerateV4() {
super("uuid_generate_v4", Public.PUBLIC, SQLDataType.UUID);
setReturnParameter(RETURN_VALUE);
}
}

View file

@ -0,0 +1,438 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Education.EducationPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Employment.EmploymentPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Gender.GenderPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.MaritalStatus.MaritalStatusPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.ReasonRegistration.ReasonRegistrationPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.CitizenRecord;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Citizen extends TableImpl<CitizenRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.citizen</code>
*/
public static final Citizen CITIZEN = new Citizen();
/**
* The class holding records for this type
*/
@Override
public Class<CitizenRecord> getRecordType() {
return CitizenRecord.class;
}
/**
* The column <code>public.citizen.id_ERN</code>.
*/
public final TableField<CitizenRecord, String> ID_ERN = createField(DSL.name("id_ERN"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>public.citizen.fio</code>.
*/
public final TableField<CitizenRecord, String> FIO = createField(DSL.name("fio"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.citizen.residence</code>.
*/
public final TableField<CitizenRecord, String> RESIDENCE = createField(DSL.name("residence"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.citizen.age</code>.
*/
public final TableField<CitizenRecord, String> AGE = createField(DSL.name("age"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.citizen.recruitment</code>.
*/
public final TableField<CitizenRecord, String> RECRUITMENT = createField(DSL.name("recruitment"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.citizen.recruitment_id</code>.
*/
public final TableField<CitizenRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
/**
* The column <code>public.citizen.gender_id</code>.
*/
public final TableField<CitizenRecord, Long> GENDER_ID = createField(DSL.name("gender_id"), SQLDataType.BIGINT.nullable(false), this, "");
/**
* The column <code>public.citizen.marital_status_id</code>.
*/
public final TableField<CitizenRecord, Long> MARITAL_STATUS_ID = createField(DSL.name("marital_status_id"), SQLDataType.BIGINT, this, "");
/**
* The column <code>public.citizen.education_id</code>.
*/
public final TableField<CitizenRecord, Long> EDUCATION_ID = createField(DSL.name("education_id"), SQLDataType.BIGINT, this, "");
/**
* The column <code>public.citizen.employment_id</code>.
*/
public final TableField<CitizenRecord, Long> EMPLOYMENT_ID = createField(DSL.name("employment_id"), SQLDataType.BIGINT, this, "");
/**
* The column <code>public.citizen.urgent_service</code>.
*/
public final TableField<CitizenRecord, Boolean> URGENT_SERVICE = createField(DSL.name("urgent_service"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>public.citizen.contract_service</code>.
*/
public final TableField<CitizenRecord, Boolean> CONTRACT_SERVICE = createField(DSL.name("contract_service"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>public.citizen.mobilization</code>.
*/
public final TableField<CitizenRecord, Boolean> MOBILIZATION = createField(DSL.name("mobilization"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>public.citizen.is_registered</code>.
*/
public final TableField<CitizenRecord, Boolean> IS_REGISTERED = createField(DSL.name("is_registered"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>public.citizen.reason_registration_id</code>.
*/
public final TableField<CitizenRecord, Integer> REASON_REGISTRATION_ID = createField(DSL.name("reason_registration_id"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.citizen.issue_date</code>.
*/
public final TableField<CitizenRecord, Date> ISSUE_DATE = createField(DSL.name("issue_date"), SQLDataType.DATE, this, "");
/**
* The column <code>public.citizen.passport_series</code>.
*/
public final TableField<CitizenRecord, String> PASSPORT_SERIES = createField(DSL.name("passport_series"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.citizen.passport_number</code>.
*/
public final TableField<CitizenRecord, String> PASSPORT_NUMBER = createField(DSL.name("passport_number"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.citizen.number_children</code>.
*/
public final TableField<CitizenRecord, Integer> NUMBER_CHILDREN = createField(DSL.name("number_children"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.citizen.phone</code>.
*/
public final TableField<CitizenRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR, this, "");
private Citizen(Name alias, Table<CitizenRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Citizen(Name alias, Table<CitizenRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.citizen</code> table reference
*/
public Citizen(String alias) {
this(DSL.name(alias), CITIZEN);
}
/**
* Create an aliased <code>public.citizen</code> table reference
*/
public Citizen(Name alias) {
this(alias, CITIZEN);
}
/**
* Create a <code>public.citizen</code> table reference
*/
public Citizen() {
this(DSL.name("citizen"), null);
}
public <O extends Record> Citizen(Table<O> path, ForeignKey<O, CitizenRecord> childPath, InverseForeignKey<O, CitizenRecord> parentPath) {
super(path, childPath, parentPath, CITIZEN);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class CitizenPath extends Citizen implements Path<CitizenRecord> {
public <O extends Record> CitizenPath(Table<O> path, ForeignKey<O, CitizenRecord> childPath, InverseForeignKey<O, CitizenRecord> parentPath) {
super(path, childPath, parentPath);
}
private CitizenPath(Name alias, Table<CitizenRecord> aliased) {
super(alias, aliased);
}
@Override
public CitizenPath as(String alias) {
return new CitizenPath(DSL.name(alias), this);
}
@Override
public CitizenPath as(Name alias) {
return new CitizenPath(alias, this);
}
@Override
public CitizenPath as(Table<?> alias) {
return new CitizenPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public UniqueKey<CitizenRecord> getPrimaryKey() {
return Keys.CITIZEN_PKEY;
}
@Override
public List<ForeignKey<CitizenRecord, ?>> getReferences() {
return Arrays.asList(Keys.CITIZEN__P_CITIZEN_FK1, Keys.CITIZEN__P_CITIZEN_FK2, Keys.CITIZEN__P_CITIZEN_FK3, Keys.CITIZEN__P_CITIZEN_FK5, Keys.CITIZEN__P_CITIZEN_FK4, Keys.CITIZEN__P_CITIZEN_FK6);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.CITIZEN__P_CITIZEN_FK1, null);
return _pubRecruitment;
}
private transient GenderPath _gender;
/**
* Get the implicit join path to the <code>public.gender</code> table.
*/
public GenderPath gender() {
if (_gender == null)
_gender = new GenderPath(this, Keys.CITIZEN__P_CITIZEN_FK2, null);
return _gender;
}
private transient MaritalStatusPath _maritalStatus;
/**
* Get the implicit join path to the <code>public.marital_status</code>
* table.
*/
public MaritalStatusPath maritalStatus() {
if (_maritalStatus == null)
_maritalStatus = new MaritalStatusPath(this, Keys.CITIZEN__P_CITIZEN_FK3, null);
return _maritalStatus;
}
private transient EducationPath _education;
/**
* Get the implicit join path to the <code>public.education</code> table.
*/
public EducationPath education() {
if (_education == null)
_education = new EducationPath(this, Keys.CITIZEN__P_CITIZEN_FK5, null);
return _education;
}
private transient EmploymentPath _employment;
/**
* Get the implicit join path to the <code>public.employment</code> table.
*/
public EmploymentPath employment() {
if (_employment == null)
_employment = new EmploymentPath(this, Keys.CITIZEN__P_CITIZEN_FK4, null);
return _employment;
}
private transient ReasonRegistrationPath _reasonRegistration;
/**
* Get the implicit join path to the <code>public.reason_registration</code>
* table.
*/
public ReasonRegistrationPath reasonRegistration() {
if (_reasonRegistration == null)
_reasonRegistration = new ReasonRegistrationPath(this, Keys.CITIZEN__P_CITIZEN_FK6, null);
return _reasonRegistration;
}
@Override
public Citizen as(String alias) {
return new Citizen(DSL.name(alias), this);
}
@Override
public Citizen as(Name alias) {
return new Citizen(alias, this);
}
@Override
public Citizen as(Table<?> alias) {
return new Citizen(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Citizen rename(String name) {
return new Citizen(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Citizen rename(Name name) {
return new Citizen(name, null);
}
/**
* Rename this table
*/
@Override
public Citizen rename(Table<?> name) {
return new Citizen(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen where(Condition condition) {
return new Citizen(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Citizen where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Citizen where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Citizen where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Citizen where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,283 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen.CitizenPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.EducationRecord;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Education extends TableImpl<EducationRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.education</code>
*/
public static final Education EDUCATION = new Education();
/**
* The class holding records for this type
*/
@Override
public Class<EducationRecord> getRecordType() {
return EducationRecord.class;
}
/**
* The column <code>public.education.education_id</code>.
*/
public final TableField<EducationRecord, Long> EDUCATION_ID = createField(DSL.name("education_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>public.education.code</code>.
*/
public final TableField<EducationRecord, Integer> CODE = createField(DSL.name("code"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.education.name</code>.
*/
public final TableField<EducationRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.nullable(false), this, "");
private Education(Name alias, Table<EducationRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Education(Name alias, Table<EducationRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.education</code> table reference
*/
public Education(String alias) {
this(DSL.name(alias), EDUCATION);
}
/**
* Create an aliased <code>public.education</code> table reference
*/
public Education(Name alias) {
this(alias, EDUCATION);
}
/**
* Create a <code>public.education</code> table reference
*/
public Education() {
this(DSL.name("education"), null);
}
public <O extends Record> Education(Table<O> path, ForeignKey<O, EducationRecord> childPath, InverseForeignKey<O, EducationRecord> parentPath) {
super(path, childPath, parentPath, EDUCATION);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class EducationPath extends Education implements Path<EducationRecord> {
public <O extends Record> EducationPath(Table<O> path, ForeignKey<O, EducationRecord> childPath, InverseForeignKey<O, EducationRecord> parentPath) {
super(path, childPath, parentPath);
}
private EducationPath(Name alias, Table<EducationRecord> aliased) {
super(alias, aliased);
}
@Override
public EducationPath as(String alias) {
return new EducationPath(DSL.name(alias), this);
}
@Override
public EducationPath as(Name alias) {
return new EducationPath(alias, this);
}
@Override
public EducationPath as(Table<?> alias) {
return new EducationPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<EducationRecord, Long> getIdentity() {
return (Identity<EducationRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<EducationRecord> getPrimaryKey() {
return Keys.EDUCATION_PKEY;
}
private transient CitizenPath _citizen;
/**
* Get the implicit to-many join path to the <code>public.citizen</code>
* table
*/
public CitizenPath citizen() {
if (_citizen == null)
_citizen = new CitizenPath(this, null, Keys.CITIZEN__P_CITIZEN_FK5.getInverseKey());
return _citizen;
}
@Override
public Education as(String alias) {
return new Education(DSL.name(alias), this);
}
@Override
public Education as(Name alias) {
return new Education(alias, this);
}
@Override
public Education as(Table<?> alias) {
return new Education(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Education rename(String name) {
return new Education(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Education rename(Name name) {
return new Education(name, null);
}
/**
* Rename this table
*/
@Override
public Education rename(Table<?> name) {
return new Education(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Education where(Condition condition) {
return new Education(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Education where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Education where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Education where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Education where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Education where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Education where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Education where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Education whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Education whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,283 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen.CitizenPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.EmploymentRecord;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Employment extends TableImpl<EmploymentRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.employment</code>
*/
public static final Employment EMPLOYMENT = new Employment();
/**
* The class holding records for this type
*/
@Override
public Class<EmploymentRecord> getRecordType() {
return EmploymentRecord.class;
}
/**
* The column <code>public.employment.employment_id</code>.
*/
public final TableField<EmploymentRecord, Long> EMPLOYMENT_ID = createField(DSL.name("employment_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>public.employment.code</code>.
*/
public final TableField<EmploymentRecord, Integer> CODE = createField(DSL.name("code"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.employment.name</code>.
*/
public final TableField<EmploymentRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.nullable(false), this, "");
private Employment(Name alias, Table<EmploymentRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Employment(Name alias, Table<EmploymentRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.employment</code> table reference
*/
public Employment(String alias) {
this(DSL.name(alias), EMPLOYMENT);
}
/**
* Create an aliased <code>public.employment</code> table reference
*/
public Employment(Name alias) {
this(alias, EMPLOYMENT);
}
/**
* Create a <code>public.employment</code> table reference
*/
public Employment() {
this(DSL.name("employment"), null);
}
public <O extends Record> Employment(Table<O> path, ForeignKey<O, EmploymentRecord> childPath, InverseForeignKey<O, EmploymentRecord> parentPath) {
super(path, childPath, parentPath, EMPLOYMENT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class EmploymentPath extends Employment implements Path<EmploymentRecord> {
public <O extends Record> EmploymentPath(Table<O> path, ForeignKey<O, EmploymentRecord> childPath, InverseForeignKey<O, EmploymentRecord> parentPath) {
super(path, childPath, parentPath);
}
private EmploymentPath(Name alias, Table<EmploymentRecord> aliased) {
super(alias, aliased);
}
@Override
public EmploymentPath as(String alias) {
return new EmploymentPath(DSL.name(alias), this);
}
@Override
public EmploymentPath as(Name alias) {
return new EmploymentPath(alias, this);
}
@Override
public EmploymentPath as(Table<?> alias) {
return new EmploymentPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<EmploymentRecord, Long> getIdentity() {
return (Identity<EmploymentRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<EmploymentRecord> getPrimaryKey() {
return Keys.EMPLOYMENT_PKEY;
}
private transient CitizenPath _citizen;
/**
* Get the implicit to-many join path to the <code>public.citizen</code>
* table
*/
public CitizenPath citizen() {
if (_citizen == null)
_citizen = new CitizenPath(this, null, Keys.CITIZEN__P_CITIZEN_FK4.getInverseKey());
return _citizen;
}
@Override
public Employment as(String alias) {
return new Employment(DSL.name(alias), this);
}
@Override
public Employment as(Name alias) {
return new Employment(alias, this);
}
@Override
public Employment as(Table<?> alias) {
return new Employment(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Employment rename(String name) {
return new Employment(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Employment rename(Name name) {
return new Employment(name, null);
}
/**
* Rename this table
*/
@Override
public Employment rename(Table<?> name) {
return new Employment(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Employment where(Condition condition) {
return new Employment(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Employment where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Employment where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Employment where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Employment where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Employment where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Employment where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Employment where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Employment whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Employment whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,297 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen.CitizenPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.MaritalStatus.MaritalStatusPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.GenderRecord;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Gender extends TableImpl<GenderRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.gender</code>
*/
public static final Gender GENDER = new Gender();
/**
* The class holding records for this type
*/
@Override
public Class<GenderRecord> getRecordType() {
return GenderRecord.class;
}
/**
* The column <code>public.gender.gender_id</code>.
*/
public final TableField<GenderRecord, Long> GENDER_ID = createField(DSL.name("gender_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>public.gender.code</code>.
*/
public final TableField<GenderRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>public.gender.name</code>.
*/
public final TableField<GenderRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.nullable(false), this, "");
private Gender(Name alias, Table<GenderRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Gender(Name alias, Table<GenderRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.gender</code> table reference
*/
public Gender(String alias) {
this(DSL.name(alias), GENDER);
}
/**
* Create an aliased <code>public.gender</code> table reference
*/
public Gender(Name alias) {
this(alias, GENDER);
}
/**
* Create a <code>public.gender</code> table reference
*/
public Gender() {
this(DSL.name("gender"), null);
}
public <O extends Record> Gender(Table<O> path, ForeignKey<O, GenderRecord> childPath, InverseForeignKey<O, GenderRecord> parentPath) {
super(path, childPath, parentPath, GENDER);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class GenderPath extends Gender implements Path<GenderRecord> {
public <O extends Record> GenderPath(Table<O> path, ForeignKey<O, GenderRecord> childPath, InverseForeignKey<O, GenderRecord> parentPath) {
super(path, childPath, parentPath);
}
private GenderPath(Name alias, Table<GenderRecord> aliased) {
super(alias, aliased);
}
@Override
public GenderPath as(String alias) {
return new GenderPath(DSL.name(alias), this);
}
@Override
public GenderPath as(Name alias) {
return new GenderPath(alias, this);
}
@Override
public GenderPath as(Table<?> alias) {
return new GenderPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<GenderRecord, Long> getIdentity() {
return (Identity<GenderRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<GenderRecord> getPrimaryKey() {
return Keys.GENDER_PKEY;
}
private transient CitizenPath _citizen;
/**
* Get the implicit to-many join path to the <code>public.citizen</code>
* table
*/
public CitizenPath citizen() {
if (_citizen == null)
_citizen = new CitizenPath(this, null, Keys.CITIZEN__P_CITIZEN_FK2.getInverseKey());
return _citizen;
}
private transient MaritalStatusPath _maritalStatus;
/**
* Get the implicit to-many join path to the
* <code>public.marital_status</code> table
*/
public MaritalStatusPath maritalStatus() {
if (_maritalStatus == null)
_maritalStatus = new MaritalStatusPath(this, null, Keys.MARITAL_STATUS__MARITAL_STATUS_FK1.getInverseKey());
return _maritalStatus;
}
@Override
public Gender as(String alias) {
return new Gender(DSL.name(alias), this);
}
@Override
public Gender as(Name alias) {
return new Gender(alias, this);
}
@Override
public Gender as(Table<?> alias) {
return new Gender(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Gender rename(String name) {
return new Gender(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Gender rename(Name name) {
return new Gender(name, null);
}
/**
* Rename this table
*/
@Override
public Gender rename(Table<?> name) {
return new Gender(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Gender where(Condition condition) {
return new Gender(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Gender where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Gender where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Gender where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Gender where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Gender where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Gender where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Gender where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Gender whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Gender whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,308 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen.CitizenPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Gender.GenderPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.MaritalStatusRecord;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class MaritalStatus extends TableImpl<MaritalStatusRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.marital_status</code>
*/
public static final MaritalStatus MARITAL_STATUS = new MaritalStatus();
/**
* The class holding records for this type
*/
@Override
public Class<MaritalStatusRecord> getRecordType() {
return MaritalStatusRecord.class;
}
/**
* The column <code>public.marital_status.marital_status_id</code>.
*/
public final TableField<MaritalStatusRecord, Long> MARITAL_STATUS_ID = createField(DSL.name("marital_status_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>public.marital_status.code</code>.
*/
public final TableField<MaritalStatusRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>public.marital_status.name</code>.
*/
public final TableField<MaritalStatusRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>public.marital_status.gender_id</code>.
*/
public final TableField<MaritalStatusRecord, Long> GENDER_ID = createField(DSL.name("gender_id"), SQLDataType.BIGINT.nullable(false), this, "");
private MaritalStatus(Name alias, Table<MaritalStatusRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private MaritalStatus(Name alias, Table<MaritalStatusRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.marital_status</code> table reference
*/
public MaritalStatus(String alias) {
this(DSL.name(alias), MARITAL_STATUS);
}
/**
* Create an aliased <code>public.marital_status</code> table reference
*/
public MaritalStatus(Name alias) {
this(alias, MARITAL_STATUS);
}
/**
* Create a <code>public.marital_status</code> table reference
*/
public MaritalStatus() {
this(DSL.name("marital_status"), null);
}
public <O extends Record> MaritalStatus(Table<O> path, ForeignKey<O, MaritalStatusRecord> childPath, InverseForeignKey<O, MaritalStatusRecord> parentPath) {
super(path, childPath, parentPath, MARITAL_STATUS);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class MaritalStatusPath extends MaritalStatus implements Path<MaritalStatusRecord> {
public <O extends Record> MaritalStatusPath(Table<O> path, ForeignKey<O, MaritalStatusRecord> childPath, InverseForeignKey<O, MaritalStatusRecord> parentPath) {
super(path, childPath, parentPath);
}
private MaritalStatusPath(Name alias, Table<MaritalStatusRecord> aliased) {
super(alias, aliased);
}
@Override
public MaritalStatusPath as(String alias) {
return new MaritalStatusPath(DSL.name(alias), this);
}
@Override
public MaritalStatusPath as(Name alias) {
return new MaritalStatusPath(alias, this);
}
@Override
public MaritalStatusPath as(Table<?> alias) {
return new MaritalStatusPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<MaritalStatusRecord, Long> getIdentity() {
return (Identity<MaritalStatusRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<MaritalStatusRecord> getPrimaryKey() {
return Keys.MARITAL_STATUS_PKEY;
}
@Override
public List<ForeignKey<MaritalStatusRecord, ?>> getReferences() {
return Arrays.asList(Keys.MARITAL_STATUS__MARITAL_STATUS_FK1);
}
private transient GenderPath _gender;
/**
* Get the implicit join path to the <code>public.gender</code> table.
*/
public GenderPath gender() {
if (_gender == null)
_gender = new GenderPath(this, Keys.MARITAL_STATUS__MARITAL_STATUS_FK1, null);
return _gender;
}
private transient CitizenPath _citizen;
/**
* Get the implicit to-many join path to the <code>public.citizen</code>
* table
*/
public CitizenPath citizen() {
if (_citizen == null)
_citizen = new CitizenPath(this, null, Keys.CITIZEN__P_CITIZEN_FK3.getInverseKey());
return _citizen;
}
@Override
public MaritalStatus as(String alias) {
return new MaritalStatus(DSL.name(alias), this);
}
@Override
public MaritalStatus as(Name alias) {
return new MaritalStatus(alias, this);
}
@Override
public MaritalStatus as(Table<?> alias) {
return new MaritalStatus(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public MaritalStatus rename(String name) {
return new MaritalStatus(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public MaritalStatus rename(Name name) {
return new MaritalStatus(name, null);
}
/**
* Rename this table
*/
@Override
public MaritalStatus rename(Table<?> name) {
return new MaritalStatus(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public MaritalStatus where(Condition condition) {
return new MaritalStatus(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public MaritalStatus where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public MaritalStatus where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public MaritalStatus where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MaritalStatus where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MaritalStatus where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MaritalStatus where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MaritalStatus where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public MaritalStatus whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public MaritalStatus whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,726 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile.MainProfilePath;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal.ReasonsAppealPath;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReviewRating.ReviewRatingPath;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.TopicAppeal.TopicAppealPath;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.Appeals.AppealsPath;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.RecruitmentCampaign.RecruitmentCampaignPath;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.TotalRegistered.TotalRegisteredPath;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.WaitingRegistration.WaitingRegistrationPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen.CitizenPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.AppearSubppoena.AppearSubppoenaPath;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint.ConsiderationComplaintPath;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.Recruitment.RecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Subpoenas.SubpoenasPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.Age.AgePath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.Busyness.BusynessPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.ChildMinor.ChildMinorPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.DriverLicense.DriverLicensePath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.EducationLevel.EducationLevelPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.MaritalStatus.MaritalStatusPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.RegMilCat.RegMilCatPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.RemovedRegistry.RemovedRegistryPath;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PubRecruitment extends TableImpl<PubRecruitmentRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.pub_recruitment</code>
*/
public static final PubRecruitment PUB_RECRUITMENT = new PubRecruitment();
/**
* The class holding records for this type
*/
@Override
public Class<PubRecruitmentRecord> getRecordType() {
return PubRecruitmentRecord.class;
}
/**
* The column <code>public.pub_recruitment.id</code>.
*/
public final TableField<PubRecruitmentRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
/**
* The column <code>public.pub_recruitment.idm_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> IDM_ID = createField(DSL.name("idm_id"), SQLDataType.VARCHAR(256), this, "");
/**
* The column <code>public.pub_recruitment.parent_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.version</code>.
*/
public final TableField<PubRecruitmentRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.pub_recruitment.created_at</code>.
*/
public final TableField<PubRecruitmentRecord, Timestamp> CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>public.pub_recruitment.updated_at</code>.
*/
public final TableField<PubRecruitmentRecord, Timestamp> UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>public.pub_recruitment.schema</code>.
*/
public final TableField<PubRecruitmentRecord, String> SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(64).nullable(false), this, "");
/**
* The column <code>public.pub_recruitment.military_code</code>.
*/
public final TableField<PubRecruitmentRecord, String> MILITARY_CODE = createField(DSL.name("military_code"), SQLDataType.VARCHAR(16), this, "");
/**
* The column <code>public.pub_recruitment.shortname</code>.
*/
public final TableField<PubRecruitmentRecord, String> SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>public.pub_recruitment.fullname</code>.
*/
public final TableField<PubRecruitmentRecord, String> FULLNAME = createField(DSL.name("fullname"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>public.pub_recruitment.dns</code>.
*/
public final TableField<PubRecruitmentRecord, String> DNS = createField(DSL.name("dns"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>public.pub_recruitment.email</code>.
*/
public final TableField<PubRecruitmentRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>public.pub_recruitment.phone</code>.
*/
public final TableField<PubRecruitmentRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(24), this, "");
/**
* The column <code>public.pub_recruitment.address</code>.
*/
public final TableField<PubRecruitmentRecord, String> ADDRESS = createField(DSL.name("address"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.address_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> ADDRESS_ID = createField(DSL.name("address_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.postal_address</code>.
*/
public final TableField<PubRecruitmentRecord, String> POSTAL_ADDRESS = createField(DSL.name("postal_address"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.postal_address_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> POSTAL_ADDRESS_ID = createField(DSL.name("postal_address_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.nsi_department_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> NSI_DEPARTMENT_ID = createField(DSL.name("nsi_department_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.nsi_organization_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> NSI_ORGANIZATION_ID = createField(DSL.name("nsi_organization_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.oktmo</code>.
*/
public final TableField<PubRecruitmentRecord, String> OKTMO = createField(DSL.name("oktmo"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.org_ogrn</code>.
*/
public final TableField<PubRecruitmentRecord, String> ORG_OGRN = createField(DSL.name("org_ogrn"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.dep_ogrn</code>.
*/
public final TableField<PubRecruitmentRecord, String> DEP_OGRN = createField(DSL.name("dep_ogrn"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.epgu_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> EPGU_ID = createField(DSL.name("epgu_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.kpp</code>.
*/
public final TableField<PubRecruitmentRecord, String> KPP = createField(DSL.name("kpp"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>public.pub_recruitment.inn</code>.
*/
public final TableField<PubRecruitmentRecord, String> INN = createField(DSL.name("inn"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>public.pub_recruitment.okato</code>.
*/
public final TableField<PubRecruitmentRecord, String> OKATO = createField(DSL.name("okato"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>public.pub_recruitment.division_type</code>.
*/
public final TableField<PubRecruitmentRecord, String> DIVISION_TYPE = createField(DSL.name("division_type"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>public.pub_recruitment.tns_department_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> TNS_DEPARTMENT_ID = createField(DSL.name("tns_department_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.enabled</code>.
*/
public final TableField<PubRecruitmentRecord, Boolean> ENABLED = createField(DSL.name("enabled"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>public.pub_recruitment.timezone</code>.
*/
public final TableField<PubRecruitmentRecord, String> TIMEZONE = createField(DSL.name("timezone"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>public.pub_recruitment.reports_enabled</code>.
*/
public final TableField<PubRecruitmentRecord, Boolean> REPORTS_ENABLED = createField(DSL.name("reports_enabled"), SQLDataType.BOOLEAN, this, "");
/**
* The column <code>public.pub_recruitment.region_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> REGION_ID = createField(DSL.name("region_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.series</code>.
*/
public final TableField<PubRecruitmentRecord, String> SERIES = createField(DSL.name("series"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>public.pub_recruitment.hidden</code>.
*/
public final TableField<PubRecruitmentRecord, Boolean> HIDDEN = createField(DSL.name("hidden"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>public.pub_recruitment.sort</code>.
*/
public final TableField<PubRecruitmentRecord, Integer> SORT = createField(DSL.name("sort"), SQLDataType.INTEGER.nullable(false), this, "");
private PubRecruitment(Name alias, Table<PubRecruitmentRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private PubRecruitment(Name alias, Table<PubRecruitmentRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.pub_recruitment</code> table reference
*/
public PubRecruitment(String alias) {
this(DSL.name(alias), PUB_RECRUITMENT);
}
/**
* Create an aliased <code>public.pub_recruitment</code> table reference
*/
public PubRecruitment(Name alias) {
this(alias, PUB_RECRUITMENT);
}
/**
* Create a <code>public.pub_recruitment</code> table reference
*/
public PubRecruitment() {
this(DSL.name("pub_recruitment"), null);
}
public <O extends Record> PubRecruitment(Table<O> path, ForeignKey<O, PubRecruitmentRecord> childPath, InverseForeignKey<O, PubRecruitmentRecord> parentPath) {
super(path, childPath, parentPath, PUB_RECRUITMENT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class PubRecruitmentPath extends PubRecruitment implements Path<PubRecruitmentRecord> {
public <O extends Record> PubRecruitmentPath(Table<O> path, ForeignKey<O, PubRecruitmentRecord> childPath, InverseForeignKey<O, PubRecruitmentRecord> parentPath) {
super(path, childPath, parentPath);
}
private PubRecruitmentPath(Name alias, Table<PubRecruitmentRecord> aliased) {
super(alias, aliased);
}
@Override
public PubRecruitmentPath as(String alias) {
return new PubRecruitmentPath(DSL.name(alias), this);
}
@Override
public PubRecruitmentPath as(Name alias) {
return new PubRecruitmentPath(alias, this);
}
@Override
public PubRecruitmentPath as(Table<?> alias) {
return new PubRecruitmentPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public UniqueKey<PubRecruitmentRecord> getPrimaryKey() {
return Keys.RECRUITMENT_PKEY;
}
@Override
public List<UniqueKey<PubRecruitmentRecord>> getUniqueKeys() {
return Arrays.asList(Keys.RECRUITMENT_IDM_ID_KEY);
}
private transient MainProfilePath _mainProfile;
/**
* Get the implicit to-many join path to the
* <code>appeals.main_profile</code> table
*/
public MainProfilePath mainProfile() {
if (_mainProfile == null)
_mainProfile = new MainProfilePath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.MAIN_PROFILE__MAIN_PROFILE_FK1.getInverseKey());
return _mainProfile;
}
private transient ReasonsAppealPath _reasonsAppeal;
/**
* Get the implicit to-many join path to the
* <code>appeals.reasons_appeal</code> table
*/
public ReasonsAppealPath reasonsAppeal() {
if (_reasonsAppeal == null)
_reasonsAppeal = new ReasonsAppealPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.REASONS_APPEAL__REASONS_APPEAL_FK1.getInverseKey());
return _reasonsAppeal;
}
private transient ReviewRatingPath _reviewRating;
/**
* Get the implicit to-many join path to the
* <code>appeals.review_rating</code> table
*/
public ReviewRatingPath reviewRating() {
if (_reviewRating == null)
_reviewRating = new ReviewRatingPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.REVIEW_RATING__REVIEW_RATING_FK1.getInverseKey());
return _reviewRating;
}
private transient TopicAppealPath _topicAppeal;
/**
* Get the implicit to-many join path to the
* <code>appeals.topic_appeal</code> table
*/
public TopicAppealPath topicAppeal() {
if (_topicAppeal == null)
_topicAppeal = new TopicAppealPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.TOPIC_APPEAL__TOPIC_APPEAL_FK1.getInverseKey());
return _topicAppeal;
}
private transient AppealsPath _appeals;
/**
* Get the implicit to-many join path to the
* <code>main_dashboard.appeals</code> table
*/
public AppealsPath appeals() {
if (_appeals == null)
_appeals = new AppealsPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys.APPEALS__MD_APPEALS_FK1.getInverseKey());
return _appeals;
}
private transient RecruitmentCampaignPath _recruitmentCampaign;
/**
* Get the implicit to-many join path to the
* <code>main_dashboard.recruitment_campaign</code> table
*/
public RecruitmentCampaignPath recruitmentCampaign() {
if (_recruitmentCampaign == null)
_recruitmentCampaign = new RecruitmentCampaignPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys.RECRUITMENT_CAMPAIGN__RECRUITMENT_CAMPAIGN_FK1.getInverseKey());
return _recruitmentCampaign;
}
private transient TotalRegisteredPath _totalRegistered;
/**
* Get the implicit to-many join path to the
* <code>main_dashboard.total_registered</code> table
*/
public TotalRegisteredPath totalRegistered() {
if (_totalRegistered == null)
_totalRegistered = new TotalRegisteredPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys.TOTAL_REGISTERED__MD_TOTAL_REGISTERED_FK1.getInverseKey());
return _totalRegistered;
}
private transient WaitingRegistrationPath _waitingRegistration;
/**
* Get the implicit to-many join path to the
* <code>main_dashboard.waiting_registration</code> table
*/
public WaitingRegistrationPath waitingRegistration() {
if (_waitingRegistration == null)
_waitingRegistration = new WaitingRegistrationPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys.WAITING_REGISTRATION__MD_WAITING_REGISTRATION_FK1.getInverseKey());
return _waitingRegistration;
}
private transient CitizenPath _citizen;
/**
* Get the implicit to-many join path to the <code>public.citizen</code>
* table
*/
public CitizenPath citizen() {
if (_citizen == null)
_citizen = new CitizenPath(this, null, Keys.CITIZEN__P_CITIZEN_FK1.getInverseKey());
return _citizen;
}
private transient AppearSubppoenaPath _appearSubppoena;
/**
* Get the implicit to-many join path to the
* <code>ratings.appear_subppoena</code> table
*/
public AppearSubppoenaPath appearSubppoena() {
if (_appearSubppoena == null)
_appearSubppoena = new AppearSubppoenaPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys.APPEAR_SUBPPOENA__APPEAR_SUBPPOENA_FK1.getInverseKey());
return _appearSubppoena;
}
private transient ConsiderationComplaintPath _considerationComplaint;
/**
* Get the implicit to-many join path to the
* <code>ratings.consideration_complaint</code> table
*/
public ConsiderationComplaintPath considerationComplaint() {
if (_considerationComplaint == null)
_considerationComplaint = new ConsiderationComplaintPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys.CONSIDERATION_COMPLAINT__CONSIDERATION_COMPLAINT_FK1.getInverseKey());
return _considerationComplaint;
}
private transient RecruitmentPath _recruitment;
/**
* Get the implicit to-many join path to the
* <code>ratings.recruitment</code> table
*/
public RecruitmentPath recruitment() {
if (_recruitment == null)
_recruitment = new RecruitmentPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys.RECRUITMENT__R_RECRUITMENT_FK1.getInverseKey());
return _recruitment;
}
private transient SubpoenasPath _subpoenas;
/**
* Get the implicit to-many join path to the
* <code>recruitment_campaign.subpoenas</code> table
*/
public SubpoenasPath subpoenas() {
if (_subpoenas == null)
_subpoenas = new SubpoenasPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.Keys.SUBPOENAS__SUBPOENAS_FK1.getInverseKey());
return _subpoenas;
}
private transient AgePath _age;
/**
* Get the implicit to-many join path to the
* <code>total_registered.age</code> table
*/
public AgePath age() {
if (_age == null)
_age = new AgePath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.AGE__AGE_FK1.getInverseKey());
return _age;
}
private transient BusynessPath _busyness;
/**
* Get the implicit to-many join path to the
* <code>total_registered.busyness</code> table
*/
public BusynessPath busyness() {
if (_busyness == null)
_busyness = new BusynessPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.BUSYNESS__BUSYNESS_FK1.getInverseKey());
return _busyness;
}
private transient ChildMinorPath _childMinor;
/**
* Get the implicit to-many join path to the
* <code>total_registered.child_minor</code> table
*/
public ChildMinorPath childMinor() {
if (_childMinor == null)
_childMinor = new ChildMinorPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.CHILD_MINOR__CHILD_MINOR_FK1.getInverseKey());
return _childMinor;
}
private transient DriverLicensePath _driverLicense;
/**
* Get the implicit to-many join path to the
* <code>total_registered.driver_license</code> table
*/
public DriverLicensePath driverLicense() {
if (_driverLicense == null)
_driverLicense = new DriverLicensePath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.DRIVER_LICENSE__DRIVER_LICENSE_FK1.getInverseKey());
return _driverLicense;
}
private transient EducationLevelPath _educationLevel;
/**
* Get the implicit to-many join path to the
* <code>total_registered.education_level</code> table
*/
public EducationLevelPath educationLevel() {
if (_educationLevel == null)
_educationLevel = new EducationLevelPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.EDUCATION_LEVEL__EDUCATION_LEVEL_FK1.getInverseKey());
return _educationLevel;
}
private transient MaritalStatusPath _maritalStatus;
/**
* Get the implicit to-many join path to the
* <code>total_registered.marital_status</code> table
*/
public MaritalStatusPath maritalStatus() {
if (_maritalStatus == null)
_maritalStatus = new MaritalStatusPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.MARITAL_STATUS__MARITAL_STATUS_FK1.getInverseKey());
return _maritalStatus;
}
private transient RegMilCatPath _regMilCat;
/**
* Get the implicit to-many join path to the
* <code>total_registered.reg_mil_cat</code> table
*/
public RegMilCatPath regMilCat() {
if (_regMilCat == null)
_regMilCat = new RegMilCatPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.REG_MIL_CAT__REG_MIL_CAT_FK1.getInverseKey());
return _regMilCat;
}
private transient RemovedRegistryPath _removedRegistry;
/**
* Get the implicit to-many join path to the
* <code>total_registered.removed_registry</code> table
*/
public RemovedRegistryPath removedRegistry() {
if (_removedRegistry == null)
_removedRegistry = new RemovedRegistryPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.REMOVED_REGISTRY__REMOVED_REGISTRY_FK1.getInverseKey());
return _removedRegistry;
}
@Override
public PubRecruitment as(String alias) {
return new PubRecruitment(DSL.name(alias), this);
}
@Override
public PubRecruitment as(Name alias) {
return new PubRecruitment(alias, this);
}
@Override
public PubRecruitment as(Table<?> alias) {
return new PubRecruitment(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public PubRecruitment rename(String name) {
return new PubRecruitment(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public PubRecruitment rename(Name name) {
return new PubRecruitment(name, null);
}
/**
* Rename this table
*/
@Override
public PubRecruitment rename(Table<?> name) {
return new PubRecruitment(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment where(Condition condition) {
return new PubRecruitment(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PubRecruitment where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PubRecruitment where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PubRecruitment where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PubRecruitment where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,284 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen.CitizenPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.ReasonRegistrationRecord;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ReasonRegistration extends TableImpl<ReasonRegistrationRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.reason_registration</code>
*/
public static final ReasonRegistration REASON_REGISTRATION = new ReasonRegistration();
/**
* The class holding records for this type
*/
@Override
public Class<ReasonRegistrationRecord> getRecordType() {
return ReasonRegistrationRecord.class;
}
/**
* The column
* <code>public.reason_registration.reason_registration_id</code>.
*/
public final TableField<ReasonRegistrationRecord, Long> REASON_REGISTRATION_ID = createField(DSL.name("reason_registration_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>public.reason_registration.code</code>.
*/
public final TableField<ReasonRegistrationRecord, Integer> CODE = createField(DSL.name("code"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.reason_registration.name</code>.
*/
public final TableField<ReasonRegistrationRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.nullable(false), this, "");
private ReasonRegistration(Name alias, Table<ReasonRegistrationRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ReasonRegistration(Name alias, Table<ReasonRegistrationRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.reason_registration</code> table reference
*/
public ReasonRegistration(String alias) {
this(DSL.name(alias), REASON_REGISTRATION);
}
/**
* Create an aliased <code>public.reason_registration</code> table reference
*/
public ReasonRegistration(Name alias) {
this(alias, REASON_REGISTRATION);
}
/**
* Create a <code>public.reason_registration</code> table reference
*/
public ReasonRegistration() {
this(DSL.name("reason_registration"), null);
}
public <O extends Record> ReasonRegistration(Table<O> path, ForeignKey<O, ReasonRegistrationRecord> childPath, InverseForeignKey<O, ReasonRegistrationRecord> parentPath) {
super(path, childPath, parentPath, REASON_REGISTRATION);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class ReasonRegistrationPath extends ReasonRegistration implements Path<ReasonRegistrationRecord> {
public <O extends Record> ReasonRegistrationPath(Table<O> path, ForeignKey<O, ReasonRegistrationRecord> childPath, InverseForeignKey<O, ReasonRegistrationRecord> parentPath) {
super(path, childPath, parentPath);
}
private ReasonRegistrationPath(Name alias, Table<ReasonRegistrationRecord> aliased) {
super(alias, aliased);
}
@Override
public ReasonRegistrationPath as(String alias) {
return new ReasonRegistrationPath(DSL.name(alias), this);
}
@Override
public ReasonRegistrationPath as(Name alias) {
return new ReasonRegistrationPath(alias, this);
}
@Override
public ReasonRegistrationPath as(Table<?> alias) {
return new ReasonRegistrationPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<ReasonRegistrationRecord, Long> getIdentity() {
return (Identity<ReasonRegistrationRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<ReasonRegistrationRecord> getPrimaryKey() {
return Keys.REASON_REGISTRATION_PKEY;
}
private transient CitizenPath _citizen;
/**
* Get the implicit to-many join path to the <code>public.citizen</code>
* table
*/
public CitizenPath citizen() {
if (_citizen == null)
_citizen = new CitizenPath(this, null, Keys.CITIZEN__P_CITIZEN_FK6.getInverseKey());
return _citizen;
}
@Override
public ReasonRegistration as(String alias) {
return new ReasonRegistration(DSL.name(alias), this);
}
@Override
public ReasonRegistration as(Name alias) {
return new ReasonRegistration(alias, this);
}
@Override
public ReasonRegistration as(Table<?> alias) {
return new ReasonRegistration(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ReasonRegistration rename(String name) {
return new ReasonRegistration(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ReasonRegistration rename(Name name) {
return new ReasonRegistration(name, null);
}
/**
* Rename this table
*/
@Override
public ReasonRegistration rename(Table<?> name) {
return new ReasonRegistration(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonRegistration where(Condition condition) {
return new ReasonRegistration(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonRegistration where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonRegistration where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonRegistration where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReasonRegistration where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReasonRegistration where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReasonRegistration where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReasonRegistration where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonRegistration whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonRegistration whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,281 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.SubpoenaRecord;
import java.sql.Timestamp;
import java.util.Collection;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.Identity;
import org.jooq.Name;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Subpoena extends TableImpl<SubpoenaRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.subpoena</code>
*/
public static final Subpoena SUBPOENA = new Subpoena();
/**
* The class holding records for this type
*/
@Override
public Class<SubpoenaRecord> getRecordType() {
return SubpoenaRecord.class;
}
/**
* The column <code>public.subpoena.subpoena_id</code>.
*/
public final TableField<SubpoenaRecord, Long> SUBPOENA_ID = createField(DSL.name("subpoena_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>public.subpoena.series</code>.
*/
public final TableField<SubpoenaRecord, String> SERIES = createField(DSL.name("series"), SQLDataType.VARCHAR(16), this, "");
/**
* The column <code>public.subpoena.number</code>.
*/
public final TableField<SubpoenaRecord, String> NUMBER = createField(DSL.name("number"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column <code>public.subpoena.id_ern</code>.
*/
public final TableField<SubpoenaRecord, String> ID_ERN = createField(DSL.name("id_ern"), SQLDataType.VARCHAR(36), this, "");
/**
* The column <code>public.subpoena.create_date</code>.
*/
public final TableField<SubpoenaRecord, Timestamp> CREATE_DATE = createField(DSL.name("create_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>public.subpoena.visit_date</code>.
*/
public final TableField<SubpoenaRecord, Timestamp> VISIT_DATE = createField(DSL.name("visit_date"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>public.subpoena.send_date</code>.
*/
public final TableField<SubpoenaRecord, Timestamp> SEND_DATE = createField(DSL.name("send_date"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>public.subpoena.reason_cancelled</code>.
*/
public final TableField<SubpoenaRecord, String> REASON_CANCELLED = createField(DSL.name("reason_cancelled"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>public.subpoena.recruit_id</code>.
*/
public final TableField<SubpoenaRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID, this, "");
/**
* The column <code>public.subpoena.department_id</code>.
*/
public final TableField<SubpoenaRecord, UUID> DEPARTMENT_ID = createField(DSL.name("department_id"), SQLDataType.UUID, this, "");
/**
* The column <code>public.subpoena.subpoena_status</code>.
*/
public final TableField<SubpoenaRecord, String> SUBPOENA_STATUS = createField(DSL.name("subpoena_status"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.subpoena.subpoena_reason</code>.
*/
public final TableField<SubpoenaRecord, String> SUBPOENA_REASON = createField(DSL.name("subpoena_reason"), SQLDataType.CLOB, this, "");
private Subpoena(Name alias, Table<SubpoenaRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Subpoena(Name alias, Table<SubpoenaRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.subpoena</code> table reference
*/
public Subpoena(String alias) {
this(DSL.name(alias), SUBPOENA);
}
/**
* Create an aliased <code>public.subpoena</code> table reference
*/
public Subpoena(Name alias) {
this(alias, SUBPOENA);
}
/**
* Create a <code>public.subpoena</code> table reference
*/
public Subpoena() {
this(DSL.name("subpoena"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<SubpoenaRecord, Long> getIdentity() {
return (Identity<SubpoenaRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<SubpoenaRecord> getPrimaryKey() {
return Keys.SUBPOENA_PKEY;
}
@Override
public Subpoena as(String alias) {
return new Subpoena(DSL.name(alias), this);
}
@Override
public Subpoena as(Name alias) {
return new Subpoena(alias, this);
}
@Override
public Subpoena as(Table<?> alias) {
return new Subpoena(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Subpoena rename(String name) {
return new Subpoena(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Subpoena rename(Name name) {
return new Subpoena(name, null);
}
/**
* Rename this table
*/
@Override
public Subpoena rename(Table<?> name) {
return new Subpoena(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Subpoena where(Condition condition) {
return new Subpoena(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Subpoena where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Subpoena where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Subpoena where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Subpoena where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Subpoena where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Subpoena where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Subpoena where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Subpoena whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Subpoena whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,352 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CitizenRecord extends UpdatableRecordImpl<CitizenRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.citizen.id_ERN</code>.
*/
public void setIdErn(String value) {
set(0, value);
}
/**
* Getter for <code>public.citizen.id_ERN</code>.
*/
public String getIdErn() {
return (String) get(0);
}
/**
* Setter for <code>public.citizen.fio</code>.
*/
public void setFio(String value) {
set(1, value);
}
/**
* Getter for <code>public.citizen.fio</code>.
*/
public String getFio() {
return (String) get(1);
}
/**
* Setter for <code>public.citizen.residence</code>.
*/
public void setResidence(String value) {
set(2, value);
}
/**
* Getter for <code>public.citizen.residence</code>.
*/
public String getResidence() {
return (String) get(2);
}
/**
* Setter for <code>public.citizen.age</code>.
*/
public void setAge(String value) {
set(3, value);
}
/**
* Getter for <code>public.citizen.age</code>.
*/
public String getAge() {
return (String) get(3);
}
/**
* Setter for <code>public.citizen.recruitment</code>.
*/
public void setRecruitment(String value) {
set(4, value);
}
/**
* Getter for <code>public.citizen.recruitment</code>.
*/
public String getRecruitment() {
return (String) get(4);
}
/**
* Setter for <code>public.citizen.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(5, value);
}
/**
* Getter for <code>public.citizen.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(5);
}
/**
* Setter for <code>public.citizen.gender_id</code>.
*/
public void setGenderId(Long value) {
set(6, value);
}
/**
* Getter for <code>public.citizen.gender_id</code>.
*/
public Long getGenderId() {
return (Long) get(6);
}
/**
* Setter for <code>public.citizen.marital_status_id</code>.
*/
public void setMaritalStatusId(Long value) {
set(7, value);
}
/**
* Getter for <code>public.citizen.marital_status_id</code>.
*/
public Long getMaritalStatusId() {
return (Long) get(7);
}
/**
* Setter for <code>public.citizen.education_id</code>.
*/
public void setEducationId(Long value) {
set(8, value);
}
/**
* Getter for <code>public.citizen.education_id</code>.
*/
public Long getEducationId() {
return (Long) get(8);
}
/**
* Setter for <code>public.citizen.employment_id</code>.
*/
public void setEmploymentId(Long value) {
set(9, value);
}
/**
* Getter for <code>public.citizen.employment_id</code>.
*/
public Long getEmploymentId() {
return (Long) get(9);
}
/**
* Setter for <code>public.citizen.urgent_service</code>.
*/
public void setUrgentService(Boolean value) {
set(10, value);
}
/**
* Getter for <code>public.citizen.urgent_service</code>.
*/
public Boolean getUrgentService() {
return (Boolean) get(10);
}
/**
* Setter for <code>public.citizen.contract_service</code>.
*/
public void setContractService(Boolean value) {
set(11, value);
}
/**
* Getter for <code>public.citizen.contract_service</code>.
*/
public Boolean getContractService() {
return (Boolean) get(11);
}
/**
* Setter for <code>public.citizen.mobilization</code>.
*/
public void setMobilization(Boolean value) {
set(12, value);
}
/**
* Getter for <code>public.citizen.mobilization</code>.
*/
public Boolean getMobilization() {
return (Boolean) get(12);
}
/**
* Setter for <code>public.citizen.is_registered</code>.
*/
public void setIsRegistered(Boolean value) {
set(13, value);
}
/**
* Getter for <code>public.citizen.is_registered</code>.
*/
public Boolean getIsRegistered() {
return (Boolean) get(13);
}
/**
* Setter for <code>public.citizen.reason_registration_id</code>.
*/
public void setReasonRegistrationId(Integer value) {
set(14, value);
}
/**
* Getter for <code>public.citizen.reason_registration_id</code>.
*/
public Integer getReasonRegistrationId() {
return (Integer) get(14);
}
/**
* Setter for <code>public.citizen.issue_date</code>.
*/
public void setIssueDate(Date value) {
set(15, value);
}
/**
* Getter for <code>public.citizen.issue_date</code>.
*/
public Date getIssueDate() {
return (Date) get(15);
}
/**
* Setter for <code>public.citizen.passport_series</code>.
*/
public void setPassportSeries(String value) {
set(16, value);
}
/**
* Getter for <code>public.citizen.passport_series</code>.
*/
public String getPassportSeries() {
return (String) get(16);
}
/**
* Setter for <code>public.citizen.passport_number</code>.
*/
public void setPassportNumber(String value) {
set(17, value);
}
/**
* Getter for <code>public.citizen.passport_number</code>.
*/
public String getPassportNumber() {
return (String) get(17);
}
/**
* Setter for <code>public.citizen.number_children</code>.
*/
public void setNumberChildren(Integer value) {
set(18, value);
}
/**
* Getter for <code>public.citizen.number_children</code>.
*/
public Integer getNumberChildren() {
return (Integer) get(18);
}
/**
* Setter for <code>public.citizen.phone</code>.
*/
public void setPhone(String value) {
set(19, value);
}
/**
* Getter for <code>public.citizen.phone</code>.
*/
public String getPhone() {
return (String) get(19);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<String> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached CitizenRecord
*/
public CitizenRecord() {
super(Citizen.CITIZEN);
}
/**
* Create a detached, initialised CitizenRecord
*/
public CitizenRecord(String idErn, String fio, String residence, String age, String recruitment, UUID recruitmentId, Long genderId, Long maritalStatusId, Long educationId, Long employmentId, Boolean urgentService, Boolean contractService, Boolean mobilization, Boolean isRegistered, Integer reasonRegistrationId, Date issueDate, String passportSeries, String passportNumber, Integer numberChildren, String phone) {
super(Citizen.CITIZEN);
setIdErn(idErn);
setFio(fio);
setResidence(residence);
setAge(age);
setRecruitment(recruitment);
setRecruitmentId(recruitmentId);
setGenderId(genderId);
setMaritalStatusId(maritalStatusId);
setEducationId(educationId);
setEmploymentId(employmentId);
setUrgentService(urgentService);
setContractService(contractService);
setMobilization(mobilization);
setIsRegistered(isRegistered);
setReasonRegistrationId(reasonRegistrationId);
setIssueDate(issueDate);
setPassportSeries(passportSeries);
setPassportNumber(passportNumber);
setNumberChildren(numberChildren);
setPhone(phone);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,94 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Education;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class EducationRecord extends UpdatableRecordImpl<EducationRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.education.education_id</code>.
*/
public void setEducationId(Long value) {
set(0, value);
}
/**
* Getter for <code>public.education.education_id</code>.
*/
public Long getEducationId() {
return (Long) get(0);
}
/**
* Setter for <code>public.education.code</code>.
*/
public void setCode(Integer value) {
set(1, value);
}
/**
* Getter for <code>public.education.code</code>.
*/
public Integer getCode() {
return (Integer) get(1);
}
/**
* Setter for <code>public.education.name</code>.
*/
public void setName(String value) {
set(2, value);
}
/**
* Getter for <code>public.education.name</code>.
*/
public String getName() {
return (String) get(2);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached EducationRecord
*/
public EducationRecord() {
super(Education.EDUCATION);
}
/**
* Create a detached, initialised EducationRecord
*/
public EducationRecord(Long educationId, Integer code, String name) {
super(Education.EDUCATION);
setEducationId(educationId);
setCode(code);
setName(name);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,94 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Employment;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class EmploymentRecord extends UpdatableRecordImpl<EmploymentRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.employment.employment_id</code>.
*/
public void setEmploymentId(Long value) {
set(0, value);
}
/**
* Getter for <code>public.employment.employment_id</code>.
*/
public Long getEmploymentId() {
return (Long) get(0);
}
/**
* Setter for <code>public.employment.code</code>.
*/
public void setCode(Integer value) {
set(1, value);
}
/**
* Getter for <code>public.employment.code</code>.
*/
public Integer getCode() {
return (Integer) get(1);
}
/**
* Setter for <code>public.employment.name</code>.
*/
public void setName(String value) {
set(2, value);
}
/**
* Getter for <code>public.employment.name</code>.
*/
public String getName() {
return (String) get(2);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached EmploymentRecord
*/
public EmploymentRecord() {
super(Employment.EMPLOYMENT);
}
/**
* Create a detached, initialised EmploymentRecord
*/
public EmploymentRecord(Long employmentId, Integer code, String name) {
super(Employment.EMPLOYMENT);
setEmploymentId(employmentId);
setCode(code);
setName(name);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,94 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Gender;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class GenderRecord extends UpdatableRecordImpl<GenderRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.gender.gender_id</code>.
*/
public void setGenderId(Long value) {
set(0, value);
}
/**
* Getter for <code>public.gender.gender_id</code>.
*/
public Long getGenderId() {
return (Long) get(0);
}
/**
* Setter for <code>public.gender.code</code>.
*/
public void setCode(String value) {
set(1, value);
}
/**
* Getter for <code>public.gender.code</code>.
*/
public String getCode() {
return (String) get(1);
}
/**
* Setter for <code>public.gender.name</code>.
*/
public void setName(String value) {
set(2, value);
}
/**
* Getter for <code>public.gender.name</code>.
*/
public String getName() {
return (String) get(2);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached GenderRecord
*/
public GenderRecord() {
super(Gender.GENDER);
}
/**
* Create a detached, initialised GenderRecord
*/
public GenderRecord(Long genderId, String code, String name) {
super(Gender.GENDER);
setGenderId(genderId);
setCode(code);
setName(name);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,109 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.MaritalStatus;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class MaritalStatusRecord extends UpdatableRecordImpl<MaritalStatusRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.marital_status.marital_status_id</code>.
*/
public void setMaritalStatusId(Long value) {
set(0, value);
}
/**
* Getter for <code>public.marital_status.marital_status_id</code>.
*/
public Long getMaritalStatusId() {
return (Long) get(0);
}
/**
* Setter for <code>public.marital_status.code</code>.
*/
public void setCode(String value) {
set(1, value);
}
/**
* Getter for <code>public.marital_status.code</code>.
*/
public String getCode() {
return (String) get(1);
}
/**
* Setter for <code>public.marital_status.name</code>.
*/
public void setName(String value) {
set(2, value);
}
/**
* Getter for <code>public.marital_status.name</code>.
*/
public String getName() {
return (String) get(2);
}
/**
* Setter for <code>public.marital_status.gender_id</code>.
*/
public void setGenderId(Long value) {
set(3, value);
}
/**
* Getter for <code>public.marital_status.gender_id</code>.
*/
public Long getGenderId() {
return (Long) get(3);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached MaritalStatusRecord
*/
public MaritalStatusRecord() {
super(MaritalStatus.MARITAL_STATUS);
}
/**
* Create a detached, initialised MaritalStatusRecord
*/
public MaritalStatusRecord(Long maritalStatusId, String code, String name, Long genderId) {
super(MaritalStatus.MARITAL_STATUS);
setMaritalStatusId(maritalStatusId);
setCode(code);
setName(name);
setGenderId(genderId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,577 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import java.sql.Timestamp;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PubRecruitmentRecord extends UpdatableRecordImpl<PubRecruitmentRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.pub_recruitment.id</code>.
*/
public void setId(UUID value) {
set(0, value);
}
/**
* Getter for <code>public.pub_recruitment.id</code>.
*/
public UUID getId() {
return (UUID) get(0);
}
/**
* Setter for <code>public.pub_recruitment.idm_id</code>.
*/
public void setIdmId(String value) {
set(1, value);
}
/**
* Getter for <code>public.pub_recruitment.idm_id</code>.
*/
public String getIdmId() {
return (String) get(1);
}
/**
* Setter for <code>public.pub_recruitment.parent_id</code>.
*/
public void setParentId(String value) {
set(2, value);
}
/**
* Getter for <code>public.pub_recruitment.parent_id</code>.
*/
public String getParentId() {
return (String) get(2);
}
/**
* Setter for <code>public.pub_recruitment.version</code>.
*/
public void setVersion(Integer value) {
set(3, value);
}
/**
* Getter for <code>public.pub_recruitment.version</code>.
*/
public Integer getVersion() {
return (Integer) get(3);
}
/**
* Setter for <code>public.pub_recruitment.created_at</code>.
*/
public void setCreatedAt(Timestamp value) {
set(4, value);
}
/**
* Getter for <code>public.pub_recruitment.created_at</code>.
*/
public Timestamp getCreatedAt() {
return (Timestamp) get(4);
}
/**
* Setter for <code>public.pub_recruitment.updated_at</code>.
*/
public void setUpdatedAt(Timestamp value) {
set(5, value);
}
/**
* Getter for <code>public.pub_recruitment.updated_at</code>.
*/
public Timestamp getUpdatedAt() {
return (Timestamp) get(5);
}
/**
* Setter for <code>public.pub_recruitment.schema</code>.
*/
public void setSchema(String value) {
set(6, value);
}
/**
* Getter for <code>public.pub_recruitment.schema</code>.
*/
public String getSchema() {
return (String) get(6);
}
/**
* Setter for <code>public.pub_recruitment.military_code</code>.
*/
public void setMilitaryCode(String value) {
set(7, value);
}
/**
* Getter for <code>public.pub_recruitment.military_code</code>.
*/
public String getMilitaryCode() {
return (String) get(7);
}
/**
* Setter for <code>public.pub_recruitment.shortname</code>.
*/
public void setShortname(String value) {
set(8, value);
}
/**
* Getter for <code>public.pub_recruitment.shortname</code>.
*/
public String getShortname() {
return (String) get(8);
}
/**
* Setter for <code>public.pub_recruitment.fullname</code>.
*/
public void setFullname(String value) {
set(9, value);
}
/**
* Getter for <code>public.pub_recruitment.fullname</code>.
*/
public String getFullname() {
return (String) get(9);
}
/**
* Setter for <code>public.pub_recruitment.dns</code>.
*/
public void setDns(String value) {
set(10, value);
}
/**
* Getter for <code>public.pub_recruitment.dns</code>.
*/
public String getDns() {
return (String) get(10);
}
/**
* Setter for <code>public.pub_recruitment.email</code>.
*/
public void setEmail(String value) {
set(11, value);
}
/**
* Getter for <code>public.pub_recruitment.email</code>.
*/
public String getEmail() {
return (String) get(11);
}
/**
* Setter for <code>public.pub_recruitment.phone</code>.
*/
public void setPhone(String value) {
set(12, value);
}
/**
* Getter for <code>public.pub_recruitment.phone</code>.
*/
public String getPhone() {
return (String) get(12);
}
/**
* Setter for <code>public.pub_recruitment.address</code>.
*/
public void setAddress(String value) {
set(13, value);
}
/**
* Getter for <code>public.pub_recruitment.address</code>.
*/
public String getAddress() {
return (String) get(13);
}
/**
* Setter for <code>public.pub_recruitment.address_id</code>.
*/
public void setAddressId(String value) {
set(14, value);
}
/**
* Getter for <code>public.pub_recruitment.address_id</code>.
*/
public String getAddressId() {
return (String) get(14);
}
/**
* Setter for <code>public.pub_recruitment.postal_address</code>.
*/
public void setPostalAddress(String value) {
set(15, value);
}
/**
* Getter for <code>public.pub_recruitment.postal_address</code>.
*/
public String getPostalAddress() {
return (String) get(15);
}
/**
* Setter for <code>public.pub_recruitment.postal_address_id</code>.
*/
public void setPostalAddressId(String value) {
set(16, value);
}
/**
* Getter for <code>public.pub_recruitment.postal_address_id</code>.
*/
public String getPostalAddressId() {
return (String) get(16);
}
/**
* Setter for <code>public.pub_recruitment.nsi_department_id</code>.
*/
public void setNsiDepartmentId(String value) {
set(17, value);
}
/**
* Getter for <code>public.pub_recruitment.nsi_department_id</code>.
*/
public String getNsiDepartmentId() {
return (String) get(17);
}
/**
* Setter for <code>public.pub_recruitment.nsi_organization_id</code>.
*/
public void setNsiOrganizationId(String value) {
set(18, value);
}
/**
* Getter for <code>public.pub_recruitment.nsi_organization_id</code>.
*/
public String getNsiOrganizationId() {
return (String) get(18);
}
/**
* Setter for <code>public.pub_recruitment.oktmo</code>.
*/
public void setOktmo(String value) {
set(19, value);
}
/**
* Getter for <code>public.pub_recruitment.oktmo</code>.
*/
public String getOktmo() {
return (String) get(19);
}
/**
* Setter for <code>public.pub_recruitment.org_ogrn</code>.
*/
public void setOrgOgrn(String value) {
set(20, value);
}
/**
* Getter for <code>public.pub_recruitment.org_ogrn</code>.
*/
public String getOrgOgrn() {
return (String) get(20);
}
/**
* Setter for <code>public.pub_recruitment.dep_ogrn</code>.
*/
public void setDepOgrn(String value) {
set(21, value);
}
/**
* Getter for <code>public.pub_recruitment.dep_ogrn</code>.
*/
public String getDepOgrn() {
return (String) get(21);
}
/**
* Setter for <code>public.pub_recruitment.epgu_id</code>.
*/
public void setEpguId(String value) {
set(22, value);
}
/**
* Getter for <code>public.pub_recruitment.epgu_id</code>.
*/
public String getEpguId() {
return (String) get(22);
}
/**
* Setter for <code>public.pub_recruitment.kpp</code>.
*/
public void setKpp(String value) {
set(23, value);
}
/**
* Getter for <code>public.pub_recruitment.kpp</code>.
*/
public String getKpp() {
return (String) get(23);
}
/**
* Setter for <code>public.pub_recruitment.inn</code>.
*/
public void setInn(String value) {
set(24, value);
}
/**
* Getter for <code>public.pub_recruitment.inn</code>.
*/
public String getInn() {
return (String) get(24);
}
/**
* Setter for <code>public.pub_recruitment.okato</code>.
*/
public void setOkato(String value) {
set(25, value);
}
/**
* Getter for <code>public.pub_recruitment.okato</code>.
*/
public String getOkato() {
return (String) get(25);
}
/**
* Setter for <code>public.pub_recruitment.division_type</code>.
*/
public void setDivisionType(String value) {
set(26, value);
}
/**
* Getter for <code>public.pub_recruitment.division_type</code>.
*/
public String getDivisionType() {
return (String) get(26);
}
/**
* Setter for <code>public.pub_recruitment.tns_department_id</code>.
*/
public void setTnsDepartmentId(String value) {
set(27, value);
}
/**
* Getter for <code>public.pub_recruitment.tns_department_id</code>.
*/
public String getTnsDepartmentId() {
return (String) get(27);
}
/**
* Setter for <code>public.pub_recruitment.enabled</code>.
*/
public void setEnabled(Boolean value) {
set(28, value);
}
/**
* Getter for <code>public.pub_recruitment.enabled</code>.
*/
public Boolean getEnabled() {
return (Boolean) get(28);
}
/**
* Setter for <code>public.pub_recruitment.timezone</code>.
*/
public void setTimezone(String value) {
set(29, value);
}
/**
* Getter for <code>public.pub_recruitment.timezone</code>.
*/
public String getTimezone() {
return (String) get(29);
}
/**
* Setter for <code>public.pub_recruitment.reports_enabled</code>.
*/
public void setReportsEnabled(Boolean value) {
set(30, value);
}
/**
* Getter for <code>public.pub_recruitment.reports_enabled</code>.
*/
public Boolean getReportsEnabled() {
return (Boolean) get(30);
}
/**
* Setter for <code>public.pub_recruitment.region_id</code>.
*/
public void setRegionId(String value) {
set(31, value);
}
/**
* Getter for <code>public.pub_recruitment.region_id</code>.
*/
public String getRegionId() {
return (String) get(31);
}
/**
* Setter for <code>public.pub_recruitment.series</code>.
*/
public void setSeries(String value) {
set(32, value);
}
/**
* Getter for <code>public.pub_recruitment.series</code>.
*/
public String getSeries() {
return (String) get(32);
}
/**
* Setter for <code>public.pub_recruitment.hidden</code>.
*/
public void setHidden(Boolean value) {
set(33, value);
}
/**
* Getter for <code>public.pub_recruitment.hidden</code>.
*/
public Boolean getHidden() {
return (Boolean) get(33);
}
/**
* Setter for <code>public.pub_recruitment.sort</code>.
*/
public void setSort(Integer value) {
set(34, value);
}
/**
* Getter for <code>public.pub_recruitment.sort</code>.
*/
public Integer getSort() {
return (Integer) get(34);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<UUID> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached PubRecruitmentRecord
*/
public PubRecruitmentRecord() {
super(PubRecruitment.PUB_RECRUITMENT);
}
/**
* Create a detached, initialised PubRecruitmentRecord
*/
public PubRecruitmentRecord(UUID id, String idmId, String parentId, Integer version, Timestamp createdAt, Timestamp updatedAt, String schema, String militaryCode, String shortname, String fullname, String dns, String email, String phone, String address, String addressId, String postalAddress, String postalAddressId, String nsiDepartmentId, String nsiOrganizationId, String oktmo, String orgOgrn, String depOgrn, String epguId, String kpp, String inn, String okato, String divisionType, String tnsDepartmentId, Boolean enabled, String timezone, Boolean reportsEnabled, String regionId, String series, Boolean hidden, Integer sort) {
super(PubRecruitment.PUB_RECRUITMENT);
setId(id);
setIdmId(idmId);
setParentId(parentId);
setVersion(version);
setCreatedAt(createdAt);
setUpdatedAt(updatedAt);
setSchema(schema);
setMilitaryCode(militaryCode);
setShortname(shortname);
setFullname(fullname);
setDns(dns);
setEmail(email);
setPhone(phone);
setAddress(address);
setAddressId(addressId);
setPostalAddress(postalAddress);
setPostalAddressId(postalAddressId);
setNsiDepartmentId(nsiDepartmentId);
setNsiOrganizationId(nsiOrganizationId);
setOktmo(oktmo);
setOrgOgrn(orgOgrn);
setDepOgrn(depOgrn);
setEpguId(epguId);
setKpp(kpp);
setInn(inn);
setOkato(okato);
setDivisionType(divisionType);
setTnsDepartmentId(tnsDepartmentId);
setEnabled(enabled);
setTimezone(timezone);
setReportsEnabled(reportsEnabled);
setRegionId(regionId);
setSeries(series);
setHidden(hidden);
setSort(sort);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,96 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.ReasonRegistration;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ReasonRegistrationRecord extends UpdatableRecordImpl<ReasonRegistrationRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>public.reason_registration.reason_registration_id</code>.
*/
public void setReasonRegistrationId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>public.reason_registration.reason_registration_id</code>.
*/
public Long getReasonRegistrationId() {
return (Long) get(0);
}
/**
* Setter for <code>public.reason_registration.code</code>.
*/
public void setCode(Integer value) {
set(1, value);
}
/**
* Getter for <code>public.reason_registration.code</code>.
*/
public Integer getCode() {
return (Integer) get(1);
}
/**
* Setter for <code>public.reason_registration.name</code>.
*/
public void setName(String value) {
set(2, value);
}
/**
* Getter for <code>public.reason_registration.name</code>.
*/
public String getName() {
return (String) get(2);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ReasonRegistrationRecord
*/
public ReasonRegistrationRecord() {
super(ReasonRegistration.REASON_REGISTRATION);
}
/**
* Create a detached, initialised ReasonRegistrationRecord
*/
public ReasonRegistrationRecord(Long reasonRegistrationId, Integer code, String name) {
super(ReasonRegistration.REASON_REGISTRATION);
setReasonRegistrationId(reasonRegistrationId);
setCode(code);
setName(name);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,232 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Subpoena;
import java.sql.Timestamp;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class SubpoenaRecord extends UpdatableRecordImpl<SubpoenaRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.subpoena.subpoena_id</code>.
*/
public void setSubpoenaId(Long value) {
set(0, value);
}
/**
* Getter for <code>public.subpoena.subpoena_id</code>.
*/
public Long getSubpoenaId() {
return (Long) get(0);
}
/**
* Setter for <code>public.subpoena.series</code>.
*/
public void setSeries(String value) {
set(1, value);
}
/**
* Getter for <code>public.subpoena.series</code>.
*/
public String getSeries() {
return (String) get(1);
}
/**
* Setter for <code>public.subpoena.number</code>.
*/
public void setNumber(String value) {
set(2, value);
}
/**
* Getter for <code>public.subpoena.number</code>.
*/
public String getNumber() {
return (String) get(2);
}
/**
* Setter for <code>public.subpoena.id_ern</code>.
*/
public void setIdErn(String value) {
set(3, value);
}
/**
* Getter for <code>public.subpoena.id_ern</code>.
*/
public String getIdErn() {
return (String) get(3);
}
/**
* Setter for <code>public.subpoena.create_date</code>.
*/
public void setCreateDate(Timestamp value) {
set(4, value);
}
/**
* Getter for <code>public.subpoena.create_date</code>.
*/
public Timestamp getCreateDate() {
return (Timestamp) get(4);
}
/**
* Setter for <code>public.subpoena.visit_date</code>.
*/
public void setVisitDate(Timestamp value) {
set(5, value);
}
/**
* Getter for <code>public.subpoena.visit_date</code>.
*/
public Timestamp getVisitDate() {
return (Timestamp) get(5);
}
/**
* Setter for <code>public.subpoena.send_date</code>.
*/
public void setSendDate(Timestamp value) {
set(6, value);
}
/**
* Getter for <code>public.subpoena.send_date</code>.
*/
public Timestamp getSendDate() {
return (Timestamp) get(6);
}
/**
* Setter for <code>public.subpoena.reason_cancelled</code>.
*/
public void setReasonCancelled(String value) {
set(7, value);
}
/**
* Getter for <code>public.subpoena.reason_cancelled</code>.
*/
public String getReasonCancelled() {
return (String) get(7);
}
/**
* Setter for <code>public.subpoena.recruit_id</code>.
*/
public void setRecruitId(UUID value) {
set(8, value);
}
/**
* Getter for <code>public.subpoena.recruit_id</code>.
*/
public UUID getRecruitId() {
return (UUID) get(8);
}
/**
* Setter for <code>public.subpoena.department_id</code>.
*/
public void setDepartmentId(UUID value) {
set(9, value);
}
/**
* Getter for <code>public.subpoena.department_id</code>.
*/
public UUID getDepartmentId() {
return (UUID) get(9);
}
/**
* Setter for <code>public.subpoena.subpoena_status</code>.
*/
public void setSubpoenaStatus(String value) {
set(10, value);
}
/**
* Getter for <code>public.subpoena.subpoena_status</code>.
*/
public String getSubpoenaStatus() {
return (String) get(10);
}
/**
* Setter for <code>public.subpoena.subpoena_reason</code>.
*/
public void setSubpoenaReason(String value) {
set(11, value);
}
/**
* Getter for <code>public.subpoena.subpoena_reason</code>.
*/
public String getSubpoenaReason() {
return (String) get(11);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached SubpoenaRecord
*/
public SubpoenaRecord() {
super(Subpoena.SUBPOENA);
}
/**
* Create a detached, initialised SubpoenaRecord
*/
public SubpoenaRecord(Long subpoenaId, String series, String number, String idErn, Timestamp createDate, Timestamp visitDate, Timestamp sendDate, String reasonCancelled, UUID recruitId, UUID departmentId, String subpoenaStatus, String subpoenaReason) {
super(Subpoena.SUBPOENA);
setSubpoenaId(subpoenaId);
setSeries(series);
setNumber(number);
setIdErn(idErn);
setCreateDate(createDate);
setVisitDate(visitDate);
setSendDate(sendDate);
setReasonCancelled(reasonCancelled);
setRecruitId(recruitId);
setDepartmentId(departmentId);
setSubpoenaStatus(subpoenaStatus);
setSubpoenaReason(subpoenaReason);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,50 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ratings;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.AppearSubppoena;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.Recruitment;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.AppearSubppoenaRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.ConsiderationComplaintRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.RecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Region;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.records.RegionRecord;
import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;
/**
* A class modelling foreign key relationships and constraints of tables in
* ratings.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {
// -------------------------------------------------------------------------
// UNIQUE and PRIMARY KEY definitions
// -------------------------------------------------------------------------
public static final UniqueKey<AppearSubppoenaRecord> PK_APPEAR_SUBPPOENA = Internal.createUniqueKey(AppearSubppoena.APPEAR_SUBPPOENA, DSL.name("pk_appear_subppoena"), new TableField[] { AppearSubppoena.APPEAR_SUBPPOENA.ID_APPEAR_SUBPPOENA }, true);
public static final UniqueKey<ConsiderationComplaintRecord> PK_CONSIDERATION_COMPLAINT = Internal.createUniqueKey(ConsiderationComplaint.CONSIDERATION_COMPLAINT, DSL.name("pk_consideration_complaint"), new TableField[] { ConsiderationComplaint.CONSIDERATION_COMPLAINT.ID_CONSIDERATION_COMPLAINT }, true);
public static final UniqueKey<RecruitmentRecord> PK_RECRUITMENT = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("pk_recruitment"), new TableField[] { Recruitment.RECRUITMENT.ID_RECRUITMENT }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
// -------------------------------------------------------------------------
public static final ForeignKey<AppearSubppoenaRecord, PubRecruitmentRecord> APPEAR_SUBPPOENA__APPEAR_SUBPPOENA_FK1 = Internal.createForeignKey(AppearSubppoena.APPEAR_SUBPPOENA, DSL.name("appear_subppoena_fk1"), new TableField[] { AppearSubppoena.APPEAR_SUBPPOENA.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<AppearSubppoenaRecord, RegionRecord> APPEAR_SUBPPOENA__FK_REGION = Internal.createForeignKey(AppearSubppoena.APPEAR_SUBPPOENA, DSL.name("fk_region"), new TableField[] { AppearSubppoena.APPEAR_SUBPPOENA.ID_REGION }, ervu_dashboard.ervu_dashboard.db_beans.space.Keys.PK_REGION, new TableField[] { Region.REGION.ID_REGION }, true);
public static final ForeignKey<ConsiderationComplaintRecord, PubRecruitmentRecord> CONSIDERATION_COMPLAINT__CONSIDERATION_COMPLAINT_FK1 = Internal.createForeignKey(ConsiderationComplaint.CONSIDERATION_COMPLAINT, DSL.name("consideration_complaint_fk1"), new TableField[] { ConsiderationComplaint.CONSIDERATION_COMPLAINT.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<ConsiderationComplaintRecord, RegionRecord> CONSIDERATION_COMPLAINT__FK_REGION = Internal.createForeignKey(ConsiderationComplaint.CONSIDERATION_COMPLAINT, DSL.name("fk_region"), new TableField[] { ConsiderationComplaint.CONSIDERATION_COMPLAINT.ID_REGION }, ervu_dashboard.ervu_dashboard.db_beans.space.Keys.PK_REGION, new TableField[] { Region.REGION.ID_REGION }, true);
public static final ForeignKey<RecruitmentRecord, RegionRecord> RECRUITMENT__FK_REGION = Internal.createForeignKey(Recruitment.RECRUITMENT, DSL.name("fk_region"), new TableField[] { Recruitment.RECRUITMENT.ID_REGION }, ervu_dashboard.ervu_dashboard.db_beans.space.Keys.PK_REGION, new TableField[] { Region.REGION.ID_REGION }, true);
public static final ForeignKey<RecruitmentRecord, PubRecruitmentRecord> RECRUITMENT__R_RECRUITMENT_FK1 = Internal.createForeignKey(Recruitment.RECRUITMENT, DSL.name("r_recruitment_fk1"), new TableField[] { Recruitment.RECRUITMENT.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
}

View file

@ -0,0 +1,69 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ratings;
import ervu_dashboard.ervu_dashboard.db_beans.DefaultCatalog;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.AppearSubppoena;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.Recruitment;
import java.util.Arrays;
import java.util.List;
import org.jooq.Catalog;
import org.jooq.Table;
import org.jooq.impl.SchemaImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Ratings extends SchemaImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ratings</code>
*/
public static final Ratings RATINGS = new Ratings();
/**
* Явка по повестке уровень РФ
*/
public final AppearSubppoena APPEAR_SUBPPOENA = AppearSubppoena.APPEAR_SUBPPOENA;
/**
* Рассмотрение жалоб уровень РФ
*/
public final ConsiderationComplaint CONSIDERATION_COMPLAINT = ConsiderationComplaint.CONSIDERATION_COMPLAINT;
/**
* Призыв уровень РФ
*/
public final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
/**
* No further instances allowed
*/
private Ratings() {
super("ratings", null);
}
@Override
public Catalog getCatalog() {
return DefaultCatalog.DEFAULT_CATALOG;
}
@Override
public final List<Table<?>> getTables() {
return Arrays.asList(
AppearSubppoena.APPEAR_SUBPPOENA,
ConsiderationComplaint.CONSIDERATION_COMPLAINT,
Recruitment.RECRUITMENT
);
}
}

View file

@ -0,0 +1,32 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ratings;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.AppearSubppoena;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.Recruitment;
/**
* Convenience access to all tables in ratings.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Tables {
/**
* Явка по повестке уровень РФ
*/
public static final AppearSubppoena APPEAR_SUBPPOENA = AppearSubppoena.APPEAR_SUBPPOENA;
/**
* Рассмотрение жалоб уровень РФ
*/
public static final ConsiderationComplaint CONSIDERATION_COMPLAINT = ConsiderationComplaint.CONSIDERATION_COMPLAINT;
/**
* Призыв уровень РФ
*/
public static final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
}

View file

@ -0,0 +1,324 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ratings.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.Ratings;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.AppearSubppoenaRecord;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Region.RegionPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* Явка по повестке уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AppearSubppoena extends TableImpl<AppearSubppoenaRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ratings.appear_subppoena</code>
*/
public static final AppearSubppoena APPEAR_SUBPPOENA = new AppearSubppoena();
/**
* The class holding records for this type
*/
@Override
public Class<AppearSubppoenaRecord> getRecordType() {
return AppearSubppoenaRecord.class;
}
/**
* The column <code>ratings.appear_subppoena.id_appear_subppoena</code>.
*/
public final TableField<AppearSubppoenaRecord, Long> ID_APPEAR_SUBPPOENA = createField(DSL.name("id_appear_subppoena"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>ratings.appear_subppoena.id_region</code>.
*/
public final TableField<AppearSubppoenaRecord, Integer> ID_REGION = createField(DSL.name("id_region"), SQLDataType.INTEGER, this, "");
/**
* The column <code>ratings.appear_subppoena.appear_mil_com</code>. Явка в
* военкомат
*/
public final TableField<AppearSubppoenaRecord, BigDecimal> APPEAR_MIL_COM = createField(DSL.name("appear_mil_com"), SQLDataType.NUMERIC, this, "Явка в военкомат");
/**
* The column <code>ratings.appear_subppoena.recording_date</code>. Дата
* записи
*/
public final TableField<AppearSubppoenaRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE, this, "Дата записи");
/**
* The column <code>ratings.appear_subppoena.appear_mil_com_percent</code>.
* Явка в военкомат в процентах
*/
public final TableField<AppearSubppoenaRecord, BigDecimal> APPEAR_MIL_COM_PERCENT = createField(DSL.name("appear_mil_com_percent"), SQLDataType.NUMERIC, this, "Явка в военкомат в процентах");
/**
* The column <code>ratings.appear_subppoena.recruitment_id</code>.
*/
public final TableField<AppearSubppoenaRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
private AppearSubppoena(Name alias, Table<AppearSubppoenaRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private AppearSubppoena(Name alias, Table<AppearSubppoenaRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Явка по повестке уровень РФ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>ratings.appear_subppoena</code> table reference
*/
public AppearSubppoena(String alias) {
this(DSL.name(alias), APPEAR_SUBPPOENA);
}
/**
* Create an aliased <code>ratings.appear_subppoena</code> table reference
*/
public AppearSubppoena(Name alias) {
this(alias, APPEAR_SUBPPOENA);
}
/**
* Create a <code>ratings.appear_subppoena</code> table reference
*/
public AppearSubppoena() {
this(DSL.name("appear_subppoena"), null);
}
public <O extends Record> AppearSubppoena(Table<O> path, ForeignKey<O, AppearSubppoenaRecord> childPath, InverseForeignKey<O, AppearSubppoenaRecord> parentPath) {
super(path, childPath, parentPath, APPEAR_SUBPPOENA);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class AppearSubppoenaPath extends AppearSubppoena implements Path<AppearSubppoenaRecord> {
public <O extends Record> AppearSubppoenaPath(Table<O> path, ForeignKey<O, AppearSubppoenaRecord> childPath, InverseForeignKey<O, AppearSubppoenaRecord> parentPath) {
super(path, childPath, parentPath);
}
private AppearSubppoenaPath(Name alias, Table<AppearSubppoenaRecord> aliased) {
super(alias, aliased);
}
@Override
public AppearSubppoenaPath as(String alias) {
return new AppearSubppoenaPath(DSL.name(alias), this);
}
@Override
public AppearSubppoenaPath as(Name alias) {
return new AppearSubppoenaPath(alias, this);
}
@Override
public AppearSubppoenaPath as(Table<?> alias) {
return new AppearSubppoenaPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Ratings.RATINGS;
}
@Override
public Identity<AppearSubppoenaRecord, Long> getIdentity() {
return (Identity<AppearSubppoenaRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<AppearSubppoenaRecord> getPrimaryKey() {
return Keys.PK_APPEAR_SUBPPOENA;
}
@Override
public List<ForeignKey<AppearSubppoenaRecord, ?>> getReferences() {
return Arrays.asList(Keys.APPEAR_SUBPPOENA__FK_REGION, Keys.APPEAR_SUBPPOENA__APPEAR_SUBPPOENA_FK1);
}
private transient RegionPath _region;
/**
* Get the implicit join path to the <code>space.region</code> table.
*/
public RegionPath region() {
if (_region == null)
_region = new RegionPath(this, Keys.APPEAR_SUBPPOENA__FK_REGION, null);
return _region;
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.APPEAR_SUBPPOENA__APPEAR_SUBPPOENA_FK1, null);
return _pubRecruitment;
}
@Override
public AppearSubppoena as(String alias) {
return new AppearSubppoena(DSL.name(alias), this);
}
@Override
public AppearSubppoena as(Name alias) {
return new AppearSubppoena(alias, this);
}
@Override
public AppearSubppoena as(Table<?> alias) {
return new AppearSubppoena(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public AppearSubppoena rename(String name) {
return new AppearSubppoena(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public AppearSubppoena rename(Name name) {
return new AppearSubppoena(name, null);
}
/**
* Rename this table
*/
@Override
public AppearSubppoena rename(Table<?> name) {
return new AppearSubppoena(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public AppearSubppoena where(Condition condition) {
return new AppearSubppoena(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public AppearSubppoena where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public AppearSubppoena where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public AppearSubppoena where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AppearSubppoena where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AppearSubppoena where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AppearSubppoena where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AppearSubppoena where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public AppearSubppoena whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public AppearSubppoena whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,329 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ratings.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.Ratings;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.ConsiderationComplaintRecord;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Region.RegionPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* Рассмотрение жалоб уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ConsiderationComplaint extends TableImpl<ConsiderationComplaintRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ratings.consideration_complaint</code>
*/
public static final ConsiderationComplaint CONSIDERATION_COMPLAINT = new ConsiderationComplaint();
/**
* The class holding records for this type
*/
@Override
public Class<ConsiderationComplaintRecord> getRecordType() {
return ConsiderationComplaintRecord.class;
}
/**
* The column
* <code>ratings.consideration_complaint.id_consideration_complaint</code>.
*/
public final TableField<ConsiderationComplaintRecord, Long> ID_CONSIDERATION_COMPLAINT = createField(DSL.name("id_consideration_complaint"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>ratings.consideration_complaint.id_region</code>.
*/
public final TableField<ConsiderationComplaintRecord, Integer> ID_REGION = createField(DSL.name("id_region"), SQLDataType.INTEGER, this, "");
/**
* The column
* <code>ratings.consideration_complaint.consideration_complaint</code>.
* Рассмотрение жалоб
*/
public final TableField<ConsiderationComplaintRecord, BigDecimal> CONSIDERATION_COMPLAINT_ = createField(DSL.name("consideration_complaint"), SQLDataType.NUMERIC, this, "Рассмотрение жалоб");
/**
* The column <code>ratings.consideration_complaint.recording_date</code>.
* Дата записи
*/
public final TableField<ConsiderationComplaintRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE, this, "Дата записи");
/**
* The column
* <code>ratings.consideration_complaint.consideration_complaint_percent</code>.
* Рассмотрение жалоб в процентах
*/
public final TableField<ConsiderationComplaintRecord, BigDecimal> CONSIDERATION_COMPLAINT_PERCENT = createField(DSL.name("consideration_complaint_percent"), SQLDataType.NUMERIC, this, "Рассмотрение жалоб в процентах");
/**
* The column <code>ratings.consideration_complaint.recruitment_id</code>.
*/
public final TableField<ConsiderationComplaintRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
private ConsiderationComplaint(Name alias, Table<ConsiderationComplaintRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ConsiderationComplaint(Name alias, Table<ConsiderationComplaintRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Рассмотрение жалоб уровень РФ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>ratings.consideration_complaint</code> table
* reference
*/
public ConsiderationComplaint(String alias) {
this(DSL.name(alias), CONSIDERATION_COMPLAINT);
}
/**
* Create an aliased <code>ratings.consideration_complaint</code> table
* reference
*/
public ConsiderationComplaint(Name alias) {
this(alias, CONSIDERATION_COMPLAINT);
}
/**
* Create a <code>ratings.consideration_complaint</code> table reference
*/
public ConsiderationComplaint() {
this(DSL.name("consideration_complaint"), null);
}
public <O extends Record> ConsiderationComplaint(Table<O> path, ForeignKey<O, ConsiderationComplaintRecord> childPath, InverseForeignKey<O, ConsiderationComplaintRecord> parentPath) {
super(path, childPath, parentPath, CONSIDERATION_COMPLAINT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class ConsiderationComplaintPath extends ConsiderationComplaint implements Path<ConsiderationComplaintRecord> {
public <O extends Record> ConsiderationComplaintPath(Table<O> path, ForeignKey<O, ConsiderationComplaintRecord> childPath, InverseForeignKey<O, ConsiderationComplaintRecord> parentPath) {
super(path, childPath, parentPath);
}
private ConsiderationComplaintPath(Name alias, Table<ConsiderationComplaintRecord> aliased) {
super(alias, aliased);
}
@Override
public ConsiderationComplaintPath as(String alias) {
return new ConsiderationComplaintPath(DSL.name(alias), this);
}
@Override
public ConsiderationComplaintPath as(Name alias) {
return new ConsiderationComplaintPath(alias, this);
}
@Override
public ConsiderationComplaintPath as(Table<?> alias) {
return new ConsiderationComplaintPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Ratings.RATINGS;
}
@Override
public Identity<ConsiderationComplaintRecord, Long> getIdentity() {
return (Identity<ConsiderationComplaintRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<ConsiderationComplaintRecord> getPrimaryKey() {
return Keys.PK_CONSIDERATION_COMPLAINT;
}
@Override
public List<ForeignKey<ConsiderationComplaintRecord, ?>> getReferences() {
return Arrays.asList(Keys.CONSIDERATION_COMPLAINT__FK_REGION, Keys.CONSIDERATION_COMPLAINT__CONSIDERATION_COMPLAINT_FK1);
}
private transient RegionPath _region;
/**
* Get the implicit join path to the <code>space.region</code> table.
*/
public RegionPath region() {
if (_region == null)
_region = new RegionPath(this, Keys.CONSIDERATION_COMPLAINT__FK_REGION, null);
return _region;
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.CONSIDERATION_COMPLAINT__CONSIDERATION_COMPLAINT_FK1, null);
return _pubRecruitment;
}
@Override
public ConsiderationComplaint as(String alias) {
return new ConsiderationComplaint(DSL.name(alias), this);
}
@Override
public ConsiderationComplaint as(Name alias) {
return new ConsiderationComplaint(alias, this);
}
@Override
public ConsiderationComplaint as(Table<?> alias) {
return new ConsiderationComplaint(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ConsiderationComplaint rename(String name) {
return new ConsiderationComplaint(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ConsiderationComplaint rename(Name name) {
return new ConsiderationComplaint(name, null);
}
/**
* Rename this table
*/
@Override
public ConsiderationComplaint rename(Table<?> name) {
return new ConsiderationComplaint(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ConsiderationComplaint where(Condition condition) {
return new ConsiderationComplaint(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ConsiderationComplaint where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ConsiderationComplaint where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ConsiderationComplaint where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ConsiderationComplaint where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ConsiderationComplaint where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ConsiderationComplaint where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ConsiderationComplaint where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ConsiderationComplaint whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ConsiderationComplaint whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,328 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ratings.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.Ratings;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.RecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Region.RegionPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* Призыв уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Recruitment extends TableImpl<RecruitmentRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ratings.recruitment</code>
*/
public static final Recruitment RECRUITMENT = new Recruitment();
/**
* The class holding records for this type
*/
@Override
public Class<RecruitmentRecord> getRecordType() {
return RecruitmentRecord.class;
}
/**
* The column <code>ratings.recruitment.id_recruitment</code>.
*/
public final TableField<RecruitmentRecord, Long> ID_RECRUITMENT = createField(DSL.name("id_recruitment"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>ratings.recruitment.id_region</code>.
*/
public final TableField<RecruitmentRecord, Integer> ID_REGION = createField(DSL.name("id_region"), SQLDataType.INTEGER, this, "");
/**
* The column <code>ratings.recruitment.execution</code>. Исполнение плана
* призыва
*/
public final TableField<RecruitmentRecord, BigDecimal> EXECUTION = createField(DSL.name("execution"), SQLDataType.NUMERIC, this, "Исполнение плана призыва");
/**
* The column <code>ratings.recruitment.spring_autumn</code>. Осень/весна
*/
public final TableField<RecruitmentRecord, String> SPRING_AUTUMN = createField(DSL.name("spring_autumn"), SQLDataType.CLOB, this, "Осень/весна");
/**
* The column <code>ratings.recruitment.recording_date</code>. Дата записи
*/
public final TableField<RecruitmentRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE, this, "Дата записи");
/**
* The column <code>ratings.recruitment.execution_percent</code>. Исолнение
* плана призыва в процентах
*/
public final TableField<RecruitmentRecord, BigDecimal> EXECUTION_PERCENT = createField(DSL.name("execution_percent"), SQLDataType.NUMERIC, this, "Исолнение плана призыва в процентах");
/**
* The column <code>ratings.recruitment.recruitment_id</code>.
*/
public final TableField<RecruitmentRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
private Recruitment(Name alias, Table<RecruitmentRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Recruitment(Name alias, Table<RecruitmentRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Призыв уровень РФ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>ratings.recruitment</code> table reference
*/
public Recruitment(String alias) {
this(DSL.name(alias), RECRUITMENT);
}
/**
* Create an aliased <code>ratings.recruitment</code> table reference
*/
public Recruitment(Name alias) {
this(alias, RECRUITMENT);
}
/**
* Create a <code>ratings.recruitment</code> table reference
*/
public Recruitment() {
this(DSL.name("recruitment"), null);
}
public <O extends Record> Recruitment(Table<O> path, ForeignKey<O, RecruitmentRecord> childPath, InverseForeignKey<O, RecruitmentRecord> parentPath) {
super(path, childPath, parentPath, RECRUITMENT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class RecruitmentPath extends Recruitment implements Path<RecruitmentRecord> {
public <O extends Record> RecruitmentPath(Table<O> path, ForeignKey<O, RecruitmentRecord> childPath, InverseForeignKey<O, RecruitmentRecord> parentPath) {
super(path, childPath, parentPath);
}
private RecruitmentPath(Name alias, Table<RecruitmentRecord> aliased) {
super(alias, aliased);
}
@Override
public RecruitmentPath as(String alias) {
return new RecruitmentPath(DSL.name(alias), this);
}
@Override
public RecruitmentPath as(Name alias) {
return new RecruitmentPath(alias, this);
}
@Override
public RecruitmentPath as(Table<?> alias) {
return new RecruitmentPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Ratings.RATINGS;
}
@Override
public Identity<RecruitmentRecord, Long> getIdentity() {
return (Identity<RecruitmentRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<RecruitmentRecord> getPrimaryKey() {
return Keys.PK_RECRUITMENT;
}
@Override
public List<ForeignKey<RecruitmentRecord, ?>> getReferences() {
return Arrays.asList(Keys.RECRUITMENT__FK_REGION, Keys.RECRUITMENT__R_RECRUITMENT_FK1);
}
private transient RegionPath _region;
/**
* Get the implicit join path to the <code>space.region</code> table.
*/
public RegionPath region() {
if (_region == null)
_region = new RegionPath(this, Keys.RECRUITMENT__FK_REGION, null);
return _region;
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.RECRUITMENT__R_RECRUITMENT_FK1, null);
return _pubRecruitment;
}
@Override
public Recruitment as(String alias) {
return new Recruitment(DSL.name(alias), this);
}
@Override
public Recruitment as(Name alias) {
return new Recruitment(alias, this);
}
@Override
public Recruitment as(Table<?> alias) {
return new Recruitment(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Recruitment rename(String name) {
return new Recruitment(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Recruitment rename(Name name) {
return new Recruitment(name, null);
}
/**
* Rename this table
*/
@Override
public Recruitment rename(Table<?> name) {
return new Recruitment(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Recruitment where(Condition condition) {
return new Recruitment(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Recruitment where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Recruitment where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Recruitment where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Recruitment where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Recruitment where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Recruitment where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Recruitment where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Recruitment whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Recruitment whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,149 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.AppearSubppoena;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* Явка по повестке уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AppearSubppoenaRecord extends UpdatableRecordImpl<AppearSubppoenaRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>ratings.appear_subppoena.id_appear_subppoena</code>.
*/
public void setIdAppearSubppoena(Long value) {
set(0, value);
}
/**
* Getter for <code>ratings.appear_subppoena.id_appear_subppoena</code>.
*/
public Long getIdAppearSubppoena() {
return (Long) get(0);
}
/**
* Setter for <code>ratings.appear_subppoena.id_region</code>.
*/
public void setIdRegion(Integer value) {
set(1, value);
}
/**
* Getter for <code>ratings.appear_subppoena.id_region</code>.
*/
public Integer getIdRegion() {
return (Integer) get(1);
}
/**
* Setter for <code>ratings.appear_subppoena.appear_mil_com</code>. Явка в
* военкомат
*/
public void setAppearMilCom(BigDecimal value) {
set(2, value);
}
/**
* Getter for <code>ratings.appear_subppoena.appear_mil_com</code>. Явка в
* военкомат
*/
public BigDecimal getAppearMilCom() {
return (BigDecimal) get(2);
}
/**
* Setter for <code>ratings.appear_subppoena.recording_date</code>. Дата
* записи
*/
public void setRecordingDate(Date value) {
set(3, value);
}
/**
* Getter for <code>ratings.appear_subppoena.recording_date</code>. Дата
* записи
*/
public Date getRecordingDate() {
return (Date) get(3);
}
/**
* Setter for <code>ratings.appear_subppoena.appear_mil_com_percent</code>.
* Явка в военкомат в процентах
*/
public void setAppearMilComPercent(BigDecimal value) {
set(4, value);
}
/**
* Getter for <code>ratings.appear_subppoena.appear_mil_com_percent</code>.
* Явка в военкомат в процентах
*/
public BigDecimal getAppearMilComPercent() {
return (BigDecimal) get(4);
}
/**
* Setter for <code>ratings.appear_subppoena.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(5, value);
}
/**
* Getter for <code>ratings.appear_subppoena.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(5);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached AppearSubppoenaRecord
*/
public AppearSubppoenaRecord() {
super(AppearSubppoena.APPEAR_SUBPPOENA);
}
/**
* Create a detached, initialised AppearSubppoenaRecord
*/
public AppearSubppoenaRecord(Long idAppearSubppoena, Integer idRegion, BigDecimal appearMilCom, Date recordingDate, BigDecimal appearMilComPercent, UUID recruitmentId) {
super(AppearSubppoena.APPEAR_SUBPPOENA);
setIdAppearSubppoena(idAppearSubppoena);
setIdRegion(idRegion);
setAppearMilCom(appearMilCom);
setRecordingDate(recordingDate);
setAppearMilComPercent(appearMilComPercent);
setRecruitmentId(recruitmentId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,155 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* Рассмотрение жалоб уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ConsiderationComplaintRecord extends UpdatableRecordImpl<ConsiderationComplaintRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>ratings.consideration_complaint.id_consideration_complaint</code>.
*/
public void setIdConsiderationComplaint(Long value) {
set(0, value);
}
/**
* Getter for
* <code>ratings.consideration_complaint.id_consideration_complaint</code>.
*/
public Long getIdConsiderationComplaint() {
return (Long) get(0);
}
/**
* Setter for <code>ratings.consideration_complaint.id_region</code>.
*/
public void setIdRegion(Integer value) {
set(1, value);
}
/**
* Getter for <code>ratings.consideration_complaint.id_region</code>.
*/
public Integer getIdRegion() {
return (Integer) get(1);
}
/**
* Setter for
* <code>ratings.consideration_complaint.consideration_complaint</code>.
* Рассмотрение жалоб
*/
public void setConsiderationComplaint(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>ratings.consideration_complaint.consideration_complaint</code>.
* Рассмотрение жалоб
*/
public BigDecimal getConsiderationComplaint() {
return (BigDecimal) get(2);
}
/**
* Setter for <code>ratings.consideration_complaint.recording_date</code>.
* Дата записи
*/
public void setRecordingDate(Date value) {
set(3, value);
}
/**
* Getter for <code>ratings.consideration_complaint.recording_date</code>.
* Дата записи
*/
public Date getRecordingDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>ratings.consideration_complaint.consideration_complaint_percent</code>.
* Рассмотрение жалоб в процентах
*/
public void setConsiderationComplaintPercent(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>ratings.consideration_complaint.consideration_complaint_percent</code>.
* Рассмотрение жалоб в процентах
*/
public BigDecimal getConsiderationComplaintPercent() {
return (BigDecimal) get(4);
}
/**
* Setter for <code>ratings.consideration_complaint.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(5, value);
}
/**
* Getter for <code>ratings.consideration_complaint.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(5);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ConsiderationComplaintRecord
*/
public ConsiderationComplaintRecord() {
super(ConsiderationComplaint.CONSIDERATION_COMPLAINT);
}
/**
* Create a detached, initialised ConsiderationComplaintRecord
*/
public ConsiderationComplaintRecord(Long idConsiderationComplaint, Integer idRegion, BigDecimal considerationComplaint, Date recordingDate, BigDecimal considerationComplaintPercent, UUID recruitmentId) {
super(ConsiderationComplaint.CONSIDERATION_COMPLAINT);
setIdConsiderationComplaint(idConsiderationComplaint);
setIdRegion(idRegion);
setConsiderationComplaint(considerationComplaint);
setRecordingDate(recordingDate);
setConsiderationComplaintPercent(considerationComplaintPercent);
setRecruitmentId(recruitmentId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,162 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.Recruitment;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* Призыв уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RecruitmentRecord extends UpdatableRecordImpl<RecruitmentRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>ratings.recruitment.id_recruitment</code>.
*/
public void setIdRecruitment(Long value) {
set(0, value);
}
/**
* Getter for <code>ratings.recruitment.id_recruitment</code>.
*/
public Long getIdRecruitment() {
return (Long) get(0);
}
/**
* Setter for <code>ratings.recruitment.id_region</code>.
*/
public void setIdRegion(Integer value) {
set(1, value);
}
/**
* Getter for <code>ratings.recruitment.id_region</code>.
*/
public Integer getIdRegion() {
return (Integer) get(1);
}
/**
* Setter for <code>ratings.recruitment.execution</code>. Исполнение плана
* призыва
*/
public void setExecution(BigDecimal value) {
set(2, value);
}
/**
* Getter for <code>ratings.recruitment.execution</code>. Исполнение плана
* призыва
*/
public BigDecimal getExecution() {
return (BigDecimal) get(2);
}
/**
* Setter for <code>ratings.recruitment.spring_autumn</code>. Осень/весна
*/
public void setSpringAutumn(String value) {
set(3, value);
}
/**
* Getter for <code>ratings.recruitment.spring_autumn</code>. Осень/весна
*/
public String getSpringAutumn() {
return (String) get(3);
}
/**
* Setter for <code>ratings.recruitment.recording_date</code>. Дата записи
*/
public void setRecordingDate(Date value) {
set(4, value);
}
/**
* Getter for <code>ratings.recruitment.recording_date</code>. Дата записи
*/
public Date getRecordingDate() {
return (Date) get(4);
}
/**
* Setter for <code>ratings.recruitment.execution_percent</code>. Исолнение
* плана призыва в процентах
*/
public void setExecutionPercent(BigDecimal value) {
set(5, value);
}
/**
* Getter for <code>ratings.recruitment.execution_percent</code>. Исолнение
* плана призыва в процентах
*/
public BigDecimal getExecutionPercent() {
return (BigDecimal) get(5);
}
/**
* Setter for <code>ratings.recruitment.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(6, value);
}
/**
* Getter for <code>ratings.recruitment.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(6);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached RecruitmentRecord
*/
public RecruitmentRecord() {
super(Recruitment.RECRUITMENT);
}
/**
* Create a detached, initialised RecruitmentRecord
*/
public RecruitmentRecord(Long idRecruitment, Integer idRegion, BigDecimal execution, String springAutumn, Date recordingDate, BigDecimal executionPercent, UUID recruitmentId) {
super(Recruitment.RECRUITMENT);
setIdRecruitment(idRecruitment);
setIdRegion(idRegion);
setExecution(execution);
setSpringAutumn(springAutumn);
setRecordingDate(recordingDate);
setExecutionPercent(executionPercent);
setRecruitmentId(recruitmentId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,45 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Recruitment;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Subpoenas;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.records.AppealsRecord;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.records.RecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.records.SubpoenasRecord;
import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;
/**
* A class modelling foreign key relationships and constraints of tables in
* recruitment_campaign.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {
// -------------------------------------------------------------------------
// UNIQUE and PRIMARY KEY definitions
// -------------------------------------------------------------------------
public static final UniqueKey<AppealsRecord> PK_APPEAL = Internal.createUniqueKey(Appeals.APPEALS, DSL.name("pk_appeal"), new TableField[] { Appeals.APPEALS.ID_APPEAL }, true);
public static final UniqueKey<RecruitmentRecord> PK_RECRUITMENT = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("pk_recruitment"), new TableField[] { Recruitment.RECRUITMENT.ID_RECRUITMENT }, true);
public static final UniqueKey<SubpoenasRecord> PK_SUBPOENA = Internal.createUniqueKey(Subpoenas.SUBPOENAS, DSL.name("pk_subpoena"), new TableField[] { Subpoenas.SUBPOENAS.ID_SUBPOENA }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
// -------------------------------------------------------------------------
public static final ForeignKey<AppealsRecord, PubRecruitmentRecord> APPEALS__RC_APPEALS_FK1 = Internal.createForeignKey(Appeals.APPEALS, DSL.name("rc_appeals_fk1"), new TableField[] { Appeals.APPEALS.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<RecruitmentRecord, PubRecruitmentRecord> RECRUITMENT__RC_RECRUITMENT_FK1 = Internal.createForeignKey(Recruitment.RECRUITMENT, DSL.name("rc_recruitment_fk1"), new TableField[] { Recruitment.RECRUITMENT.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<SubpoenasRecord, PubRecruitmentRecord> SUBPOENAS__SUBPOENAS_FK1 = Internal.createForeignKey(Subpoenas.SUBPOENAS, DSL.name("subpoenas_fk1"), new TableField[] { Subpoenas.SUBPOENAS.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
}

View file

@ -0,0 +1,69 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign;
import ervu_dashboard.ervu_dashboard.db_beans.DefaultCatalog;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Recruitment;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Subpoenas;
import java.util.Arrays;
import java.util.List;
import org.jooq.Catalog;
import org.jooq.Table;
import org.jooq.impl.SchemaImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RecruitmentCampaign extends SchemaImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>recruitment_campaign</code>
*/
public static final RecruitmentCampaign RECRUITMENT_CAMPAIGN = new RecruitmentCampaign();
/**
* The table <code>recruitment_campaign.appeals</code>.
*/
public final Appeals APPEALS = Appeals.APPEALS;
/**
* The table <code>recruitment_campaign.recruitment</code>.
*/
public final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
/**
* Повестки уровень РФ
*/
public final Subpoenas SUBPOENAS = Subpoenas.SUBPOENAS;
/**
* No further instances allowed
*/
private RecruitmentCampaign() {
super("recruitment_campaign", null);
}
@Override
public Catalog getCatalog() {
return DefaultCatalog.DEFAULT_CATALOG;
}
@Override
public final List<Table<?>> getTables() {
return Arrays.asList(
Appeals.APPEALS,
Recruitment.RECRUITMENT,
Subpoenas.SUBPOENAS
);
}
}

View file

@ -0,0 +1,32 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Recruitment;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Subpoenas;
/**
* Convenience access to all tables in recruitment_campaign.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Tables {
/**
* The table <code>recruitment_campaign.appeals</code>.
*/
public static final Appeals APPEALS = Appeals.APPEALS;
/**
* The table <code>recruitment_campaign.recruitment</code>.
*/
public static final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
/**
* Повестки уровень РФ
*/
public static final Subpoenas SUBPOENAS = Subpoenas.SUBPOENAS;
}

View file

@ -0,0 +1,345 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.RecruitmentCampaign;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.records.AppealsRecord;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Appeals extends TableImpl<AppealsRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>recruitment_campaign.appeals</code>
*/
public static final Appeals APPEALS = new Appeals();
/**
* The class holding records for this type
*/
@Override
public Class<AppealsRecord> getRecordType() {
return AppealsRecord.class;
}
/**
* The column <code>recruitment_campaign.appeals.id_appeal</code>.
*/
public final TableField<AppealsRecord, Long> ID_APPEAL = createField(DSL.name("id_appeal"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>recruitment_campaign.appeals.total_appeal</code>.
* Получено жалоб
*/
public final TableField<AppealsRecord, BigDecimal> TOTAL_APPEAL = createField(DSL.name("total_appeal"), SQLDataType.NUMERIC, this, "Получено жалоб");
/**
* The column <code>recruitment_campaign.appeals.resolved</code>. Решено
*/
public final TableField<AppealsRecord, BigDecimal> RESOLVED = createField(DSL.name("resolved"), SQLDataType.NUMERIC, this, "Решено");
/**
* The column <code>recruitment_campaign.appeals.not_resolved</code>. Не
* решено
*/
public final TableField<AppealsRecord, BigDecimal> NOT_RESOLVED = createField(DSL.name("not_resolved"), SQLDataType.NUMERIC, this, "Не решено");
/**
* The column
* <code>recruitment_campaign.appeals.average_consideration</code>. Время
* решения
*/
public final TableField<AppealsRecord, BigDecimal> AVERAGE_CONSIDERATION = createField(DSL.name("average_consideration"), SQLDataType.NUMERIC, this, "Время решения");
/**
* The column <code>recruitment_campaign.appeals.average_rating</code>.
* Оценка удовлетворенности
*/
public final TableField<AppealsRecord, BigDecimal> AVERAGE_RATING = createField(DSL.name("average_rating"), SQLDataType.NUMERIC, this, "Оценка удовлетворенности");
/**
* The column <code>recruitment_campaign.appeals.spring_autumn</code>.
* Весна/Осень
*/
public final TableField<AppealsRecord, String> SPRING_AUTUMN = createField(DSL.name("spring_autumn"), SQLDataType.CLOB, this, "Весна/Осень");
/**
* The column <code>recruitment_campaign.appeals.recording_date</code>. Дата
* записи
*/
public final TableField<AppealsRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column <code>recruitment_campaign.appeals.resolved_percent</code>.
* Процент решенных
*/
public final TableField<AppealsRecord, BigDecimal> RESOLVED_PERCENT = createField(DSL.name("resolved_percent"), SQLDataType.NUMERIC, this, "Процент решенных");
/**
* The column
* <code>recruitment_campaign.appeals.not_resolved_percent</code>. Процент
* не решенных
*/
public final TableField<AppealsRecord, BigDecimal> NOT_RESOLVED_PERCENT = createField(DSL.name("not_resolved_percent"), SQLDataType.NUMERIC, this, "Процент не решенных");
/**
* The column <code>recruitment_campaign.appeals.recruitment_id</code>.
*/
public final TableField<AppealsRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
private Appeals(Name alias, Table<AppealsRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Appeals(Name alias, Table<AppealsRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>recruitment_campaign.appeals</code> table
* reference
*/
public Appeals(String alias) {
this(DSL.name(alias), APPEALS);
}
/**
* Create an aliased <code>recruitment_campaign.appeals</code> table
* reference
*/
public Appeals(Name alias) {
this(alias, APPEALS);
}
/**
* Create a <code>recruitment_campaign.appeals</code> table reference
*/
public Appeals() {
this(DSL.name("appeals"), null);
}
public <O extends Record> Appeals(Table<O> path, ForeignKey<O, AppealsRecord> childPath, InverseForeignKey<O, AppealsRecord> parentPath) {
super(path, childPath, parentPath, APPEALS);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class AppealsPath extends Appeals implements Path<AppealsRecord> {
public <O extends Record> AppealsPath(Table<O> path, ForeignKey<O, AppealsRecord> childPath, InverseForeignKey<O, AppealsRecord> parentPath) {
super(path, childPath, parentPath);
}
private AppealsPath(Name alias, Table<AppealsRecord> aliased) {
super(alias, aliased);
}
@Override
public AppealsPath as(String alias) {
return new AppealsPath(DSL.name(alias), this);
}
@Override
public AppealsPath as(Name alias) {
return new AppealsPath(alias, this);
}
@Override
public AppealsPath as(Table<?> alias) {
return new AppealsPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : RecruitmentCampaign.RECRUITMENT_CAMPAIGN;
}
@Override
public Identity<AppealsRecord, Long> getIdentity() {
return (Identity<AppealsRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<AppealsRecord> getPrimaryKey() {
return Keys.PK_APPEAL;
}
@Override
public List<ForeignKey<AppealsRecord, ?>> getReferences() {
return Arrays.asList(Keys.APPEALS__RC_APPEALS_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.APPEALS__RC_APPEALS_FK1, null);
return _pubRecruitment;
}
@Override
public Appeals as(String alias) {
return new Appeals(DSL.name(alias), this);
}
@Override
public Appeals as(Name alias) {
return new Appeals(alias, this);
}
@Override
public Appeals as(Table<?> alias) {
return new Appeals(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Appeals rename(String name) {
return new Appeals(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Appeals rename(Name name) {
return new Appeals(name, null);
}
/**
* Rename this table
*/
@Override
public Appeals rename(Table<?> name) {
return new Appeals(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Appeals where(Condition condition) {
return new Appeals(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Appeals where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Appeals where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Appeals where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Appeals where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Appeals where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Appeals where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Appeals where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Appeals whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Appeals whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,337 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.RecruitmentCampaign;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.records.RecruitmentRecord;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Recruitment extends TableImpl<RecruitmentRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>recruitment_campaign.recruitment</code>
*/
public static final Recruitment RECRUITMENT = new Recruitment();
/**
* The class holding records for this type
*/
@Override
public Class<RecruitmentRecord> getRecordType() {
return RecruitmentRecord.class;
}
/**
* The column <code>recruitment_campaign.recruitment.id_recruitment</code>.
*/
public final TableField<RecruitmentRecord, Long> ID_RECRUITMENT = createField(DSL.name("id_recruitment"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>recruitment_campaign.recruitment.suitable_recruit</code>. Подходят
* под призыв
*/
public final TableField<RecruitmentRecord, BigDecimal> SUITABLE_RECRUIT = createField(DSL.name("suitable_recruit"), SQLDataType.NUMERIC, this, "Подходят под призыв");
/**
* The column
* <code>recruitment_campaign.recruitment.postponement_have_right</code>.
* Имеют право на отсрочку
*/
public final TableField<RecruitmentRecord, BigDecimal> POSTPONEMENT_HAVE_RIGHT = createField(DSL.name("postponement_have_right"), SQLDataType.NUMERIC, this, "Имеют право на отсрочку");
/**
* The column
* <code>recruitment_campaign.recruitment.postponement_granted</code>.
* Предоставлена отсрочка
*/
public final TableField<RecruitmentRecord, BigDecimal> POSTPONEMENT_GRANTED = createField(DSL.name("postponement_granted"), SQLDataType.NUMERIC, this, "Предоставлена отсрочка");
/**
* The column <code>recruitment_campaign.recruitment.spring_autumn</code>.
* Осень/Весна
*/
public final TableField<RecruitmentRecord, String> SPRING_AUTUMN = createField(DSL.name("spring_autumn"), SQLDataType.CLOB, this, "Осень/Весна");
/**
* The column <code>recruitment_campaign.recruitment.recording_date</code>.
* Дата записи
*/
public final TableField<RecruitmentRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column
* <code>recruitment_campaign.recruitment.postponement_have_right_percent</code>.
* Процент имеющих право на отсрочку
*/
public final TableField<RecruitmentRecord, BigDecimal> POSTPONEMENT_HAVE_RIGHT_PERCENT = createField(DSL.name("postponement_have_right_percent"), SQLDataType.NUMERIC, this, "Процент имеющих право на отсрочку");
/**
* The column
* <code>recruitment_campaign.recruitment.postponement_granted_percent</code>.
* Процент предоставленных отсрочек
*/
public final TableField<RecruitmentRecord, BigDecimal> POSTPONEMENT_GRANTED_PERCENT = createField(DSL.name("postponement_granted_percent"), SQLDataType.NUMERIC, this, "Процент предоставленных отсрочек");
/**
* The column <code>recruitment_campaign.recruitment.recruitment_id</code>.
*/
public final TableField<RecruitmentRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
private Recruitment(Name alias, Table<RecruitmentRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Recruitment(Name alias, Table<RecruitmentRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>recruitment_campaign.recruitment</code> table
* reference
*/
public Recruitment(String alias) {
this(DSL.name(alias), RECRUITMENT);
}
/**
* Create an aliased <code>recruitment_campaign.recruitment</code> table
* reference
*/
public Recruitment(Name alias) {
this(alias, RECRUITMENT);
}
/**
* Create a <code>recruitment_campaign.recruitment</code> table reference
*/
public Recruitment() {
this(DSL.name("recruitment"), null);
}
public <O extends Record> Recruitment(Table<O> path, ForeignKey<O, RecruitmentRecord> childPath, InverseForeignKey<O, RecruitmentRecord> parentPath) {
super(path, childPath, parentPath, RECRUITMENT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class RecruitmentPath extends Recruitment implements Path<RecruitmentRecord> {
public <O extends Record> RecruitmentPath(Table<O> path, ForeignKey<O, RecruitmentRecord> childPath, InverseForeignKey<O, RecruitmentRecord> parentPath) {
super(path, childPath, parentPath);
}
private RecruitmentPath(Name alias, Table<RecruitmentRecord> aliased) {
super(alias, aliased);
}
@Override
public RecruitmentPath as(String alias) {
return new RecruitmentPath(DSL.name(alias), this);
}
@Override
public RecruitmentPath as(Name alias) {
return new RecruitmentPath(alias, this);
}
@Override
public RecruitmentPath as(Table<?> alias) {
return new RecruitmentPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : RecruitmentCampaign.RECRUITMENT_CAMPAIGN;
}
@Override
public Identity<RecruitmentRecord, Long> getIdentity() {
return (Identity<RecruitmentRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<RecruitmentRecord> getPrimaryKey() {
return Keys.PK_RECRUITMENT;
}
@Override
public List<ForeignKey<RecruitmentRecord, ?>> getReferences() {
return Arrays.asList(Keys.RECRUITMENT__RC_RECRUITMENT_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.RECRUITMENT__RC_RECRUITMENT_FK1, null);
return _pubRecruitment;
}
@Override
public Recruitment as(String alias) {
return new Recruitment(DSL.name(alias), this);
}
@Override
public Recruitment as(Name alias) {
return new Recruitment(alias, this);
}
@Override
public Recruitment as(Table<?> alias) {
return new Recruitment(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Recruitment rename(String name) {
return new Recruitment(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Recruitment rename(Name name) {
return new Recruitment(name, null);
}
/**
* Rename this table
*/
@Override
public Recruitment rename(Table<?> name) {
return new Recruitment(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Recruitment where(Condition condition) {
return new Recruitment(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Recruitment where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Recruitment where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Recruitment where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Recruitment where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Recruitment where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Recruitment where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Recruitment where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Recruitment whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Recruitment whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,403 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.RecruitmentCampaign;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.records.SubpoenasRecord;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* Повестки уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Subpoenas extends TableImpl<SubpoenasRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>recruitment_campaign.subpoenas</code>
*/
public static final Subpoenas SUBPOENAS = new Subpoenas();
/**
* The class holding records for this type
*/
@Override
public Class<SubpoenasRecord> getRecordType() {
return SubpoenasRecord.class;
}
/**
* The column <code>recruitment_campaign.subpoenas.id_subpoena</code>.
*/
public final TableField<SubpoenasRecord, Long> ID_SUBPOENA = createField(DSL.name("id_subpoena"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>recruitment_campaign.subpoenas.subpoena</code>.
* Направлено повесток
*/
public final TableField<SubpoenasRecord, BigDecimal> SUBPOENA = createField(DSL.name("subpoena"), SQLDataType.NUMERIC, this, "Направлено повесток");
/**
* The column <code>recruitment_campaign.subpoenas.appeared</code>. Явились
*/
public final TableField<SubpoenasRecord, BigDecimal> APPEARED = createField(DSL.name("appeared"), SQLDataType.NUMERIC, this, "Явились");
/**
* The column <code>recruitment_campaign.subpoenas.not_appeared</code>. Не
* явились
*/
public final TableField<SubpoenasRecord, BigDecimal> NOT_APPEARED = createField(DSL.name("not_appeared"), SQLDataType.NUMERIC, this, "Не явились");
/**
* The column
* <code>recruitment_campaign.subpoenas.not_ap_good_reason</code>. Не
* явились по уважительной причине
*/
public final TableField<SubpoenasRecord, BigDecimal> NOT_AP_GOOD_REASON = createField(DSL.name("not_ap_good_reason"), SQLDataType.NUMERIC, this, "Не явились по уважительной причине");
/**
* The column <code>recruitment_campaign.subpoenas.ap_not_required</code>.
* Явка не требуется
*/
public final TableField<SubpoenasRecord, BigDecimal> AP_NOT_REQUIRED = createField(DSL.name("ap_not_required"), SQLDataType.NUMERIC, this, "Явка не требуется");
/**
* The column
* <code>recruitment_campaign.subpoenas.restrictions_applied</code>.
* Наложено ограничений
*/
public final TableField<SubpoenasRecord, BigDecimal> RESTRICTIONS_APPLIED = createField(DSL.name("restrictions_applied"), SQLDataType.NUMERIC, this, "Наложено ограничений");
/**
* The column <code>recruitment_campaign.subpoenas.spring_autumn</code>.
* Весна/Осень
*/
public final TableField<SubpoenasRecord, String> SPRING_AUTUMN = createField(DSL.name("spring_autumn"), SQLDataType.CLOB, this, "Весна/Осень");
/**
* The column <code>recruitment_campaign.subpoenas.recording_date</code>.
* Дата записи
*/
public final TableField<SubpoenasRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column <code>recruitment_campaign.subpoenas.appeared_percent</code>.
* Процент явившихся
*/
public final TableField<SubpoenasRecord, BigDecimal> APPEARED_PERCENT = createField(DSL.name("appeared_percent"), SQLDataType.NUMERIC, this, "Процент явившихся");
/**
* The column
* <code>recruitment_campaign.subpoenas.not_appeared_percent</code>. Процент
* не явившихся
*/
public final TableField<SubpoenasRecord, BigDecimal> NOT_APPEARED_PERCENT = createField(DSL.name("not_appeared_percent"), SQLDataType.NUMERIC, this, "Процент не явившихся");
/**
* The column
* <code>recruitment_campaign.subpoenas.not_ap_good_reason_percent</code>.
* Процент не явившихся по уважительной причине
*/
public final TableField<SubpoenasRecord, BigDecimal> NOT_AP_GOOD_REASON_PERCENT = createField(DSL.name("not_ap_good_reason_percent"), SQLDataType.NUMERIC, this, "Процент не явившихся по уважительной причине");
/**
* The column
* <code>recruitment_campaign.subpoenas.ap_not_required_percent</code>.
* Процент тех, где явка не требуется
*/
public final TableField<SubpoenasRecord, BigDecimal> AP_NOT_REQUIRED_PERCENT = createField(DSL.name("ap_not_required_percent"), SQLDataType.NUMERIC, this, "Процент тех, где явка не требуется");
/**
* The column
* <code>recruitment_campaign.subpoenas.restrictions_applied_percent</code>.
* Наложено ограничений
*/
public final TableField<SubpoenasRecord, BigDecimal> RESTRICTIONS_APPLIED_PERCENT = createField(DSL.name("restrictions_applied_percent"), SQLDataType.NUMERIC, this, "Наложено ограничений");
/**
* The column
* <code>recruitment_campaign.subpoenas.introduced_measures</code>. Введено
* реализатором мер
*/
public final TableField<SubpoenasRecord, BigDecimal> INTRODUCED_MEASURES = createField(DSL.name("introduced_measures"), SQLDataType.NUMERIC, this, "Введено реализатором мер");
/**
* The column
* <code>recruitment_campaign.subpoenas.introduced_measures_percent</code>.
* Процент введенных реализатором мер
*/
public final TableField<SubpoenasRecord, BigDecimal> INTRODUCED_MEASURES_PERCENT = createField(DSL.name("introduced_measures_percent"), SQLDataType.NUMERIC, this, "Процент введенных реализатором мер");
/**
* The column <code>recruitment_campaign.subpoenas.recruitment_id</code>.
*/
public final TableField<SubpoenasRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
/**
* The column <code>recruitment_campaign.subpoenas.rest</code>. Остальные
*/
public final TableField<SubpoenasRecord, BigDecimal> REST = createField(DSL.name("rest"), SQLDataType.NUMERIC, this, "Остальные");
/**
* The column
* <code>recruitment_campaign.subpoenas.testrecruitment_id</code>.
*/
public final TableField<SubpoenasRecord, String> TESTRECRUITMENT_ID = createField(DSL.name("testrecruitment_id"), SQLDataType.CHAR(36), this, "");
/**
* The column <code>recruitment_campaign.subpoenas.testspring_autumn</code>.
*/
public final TableField<SubpoenasRecord, String> TESTSPRING_AUTUMN = createField(DSL.name("testspring_autumn"), SQLDataType.CHAR(36), this, "");
private Subpoenas(Name alias, Table<SubpoenasRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Subpoenas(Name alias, Table<SubpoenasRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Повестки уровень РФ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>recruitment_campaign.subpoenas</code> table
* reference
*/
public Subpoenas(String alias) {
this(DSL.name(alias), SUBPOENAS);
}
/**
* Create an aliased <code>recruitment_campaign.subpoenas</code> table
* reference
*/
public Subpoenas(Name alias) {
this(alias, SUBPOENAS);
}
/**
* Create a <code>recruitment_campaign.subpoenas</code> table reference
*/
public Subpoenas() {
this(DSL.name("subpoenas"), null);
}
public <O extends Record> Subpoenas(Table<O> path, ForeignKey<O, SubpoenasRecord> childPath, InverseForeignKey<O, SubpoenasRecord> parentPath) {
super(path, childPath, parentPath, SUBPOENAS);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class SubpoenasPath extends Subpoenas implements Path<SubpoenasRecord> {
public <O extends Record> SubpoenasPath(Table<O> path, ForeignKey<O, SubpoenasRecord> childPath, InverseForeignKey<O, SubpoenasRecord> parentPath) {
super(path, childPath, parentPath);
}
private SubpoenasPath(Name alias, Table<SubpoenasRecord> aliased) {
super(alias, aliased);
}
@Override
public SubpoenasPath as(String alias) {
return new SubpoenasPath(DSL.name(alias), this);
}
@Override
public SubpoenasPath as(Name alias) {
return new SubpoenasPath(alias, this);
}
@Override
public SubpoenasPath as(Table<?> alias) {
return new SubpoenasPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : RecruitmentCampaign.RECRUITMENT_CAMPAIGN;
}
@Override
public Identity<SubpoenasRecord, Long> getIdentity() {
return (Identity<SubpoenasRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<SubpoenasRecord> getPrimaryKey() {
return Keys.PK_SUBPOENA;
}
@Override
public List<ForeignKey<SubpoenasRecord, ?>> getReferences() {
return Arrays.asList(Keys.SUBPOENAS__SUBPOENAS_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.SUBPOENAS__SUBPOENAS_FK1, null);
return _pubRecruitment;
}
@Override
public Subpoenas as(String alias) {
return new Subpoenas(DSL.name(alias), this);
}
@Override
public Subpoenas as(Name alias) {
return new Subpoenas(alias, this);
}
@Override
public Subpoenas as(Table<?> alias) {
return new Subpoenas(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Subpoenas rename(String name) {
return new Subpoenas(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Subpoenas rename(Name name) {
return new Subpoenas(name, null);
}
/**
* Rename this table
*/
@Override
public Subpoenas rename(Table<?> name) {
return new Subpoenas(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Subpoenas where(Condition condition) {
return new Subpoenas(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Subpoenas where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Subpoenas where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Subpoenas where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Subpoenas where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Subpoenas where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Subpoenas where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Subpoenas where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Subpoenas whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Subpoenas whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,238 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Appeals;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>recruitment_campaign.appeals.id_appeal</code>.
*/
public void setIdAppeal(Long value) {
set(0, value);
}
/**
* Getter for <code>recruitment_campaign.appeals.id_appeal</code>.
*/
public Long getIdAppeal() {
return (Long) get(0);
}
/**
* Setter for <code>recruitment_campaign.appeals.total_appeal</code>.
* Получено жалоб
*/
public void setTotalAppeal(BigDecimal value) {
set(1, value);
}
/**
* Getter for <code>recruitment_campaign.appeals.total_appeal</code>.
* Получено жалоб
*/
public BigDecimal getTotalAppeal() {
return (BigDecimal) get(1);
}
/**
* Setter for <code>recruitment_campaign.appeals.resolved</code>. Решено
*/
public void setResolved(BigDecimal value) {
set(2, value);
}
/**
* Getter for <code>recruitment_campaign.appeals.resolved</code>. Решено
*/
public BigDecimal getResolved() {
return (BigDecimal) get(2);
}
/**
* Setter for <code>recruitment_campaign.appeals.not_resolved</code>. Не
* решено
*/
public void setNotResolved(BigDecimal value) {
set(3, value);
}
/**
* Getter for <code>recruitment_campaign.appeals.not_resolved</code>. Не
* решено
*/
public BigDecimal getNotResolved() {
return (BigDecimal) get(3);
}
/**
* Setter for
* <code>recruitment_campaign.appeals.average_consideration</code>. Время
* решения
*/
public void setAverageConsideration(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>recruitment_campaign.appeals.average_consideration</code>. Время
* решения
*/
public BigDecimal getAverageConsideration() {
return (BigDecimal) get(4);
}
/**
* Setter for <code>recruitment_campaign.appeals.average_rating</code>.
* Оценка удовлетворенности
*/
public void setAverageRating(BigDecimal value) {
set(5, value);
}
/**
* Getter for <code>recruitment_campaign.appeals.average_rating</code>.
* Оценка удовлетворенности
*/
public BigDecimal getAverageRating() {
return (BigDecimal) get(5);
}
/**
* Setter for <code>recruitment_campaign.appeals.spring_autumn</code>.
* Весна/Осень
*/
public void setSpringAutumn(String value) {
set(6, value);
}
/**
* Getter for <code>recruitment_campaign.appeals.spring_autumn</code>.
* Весна/Осень
*/
public String getSpringAutumn() {
return (String) get(6);
}
/**
* Setter for <code>recruitment_campaign.appeals.recording_date</code>. Дата
* записи
*/
public void setRecordingDate(Date value) {
set(7, value);
}
/**
* Getter for <code>recruitment_campaign.appeals.recording_date</code>. Дата
* записи
*/
public Date getRecordingDate() {
return (Date) get(7);
}
/**
* Setter for <code>recruitment_campaign.appeals.resolved_percent</code>.
* Процент решенных
*/
public void setResolvedPercent(BigDecimal value) {
set(8, value);
}
/**
* Getter for <code>recruitment_campaign.appeals.resolved_percent</code>.
* Процент решенных
*/
public BigDecimal getResolvedPercent() {
return (BigDecimal) get(8);
}
/**
* Setter for
* <code>recruitment_campaign.appeals.not_resolved_percent</code>. Процент
* не решенных
*/
public void setNotResolvedPercent(BigDecimal value) {
set(9, value);
}
/**
* Getter for
* <code>recruitment_campaign.appeals.not_resolved_percent</code>. Процент
* не решенных
*/
public BigDecimal getNotResolvedPercent() {
return (BigDecimal) get(9);
}
/**
* Setter for <code>recruitment_campaign.appeals.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(10, value);
}
/**
* Getter for <code>recruitment_campaign.appeals.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(10);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached AppealsRecord
*/
public AppealsRecord() {
super(Appeals.APPEALS);
}
/**
* Create a detached, initialised AppealsRecord
*/
public AppealsRecord(Long idAppeal, BigDecimal totalAppeal, BigDecimal resolved, BigDecimal notResolved, BigDecimal averageConsideration, BigDecimal averageRating, String springAutumn, Date recordingDate, BigDecimal resolvedPercent, BigDecimal notResolvedPercent, UUID recruitmentId) {
super(Appeals.APPEALS);
setIdAppeal(idAppeal);
setTotalAppeal(totalAppeal);
setResolved(resolved);
setNotResolved(notResolved);
setAverageConsideration(averageConsideration);
setAverageRating(averageRating);
setSpringAutumn(springAutumn);
setRecordingDate(recordingDate);
setResolvedPercent(resolvedPercent);
setNotResolvedPercent(notResolvedPercent);
setRecruitmentId(recruitmentId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,212 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Recruitment;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RecruitmentRecord extends UpdatableRecordImpl<RecruitmentRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>recruitment_campaign.recruitment.id_recruitment</code>.
*/
public void setIdRecruitment(Long value) {
set(0, value);
}
/**
* Getter for <code>recruitment_campaign.recruitment.id_recruitment</code>.
*/
public Long getIdRecruitment() {
return (Long) get(0);
}
/**
* Setter for
* <code>recruitment_campaign.recruitment.suitable_recruit</code>. Подходят
* под призыв
*/
public void setSuitableRecruit(BigDecimal value) {
set(1, value);
}
/**
* Getter for
* <code>recruitment_campaign.recruitment.suitable_recruit</code>. Подходят
* под призыв
*/
public BigDecimal getSuitableRecruit() {
return (BigDecimal) get(1);
}
/**
* Setter for
* <code>recruitment_campaign.recruitment.postponement_have_right</code>.
* Имеют право на отсрочку
*/
public void setPostponementHaveRight(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>recruitment_campaign.recruitment.postponement_have_right</code>.
* Имеют право на отсрочку
*/
public BigDecimal getPostponementHaveRight() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>recruitment_campaign.recruitment.postponement_granted</code>.
* Предоставлена отсрочка
*/
public void setPostponementGranted(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>recruitment_campaign.recruitment.postponement_granted</code>.
* Предоставлена отсрочка
*/
public BigDecimal getPostponementGranted() {
return (BigDecimal) get(3);
}
/**
* Setter for <code>recruitment_campaign.recruitment.spring_autumn</code>.
* Осень/Весна
*/
public void setSpringAutumn(String value) {
set(4, value);
}
/**
* Getter for <code>recruitment_campaign.recruitment.spring_autumn</code>.
* Осень/Весна
*/
public String getSpringAutumn() {
return (String) get(4);
}
/**
* Setter for <code>recruitment_campaign.recruitment.recording_date</code>.
* Дата записи
*/
public void setRecordingDate(Date value) {
set(5, value);
}
/**
* Getter for <code>recruitment_campaign.recruitment.recording_date</code>.
* Дата записи
*/
public Date getRecordingDate() {
return (Date) get(5);
}
/**
* Setter for
* <code>recruitment_campaign.recruitment.postponement_have_right_percent</code>.
* Процент имеющих право на отсрочку
*/
public void setPostponementHaveRightPercent(BigDecimal value) {
set(6, value);
}
/**
* Getter for
* <code>recruitment_campaign.recruitment.postponement_have_right_percent</code>.
* Процент имеющих право на отсрочку
*/
public BigDecimal getPostponementHaveRightPercent() {
return (BigDecimal) get(6);
}
/**
* Setter for
* <code>recruitment_campaign.recruitment.postponement_granted_percent</code>.
* Процент предоставленных отсрочек
*/
public void setPostponementGrantedPercent(BigDecimal value) {
set(7, value);
}
/**
* Getter for
* <code>recruitment_campaign.recruitment.postponement_granted_percent</code>.
* Процент предоставленных отсрочек
*/
public BigDecimal getPostponementGrantedPercent() {
return (BigDecimal) get(7);
}
/**
* Setter for <code>recruitment_campaign.recruitment.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(8, value);
}
/**
* Getter for <code>recruitment_campaign.recruitment.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(8);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached RecruitmentRecord
*/
public RecruitmentRecord() {
super(Recruitment.RECRUITMENT);
}
/**
* Create a detached, initialised RecruitmentRecord
*/
public RecruitmentRecord(Long idRecruitment, BigDecimal suitableRecruit, BigDecimal postponementHaveRight, BigDecimal postponementGranted, String springAutumn, Date recordingDate, BigDecimal postponementHaveRightPercent, BigDecimal postponementGrantedPercent, UUID recruitmentId) {
super(Recruitment.RECRUITMENT);
setIdRecruitment(idRecruitment);
setSuitableRecruit(suitableRecruit);
setPostponementHaveRight(postponementHaveRight);
setPostponementGranted(postponementGranted);
setSpringAutumn(springAutumn);
setRecordingDate(recordingDate);
setPostponementHaveRightPercent(postponementHaveRightPercent);
setPostponementGrantedPercent(postponementGrantedPercent);
setRecruitmentId(recruitmentId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,399 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Subpoenas;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* Повестки уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class SubpoenasRecord extends UpdatableRecordImpl<SubpoenasRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>recruitment_campaign.subpoenas.id_subpoena</code>.
*/
public void setIdSubpoena(Long value) {
set(0, value);
}
/**
* Getter for <code>recruitment_campaign.subpoenas.id_subpoena</code>.
*/
public Long getIdSubpoena() {
return (Long) get(0);
}
/**
* Setter for <code>recruitment_campaign.subpoenas.subpoena</code>.
* Направлено повесток
*/
public void setSubpoena(BigDecimal value) {
set(1, value);
}
/**
* Getter for <code>recruitment_campaign.subpoenas.subpoena</code>.
* Направлено повесток
*/
public BigDecimal getSubpoena() {
return (BigDecimal) get(1);
}
/**
* Setter for <code>recruitment_campaign.subpoenas.appeared</code>. Явились
*/
public void setAppeared(BigDecimal value) {
set(2, value);
}
/**
* Getter for <code>recruitment_campaign.subpoenas.appeared</code>. Явились
*/
public BigDecimal getAppeared() {
return (BigDecimal) get(2);
}
/**
* Setter for <code>recruitment_campaign.subpoenas.not_appeared</code>. Не
* явились
*/
public void setNotAppeared(BigDecimal value) {
set(3, value);
}
/**
* Getter for <code>recruitment_campaign.subpoenas.not_appeared</code>. Не
* явились
*/
public BigDecimal getNotAppeared() {
return (BigDecimal) get(3);
}
/**
* Setter for
* <code>recruitment_campaign.subpoenas.not_ap_good_reason</code>. Не
* явились по уважительной причине
*/
public void setNotApGoodReason(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>recruitment_campaign.subpoenas.not_ap_good_reason</code>. Не
* явились по уважительной причине
*/
public BigDecimal getNotApGoodReason() {
return (BigDecimal) get(4);
}
/**
* Setter for <code>recruitment_campaign.subpoenas.ap_not_required</code>.
* Явка не требуется
*/
public void setApNotRequired(BigDecimal value) {
set(5, value);
}
/**
* Getter for <code>recruitment_campaign.subpoenas.ap_not_required</code>.
* Явка не требуется
*/
public BigDecimal getApNotRequired() {
return (BigDecimal) get(5);
}
/**
* Setter for
* <code>recruitment_campaign.subpoenas.restrictions_applied</code>.
* Наложено ограничений
*/
public void setRestrictionsApplied(BigDecimal value) {
set(6, value);
}
/**
* Getter for
* <code>recruitment_campaign.subpoenas.restrictions_applied</code>.
* Наложено ограничений
*/
public BigDecimal getRestrictionsApplied() {
return (BigDecimal) get(6);
}
/**
* Setter for <code>recruitment_campaign.subpoenas.spring_autumn</code>.
* Весна/Осень
*/
public void setSpringAutumn(String value) {
set(7, value);
}
/**
* Getter for <code>recruitment_campaign.subpoenas.spring_autumn</code>.
* Весна/Осень
*/
public String getSpringAutumn() {
return (String) get(7);
}
/**
* Setter for <code>recruitment_campaign.subpoenas.recording_date</code>.
* Дата записи
*/
public void setRecordingDate(Date value) {
set(8, value);
}
/**
* Getter for <code>recruitment_campaign.subpoenas.recording_date</code>.
* Дата записи
*/
public Date getRecordingDate() {
return (Date) get(8);
}
/**
* Setter for <code>recruitment_campaign.subpoenas.appeared_percent</code>.
* Процент явившихся
*/
public void setAppearedPercent(BigDecimal value) {
set(9, value);
}
/**
* Getter for <code>recruitment_campaign.subpoenas.appeared_percent</code>.
* Процент явившихся
*/
public BigDecimal getAppearedPercent() {
return (BigDecimal) get(9);
}
/**
* Setter for
* <code>recruitment_campaign.subpoenas.not_appeared_percent</code>. Процент
* не явившихся
*/
public void setNotAppearedPercent(BigDecimal value) {
set(10, value);
}
/**
* Getter for
* <code>recruitment_campaign.subpoenas.not_appeared_percent</code>. Процент
* не явившихся
*/
public BigDecimal getNotAppearedPercent() {
return (BigDecimal) get(10);
}
/**
* Setter for
* <code>recruitment_campaign.subpoenas.not_ap_good_reason_percent</code>.
* Процент не явившихся по уважительной причине
*/
public void setNotApGoodReasonPercent(BigDecimal value) {
set(11, value);
}
/**
* Getter for
* <code>recruitment_campaign.subpoenas.not_ap_good_reason_percent</code>.
* Процент не явившихся по уважительной причине
*/
public BigDecimal getNotApGoodReasonPercent() {
return (BigDecimal) get(11);
}
/**
* Setter for
* <code>recruitment_campaign.subpoenas.ap_not_required_percent</code>.
* Процент тех, где явка не требуется
*/
public void setApNotRequiredPercent(BigDecimal value) {
set(12, value);
}
/**
* Getter for
* <code>recruitment_campaign.subpoenas.ap_not_required_percent</code>.
* Процент тех, где явка не требуется
*/
public BigDecimal getApNotRequiredPercent() {
return (BigDecimal) get(12);
}
/**
* Setter for
* <code>recruitment_campaign.subpoenas.restrictions_applied_percent</code>.
* Наложено ограничений
*/
public void setRestrictionsAppliedPercent(BigDecimal value) {
set(13, value);
}
/**
* Getter for
* <code>recruitment_campaign.subpoenas.restrictions_applied_percent</code>.
* Наложено ограничений
*/
public BigDecimal getRestrictionsAppliedPercent() {
return (BigDecimal) get(13);
}
/**
* Setter for
* <code>recruitment_campaign.subpoenas.introduced_measures</code>. Введено
* реализатором мер
*/
public void setIntroducedMeasures(BigDecimal value) {
set(14, value);
}
/**
* Getter for
* <code>recruitment_campaign.subpoenas.introduced_measures</code>. Введено
* реализатором мер
*/
public BigDecimal getIntroducedMeasures() {
return (BigDecimal) get(14);
}
/**
* Setter for
* <code>recruitment_campaign.subpoenas.introduced_measures_percent</code>.
* Процент введенных реализатором мер
*/
public void setIntroducedMeasuresPercent(BigDecimal value) {
set(15, value);
}
/**
* Getter for
* <code>recruitment_campaign.subpoenas.introduced_measures_percent</code>.
* Процент введенных реализатором мер
*/
public BigDecimal getIntroducedMeasuresPercent() {
return (BigDecimal) get(15);
}
/**
* Setter for <code>recruitment_campaign.subpoenas.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(16, value);
}
/**
* Getter for <code>recruitment_campaign.subpoenas.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(16);
}
/**
* Setter for <code>recruitment_campaign.subpoenas.rest</code>. Остальные
*/
public void setRest(BigDecimal value) {
set(17, value);
}
/**
* Getter for <code>recruitment_campaign.subpoenas.rest</code>. Остальные
*/
public BigDecimal getRest() {
return (BigDecimal) get(17);
}
/**
* Setter for
* <code>recruitment_campaign.subpoenas.testrecruitment_id</code>.
*/
public void setTestrecruitmentId(String value) {
set(18, value);
}
/**
* Getter for
* <code>recruitment_campaign.subpoenas.testrecruitment_id</code>.
*/
public String getTestrecruitmentId() {
return (String) get(18);
}
/**
* Setter for <code>recruitment_campaign.subpoenas.testspring_autumn</code>.
*/
public void setTestspringAutumn(String value) {
set(19, value);
}
/**
* Getter for <code>recruitment_campaign.subpoenas.testspring_autumn</code>.
*/
public String getTestspringAutumn() {
return (String) get(19);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached SubpoenasRecord
*/
public SubpoenasRecord() {
super(Subpoenas.SUBPOENAS);
}
/**
* Create a detached, initialised SubpoenasRecord
*/
public SubpoenasRecord(Long idSubpoena, BigDecimal subpoena, BigDecimal appeared, BigDecimal notAppeared, BigDecimal notApGoodReason, BigDecimal apNotRequired, BigDecimal restrictionsApplied, String springAutumn, Date recordingDate, BigDecimal appearedPercent, BigDecimal notAppearedPercent, BigDecimal notApGoodReasonPercent, BigDecimal apNotRequiredPercent, BigDecimal restrictionsAppliedPercent, BigDecimal introducedMeasures, BigDecimal introducedMeasuresPercent, UUID recruitmentId, BigDecimal rest, String testrecruitmentId, String testspringAutumn) {
super(Subpoenas.SUBPOENAS);
setIdSubpoena(idSubpoena);
setSubpoena(subpoena);
setAppeared(appeared);
setNotAppeared(notAppeared);
setNotApGoodReason(notApGoodReason);
setApNotRequired(apNotRequired);
setRestrictionsApplied(restrictionsApplied);
setSpringAutumn(springAutumn);
setRecordingDate(recordingDate);
setAppearedPercent(appearedPercent);
setNotAppearedPercent(notAppearedPercent);
setNotApGoodReasonPercent(notApGoodReasonPercent);
setApNotRequiredPercent(apNotRequiredPercent);
setRestrictionsAppliedPercent(restrictionsAppliedPercent);
setIntroducedMeasures(introducedMeasures);
setIntroducedMeasuresPercent(introducedMeasuresPercent);
setRecruitmentId(recruitmentId);
setRest(rest);
setTestrecruitmentId(testrecruitmentId);
setTestspringAutumn(testspringAutumn);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,86 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.security;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.AccessLevel;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.Authority;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.EsiaUser;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserAccountUserGroup;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserGroupUserRole;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserRoleAuthority;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.OrgUnit;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccountRefreshToken;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserRole;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.AccessLevelRecord;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.AuthorityRecord;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.EsiaUserRecord;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.LinkUserAccountUserGroupRecord;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.LinkUserGroupUserRoleRecord;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.LinkUserRoleAuthorityRecord;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.OrgUnitRecord;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.UserAccountRecord;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.UserAccountRefreshTokenRecord;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.UserGroupRecord;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.UserRoleRecord;
import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;
/**
* A class modelling foreign key relationships and constraints of tables in
* security.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {
// -------------------------------------------------------------------------
// UNIQUE and PRIMARY KEY definitions
// -------------------------------------------------------------------------
public static final UniqueKey<AccessLevelRecord> PK_ACCESS_LEVEL = Internal.createUniqueKey(AccessLevel.ACCESS_LEVEL, DSL.name("pk_access_level"), new TableField[] { AccessLevel.ACCESS_LEVEL.ACCESS_LEVEL_ID }, true);
public static final UniqueKey<AccessLevelRecord> UNI_ACCESS_LEVEL = Internal.createUniqueKey(AccessLevel.ACCESS_LEVEL, DSL.name("uni_access_level"), new TableField[] { AccessLevel.ACCESS_LEVEL.LEVEL }, true);
public static final UniqueKey<AuthorityRecord> PK_AUTHORITY = Internal.createUniqueKey(Authority.AUTHORITY, DSL.name("pk_authority"), new TableField[] { Authority.AUTHORITY.AUTHORITY_ID }, true);
public static final UniqueKey<AuthorityRecord> UNI_AUTHORITY_NAME = Internal.createUniqueKey(Authority.AUTHORITY, DSL.name("uni_authority_name"), new TableField[] { Authority.AUTHORITY.NAME }, true);
public static final UniqueKey<EsiaUserRecord> PK_ESIA_USER = Internal.createUniqueKey(EsiaUser.ESIA_USER, DSL.name("pk_esia_user"), new TableField[] { EsiaUser.ESIA_USER.ESIA_USER_ID }, true);
public static final UniqueKey<EsiaUserRecord> UNI_ESIA_USER1 = Internal.createUniqueKey(EsiaUser.ESIA_USER, DSL.name("uni_esia_user1"), new TableField[] { EsiaUser.ESIA_USER.USER_ACCOUNT_ID }, true);
public static final UniqueKey<EsiaUserRecord> UNI_ESIA_USER2 = Internal.createUniqueKey(EsiaUser.ESIA_USER, DSL.name("uni_esia_user2"), new TableField[] { EsiaUser.ESIA_USER.PERSON_CONTACT_ID }, true);
public static final UniqueKey<LinkUserAccountUserGroupRecord> PK_USER_GROUP = Internal.createUniqueKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("pk_user_group"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.LINK_USER_ACCOUNT_USER_GROUP_ID }, true);
public static final UniqueKey<LinkUserAccountUserGroupRecord> UNI_USER_GROUP = Internal.createUniqueKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("uni_user_group"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_ACCOUNT_ID, LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_GROUP_ID }, true);
public static final UniqueKey<LinkUserGroupUserRoleRecord> PK_GROUP_ROLE = Internal.createUniqueKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("pk_group_role"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.LINK_USER_GROUP_USER_ROLE_ID }, true);
public static final UniqueKey<LinkUserGroupUserRoleRecord> UNI_GROUP_ROLE = Internal.createUniqueKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("uni_group_role"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_GROUP_ID, LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_ROLE_ID }, true);
public static final UniqueKey<LinkUserRoleAuthorityRecord> PK_ROLE_AUTHORITY = Internal.createUniqueKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("pk_role_authority"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.USER_ROLE_AUTHORITY_ID }, true);
public static final UniqueKey<LinkUserRoleAuthorityRecord> UNI_ROLE_AUTHORITY = Internal.createUniqueKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("uni_role_authority"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.USER_ROLE_ID, LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.AUTHORITY_ID }, true);
public static final UniqueKey<OrgUnitRecord> ORG_UNIT_CODE_KEY = Internal.createUniqueKey(OrgUnit.ORG_UNIT, DSL.name("org_unit_code_key"), new TableField[] { OrgUnit.ORG_UNIT.CODE }, true);
public static final UniqueKey<OrgUnitRecord> PK_ORG_UNIT = Internal.createUniqueKey(OrgUnit.ORG_UNIT, DSL.name("pk_org_unit"), new TableField[] { OrgUnit.ORG_UNIT.ID }, true);
public static final UniqueKey<UserAccountRecord> PK_USER = Internal.createUniqueKey(UserAccount.USER_ACCOUNT, DSL.name("pk_user"), new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
public static final UniqueKey<UserAccountRecord> USER_ACCOUNT_USERNAME_UNIQUE = Internal.createUniqueKey(UserAccount.USER_ACCOUNT, DSL.name("user_account_username_unique"), new TableField[] { UserAccount.USER_ACCOUNT.USERNAME }, true);
public static final UniqueKey<UserAccountRefreshTokenRecord> PK_USER_ACCOUNT_REFRESH_TOKEN = Internal.createUniqueKey(UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN, DSL.name("pk_user_account_refresh_token"), new TableField[] { UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN.USER_ACCOUNT_REFRESH_TOKEN_ID }, true);
public static final UniqueKey<UserGroupRecord> PK_GROUP = Internal.createUniqueKey(UserGroup.USER_GROUP, DSL.name("pk_group"), new TableField[] { UserGroup.USER_GROUP.USER_GROUP_ID }, true);
public static final UniqueKey<UserGroupRecord> UNI_GROUP_NAME = Internal.createUniqueKey(UserGroup.USER_GROUP, DSL.name("uni_group_name"), new TableField[] { UserGroup.USER_GROUP.NAME }, true);
public static final UniqueKey<UserRoleRecord> PK_ROLE = Internal.createUniqueKey(UserRole.USER_ROLE, DSL.name("pk_role"), new TableField[] { UserRole.USER_ROLE.USER_ROLE_ID }, true);
public static final UniqueKey<UserRoleRecord> UNI_ROLE_NAME = Internal.createUniqueKey(UserRole.USER_ROLE, DSL.name("uni_role_name"), new TableField[] { UserRole.USER_ROLE.NAME }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
// -------------------------------------------------------------------------
public static final ForeignKey<EsiaUserRecord, UserAccountRecord> ESIA_USER__FK_ESIA_USER1 = Internal.createForeignKey(EsiaUser.ESIA_USER, DSL.name("fk_esia_user1"), new TableField[] { EsiaUser.ESIA_USER.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
public static final ForeignKey<LinkUserAccountUserGroupRecord, UserGroupRecord> LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP = Internal.createForeignKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("fk_user_group_group"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_GROUP_ID }, Keys.PK_GROUP, new TableField[] { UserGroup.USER_GROUP.USER_GROUP_ID }, true);
public static final ForeignKey<LinkUserAccountUserGroupRecord, UserAccountRecord> LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER = Internal.createForeignKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("fk_user_group_user"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
public static final ForeignKey<LinkUserGroupUserRoleRecord, UserGroupRecord> LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP = Internal.createForeignKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("fk_group_role_group"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_GROUP_ID }, Keys.PK_GROUP, new TableField[] { UserGroup.USER_GROUP.USER_GROUP_ID }, true);
public static final ForeignKey<LinkUserGroupUserRoleRecord, UserRoleRecord> LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE = Internal.createForeignKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("fk_group_role_role"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_ROLE_ID }, Keys.PK_ROLE, new TableField[] { UserRole.USER_ROLE.USER_ROLE_ID }, true);
public static final ForeignKey<LinkUserRoleAuthorityRecord, AuthorityRecord> LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY = Internal.createForeignKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("fk_role_authority_authority"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.AUTHORITY_ID }, Keys.PK_AUTHORITY, new TableField[] { Authority.AUTHORITY.AUTHORITY_ID }, true);
public static final ForeignKey<LinkUserRoleAuthorityRecord, UserRoleRecord> LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE = Internal.createForeignKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("fk_role_authority_role"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.USER_ROLE_ID }, Keys.PK_ROLE, new TableField[] { UserRole.USER_ROLE.USER_ROLE_ID }, true);
public static final ForeignKey<OrgUnitRecord, OrgUnitRecord> ORG_UNIT__FK_ORG_UNIT_PARENT_ID = Internal.createForeignKey(OrgUnit.ORG_UNIT, DSL.name("fk_org_unit_parent_id"), new TableField[] { OrgUnit.ORG_UNIT.PARENT_ID }, Keys.PK_ORG_UNIT, new TableField[] { OrgUnit.ORG_UNIT.ID }, true);
public static final ForeignKey<UserAccountRecord, OrgUnitRecord> USER_ACCOUNT__FK_USER_ORG_UNIT_ID = Internal.createForeignKey(UserAccount.USER_ACCOUNT, DSL.name("fk_user_org_unit_id"), new TableField[] { UserAccount.USER_ACCOUNT.ORG_UNIT_ID }, Keys.PK_ORG_UNIT, new TableField[] { OrgUnit.ORG_UNIT.ID }, true);
public static final ForeignKey<UserAccountRefreshTokenRecord, UserAccountRecord> USER_ACCOUNT_REFRESH_TOKEN__FK_USER_ACCOUNT_REFRESH_TOKEN = Internal.createForeignKey(UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN, DSL.name("fk_user_account_refresh_token"), new TableField[] { UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
public static final ForeignKey<UserGroupRecord, AccessLevelRecord> USER_GROUP__FK_USER_GROUP_ACCESS_LEVEL = Internal.createForeignKey(UserGroup.USER_GROUP, DSL.name("fk_user_group_access_level"), new TableField[] { UserGroup.USER_GROUP.ACCESS_LEVEL_ID }, Keys.PK_ACCESS_LEVEL, new TableField[] { AccessLevel.ACCESS_LEVEL.ACCESS_LEVEL_ID }, true);
}

View file

@ -0,0 +1,125 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.security;
import ervu_dashboard.ervu_dashboard.db_beans.DefaultCatalog;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.AccessLevel;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.Authority;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.EsiaUser;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserAccountUserGroup;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserGroupUserRole;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserRoleAuthority;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.OrgUnit;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccountRefreshToken;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserRole;
import java.util.Arrays;
import java.util.List;
import org.jooq.Catalog;
import org.jooq.Table;
import org.jooq.impl.SchemaImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Security extends SchemaImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>security</code>
*/
public static final Security SECURITY = new Security();
/**
* The table <code>security.access_level</code>.
*/
public final AccessLevel ACCESS_LEVEL = AccessLevel.ACCESS_LEVEL;
/**
* The table <code>security.authority</code>.
*/
public final Authority AUTHORITY = Authority.AUTHORITY;
/**
* The table <code>security.esia_user</code>.
*/
public final EsiaUser ESIA_USER = EsiaUser.ESIA_USER;
/**
* The table <code>security.link_user_account_user_group</code>.
*/
public final LinkUserAccountUserGroup LINK_USER_ACCOUNT_USER_GROUP = LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP;
/**
* The table <code>security.link_user_group_user_role</code>.
*/
public final LinkUserGroupUserRole LINK_USER_GROUP_USER_ROLE = LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE;
/**
* The table <code>security.link_user_role_authority</code>.
*/
public final LinkUserRoleAuthority LINK_USER_ROLE_AUTHORITY = LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY;
/**
* The table <code>security.org_unit</code>.
*/
public final OrgUnit ORG_UNIT = OrgUnit.ORG_UNIT;
/**
* The table <code>security.user_account</code>.
*/
public final UserAccount USER_ACCOUNT = UserAccount.USER_ACCOUNT;
/**
* The table <code>security.user_account_refresh_token</code>.
*/
public final UserAccountRefreshToken USER_ACCOUNT_REFRESH_TOKEN = UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN;
/**
* The table <code>security.user_group</code>.
*/
public final UserGroup USER_GROUP = UserGroup.USER_GROUP;
/**
* The table <code>security.user_role</code>.
*/
public final UserRole USER_ROLE = UserRole.USER_ROLE;
/**
* No further instances allowed
*/
private Security() {
super("security", null);
}
@Override
public Catalog getCatalog() {
return DefaultCatalog.DEFAULT_CATALOG;
}
@Override
public final List<Table<?>> getTables() {
return Arrays.asList(
AccessLevel.ACCESS_LEVEL,
Authority.AUTHORITY,
EsiaUser.ESIA_USER,
LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP,
LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE,
LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY,
OrgUnit.ORG_UNIT,
UserAccount.USER_ACCOUNT,
UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN,
UserGroup.USER_GROUP,
UserRole.USER_ROLE
);
}
}

View file

@ -0,0 +1,80 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.security;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.AccessLevel;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.Authority;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.EsiaUser;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserAccountUserGroup;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserGroupUserRole;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserRoleAuthority;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.OrgUnit;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccountRefreshToken;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserRole;
/**
* Convenience access to all tables in security.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Tables {
/**
* The table <code>security.access_level</code>.
*/
public static final AccessLevel ACCESS_LEVEL = AccessLevel.ACCESS_LEVEL;
/**
* The table <code>security.authority</code>.
*/
public static final Authority AUTHORITY = Authority.AUTHORITY;
/**
* The table <code>security.esia_user</code>.
*/
public static final EsiaUser ESIA_USER = EsiaUser.ESIA_USER;
/**
* The table <code>security.link_user_account_user_group</code>.
*/
public static final LinkUserAccountUserGroup LINK_USER_ACCOUNT_USER_GROUP = LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP;
/**
* The table <code>security.link_user_group_user_role</code>.
*/
public static final LinkUserGroupUserRole LINK_USER_GROUP_USER_ROLE = LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE;
/**
* The table <code>security.link_user_role_authority</code>.
*/
public static final LinkUserRoleAuthority LINK_USER_ROLE_AUTHORITY = LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY;
/**
* The table <code>security.org_unit</code>.
*/
public static final OrgUnit ORG_UNIT = OrgUnit.ORG_UNIT;
/**
* The table <code>security.user_account</code>.
*/
public static final UserAccount USER_ACCOUNT = UserAccount.USER_ACCOUNT;
/**
* The table <code>security.user_account_refresh_token</code>.
*/
public static final UserAccountRefreshToken USER_ACCOUNT_REFRESH_TOKEN = UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN;
/**
* The table <code>security.user_group</code>.
*/
public static final UserGroup USER_GROUP = UserGroup.USER_GROUP;
/**
* The table <code>security.user_role</code>.
*/
public static final UserRole USER_ROLE = UserRole.USER_ROLE;
}

View file

@ -0,0 +1,284 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup.UserGroupPath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.AccessLevelRecord;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AccessLevel extends TableImpl<AccessLevelRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>security.access_level</code>
*/
public static final AccessLevel ACCESS_LEVEL = new AccessLevel();
/**
* The class holding records for this type
*/
@Override
public Class<AccessLevelRecord> getRecordType() {
return AccessLevelRecord.class;
}
/**
* The column <code>security.access_level.access_level_id</code>.
*/
public final TableField<AccessLevelRecord, String> ACCESS_LEVEL_ID = createField(DSL.name("access_level_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column <code>security.access_level.level</code>.
*/
public final TableField<AccessLevelRecord, Short> LEVEL = createField(DSL.name("level"), SQLDataType.SMALLINT.nullable(false), this, "");
/**
* The column <code>security.access_level.description</code>.
*/
public final TableField<AccessLevelRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(256).nullable(false), this, "");
private AccessLevel(Name alias, Table<AccessLevelRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private AccessLevel(Name alias, Table<AccessLevelRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>security.access_level</code> table reference
*/
public AccessLevel(String alias) {
this(DSL.name(alias), ACCESS_LEVEL);
}
/**
* Create an aliased <code>security.access_level</code> table reference
*/
public AccessLevel(Name alias) {
this(alias, ACCESS_LEVEL);
}
/**
* Create a <code>security.access_level</code> table reference
*/
public AccessLevel() {
this(DSL.name("access_level"), null);
}
public <O extends Record> AccessLevel(Table<O> path, ForeignKey<O, AccessLevelRecord> childPath, InverseForeignKey<O, AccessLevelRecord> parentPath) {
super(path, childPath, parentPath, ACCESS_LEVEL);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class AccessLevelPath extends AccessLevel implements Path<AccessLevelRecord> {
public <O extends Record> AccessLevelPath(Table<O> path, ForeignKey<O, AccessLevelRecord> childPath, InverseForeignKey<O, AccessLevelRecord> parentPath) {
super(path, childPath, parentPath);
}
private AccessLevelPath(Name alias, Table<AccessLevelRecord> aliased) {
super(alias, aliased);
}
@Override
public AccessLevelPath as(String alias) {
return new AccessLevelPath(DSL.name(alias), this);
}
@Override
public AccessLevelPath as(Name alias) {
return new AccessLevelPath(alias, this);
}
@Override
public AccessLevelPath as(Table<?> alias) {
return new AccessLevelPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Security.SECURITY;
}
@Override
public UniqueKey<AccessLevelRecord> getPrimaryKey() {
return Keys.PK_ACCESS_LEVEL;
}
@Override
public List<UniqueKey<AccessLevelRecord>> getUniqueKeys() {
return Arrays.asList(Keys.UNI_ACCESS_LEVEL);
}
private transient UserGroupPath _userGroup;
/**
* Get the implicit to-many join path to the
* <code>security.user_group</code> table
*/
public UserGroupPath userGroup() {
if (_userGroup == null)
_userGroup = new UserGroupPath(this, null, Keys.USER_GROUP__FK_USER_GROUP_ACCESS_LEVEL.getInverseKey());
return _userGroup;
}
@Override
public AccessLevel as(String alias) {
return new AccessLevel(DSL.name(alias), this);
}
@Override
public AccessLevel as(Name alias) {
return new AccessLevel(alias, this);
}
@Override
public AccessLevel as(Table<?> alias) {
return new AccessLevel(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public AccessLevel rename(String name) {
return new AccessLevel(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public AccessLevel rename(Name name) {
return new AccessLevel(name, null);
}
/**
* Rename this table
*/
@Override
public AccessLevel rename(Table<?> name) {
return new AccessLevel(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public AccessLevel where(Condition condition) {
return new AccessLevel(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public AccessLevel where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public AccessLevel where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public AccessLevel where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AccessLevel where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AccessLevel where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AccessLevel where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AccessLevel where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public AccessLevel whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public AccessLevel whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,294 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserRoleAuthority.LinkUserRoleAuthorityPath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserRole.UserRolePath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.AuthorityRecord;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Authority extends TableImpl<AuthorityRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>security.authority</code>
*/
public static final Authority AUTHORITY = new Authority();
/**
* The class holding records for this type
*/
@Override
public Class<AuthorityRecord> getRecordType() {
return AuthorityRecord.class;
}
/**
* The column <code>security.authority.authority_id</code>.
*/
public final TableField<AuthorityRecord, String> AUTHORITY_ID = createField(DSL.name("authority_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column <code>security.authority.name</code>.
*/
public final TableField<AuthorityRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column <code>security.authority.created</code>.
*/
public final TableField<AuthorityRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
private Authority(Name alias, Table<AuthorityRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Authority(Name alias, Table<AuthorityRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>security.authority</code> table reference
*/
public Authority(String alias) {
this(DSL.name(alias), AUTHORITY);
}
/**
* Create an aliased <code>security.authority</code> table reference
*/
public Authority(Name alias) {
this(alias, AUTHORITY);
}
/**
* Create a <code>security.authority</code> table reference
*/
public Authority() {
this(DSL.name("authority"), null);
}
public <O extends Record> Authority(Table<O> path, ForeignKey<O, AuthorityRecord> childPath, InverseForeignKey<O, AuthorityRecord> parentPath) {
super(path, childPath, parentPath, AUTHORITY);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class AuthorityPath extends Authority implements Path<AuthorityRecord> {
public <O extends Record> AuthorityPath(Table<O> path, ForeignKey<O, AuthorityRecord> childPath, InverseForeignKey<O, AuthorityRecord> parentPath) {
super(path, childPath, parentPath);
}
private AuthorityPath(Name alias, Table<AuthorityRecord> aliased) {
super(alias, aliased);
}
@Override
public AuthorityPath as(String alias) {
return new AuthorityPath(DSL.name(alias), this);
}
@Override
public AuthorityPath as(Name alias) {
return new AuthorityPath(alias, this);
}
@Override
public AuthorityPath as(Table<?> alias) {
return new AuthorityPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Security.SECURITY;
}
@Override
public UniqueKey<AuthorityRecord> getPrimaryKey() {
return Keys.PK_AUTHORITY;
}
@Override
public List<UniqueKey<AuthorityRecord>> getUniqueKeys() {
return Arrays.asList(Keys.UNI_AUTHORITY_NAME);
}
private transient LinkUserRoleAuthorityPath _linkUserRoleAuthority;
/**
* Get the implicit to-many join path to the
* <code>security.link_user_role_authority</code> table
*/
public LinkUserRoleAuthorityPath linkUserRoleAuthority() {
if (_linkUserRoleAuthority == null)
_linkUserRoleAuthority = new LinkUserRoleAuthorityPath(this, null, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY.getInverseKey());
return _linkUserRoleAuthority;
}
/**
* Get the implicit many-to-many join path to the
* <code>security.user_role</code> table
*/
public UserRolePath userRole() {
return linkUserRoleAuthority().userRole();
}
@Override
public Authority as(String alias) {
return new Authority(DSL.name(alias), this);
}
@Override
public Authority as(Name alias) {
return new Authority(alias, this);
}
@Override
public Authority as(Table<?> alias) {
return new Authority(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Authority rename(String name) {
return new Authority(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Authority rename(Name name) {
return new Authority(name, null);
}
/**
* Rename this table
*/
@Override
public Authority rename(Table<?> name) {
return new Authority(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Authority where(Condition condition) {
return new Authority(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Authority where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Authority where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Authority where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Authority where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Authority where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Authority where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Authority where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Authority whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Authority whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,289 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount.UserAccountPath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.EsiaUserRecord;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class EsiaUser extends TableImpl<EsiaUserRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>security.esia_user</code>
*/
public static final EsiaUser ESIA_USER = new EsiaUser();
/**
* The class holding records for this type
*/
@Override
public Class<EsiaUserRecord> getRecordType() {
return EsiaUserRecord.class;
}
/**
* The column <code>security.esia_user.esia_user_id</code>.
*/
public final TableField<EsiaUserRecord, String> ESIA_USER_ID = createField(DSL.name("esia_user_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column <code>security.esia_user.user_account_id</code>.
*/
public final TableField<EsiaUserRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column <code>security.esia_user.person_contact_id</code>.
*/
public final TableField<EsiaUserRecord, Long> PERSON_CONTACT_ID = createField(DSL.name("person_contact_id"), SQLDataType.BIGINT.nullable(false), this, "");
private EsiaUser(Name alias, Table<EsiaUserRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private EsiaUser(Name alias, Table<EsiaUserRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>security.esia_user</code> table reference
*/
public EsiaUser(String alias) {
this(DSL.name(alias), ESIA_USER);
}
/**
* Create an aliased <code>security.esia_user</code> table reference
*/
public EsiaUser(Name alias) {
this(alias, ESIA_USER);
}
/**
* Create a <code>security.esia_user</code> table reference
*/
public EsiaUser() {
this(DSL.name("esia_user"), null);
}
public <O extends Record> EsiaUser(Table<O> path, ForeignKey<O, EsiaUserRecord> childPath, InverseForeignKey<O, EsiaUserRecord> parentPath) {
super(path, childPath, parentPath, ESIA_USER);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class EsiaUserPath extends EsiaUser implements Path<EsiaUserRecord> {
public <O extends Record> EsiaUserPath(Table<O> path, ForeignKey<O, EsiaUserRecord> childPath, InverseForeignKey<O, EsiaUserRecord> parentPath) {
super(path, childPath, parentPath);
}
private EsiaUserPath(Name alias, Table<EsiaUserRecord> aliased) {
super(alias, aliased);
}
@Override
public EsiaUserPath as(String alias) {
return new EsiaUserPath(DSL.name(alias), this);
}
@Override
public EsiaUserPath as(Name alias) {
return new EsiaUserPath(alias, this);
}
@Override
public EsiaUserPath as(Table<?> alias) {
return new EsiaUserPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Security.SECURITY;
}
@Override
public UniqueKey<EsiaUserRecord> getPrimaryKey() {
return Keys.PK_ESIA_USER;
}
@Override
public List<UniqueKey<EsiaUserRecord>> getUniqueKeys() {
return Arrays.asList(Keys.UNI_ESIA_USER1, Keys.UNI_ESIA_USER2);
}
@Override
public List<ForeignKey<EsiaUserRecord, ?>> getReferences() {
return Arrays.asList(Keys.ESIA_USER__FK_ESIA_USER1);
}
private transient UserAccountPath _userAccount;
/**
* Get the implicit join path to the <code>security.user_account</code>
* table.
*/
public UserAccountPath userAccount() {
if (_userAccount == null)
_userAccount = new UserAccountPath(this, Keys.ESIA_USER__FK_ESIA_USER1, null);
return _userAccount;
}
@Override
public EsiaUser as(String alias) {
return new EsiaUser(DSL.name(alias), this);
}
@Override
public EsiaUser as(Name alias) {
return new EsiaUser(alias, this);
}
@Override
public EsiaUser as(Table<?> alias) {
return new EsiaUser(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public EsiaUser rename(String name) {
return new EsiaUser(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public EsiaUser rename(Name name) {
return new EsiaUser(name, null);
}
/**
* Rename this table
*/
@Override
public EsiaUser rename(Table<?> name) {
return new EsiaUser(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public EsiaUser where(Condition condition) {
return new EsiaUser(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public EsiaUser where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public EsiaUser where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public EsiaUser where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public EsiaUser where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public EsiaUser where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public EsiaUser where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public EsiaUser where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public EsiaUser whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public EsiaUser whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,315 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount.UserAccountPath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup.UserGroupPath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.LinkUserAccountUserGroupRecord;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class LinkUserAccountUserGroup extends TableImpl<LinkUserAccountUserGroupRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>security.link_user_account_user_group</code>
*/
public static final LinkUserAccountUserGroup LINK_USER_ACCOUNT_USER_GROUP = new LinkUserAccountUserGroup();
/**
* The class holding records for this type
*/
@Override
public Class<LinkUserAccountUserGroupRecord> getRecordType() {
return LinkUserAccountUserGroupRecord.class;
}
/**
* The column
* <code>security.link_user_account_user_group.link_user_account_user_group_id</code>.
*/
public final TableField<LinkUserAccountUserGroupRecord, String> LINK_USER_ACCOUNT_USER_GROUP_ID = createField(DSL.name("link_user_account_user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column
* <code>security.link_user_account_user_group.user_account_id</code>.
*/
public final TableField<LinkUserAccountUserGroupRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.VARCHAR(150).nullable(false), this, "");
/**
* The column
* <code>security.link_user_account_user_group.user_group_id</code>.
*/
public final TableField<LinkUserAccountUserGroupRecord, String> USER_GROUP_ID = createField(DSL.name("user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column <code>security.link_user_account_user_group.created</code>.
*/
public final TableField<LinkUserAccountUserGroupRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
private LinkUserAccountUserGroup(Name alias, Table<LinkUserAccountUserGroupRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private LinkUserAccountUserGroup(Name alias, Table<LinkUserAccountUserGroupRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>security.link_user_account_user_group</code>
* table reference
*/
public LinkUserAccountUserGroup(String alias) {
this(DSL.name(alias), LINK_USER_ACCOUNT_USER_GROUP);
}
/**
* Create an aliased <code>security.link_user_account_user_group</code>
* table reference
*/
public LinkUserAccountUserGroup(Name alias) {
this(alias, LINK_USER_ACCOUNT_USER_GROUP);
}
/**
* Create a <code>security.link_user_account_user_group</code> table
* reference
*/
public LinkUserAccountUserGroup() {
this(DSL.name("link_user_account_user_group"), null);
}
public <O extends Record> LinkUserAccountUserGroup(Table<O> path, ForeignKey<O, LinkUserAccountUserGroupRecord> childPath, InverseForeignKey<O, LinkUserAccountUserGroupRecord> parentPath) {
super(path, childPath, parentPath, LINK_USER_ACCOUNT_USER_GROUP);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class LinkUserAccountUserGroupPath extends LinkUserAccountUserGroup implements Path<LinkUserAccountUserGroupRecord> {
public <O extends Record> LinkUserAccountUserGroupPath(Table<O> path, ForeignKey<O, LinkUserAccountUserGroupRecord> childPath, InverseForeignKey<O, LinkUserAccountUserGroupRecord> parentPath) {
super(path, childPath, parentPath);
}
private LinkUserAccountUserGroupPath(Name alias, Table<LinkUserAccountUserGroupRecord> aliased) {
super(alias, aliased);
}
@Override
public LinkUserAccountUserGroupPath as(String alias) {
return new LinkUserAccountUserGroupPath(DSL.name(alias), this);
}
@Override
public LinkUserAccountUserGroupPath as(Name alias) {
return new LinkUserAccountUserGroupPath(alias, this);
}
@Override
public LinkUserAccountUserGroupPath as(Table<?> alias) {
return new LinkUserAccountUserGroupPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Security.SECURITY;
}
@Override
public UniqueKey<LinkUserAccountUserGroupRecord> getPrimaryKey() {
return Keys.PK_USER_GROUP;
}
@Override
public List<UniqueKey<LinkUserAccountUserGroupRecord>> getUniqueKeys() {
return Arrays.asList(Keys.UNI_USER_GROUP);
}
@Override
public List<ForeignKey<LinkUserAccountUserGroupRecord, ?>> getReferences() {
return Arrays.asList(Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP);
}
private transient UserAccountPath _userAccount;
/**
* Get the implicit join path to the <code>security.user_account</code>
* table.
*/
public UserAccountPath userAccount() {
if (_userAccount == null)
_userAccount = new UserAccountPath(this, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER, null);
return _userAccount;
}
private transient UserGroupPath _userGroup;
/**
* Get the implicit join path to the <code>security.user_group</code> table.
*/
public UserGroupPath userGroup() {
if (_userGroup == null)
_userGroup = new UserGroupPath(this, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP, null);
return _userGroup;
}
@Override
public LinkUserAccountUserGroup as(String alias) {
return new LinkUserAccountUserGroup(DSL.name(alias), this);
}
@Override
public LinkUserAccountUserGroup as(Name alias) {
return new LinkUserAccountUserGroup(alias, this);
}
@Override
public LinkUserAccountUserGroup as(Table<?> alias) {
return new LinkUserAccountUserGroup(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public LinkUserAccountUserGroup rename(String name) {
return new LinkUserAccountUserGroup(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public LinkUserAccountUserGroup rename(Name name) {
return new LinkUserAccountUserGroup(name, null);
}
/**
* Rename this table
*/
@Override
public LinkUserAccountUserGroup rename(Table<?> name) {
return new LinkUserAccountUserGroup(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserAccountUserGroup where(Condition condition) {
return new LinkUserAccountUserGroup(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserAccountUserGroup where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserAccountUserGroup where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserAccountUserGroup where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public LinkUserAccountUserGroup where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public LinkUserAccountUserGroup where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public LinkUserAccountUserGroup where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public LinkUserAccountUserGroup where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserAccountUserGroup whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserAccountUserGroup whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,310 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup.UserGroupPath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserRole.UserRolePath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.LinkUserGroupUserRoleRecord;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class LinkUserGroupUserRole extends TableImpl<LinkUserGroupUserRoleRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>security.link_user_group_user_role</code>
*/
public static final LinkUserGroupUserRole LINK_USER_GROUP_USER_ROLE = new LinkUserGroupUserRole();
/**
* The class holding records for this type
*/
@Override
public Class<LinkUserGroupUserRoleRecord> getRecordType() {
return LinkUserGroupUserRoleRecord.class;
}
/**
* The column
* <code>security.link_user_group_user_role.link_user_group_user_role_id</code>.
*/
public final TableField<LinkUserGroupUserRoleRecord, String> LINK_USER_GROUP_USER_ROLE_ID = createField(DSL.name("link_user_group_user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column <code>security.link_user_group_user_role.user_group_id</code>.
*/
public final TableField<LinkUserGroupUserRoleRecord, String> USER_GROUP_ID = createField(DSL.name("user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column <code>security.link_user_group_user_role.user_role_id</code>.
*/
public final TableField<LinkUserGroupUserRoleRecord, String> USER_ROLE_ID = createField(DSL.name("user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column <code>security.link_user_group_user_role.created</code>.
*/
public final TableField<LinkUserGroupUserRoleRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
private LinkUserGroupUserRole(Name alias, Table<LinkUserGroupUserRoleRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private LinkUserGroupUserRole(Name alias, Table<LinkUserGroupUserRoleRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>security.link_user_group_user_role</code> table
* reference
*/
public LinkUserGroupUserRole(String alias) {
this(DSL.name(alias), LINK_USER_GROUP_USER_ROLE);
}
/**
* Create an aliased <code>security.link_user_group_user_role</code> table
* reference
*/
public LinkUserGroupUserRole(Name alias) {
this(alias, LINK_USER_GROUP_USER_ROLE);
}
/**
* Create a <code>security.link_user_group_user_role</code> table reference
*/
public LinkUserGroupUserRole() {
this(DSL.name("link_user_group_user_role"), null);
}
public <O extends Record> LinkUserGroupUserRole(Table<O> path, ForeignKey<O, LinkUserGroupUserRoleRecord> childPath, InverseForeignKey<O, LinkUserGroupUserRoleRecord> parentPath) {
super(path, childPath, parentPath, LINK_USER_GROUP_USER_ROLE);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class LinkUserGroupUserRolePath extends LinkUserGroupUserRole implements Path<LinkUserGroupUserRoleRecord> {
public <O extends Record> LinkUserGroupUserRolePath(Table<O> path, ForeignKey<O, LinkUserGroupUserRoleRecord> childPath, InverseForeignKey<O, LinkUserGroupUserRoleRecord> parentPath) {
super(path, childPath, parentPath);
}
private LinkUserGroupUserRolePath(Name alias, Table<LinkUserGroupUserRoleRecord> aliased) {
super(alias, aliased);
}
@Override
public LinkUserGroupUserRolePath as(String alias) {
return new LinkUserGroupUserRolePath(DSL.name(alias), this);
}
@Override
public LinkUserGroupUserRolePath as(Name alias) {
return new LinkUserGroupUserRolePath(alias, this);
}
@Override
public LinkUserGroupUserRolePath as(Table<?> alias) {
return new LinkUserGroupUserRolePath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Security.SECURITY;
}
@Override
public UniqueKey<LinkUserGroupUserRoleRecord> getPrimaryKey() {
return Keys.PK_GROUP_ROLE;
}
@Override
public List<UniqueKey<LinkUserGroupUserRoleRecord>> getUniqueKeys() {
return Arrays.asList(Keys.UNI_GROUP_ROLE);
}
@Override
public List<ForeignKey<LinkUserGroupUserRoleRecord, ?>> getReferences() {
return Arrays.asList(Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE);
}
private transient UserGroupPath _userGroup;
/**
* Get the implicit join path to the <code>security.user_group</code> table.
*/
public UserGroupPath userGroup() {
if (_userGroup == null)
_userGroup = new UserGroupPath(this, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP, null);
return _userGroup;
}
private transient UserRolePath _userRole;
/**
* Get the implicit join path to the <code>security.user_role</code> table.
*/
public UserRolePath userRole() {
if (_userRole == null)
_userRole = new UserRolePath(this, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE, null);
return _userRole;
}
@Override
public LinkUserGroupUserRole as(String alias) {
return new LinkUserGroupUserRole(DSL.name(alias), this);
}
@Override
public LinkUserGroupUserRole as(Name alias) {
return new LinkUserGroupUserRole(alias, this);
}
@Override
public LinkUserGroupUserRole as(Table<?> alias) {
return new LinkUserGroupUserRole(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public LinkUserGroupUserRole rename(String name) {
return new LinkUserGroupUserRole(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public LinkUserGroupUserRole rename(Name name) {
return new LinkUserGroupUserRole(name, null);
}
/**
* Rename this table
*/
@Override
public LinkUserGroupUserRole rename(Table<?> name) {
return new LinkUserGroupUserRole(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserGroupUserRole where(Condition condition) {
return new LinkUserGroupUserRole(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserGroupUserRole where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserGroupUserRole where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserGroupUserRole where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public LinkUserGroupUserRole where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public LinkUserGroupUserRole where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public LinkUserGroupUserRole where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public LinkUserGroupUserRole where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserGroupUserRole whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserGroupUserRole whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,310 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.Authority.AuthorityPath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserRole.UserRolePath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.LinkUserRoleAuthorityRecord;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class LinkUserRoleAuthority extends TableImpl<LinkUserRoleAuthorityRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>security.link_user_role_authority</code>
*/
public static final LinkUserRoleAuthority LINK_USER_ROLE_AUTHORITY = new LinkUserRoleAuthority();
/**
* The class holding records for this type
*/
@Override
public Class<LinkUserRoleAuthorityRecord> getRecordType() {
return LinkUserRoleAuthorityRecord.class;
}
/**
* The column
* <code>security.link_user_role_authority.user_role_authority_id</code>.
*/
public final TableField<LinkUserRoleAuthorityRecord, String> USER_ROLE_AUTHORITY_ID = createField(DSL.name("user_role_authority_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column <code>security.link_user_role_authority.user_role_id</code>.
*/
public final TableField<LinkUserRoleAuthorityRecord, String> USER_ROLE_ID = createField(DSL.name("user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column <code>security.link_user_role_authority.authority_id</code>.
*/
public final TableField<LinkUserRoleAuthorityRecord, String> AUTHORITY_ID = createField(DSL.name("authority_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column <code>security.link_user_role_authority.created</code>.
*/
public final TableField<LinkUserRoleAuthorityRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
private LinkUserRoleAuthority(Name alias, Table<LinkUserRoleAuthorityRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private LinkUserRoleAuthority(Name alias, Table<LinkUserRoleAuthorityRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>security.link_user_role_authority</code> table
* reference
*/
public LinkUserRoleAuthority(String alias) {
this(DSL.name(alias), LINK_USER_ROLE_AUTHORITY);
}
/**
* Create an aliased <code>security.link_user_role_authority</code> table
* reference
*/
public LinkUserRoleAuthority(Name alias) {
this(alias, LINK_USER_ROLE_AUTHORITY);
}
/**
* Create a <code>security.link_user_role_authority</code> table reference
*/
public LinkUserRoleAuthority() {
this(DSL.name("link_user_role_authority"), null);
}
public <O extends Record> LinkUserRoleAuthority(Table<O> path, ForeignKey<O, LinkUserRoleAuthorityRecord> childPath, InverseForeignKey<O, LinkUserRoleAuthorityRecord> parentPath) {
super(path, childPath, parentPath, LINK_USER_ROLE_AUTHORITY);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class LinkUserRoleAuthorityPath extends LinkUserRoleAuthority implements Path<LinkUserRoleAuthorityRecord> {
public <O extends Record> LinkUserRoleAuthorityPath(Table<O> path, ForeignKey<O, LinkUserRoleAuthorityRecord> childPath, InverseForeignKey<O, LinkUserRoleAuthorityRecord> parentPath) {
super(path, childPath, parentPath);
}
private LinkUserRoleAuthorityPath(Name alias, Table<LinkUserRoleAuthorityRecord> aliased) {
super(alias, aliased);
}
@Override
public LinkUserRoleAuthorityPath as(String alias) {
return new LinkUserRoleAuthorityPath(DSL.name(alias), this);
}
@Override
public LinkUserRoleAuthorityPath as(Name alias) {
return new LinkUserRoleAuthorityPath(alias, this);
}
@Override
public LinkUserRoleAuthorityPath as(Table<?> alias) {
return new LinkUserRoleAuthorityPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Security.SECURITY;
}
@Override
public UniqueKey<LinkUserRoleAuthorityRecord> getPrimaryKey() {
return Keys.PK_ROLE_AUTHORITY;
}
@Override
public List<UniqueKey<LinkUserRoleAuthorityRecord>> getUniqueKeys() {
return Arrays.asList(Keys.UNI_ROLE_AUTHORITY);
}
@Override
public List<ForeignKey<LinkUserRoleAuthorityRecord, ?>> getReferences() {
return Arrays.asList(Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY);
}
private transient UserRolePath _userRole;
/**
* Get the implicit join path to the <code>security.user_role</code> table.
*/
public UserRolePath userRole() {
if (_userRole == null)
_userRole = new UserRolePath(this, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE, null);
return _userRole;
}
private transient AuthorityPath _authority;
/**
* Get the implicit join path to the <code>security.authority</code> table.
*/
public AuthorityPath authority() {
if (_authority == null)
_authority = new AuthorityPath(this, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY, null);
return _authority;
}
@Override
public LinkUserRoleAuthority as(String alias) {
return new LinkUserRoleAuthority(DSL.name(alias), this);
}
@Override
public LinkUserRoleAuthority as(Name alias) {
return new LinkUserRoleAuthority(alias, this);
}
@Override
public LinkUserRoleAuthority as(Table<?> alias) {
return new LinkUserRoleAuthority(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public LinkUserRoleAuthority rename(String name) {
return new LinkUserRoleAuthority(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public LinkUserRoleAuthority rename(Name name) {
return new LinkUserRoleAuthority(name, null);
}
/**
* Rename this table
*/
@Override
public LinkUserRoleAuthority rename(Table<?> name) {
return new LinkUserRoleAuthority(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserRoleAuthority where(Condition condition) {
return new LinkUserRoleAuthority(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserRoleAuthority where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserRoleAuthority where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserRoleAuthority where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public LinkUserRoleAuthority where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public LinkUserRoleAuthority where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public LinkUserRoleAuthority where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public LinkUserRoleAuthority where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserRoleAuthority whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public LinkUserRoleAuthority whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,312 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.OrgUnit.OrgUnitPath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount.UserAccountPath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.OrgUnitRecord;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class OrgUnit extends TableImpl<OrgUnitRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>security.org_unit</code>
*/
public static final OrgUnit ORG_UNIT = new OrgUnit();
/**
* The class holding records for this type
*/
@Override
public Class<OrgUnitRecord> getRecordType() {
return OrgUnitRecord.class;
}
/**
* The column <code>security.org_unit.id</code>.
*/
public final TableField<OrgUnitRecord, String> ID = createField(DSL.name("id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column <code>security.org_unit.name</code>.
*/
public final TableField<OrgUnitRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(1000).nullable(false), this, "");
/**
* The column <code>security.org_unit.code</code>.
*/
public final TableField<OrgUnitRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(50).nullable(false), this, "");
/**
* The column <code>security.org_unit.parent_id</code>.
*/
public final TableField<OrgUnitRecord, String> PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.CHAR(36), this, "");
/**
* The column <code>security.org_unit.removed</code>.
*/
public final TableField<OrgUnitRecord, Boolean> REMOVED = createField(DSL.name("removed"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
private OrgUnit(Name alias, Table<OrgUnitRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private OrgUnit(Name alias, Table<OrgUnitRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>security.org_unit</code> table reference
*/
public OrgUnit(String alias) {
this(DSL.name(alias), ORG_UNIT);
}
/**
* Create an aliased <code>security.org_unit</code> table reference
*/
public OrgUnit(Name alias) {
this(alias, ORG_UNIT);
}
/**
* Create a <code>security.org_unit</code> table reference
*/
public OrgUnit() {
this(DSL.name("org_unit"), null);
}
public <O extends Record> OrgUnit(Table<O> path, ForeignKey<O, OrgUnitRecord> childPath, InverseForeignKey<O, OrgUnitRecord> parentPath) {
super(path, childPath, parentPath, ORG_UNIT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class OrgUnitPath extends OrgUnit implements Path<OrgUnitRecord> {
public <O extends Record> OrgUnitPath(Table<O> path, ForeignKey<O, OrgUnitRecord> childPath, InverseForeignKey<O, OrgUnitRecord> parentPath) {
super(path, childPath, parentPath);
}
private OrgUnitPath(Name alias, Table<OrgUnitRecord> aliased) {
super(alias, aliased);
}
@Override
public OrgUnitPath as(String alias) {
return new OrgUnitPath(DSL.name(alias), this);
}
@Override
public OrgUnitPath as(Name alias) {
return new OrgUnitPath(alias, this);
}
@Override
public OrgUnitPath as(Table<?> alias) {
return new OrgUnitPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Security.SECURITY;
}
@Override
public UniqueKey<OrgUnitRecord> getPrimaryKey() {
return Keys.PK_ORG_UNIT;
}
@Override
public List<UniqueKey<OrgUnitRecord>> getUniqueKeys() {
return Arrays.asList(Keys.ORG_UNIT_CODE_KEY);
}
@Override
public List<ForeignKey<OrgUnitRecord, ?>> getReferences() {
return Arrays.asList(Keys.ORG_UNIT__FK_ORG_UNIT_PARENT_ID);
}
private transient OrgUnitPath _orgUnit;
/**
* Get the implicit join path to the <code>security.org_unit</code> table.
*/
public OrgUnitPath orgUnit() {
if (_orgUnit == null)
_orgUnit = new OrgUnitPath(this, Keys.ORG_UNIT__FK_ORG_UNIT_PARENT_ID, null);
return _orgUnit;
}
private transient UserAccountPath _userAccount;
/**
* Get the implicit to-many join path to the
* <code>security.user_account</code> table
*/
public UserAccountPath userAccount() {
if (_userAccount == null)
_userAccount = new UserAccountPath(this, null, Keys.USER_ACCOUNT__FK_USER_ORG_UNIT_ID.getInverseKey());
return _userAccount;
}
@Override
public OrgUnit as(String alias) {
return new OrgUnit(DSL.name(alias), this);
}
@Override
public OrgUnit as(Name alias) {
return new OrgUnit(alias, this);
}
@Override
public OrgUnit as(Table<?> alias) {
return new OrgUnit(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public OrgUnit rename(String name) {
return new OrgUnit(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public OrgUnit rename(Name name) {
return new OrgUnit(name, null);
}
/**
* Rename this table
*/
@Override
public OrgUnit rename(Table<?> name) {
return new OrgUnit(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public OrgUnit where(Condition condition) {
return new OrgUnit(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public OrgUnit where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public OrgUnit where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public OrgUnit where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public OrgUnit where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public OrgUnit where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public OrgUnit where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public OrgUnit where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public OrgUnit whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public OrgUnit whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,395 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.EsiaUser.EsiaUserPath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserAccountUserGroup.LinkUserAccountUserGroupPath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.OrgUnit.OrgUnitPath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccountRefreshToken.UserAccountRefreshTokenPath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup.UserGroupPath;
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.UserAccountRecord;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UserAccount extends TableImpl<UserAccountRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>security.user_account</code>
*/
public static final UserAccount USER_ACCOUNT = new UserAccount();
/**
* The class holding records for this type
*/
@Override
public Class<UserAccountRecord> getRecordType() {
return UserAccountRecord.class;
}
/**
* The column <code>security.user_account.user_account_id</code>.
*/
public final TableField<UserAccountRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column <code>security.user_account.email</code>.
*/
public final TableField<UserAccountRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(150).nullable(false), this, "");
/**
* The column <code>security.user_account.first_name</code>.
*/
public final TableField<UserAccountRecord, String> FIRST_NAME = createField(DSL.name("first_name"), SQLDataType.VARCHAR(100).nullable(false), this, "");
/**
* The column <code>security.user_account.last_name</code>.
*/
public final TableField<UserAccountRecord, String> LAST_NAME = createField(DSL.name("last_name"), SQLDataType.VARCHAR(100).nullable(false), this, "");
/**
* The column <code>security.user_account.middle_name</code>.
*/
public final TableField<UserAccountRecord, String> MIDDLE_NAME = createField(DSL.name("middle_name"), SQLDataType.VARCHAR(100), this, "");
/**
* The column <code>security.user_account.created</code>.
*/
public final TableField<UserAccountRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>security.user_account.updated</code>.
*/
public final TableField<UserAccountRecord, Timestamp> UPDATED = createField(DSL.name("updated"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>security.user_account.locked</code>.
*/
public final TableField<UserAccountRecord, Boolean> LOCKED = createField(DSL.name("locked"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>security.user_account.org_unit_id</code>.
*/
public final TableField<UserAccountRecord, String> ORG_UNIT_ID = createField(DSL.name("org_unit_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column <code>security.user_account.username</code>.
*/
public final TableField<UserAccountRecord, String> USERNAME = createField(DSL.name("username"), SQLDataType.VARCHAR(150).nullable(false), this, "");
/**
* The column <code>security.user_account.phone</code>.
*/
public final TableField<UserAccountRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(16), this, "");
/**
* The column <code>security.user_account.email_confirmed</code>.
*/
public final TableField<UserAccountRecord, Boolean> EMAIL_CONFIRMED = createField(DSL.name("email_confirmed"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>security.user_account.user_source</code>.
*/
public final TableField<UserAccountRecord, String> USER_SOURCE = createField(DSL.name("user_source"), SQLDataType.VARCHAR(20).nullable(false).defaultValue(DSL.field(DSL.raw("'LOCAL'::character varying"), SQLDataType.VARCHAR)), this, "");
/**
* The column <code>security.user_account.source_name</code>.
*/
public final TableField<UserAccountRecord, String> SOURCE_NAME = createField(DSL.name("source_name"), SQLDataType.VARCHAR(20), this, "");
private UserAccount(Name alias, Table<UserAccountRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private UserAccount(Name alias, Table<UserAccountRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>security.user_account</code> table reference
*/
public UserAccount(String alias) {
this(DSL.name(alias), USER_ACCOUNT);
}
/**
* Create an aliased <code>security.user_account</code> table reference
*/
public UserAccount(Name alias) {
this(alias, USER_ACCOUNT);
}
/**
* Create a <code>security.user_account</code> table reference
*/
public UserAccount() {
this(DSL.name("user_account"), null);
}
public <O extends Record> UserAccount(Table<O> path, ForeignKey<O, UserAccountRecord> childPath, InverseForeignKey<O, UserAccountRecord> parentPath) {
super(path, childPath, parentPath, USER_ACCOUNT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class UserAccountPath extends UserAccount implements Path<UserAccountRecord> {
public <O extends Record> UserAccountPath(Table<O> path, ForeignKey<O, UserAccountRecord> childPath, InverseForeignKey<O, UserAccountRecord> parentPath) {
super(path, childPath, parentPath);
}
private UserAccountPath(Name alias, Table<UserAccountRecord> aliased) {
super(alias, aliased);
}
@Override
public UserAccountPath as(String alias) {
return new UserAccountPath(DSL.name(alias), this);
}
@Override
public UserAccountPath as(Name alias) {
return new UserAccountPath(alias, this);
}
@Override
public UserAccountPath as(Table<?> alias) {
return new UserAccountPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Security.SECURITY;
}
@Override
public UniqueKey<UserAccountRecord> getPrimaryKey() {
return Keys.PK_USER;
}
@Override
public List<UniqueKey<UserAccountRecord>> getUniqueKeys() {
return Arrays.asList(Keys.USER_ACCOUNT_USERNAME_UNIQUE);
}
@Override
public List<ForeignKey<UserAccountRecord, ?>> getReferences() {
return Arrays.asList(Keys.USER_ACCOUNT__FK_USER_ORG_UNIT_ID);
}
private transient OrgUnitPath _orgUnit;
/**
* Get the implicit join path to the <code>security.org_unit</code> table.
*/
public OrgUnitPath orgUnit() {
if (_orgUnit == null)
_orgUnit = new OrgUnitPath(this, Keys.USER_ACCOUNT__FK_USER_ORG_UNIT_ID, null);
return _orgUnit;
}
private transient EsiaUserPath _esiaUser;
/**
* Get the implicit to-many join path to the <code>security.esia_user</code>
* table
*/
public EsiaUserPath esiaUser() {
if (_esiaUser == null)
_esiaUser = new EsiaUserPath(this, null, Keys.ESIA_USER__FK_ESIA_USER1.getInverseKey());
return _esiaUser;
}
private transient LinkUserAccountUserGroupPath _linkUserAccountUserGroup;
/**
* Get the implicit to-many join path to the
* <code>security.link_user_account_user_group</code> table
*/
public LinkUserAccountUserGroupPath linkUserAccountUserGroup() {
if (_linkUserAccountUserGroup == null)
_linkUserAccountUserGroup = new LinkUserAccountUserGroupPath(this, null, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER.getInverseKey());
return _linkUserAccountUserGroup;
}
private transient UserAccountRefreshTokenPath _userAccountRefreshToken;
/**
* Get the implicit to-many join path to the
* <code>security.user_account_refresh_token</code> table
*/
public UserAccountRefreshTokenPath userAccountRefreshToken() {
if (_userAccountRefreshToken == null)
_userAccountRefreshToken = new UserAccountRefreshTokenPath(this, null, Keys.USER_ACCOUNT_REFRESH_TOKEN__FK_USER_ACCOUNT_REFRESH_TOKEN.getInverseKey());
return _userAccountRefreshToken;
}
/**
* Get the implicit many-to-many join path to the
* <code>security.user_group</code> table
*/
public UserGroupPath userGroup() {
return linkUserAccountUserGroup().userGroup();
}
@Override
public UserAccount as(String alias) {
return new UserAccount(DSL.name(alias), this);
}
@Override
public UserAccount as(Name alias) {
return new UserAccount(alias, this);
}
@Override
public UserAccount as(Table<?> alias) {
return new UserAccount(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public UserAccount rename(String name) {
return new UserAccount(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public UserAccount rename(Name name) {
return new UserAccount(name, null);
}
/**
* Rename this table
*/
@Override
public UserAccount rename(Table<?> name) {
return new UserAccount(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public UserAccount where(Condition condition) {
return new UserAccount(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public UserAccount where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public UserAccount where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public UserAccount where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public UserAccount where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public UserAccount where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public UserAccount where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public UserAccount where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public UserAccount whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public UserAccount whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

Some files were not shown because too many files have changed in this diff Show more