first commit
This commit is contained in:
commit
b3a642dffb
1189 changed files with 329233 additions and 0 deletions
67
.gitignore
vendored
Normal file
67
.gitignore
vendored
Normal 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
29
.studioignore
Normal 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
|
||||
224
README.md
Normal file
224
README.md
Normal 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 в качестве имени базы данных используйте базу данных приложения.
|
||||
|
||||
Предоставление необходимых прав для роли <your-project-security-role>
|
||||
|
||||
```
|
||||
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";
|
||||
```
|
||||
|
||||
## Дополнительные ограничения базы секьюрити
|
||||
|
||||
Логин пользователя <user_account.username> и имена ролей <user_role.name> не должны совпадать, так как в ходе работы 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
|
||||
```
|
||||
|
||||
## Создание нового администратора
|
||||
|
||||
Создайте группу <your-admin-group> и предоставьте ей права в модуль администрирования. Для этого выполните в БД проекта
|
||||
|
||||
```
|
||||
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 студии
|
||||
292
backend/pom.xml
Normal file
292
backend/pom.xml
Normal file
|
|
@ -0,0 +1,292 @@
|
|||
<?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.8.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>
|
||||
</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>
|
||||
<scope>compile</scope>
|
||||
</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>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>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-slf4j2-impl</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-jul</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-web</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>
|
||||
</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>
|
||||
118
backend/src/main/java/AppConfig.java
Normal file
118
backend/src/main/java/AppConfig.java
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
import java.lang.invoke.MethodHandles;
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Statement;
|
||||
import java.time.Duration;
|
||||
import java.util.Collections;
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import liquibase.integration.spring.SpringLiquibase;
|
||||
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.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
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"),
|
||||
@ComponentScan.Filter(type = FilterType.REGEX, pattern = "ru.cg.webbpm.modules.database.impl.DatabaseConfiguration"),
|
||||
})
|
||||
@EnableAspectJAutoProxy(proxyTargetClass = true)
|
||||
@EnableWebMvc
|
||||
@EnableScheduling
|
||||
public class AppConfig {
|
||||
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public SpringLiquibase liquibase(@Qualifier("datasource") DataSource dataSource) {
|
||||
SpringLiquibase liquibase = new SpringLiquibase();
|
||||
createErvuDashboardSchema(dataSource);
|
||||
liquibase.setDataSource(dataSource);
|
||||
liquibase.setChangeLog("classpath:config/changelog-master.xml");
|
||||
liquibase.setChangeLogParameters(Collections.singletonMap("projectUser", getProjectDbUserName(dataSource)));
|
||||
liquibase.setDefaultSchema("ervu_dashboard");
|
||||
return liquibase;
|
||||
}
|
||||
|
||||
private String getProjectDbUserName(DataSource dataSource) {
|
||||
try (Connection connection = dataSource.getConnection()) {
|
||||
return connection.getMetaData().getUserName();
|
||||
}
|
||||
catch (SQLException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
private void createErvuDashboardSchema(DataSource dataSource) {
|
||||
try (Connection connection = dataSource.getConnection()) {
|
||||
LOGGER.info("Start creating ervu_dashboard schema");
|
||||
String sql = "CREATE SCHEMA IF NOT EXISTS ervu_dashboard;";
|
||||
try (Statement statement = connection.createStatement()) {
|
||||
connection.setAutoCommit(false);
|
||||
statement.execute(sql);
|
||||
connection.commit();
|
||||
LOGGER.info("ervu_dashboard schema was created");
|
||||
}
|
||||
catch (SQLException e) {
|
||||
connection.rollback();
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
catch (SQLException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
31
backend/src/main/java/WebAppInitializer.java
Normal file
31
backend/src/main/java/WebAppInitializer.java
Normal 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];
|
||||
}
|
||||
}
|
||||
22
backend/src/main/java/component/model/TreeItemDto.java
Normal file
22
backend/src/main/java/component/model/TreeItemDto.java
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
package component.model;
|
||||
|
||||
import ru.cg.webbpm.modules.webkit.annotations.Model;
|
||||
|
||||
/**
|
||||
* @author r.latypov
|
||||
*/
|
||||
@Model
|
||||
public class TreeItemDto {
|
||||
public Object id;
|
||||
public Object parentId;
|
||||
public String label;
|
||||
public TreeItemDto[] children;
|
||||
public Object businessId;
|
||||
public String domainId;
|
||||
|
||||
public TreeItemDto(Object id, Object parentId, String label) {
|
||||
this.id = id;
|
||||
this.parentId = parentId;
|
||||
this.label = label;
|
||||
}
|
||||
}
|
||||
28
backend/src/main/java/component/rpc/TreeItemRpcService.java
Normal file
28
backend/src/main/java/component/rpc/TreeItemRpcService.java
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
package component.rpc;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import component.model.TreeItemDto;
|
||||
import component.service.TreeItemService;
|
||||
|
||||
import ru.cg.webbpm.modules.webkit.annotations.RpcCall;
|
||||
import ru.cg.webbpm.modules.webkit.annotations.RpcService;
|
||||
import ru.cg.webbpm.modules.webkit.beans.Behavior;
|
||||
|
||||
/**
|
||||
* @author r.latypov
|
||||
*/
|
||||
@RpcService
|
||||
public class TreeItemRpcService extends Behavior {
|
||||
public TreeItemService treeItemService;
|
||||
|
||||
@RpcCall
|
||||
public List<TreeItemDto> loadTreeData() {
|
||||
return treeItemService.loadTreeData();
|
||||
}
|
||||
|
||||
@RpcCall
|
||||
public List<TreeItemDto> loadTreeDataByDomainId(String domainId) {
|
||||
return treeItemService.loadTreeDataByDomainId(domainId);
|
||||
}
|
||||
}
|
||||
126
backend/src/main/java/component/service/TreeItemService.java
Normal file
126
backend/src/main/java/component/service/TreeItemService.java
Normal file
|
|
@ -0,0 +1,126 @@
|
|||
package component.service;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import component.model.TreeItemDto;
|
||||
import component.rpc.TreeItemRpcService;
|
||||
import database.dao.DefaultLoadDao;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
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.annotation.GraphSource;
|
||||
import ru.cg.webbpm.modules.database.bean.annotation.TypedColumn;
|
||||
import ru.cg.webbpm.modules.database.bean.entity_graph.EntityColumn;
|
||||
import ru.cg.webbpm.modules.database.bean.entity_graph.EntityColumnType;
|
||||
import ru.cg.webbpm.modules.standard_annotations.validation.NotNull;
|
||||
|
||||
/**
|
||||
* @author r.latypov
|
||||
*/
|
||||
@Service
|
||||
public class TreeItemService {
|
||||
@NotNull
|
||||
public DefaultLoadDao loadDao;
|
||||
@GraphSource(value = TreeItemRpcService.class, scanMode = GraphSource.ScanMode.SELF)
|
||||
@NotNull
|
||||
public EntityColumn idColumn;
|
||||
@GraphSource(value = TreeItemRpcService.class, scanMode = GraphSource.ScanMode.SELF)
|
||||
@NotNull
|
||||
public EntityColumn parentIdColumn;
|
||||
@GraphSource(value = TreeItemRpcService.class, scanMode = GraphSource.ScanMode.SELF)
|
||||
@TypedColumn(colTypes = EntityColumnType.STRING)
|
||||
@NotNull
|
||||
public EntityColumn labelColumn;
|
||||
@GraphSource(value = TreeItemRpcService.class, scanMode = GraphSource.ScanMode.SELF)
|
||||
public EntityColumn businessIdColumn;
|
||||
@GraphSource(value = TreeItemRpcService.class, scanMode = GraphSource.ScanMode.SELF)
|
||||
public EntityColumn domainIdColumn;
|
||||
|
||||
public List<TreeItemDto> loadTreeData() {
|
||||
List<TreeItemDto> loadedTreeItems = loadTreeItems();
|
||||
loadedTreeItems.forEach(item -> item.domainId = null);
|
||||
return loadedTreeItems.stream()
|
||||
.filter(item -> item.parentId == null)
|
||||
.toList();
|
||||
}
|
||||
|
||||
public List<TreeItemDto> loadTreeDataByDomainId(String domainId) {
|
||||
if (domainId == null || domainIdColumn == null) {
|
||||
return loadTreeData();
|
||||
}
|
||||
|
||||
List<TreeItemDto> filteredTreeItems = loadTreeItems().stream()
|
||||
.filter(item -> item.domainId.equalsIgnoreCase(domainId))
|
||||
.toList();
|
||||
filteredTreeItems.forEach(this::setDomainIdToNull);
|
||||
return filteredTreeItems;
|
||||
}
|
||||
|
||||
private void setDomainIdToNull(TreeItemDto treeItem) {
|
||||
treeItem.domainId = null;
|
||||
TreeItemDto[] treeItemChildren = treeItem.children;
|
||||
if (treeItemChildren != null && treeItemChildren.length > 0) {
|
||||
for (TreeItemDto child : treeItemChildren) {
|
||||
setDomainIdToNull(child);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private List<TreeItemDto> loadTreeItems() {
|
||||
List<TreeItemDto> loadedList = this.loadDao.load(getColumns(), new LoadOptions()).stream()
|
||||
.map(this::toTreeItemDto)
|
||||
.toList();
|
||||
|
||||
Map<Object, List<TreeItemDto>> childrenMap = new HashMap<>();
|
||||
loadedList.forEach(item -> {
|
||||
Object parentId = item.parentId;
|
||||
if (parentId != null) {
|
||||
List<TreeItemDto> listFromMap = childrenMap.computeIfAbsent(parentId,
|
||||
k -> new ArrayList<>()
|
||||
);
|
||||
listFromMap.add(item);
|
||||
}
|
||||
});
|
||||
|
||||
loadedList.forEach(item -> {
|
||||
List<TreeItemDto> children = childrenMap.get(item.id);
|
||||
if (children != null) {
|
||||
item.children = children.toArray(new TreeItemDto[0]);
|
||||
}
|
||||
});
|
||||
return loadedList;
|
||||
}
|
||||
|
||||
private Set<EntityColumn> getColumns() {
|
||||
Set<EntityColumn> columnSet = new HashSet<>();
|
||||
columnSet.add(idColumn);
|
||||
columnSet.add(parentIdColumn);
|
||||
columnSet.add(labelColumn);
|
||||
if (businessIdColumn != null) {
|
||||
columnSet.add(businessIdColumn);
|
||||
}
|
||||
if (domainIdColumn != null) {
|
||||
columnSet.add(domainIdColumn);
|
||||
}
|
||||
return columnSet;
|
||||
}
|
||||
|
||||
private TreeItemDto toTreeItemDto(TableRow tableRow) {
|
||||
TreeItemDto treeItemDto = new TreeItemDto(
|
||||
tableRow.get(idColumn), tableRow.get(parentIdColumn), (String) tableRow.get(labelColumn)
|
||||
);
|
||||
if (businessIdColumn != null) {
|
||||
treeItemDto.businessId = tableRow.get(businessIdColumn);
|
||||
}
|
||||
if (domainIdColumn != null) {
|
||||
treeItemDto.domainId =(String) tableRow.get(domainIdColumn);
|
||||
}
|
||||
return treeItemDto;
|
||||
}
|
||||
}
|
||||
35
backend/src/main/java/dto/jivoprofile/JivoProfileDto.java
Normal file
35
backend/src/main/java/dto/jivoprofile/JivoProfileDto.java
Normal 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;
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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);
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
@ -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);
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
@ -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();
|
||||
}
|
||||
|
|
@ -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);
|
||||
}
|
||||
|
|
@ -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
|
||||
))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,112 @@
|
|||
/*
|
||||
* 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.ervu_dashboard.ErvuDashboard;
|
||||
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>ervu_dashboard</code>.
|
||||
*/
|
||||
public final ErvuDashboard ERVU_DASHBOARD = ErvuDashboard.ERVU_DASHBOARD;
|
||||
|
||||
/**
|
||||
* 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,
|
||||
ErvuDashboard.ERVU_DASHBOARD,
|
||||
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;
|
||||
}
|
||||
|
|
@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,51 @@
|
|||
/*
|
||||
* 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.ervu_dashboard.tables.PubRecruitment;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.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.ervu_dashboard.Keys.PUB_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.ervu_dashboard.Keys.PUB_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<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.ervu_dashboard.Keys.PUB_RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -0,0 +1,316 @@
|
|||
/*
|
||||
* 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.ervu_dashboard.tables.PubRecruitment.PubRecruitmentPath;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* Основной профиль уровень РФ
|
||||
*/
|
||||
@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, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36), 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>ervu_dashboard.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));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,332 @@
|
|||
/*
|
||||
* 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.ervu_dashboard.tables.PubRecruitment.PubRecruitmentPath;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* Причины обжалования уровень РФ
|
||||
*/
|
||||
@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, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36), 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>ervu_dashboard.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));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,309 @@
|
|||
/*
|
||||
* 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.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);
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,340 @@
|
|||
/*
|
||||
* 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.ervu_dashboard.tables.PubRecruitment.PubRecruitmentPath;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* Тема обжалования уровень РФ
|
||||
*/
|
||||
@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, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36), 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>ervu_dashboard.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));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
/*
|
||||
* 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 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(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>appeals.main_profile.recruitment_id</code>.
|
||||
*/
|
||||
public String getRecruitmentId() {
|
||||
return (String) 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, String recruitmentId) {
|
||||
super(MainProfile.MAIN_PROFILE);
|
||||
|
||||
setIdMainProfile(idMainProfile);
|
||||
setGender(gender);
|
||||
setAge(age);
|
||||
setChildMin_18(childMin_18);
|
||||
setEducation(education);
|
||||
setEmployment(employment);
|
||||
setRecordingDate(recordingDate);
|
||||
setRecruitmentId(recruitmentId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,212 @@
|
|||
/*
|
||||
* 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 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(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>appeals.reasons_appeal.recruitment_id</code>.
|
||||
*/
|
||||
public String getRecruitmentId() {
|
||||
return (String) 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, String 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();
|
||||
}
|
||||
}
|
||||
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,233 @@
|
|||
/*
|
||||
* 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 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(String value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>appeals.topic_appeal.recruitment_id</code>.
|
||||
*/
|
||||
public String getRecruitmentId() {
|
||||
return (String) 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, String 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();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,210 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.DefaultCatalog;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizen;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenChild;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenGuardianship;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenSpouse;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizenship;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenshipForeign;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangelog;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Decision;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Deputy;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disease;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.DriversLicence;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.MedicalAuthorities;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Passport;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Prosecution;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Punishment;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.TemporaryMeasures;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Work;
|
||||
|
||||
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 ErvuDashboard extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard</code>
|
||||
*/
|
||||
public static final ErvuDashboard ERVU_DASHBOARD = new ErvuDashboard();
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.citizen</code>.
|
||||
*/
|
||||
public final Citizen CITIZEN = Citizen.CITIZEN;
|
||||
|
||||
/**
|
||||
* сведения о детях гражданина
|
||||
*/
|
||||
public final CitizenChild CITIZEN_CHILD = CitizenChild.CITIZEN_CHILD;
|
||||
|
||||
/**
|
||||
* сведения о лице, опекаемом или находящемся на попечении
|
||||
*/
|
||||
public final CitizenGuardianship CITIZEN_GUARDIANSHIP = CitizenGuardianship.CITIZEN_GUARDIANSHIP;
|
||||
|
||||
/**
|
||||
* сведения о супруге (бывшей/ем супруге) гражданина
|
||||
*/
|
||||
public final CitizenSpouse CITIZEN_SPOUSE = CitizenSpouse.CITIZEN_SPOUSE;
|
||||
|
||||
/**
|
||||
* сведения о гражданстве РФ
|
||||
*/
|
||||
public final Citizenship CITIZENSHIP = Citizenship.CITIZENSHIP;
|
||||
|
||||
/**
|
||||
* сведения об иностранном гражданстве
|
||||
*/
|
||||
public final CitizenshipForeign CITIZENSHIP_FOREIGN = CitizenshipForeign.CITIZENSHIP_FOREIGN;
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.databasechangelog</code>.
|
||||
*/
|
||||
public final Databasechangelog DATABASECHANGELOG = Databasechangelog.DATABASECHANGELOG;
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.databasechangeloglock</code>.
|
||||
*/
|
||||
public final Databasechangeloglock DATABASECHANGELOGLOCK = Databasechangeloglock.DATABASECHANGELOGLOCK;
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.decision</code>.
|
||||
*/
|
||||
public final Decision DECISION = Decision.DECISION;
|
||||
|
||||
/**
|
||||
* сведения о гражданах, избранных депутатами/зарегистрированных кандидатами
|
||||
* на участие в выборах
|
||||
*/
|
||||
public final Deputy DEPUTY = Deputy.DEPUTY;
|
||||
|
||||
/**
|
||||
* сведения об инвалидности/недееспособности/ограниченной дееспособности
|
||||
*/
|
||||
public final Disability DISABILITY = Disability.DISABILITY;
|
||||
|
||||
/**
|
||||
* сведения о заболеваниях гражданина
|
||||
*/
|
||||
public final Disease DISEASE = Disease.DISEASE;
|
||||
|
||||
/**
|
||||
* удостоверение водительское/тракториста-машиниста
|
||||
*/
|
||||
public final DriversLicence DRIVERS_LICENCE = DriversLicence.DRIVERS_LICENCE;
|
||||
|
||||
/**
|
||||
* сведения о гражданах, стоящих на учете в ПНД/по ВИЧ
|
||||
*/
|
||||
public final MedicalAuthorities MEDICAL_AUTHORITIES = MedicalAuthorities.MEDICAL_AUTHORITIES;
|
||||
|
||||
/**
|
||||
* сведения о паспорте
|
||||
*/
|
||||
public final Passport PASSPORT = Passport.PASSPORT;
|
||||
|
||||
/**
|
||||
* сведения об имуществе
|
||||
*/
|
||||
public final Property PROPERTY = Property.PROPERTY;
|
||||
|
||||
/**
|
||||
* сведения об уголовном преследовании
|
||||
*/
|
||||
public final Prosecution PROSECUTION = Prosecution.PROSECUTION;
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.pub_recruitment</code>.
|
||||
*/
|
||||
public final PubRecruitment PUB_RECRUITMENT = PubRecruitment.PUB_RECRUITMENT;
|
||||
|
||||
/**
|
||||
* сведения об уголовном преследовании и вынесенном приговоре
|
||||
*/
|
||||
public final Punishment PUNISHMENT = Punishment.PUNISHMENT;
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.recruitment</code>.
|
||||
*/
|
||||
public final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
|
||||
|
||||
/**
|
||||
* сведения о направлении повестки военного комиссариата
|
||||
*/
|
||||
public final Subpoena SUBPOENA = Subpoena.SUBPOENA;
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.temporary_measures</code>.
|
||||
*/
|
||||
public final TemporaryMeasures TEMPORARY_MEASURES = TemporaryMeasures.TEMPORARY_MEASURES;
|
||||
|
||||
/**
|
||||
* сведения об имуществе
|
||||
*/
|
||||
public final Work WORK = Work.WORK;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private ErvuDashboard() {
|
||||
super("ervu_dashboard", null);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return DefaultCatalog.DEFAULT_CATALOG;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
return Arrays.asList(
|
||||
Citizen.CITIZEN,
|
||||
CitizenChild.CITIZEN_CHILD,
|
||||
CitizenGuardianship.CITIZEN_GUARDIANSHIP,
|
||||
CitizenSpouse.CITIZEN_SPOUSE,
|
||||
Citizenship.CITIZENSHIP,
|
||||
CitizenshipForeign.CITIZENSHIP_FOREIGN,
|
||||
Databasechangelog.DATABASECHANGELOG,
|
||||
Databasechangeloglock.DATABASECHANGELOGLOCK,
|
||||
Decision.DECISION,
|
||||
Deputy.DEPUTY,
|
||||
Disability.DISABILITY,
|
||||
Disease.DISEASE,
|
||||
DriversLicence.DRIVERS_LICENCE,
|
||||
MedicalAuthorities.MEDICAL_AUTHORITIES,
|
||||
Passport.PASSPORT,
|
||||
Property.PROPERTY,
|
||||
Prosecution.PROSECUTION,
|
||||
PubRecruitment.PUB_RECRUITMENT,
|
||||
Punishment.PUNISHMENT,
|
||||
Recruitment.RECRUITMENT,
|
||||
Subpoena.SUBPOENA,
|
||||
TemporaryMeasures.TEMPORARY_MEASURES,
|
||||
Work.WORK
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,92 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizen;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenChild;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenGuardianship;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenSpouse;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizenship;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenshipForeign;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Decision;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Deputy;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disease;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.DriversLicence;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.MedicalAuthorities;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Passport;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Prosecution;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Punishment;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.TemporaryMeasures;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Work;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenChildRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenGuardianshipRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenSpouseRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenshipForeignRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenshipRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DatabasechangeloglockRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DecisionRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DeputyRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DisabilityRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DiseaseRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DriversLicenceRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.MedicalAuthoritiesRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PassportRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PropertyRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.ProsecutionRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PubRecruitmentRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PunishmentRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.RecruitmentRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.SubpoenaRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.TemporaryMeasuresRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.WorkRecord;
|
||||
|
||||
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
|
||||
* ervu_dashboard.
|
||||
*/
|
||||
@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.RECRUIT_ID }, true);
|
||||
public static final UniqueKey<CitizenChildRecord> PK_CITIZEN_CHILD = Internal.createUniqueKey(CitizenChild.CITIZEN_CHILD, DSL.name("pk_citizen_child"), new TableField[] { CitizenChild.CITIZEN_CHILD.CITIZEN_CHILD_ID }, true);
|
||||
public static final UniqueKey<CitizenGuardianshipRecord> PK_CITIZEN_GUARDIANSHIP = Internal.createUniqueKey(CitizenGuardianship.CITIZEN_GUARDIANSHIP, DSL.name("pk_citizen_guardianship"), new TableField[] { CitizenGuardianship.CITIZEN_GUARDIANSHIP.CITIZEN_GUARDIANSHIP_ID }, true);
|
||||
public static final UniqueKey<CitizenSpouseRecord> PK_CITIZEN_SPOUSE = Internal.createUniqueKey(CitizenSpouse.CITIZEN_SPOUSE, DSL.name("pk_citizen_spouse"), new TableField[] { CitizenSpouse.CITIZEN_SPOUSE.CITIZEN_SPOUSE_ID }, true);
|
||||
public static final UniqueKey<CitizenshipRecord> PK_CITIZENSHIP = Internal.createUniqueKey(Citizenship.CITIZENSHIP, DSL.name("pk_citizenship"), new TableField[] { Citizenship.CITIZENSHIP.CITIZENSHIP_ID }, true);
|
||||
public static final UniqueKey<CitizenshipForeignRecord> PK_CITIZENSHIP_FOREIGN = Internal.createUniqueKey(CitizenshipForeign.CITIZENSHIP_FOREIGN, DSL.name("pk_citizenship_foreign"), new TableField[] { CitizenshipForeign.CITIZENSHIP_FOREIGN.CITIZENSHIP_FOREIGN_ID }, true);
|
||||
public static final UniqueKey<DatabasechangeloglockRecord> DATABASECHANGELOGLOCK_PKEY = Internal.createUniqueKey(Databasechangeloglock.DATABASECHANGELOGLOCK, DSL.name("databasechangeloglock_pkey"), new TableField[] { Databasechangeloglock.DATABASECHANGELOGLOCK.ID }, true);
|
||||
public static final UniqueKey<DecisionRecord> DECISION_PKEY = Internal.createUniqueKey(Decision.DECISION, DSL.name("decision_pkey"), new TableField[] { Decision.DECISION.DECISION_ID }, true);
|
||||
public static final UniqueKey<DeputyRecord> PK_DEPUTY = Internal.createUniqueKey(Deputy.DEPUTY, DSL.name("pk_deputy"), new TableField[] { Deputy.DEPUTY.DEPUTY_ID }, true);
|
||||
public static final UniqueKey<DisabilityRecord> PK_DISABILITY = Internal.createUniqueKey(Disability.DISABILITY, DSL.name("pk_disability"), new TableField[] { Disability.DISABILITY.DISABILITY_ID }, true);
|
||||
public static final UniqueKey<DiseaseRecord> PK_DISEASE = Internal.createUniqueKey(Disease.DISEASE, DSL.name("pk_disease"), new TableField[] { Disease.DISEASE.DISEASE_ID }, true);
|
||||
public static final UniqueKey<DriversLicenceRecord> PK_DRIVERS_LICENCE = Internal.createUniqueKey(DriversLicence.DRIVERS_LICENCE, DSL.name("pk_drivers_licence"), new TableField[] { DriversLicence.DRIVERS_LICENCE.DRIVERS_LICENCE_ID }, true);
|
||||
public static final UniqueKey<MedicalAuthoritiesRecord> PK_MEDICAL_AUTHORITIES = Internal.createUniqueKey(MedicalAuthorities.MEDICAL_AUTHORITIES, DSL.name("pk_medical_authorities"), new TableField[] { MedicalAuthorities.MEDICAL_AUTHORITIES.MEDICAL_AUTHORITIES_ID }, true);
|
||||
public static final UniqueKey<PassportRecord> PK_PASSPORT = Internal.createUniqueKey(Passport.PASSPORT, DSL.name("pk_passport"), new TableField[] { Passport.PASSPORT.PASSPORT_ID }, true);
|
||||
public static final UniqueKey<PropertyRecord> PK_PROPERTY = Internal.createUniqueKey(Property.PROPERTY, DSL.name("pk_property"), new TableField[] { Property.PROPERTY.PROPERTY_ID }, true);
|
||||
public static final UniqueKey<ProsecutionRecord> PK_PROSECUTION = Internal.createUniqueKey(Prosecution.PROSECUTION, DSL.name("pk_prosecution"), new TableField[] { Prosecution.PROSECUTION.PROSECUTION_ID }, true);
|
||||
public static final UniqueKey<PubRecruitmentRecord> PUB_RECRUITMENT_PKEY = Internal.createUniqueKey(PubRecruitment.PUB_RECRUITMENT, DSL.name("pub_recruitment_pkey"), new TableField[] { PubRecruitment.PUB_RECRUITMENT.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<PunishmentRecord> PK_PUNISHMENT = Internal.createUniqueKey(Punishment.PUNISHMENT, DSL.name("pk_punishment"), new TableField[] { Punishment.PUNISHMENT.PUNISHMENT_ID }, true);
|
||||
public static final UniqueKey<RecruitmentRecord> RECRUITMENT_PKEY = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("recruitment_pkey"), new TableField[] { Recruitment.RECRUITMENT.ID }, true);
|
||||
public static final UniqueKey<SubpoenaRecord> SUBPOENA_PKEY = Internal.createUniqueKey(Subpoena.SUBPOENA, DSL.name("subpoena_pkey"), new TableField[] { Subpoena.SUBPOENA.SUB_ID }, true);
|
||||
public static final UniqueKey<TemporaryMeasuresRecord> TEMPORARY_MEASURES_PKEY = Internal.createUniqueKey(TemporaryMeasures.TEMPORARY_MEASURES, DSL.name("temporary_measures_pkey"), new TableField[] { TemporaryMeasures.TEMPORARY_MEASURES.TEMPORARY_MEASURES_ID }, true);
|
||||
public static final UniqueKey<WorkRecord> PK_WORK = Internal.createUniqueKey(Work.WORK, DSL.name("pk_work"), new TableField[] { Work.WORK.WORK_ID }, true);
|
||||
}
|
||||
|
|
@ -0,0 +1,285 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV1;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV1mc;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV3;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV4;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV5;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNil;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNsDns;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNsOid;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNsUrl;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNsX500;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Configuration;
|
||||
import org.jooq.Field;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all stored procedures and functions in ervu_dashboard.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Routines {
|
||||
|
||||
/**
|
||||
* Call <code>ervu_dashboard.uuid_generate_v1</code>
|
||||
*/
|
||||
public static UUID uuidGenerateV1(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidGenerateV1 f = new UuidGenerateV1();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>ervu_dashboard.uuid_generate_v1</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidGenerateV1() {
|
||||
UuidGenerateV1 f = new UuidGenerateV1();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>ervu_dashboard.uuid_generate_v1mc</code>
|
||||
*/
|
||||
public static UUID uuidGenerateV1mc(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidGenerateV1mc f = new UuidGenerateV1mc();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>ervu_dashboard.uuid_generate_v1mc</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidGenerateV1mc() {
|
||||
UuidGenerateV1mc f = new UuidGenerateV1mc();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>ervu_dashboard.uuid_generate_v3</code>
|
||||
*/
|
||||
public static UUID uuidGenerateV3(
|
||||
Configuration configuration
|
||||
, UUID namespace
|
||||
, String name
|
||||
) {
|
||||
UuidGenerateV3 f = new UuidGenerateV3();
|
||||
f.setNamespace(namespace);
|
||||
f.setName_(name);
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>ervu_dashboard.uuid_generate_v3</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidGenerateV3(
|
||||
UUID namespace
|
||||
, String name
|
||||
) {
|
||||
UuidGenerateV3 f = new UuidGenerateV3();
|
||||
f.setNamespace(namespace);
|
||||
f.setName_(name);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>ervu_dashboard.uuid_generate_v3</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidGenerateV3(
|
||||
Field<UUID> namespace
|
||||
, Field<String> name
|
||||
) {
|
||||
UuidGenerateV3 f = new UuidGenerateV3();
|
||||
f.setNamespace(namespace);
|
||||
f.setName_(name);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>ervu_dashboard.uuid_generate_v4</code>
|
||||
*/
|
||||
public static UUID uuidGenerateV4(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidGenerateV4 f = new UuidGenerateV4();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>ervu_dashboard.uuid_generate_v4</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidGenerateV4() {
|
||||
UuidGenerateV4 f = new UuidGenerateV4();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>ervu_dashboard.uuid_generate_v5</code>
|
||||
*/
|
||||
public static UUID uuidGenerateV5(
|
||||
Configuration configuration
|
||||
, UUID namespace
|
||||
, String name
|
||||
) {
|
||||
UuidGenerateV5 f = new UuidGenerateV5();
|
||||
f.setNamespace(namespace);
|
||||
f.setName_(name);
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>ervu_dashboard.uuid_generate_v5</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidGenerateV5(
|
||||
UUID namespace
|
||||
, String name
|
||||
) {
|
||||
UuidGenerateV5 f = new UuidGenerateV5();
|
||||
f.setNamespace(namespace);
|
||||
f.setName_(name);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>ervu_dashboard.uuid_generate_v5</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidGenerateV5(
|
||||
Field<UUID> namespace
|
||||
, Field<String> name
|
||||
) {
|
||||
UuidGenerateV5 f = new UuidGenerateV5();
|
||||
f.setNamespace(namespace);
|
||||
f.setName_(name);
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>ervu_dashboard.uuid_nil</code>
|
||||
*/
|
||||
public static UUID uuidNil(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidNil f = new UuidNil();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>ervu_dashboard.uuid_nil</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidNil() {
|
||||
UuidNil f = new UuidNil();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>ervu_dashboard.uuid_ns_dns</code>
|
||||
*/
|
||||
public static UUID uuidNsDns(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidNsDns f = new UuidNsDns();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>ervu_dashboard.uuid_ns_dns</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidNsDns() {
|
||||
UuidNsDns f = new UuidNsDns();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>ervu_dashboard.uuid_ns_oid</code>
|
||||
*/
|
||||
public static UUID uuidNsOid(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidNsOid f = new UuidNsOid();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>ervu_dashboard.uuid_ns_oid</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidNsOid() {
|
||||
UuidNsOid f = new UuidNsOid();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>ervu_dashboard.uuid_ns_url</code>
|
||||
*/
|
||||
public static UUID uuidNsUrl(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidNsUrl f = new UuidNsUrl();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>ervu_dashboard.uuid_ns_url</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidNsUrl() {
|
||||
UuidNsUrl f = new UuidNsUrl();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>ervu_dashboard.uuid_ns_x500</code>
|
||||
*/
|
||||
public static UUID uuidNsX500(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidNsX500 f = new UuidNsX500();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>ervu_dashboard.uuid_ns_x500</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidNsX500() {
|
||||
UuidNsX500 f = new UuidNsX500();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,153 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizen;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenChild;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenGuardianship;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenSpouse;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizenship;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenshipForeign;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangelog;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Decision;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Deputy;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disease;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.DriversLicence;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.MedicalAuthorities;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Passport;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Prosecution;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Punishment;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.TemporaryMeasures;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Work;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all tables in ervu_dashboard.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables {
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.citizen</code>.
|
||||
*/
|
||||
public static final Citizen CITIZEN = Citizen.CITIZEN;
|
||||
|
||||
/**
|
||||
* сведения о детях гражданина
|
||||
*/
|
||||
public static final CitizenChild CITIZEN_CHILD = CitizenChild.CITIZEN_CHILD;
|
||||
|
||||
/**
|
||||
* сведения о лице, опекаемом или находящемся на попечении
|
||||
*/
|
||||
public static final CitizenGuardianship CITIZEN_GUARDIANSHIP = CitizenGuardianship.CITIZEN_GUARDIANSHIP;
|
||||
|
||||
/**
|
||||
* сведения о супруге (бывшей/ем супруге) гражданина
|
||||
*/
|
||||
public static final CitizenSpouse CITIZEN_SPOUSE = CitizenSpouse.CITIZEN_SPOUSE;
|
||||
|
||||
/**
|
||||
* сведения о гражданстве РФ
|
||||
*/
|
||||
public static final Citizenship CITIZENSHIP = Citizenship.CITIZENSHIP;
|
||||
|
||||
/**
|
||||
* сведения об иностранном гражданстве
|
||||
*/
|
||||
public static final CitizenshipForeign CITIZENSHIP_FOREIGN = CitizenshipForeign.CITIZENSHIP_FOREIGN;
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.databasechangelog</code>.
|
||||
*/
|
||||
public static final Databasechangelog DATABASECHANGELOG = Databasechangelog.DATABASECHANGELOG;
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.databasechangeloglock</code>.
|
||||
*/
|
||||
public static final Databasechangeloglock DATABASECHANGELOGLOCK = Databasechangeloglock.DATABASECHANGELOGLOCK;
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.decision</code>.
|
||||
*/
|
||||
public static final Decision DECISION = Decision.DECISION;
|
||||
|
||||
/**
|
||||
* сведения о гражданах, избранных депутатами/зарегистрированных кандидатами
|
||||
* на участие в выборах
|
||||
*/
|
||||
public static final Deputy DEPUTY = Deputy.DEPUTY;
|
||||
|
||||
/**
|
||||
* сведения об инвалидности/недееспособности/ограниченной дееспособности
|
||||
*/
|
||||
public static final Disability DISABILITY = Disability.DISABILITY;
|
||||
|
||||
/**
|
||||
* сведения о заболеваниях гражданина
|
||||
*/
|
||||
public static final Disease DISEASE = Disease.DISEASE;
|
||||
|
||||
/**
|
||||
* удостоверение водительское/тракториста-машиниста
|
||||
*/
|
||||
public static final DriversLicence DRIVERS_LICENCE = DriversLicence.DRIVERS_LICENCE;
|
||||
|
||||
/**
|
||||
* сведения о гражданах, стоящих на учете в ПНД/по ВИЧ
|
||||
*/
|
||||
public static final MedicalAuthorities MEDICAL_AUTHORITIES = MedicalAuthorities.MEDICAL_AUTHORITIES;
|
||||
|
||||
/**
|
||||
* сведения о паспорте
|
||||
*/
|
||||
public static final Passport PASSPORT = Passport.PASSPORT;
|
||||
|
||||
/**
|
||||
* сведения об имуществе
|
||||
*/
|
||||
public static final Property PROPERTY = Property.PROPERTY;
|
||||
|
||||
/**
|
||||
* сведения об уголовном преследовании
|
||||
*/
|
||||
public static final Prosecution PROSECUTION = Prosecution.PROSECUTION;
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.pub_recruitment</code>.
|
||||
*/
|
||||
public static final PubRecruitment PUB_RECRUITMENT = PubRecruitment.PUB_RECRUITMENT;
|
||||
|
||||
/**
|
||||
* сведения об уголовном преследовании и вынесенном приговоре
|
||||
*/
|
||||
public static final Punishment PUNISHMENT = Punishment.PUNISHMENT;
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.recruitment</code>.
|
||||
*/
|
||||
public static final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
|
||||
|
||||
/**
|
||||
* сведения о направлении повестки военного комиссариата
|
||||
*/
|
||||
public static final Subpoena SUBPOENA = Subpoena.SUBPOENA;
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.temporary_measures</code>.
|
||||
*/
|
||||
public static final TemporaryMeasures TEMPORARY_MEASURES = TemporaryMeasures.TEMPORARY_MEASURES;
|
||||
|
||||
/**
|
||||
* сведения об имуществе
|
||||
*/
|
||||
public static final Work WORK = Work.WORK;
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
|
||||
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 UuidGenerateV1 extends AbstractRoutine<UUID> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The parameter <code>ervu_dashboard.uuid_generate_v1.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 UuidGenerateV1() {
|
||||
super("uuid_generate_v1", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
|
||||
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 UuidGenerateV1mc extends AbstractRoutine<UUID> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The parameter
|
||||
* <code>ervu_dashboard.uuid_generate_v1mc.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 UuidGenerateV1mc() {
|
||||
super("uuid_generate_v1mc", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,81 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Field;
|
||||
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 UuidGenerateV3 extends AbstractRoutine<UUID> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The parameter <code>ervu_dashboard.uuid_generate_v3.RETURN_VALUE</code>.
|
||||
*/
|
||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>ervu_dashboard.uuid_generate_v3.namespace</code>.
|
||||
*/
|
||||
public static final Parameter<UUID> NAMESPACE = Internal.createParameter("namespace", SQLDataType.UUID, false, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>ervu_dashboard.uuid_generate_v3.name</code>.
|
||||
*/
|
||||
public static final Parameter<String> NAME = Internal.createParameter("name", SQLDataType.CLOB, false, false);
|
||||
|
||||
/**
|
||||
* Create a new routine call instance
|
||||
*/
|
||||
public UuidGenerateV3() {
|
||||
super("uuid_generate_v3", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
addInParameter(NAMESPACE);
|
||||
addInParameter(NAME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>namespace</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setNamespace(UUID value) {
|
||||
setValue(NAMESPACE, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>namespace</code> parameter to the function to be used with
|
||||
* a {@link org.jooq.Select} statement
|
||||
*/
|
||||
public void setNamespace(Field<UUID> field) {
|
||||
setField(NAMESPACE, field);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>name</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setName_(String value) {
|
||||
setValue(NAME, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>name</code> parameter to the function to be used with a
|
||||
* {@link org.jooq.Select} statement
|
||||
*/
|
||||
public void setName_(Field<String> field) {
|
||||
setField(NAME, field);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
|
||||
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>ervu_dashboard.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", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,81 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Field;
|
||||
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 UuidGenerateV5 extends AbstractRoutine<UUID> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The parameter <code>ervu_dashboard.uuid_generate_v5.RETURN_VALUE</code>.
|
||||
*/
|
||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>ervu_dashboard.uuid_generate_v5.namespace</code>.
|
||||
*/
|
||||
public static final Parameter<UUID> NAMESPACE = Internal.createParameter("namespace", SQLDataType.UUID, false, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>ervu_dashboard.uuid_generate_v5.name</code>.
|
||||
*/
|
||||
public static final Parameter<String> NAME = Internal.createParameter("name", SQLDataType.CLOB, false, false);
|
||||
|
||||
/**
|
||||
* Create a new routine call instance
|
||||
*/
|
||||
public UuidGenerateV5() {
|
||||
super("uuid_generate_v5", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
addInParameter(NAMESPACE);
|
||||
addInParameter(NAME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>namespace</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setNamespace(UUID value) {
|
||||
setValue(NAMESPACE, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>namespace</code> parameter to the function to be used with
|
||||
* a {@link org.jooq.Select} statement
|
||||
*/
|
||||
public void setNamespace(Field<UUID> field) {
|
||||
setField(NAMESPACE, field);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>name</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setName_(String value) {
|
||||
setValue(NAME, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>name</code> parameter to the function to be used with a
|
||||
* {@link org.jooq.Select} statement
|
||||
*/
|
||||
public void setName_(Field<String> field) {
|
||||
setField(NAME, field);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
|
||||
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 UuidNil extends AbstractRoutine<UUID> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The parameter <code>ervu_dashboard.uuid_nil.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 UuidNil() {
|
||||
super("uuid_nil", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
|
||||
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 UuidNsDns extends AbstractRoutine<UUID> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The parameter <code>ervu_dashboard.uuid_ns_dns.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 UuidNsDns() {
|
||||
super("uuid_ns_dns", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
|
||||
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 UuidNsOid extends AbstractRoutine<UUID> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The parameter <code>ervu_dashboard.uuid_ns_oid.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 UuidNsOid() {
|
||||
super("uuid_ns_oid", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
|
||||
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 UuidNsUrl extends AbstractRoutine<UUID> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The parameter <code>ervu_dashboard.uuid_ns_url.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 UuidNsUrl() {
|
||||
super("uuid_ns_url", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
|
||||
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 UuidNsX500 extends AbstractRoutine<UUID> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The parameter <code>ervu_dashboard.uuid_ns_x500.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 UuidNsX500() {
|
||||
super("uuid_ns_x500", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,441 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenRecord;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Date;
|
||||
import java.util.Collection;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
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 Citizen extends TableImpl<CitizenRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.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>ervu_dashboard.citizen.residence</code>. Адрес места
|
||||
* жительства
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> RESIDENCE = createField(DSL.name("residence"), SQLDataType.VARCHAR, this, "Адрес места жительства");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.is_registered</code>. Сведения о
|
||||
* воинском учёте
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> IS_REGISTERED = createField(DSL.name("is_registered"), SQLDataType.VARCHAR, this, "Сведения о воинском учёте");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.passport_series</code>. Серия
|
||||
* паспорта
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> PASSPORT_SERIES = createField(DSL.name("passport_series"), SQLDataType.VARCHAR, this, "Серия паспорта");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.passport_number</code>. Номер
|
||||
* паспорта
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> PASSPORT_NUMBER = createField(DSL.name("passport_number"), SQLDataType.VARCHAR, this, "Номер паспорта");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.phone</code>. Телефон
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR, this, "Телефон");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.medical_requirements</code>.
|
||||
* Медицинские сведения
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> MEDICAL_REQUIREMENTS = createField(DSL.name("medical_requirements"), SQLDataType.VARCHAR, this, "Медицинские сведения");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.deferment_liberation</code>.
|
||||
* Наличие отсрочки или освобождения от военной службы
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> DEFERMENT_LIBERATION = createField(DSL.name("deferment_liberation"), SQLDataType.VARCHAR, this, "Наличие отсрочки или освобождения от военной службы");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.gender</code>. Пол
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> GENDER = createField(DSL.name("gender"), SQLDataType.VARCHAR, this, "Пол");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.marital_status</code>. Семейное
|
||||
* положение
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> MARITAL_STATUS = createField(DSL.name("marital_status"), SQLDataType.VARCHAR, this, "Семейное положение");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.education</code>. Образование
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> EDUCATION = createField(DSL.name("education"), SQLDataType.VARCHAR, this, "Образование");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.employment</code>. Занятость
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> EMPLOYMENT = createField(DSL.name("employment"), SQLDataType.VARCHAR, this, "Занятость");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.reason_registration</code>.
|
||||
* Причина постановки на учёт
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> REASON_REGISTRATION = createField(DSL.name("reason_registration"), SQLDataType.VARCHAR, this, "Причина постановки на учёт");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.driver_license</code>.
|
||||
* Водительское удостоверение
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> DRIVER_LICENSE = createField(DSL.name("driver_license"), SQLDataType.VARCHAR, this, "Водительское удостоверение");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.disability_group</code>. Группа
|
||||
* инвалидности
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> DISABILITY_GROUP = createField(DSL.name("disability_group"), SQLDataType.VARCHAR, this, "Группа инвалидности");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.citizen.dispensary_registration_code</code>. Код
|
||||
* диспансерного учета
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> DISPENSARY_REGISTRATION_CODE = createField(DSL.name("dispensary_registration_code"), SQLDataType.VARCHAR, this, "Код диспансерного учета");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.region_birth</code>. Регион места
|
||||
* рождения
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> REGION_BIRTH = createField(DSL.name("region_birth"), SQLDataType.VARCHAR, this, "Регион места рождения");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.city_birth</code>. Город места
|
||||
* рождения
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> CITY_BIRTH = createField(DSL.name("city_birth"), SQLDataType.VARCHAR, this, "Город места рождения");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.right_deferment</code>. Имеет
|
||||
* право на отсрочку
|
||||
*/
|
||||
public final TableField<CitizenRecord, Boolean> RIGHT_DEFERMENT = createField(DSL.name("right_deferment"), SQLDataType.BOOLEAN, this, "Имеет право на отсрочку");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.took_break</code>. Воспользовался
|
||||
* отсрочкой
|
||||
*/
|
||||
public final TableField<CitizenRecord, Boolean> TOOK_BREAK = createField(DSL.name("took_break"), SQLDataType.BOOLEAN, this, "Воспользовался отсрочкой");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.medic</code>. Является медиком
|
||||
*/
|
||||
public final TableField<CitizenRecord, Boolean> MEDIC = createField(DSL.name("medic"), SQLDataType.BOOLEAN, this, "Является медиком");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.sports_category</code>. Имеет
|
||||
* спортивный разряд/звание
|
||||
*/
|
||||
public final TableField<CitizenRecord, Boolean> SPORTS_CATEGORY = createField(DSL.name("sports_category"), SQLDataType.BOOLEAN, this, "Имеет спортивный разряд/звание");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.tractor_license</code>. Имеет
|
||||
* удостоверение тракториста
|
||||
*/
|
||||
public final TableField<CitizenRecord, Boolean> TRACTOR_LICENSE = createField(DSL.name("tractor_license"), SQLDataType.BOOLEAN, this, "Имеет удостоверение тракториста");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.is_wanted</code>. Находится в
|
||||
* розыске
|
||||
*/
|
||||
public final TableField<CitizenRecord, Boolean> IS_WANTED = createField(DSL.name("is_wanted"), SQLDataType.BOOLEAN, this, "Находится в розыске");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.is_in_prison</code>. Находится в
|
||||
* местах лишения свободы
|
||||
*/
|
||||
public final TableField<CitizenRecord, Boolean> IS_IN_PRISON = createField(DSL.name("is_in_prison"), SQLDataType.BOOLEAN, this, "Находится в местах лишения свободы");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.acquired_citizenship</code>.
|
||||
* Получивший гражданство
|
||||
*/
|
||||
public final TableField<CitizenRecord, Boolean> ACQUIRED_CITIZENSHIP = createField(DSL.name("acquired_citizenship"), SQLDataType.BOOLEAN, this, "Получивший гражданство");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.urgent_service</code>. Признак
|
||||
* критерия срочной службы
|
||||
*/
|
||||
public final TableField<CitizenRecord, Boolean> URGENT_SERVICE = createField(DSL.name("urgent_service"), SQLDataType.BOOLEAN, this, "Признак критерия срочной службы");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.contract_service</code>. Признак
|
||||
* критерия контрактной службы
|
||||
*/
|
||||
public final TableField<CitizenRecord, Boolean> CONTRACT_SERVICE = createField(DSL.name("contract_service"), SQLDataType.BOOLEAN, this, "Признак критерия контрактной службы");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.mobilization</code>. Признак
|
||||
* критерия службы по мобмлизации
|
||||
*/
|
||||
public final TableField<CitizenRecord, Boolean> MOBILIZATION = createField(DSL.name("mobilization"), SQLDataType.BOOLEAN, this, "Признак критерия службы по мобмлизации");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.full_name</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> FULL_NAME = createField(DSL.name("full_name"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.last_name</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> LAST_NAME = createField(DSL.name("last_name"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.first_name</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> FIRST_NAME = createField(DSL.name("first_name"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.middle_name</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> MIDDLE_NAME = createField(DSL.name("middle_name"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.age</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, BigDecimal> AGE = createField(DSL.name("age"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.birth_place</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> BIRTH_PLACE = createField(DSL.name("birth_place"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.number_children</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, BigDecimal> NUMBER_CHILDREN = createField(DSL.name("number_children"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.birth_date</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, Date> BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.recruit_id</code>. id рекрута из
|
||||
* БД ЕРВУ
|
||||
*/
|
||||
public final TableField<CitizenRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "id рекрута из БД ЕРВУ");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.recruitment_id</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.issue_date</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, Date> ISSUE_DATE = createField(DSL.name("issue_date"), SQLDataType.DATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.number_children_18_old</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, BigDecimal> NUMBER_CHILDREN_18_OLD = createField(DSL.name("number_children_18_old"), SQLDataType.NUMERIC, 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>ervu_dashboard.citizen</code> table reference
|
||||
*/
|
||||
public Citizen(String alias) {
|
||||
this(DSL.name(alias), CITIZEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.citizen</code> table reference
|
||||
*/
|
||||
public Citizen(Name alias) {
|
||||
this(alias, CITIZEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.citizen</code> table reference
|
||||
*/
|
||||
public Citizen() {
|
||||
this(DSL.name("citizen"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<CitizenRecord> getPrimaryKey() {
|
||||
return Keys.CITIZEN_PKEY;
|
||||
}
|
||||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,267 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenChildRecord;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о детях гражданина
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class CitizenChild extends TableImpl<CitizenChildRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.citizen_child</code>
|
||||
*/
|
||||
public static final CitizenChild CITIZEN_CHILD = new CitizenChild();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<CitizenChildRecord> getRecordType() {
|
||||
return CitizenChildRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_child.citizen_child_id</code>.
|
||||
*/
|
||||
public final TableField<CitizenChildRecord, Long> CITIZEN_CHILD_ID = createField(DSL.name("citizen_child_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_child.recruit_id</code>. ссылка
|
||||
* на гражданина (citizen)
|
||||
*/
|
||||
public final TableField<CitizenChildRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_child.kinship_type</code>. тип
|
||||
* родственной связи: сын/дочь
|
||||
*/
|
||||
public final TableField<CitizenChildRecord, String> KINSHIP_TYPE = createField(DSL.name("kinship_type"), SQLDataType.VARCHAR(50), this, "тип родственной связи: сын/дочь");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_child.full_name</code>. ФИО
|
||||
*/
|
||||
public final TableField<CitizenChildRecord, String> FULL_NAME = createField(DSL.name("full_name"), SQLDataType.VARCHAR, this, "ФИО");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_child.birth_date</code>.
|
||||
*/
|
||||
public final TableField<CitizenChildRecord, Date> BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_child.birth_az_number</code>.
|
||||
* номер актовой записи о рождении
|
||||
*/
|
||||
public final TableField<CitizenChildRecord, String> BIRTH_AZ_NUMBER = createField(DSL.name("birth_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о рождении");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_child.death_date</code>.
|
||||
*/
|
||||
public final TableField<CitizenChildRecord, Date> DEATH_DATE = createField(DSL.name("death_date"), SQLDataType.DATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_child.death_az_number</code>.
|
||||
* номер актовой записи о смерти
|
||||
*/
|
||||
public final TableField<CitizenChildRecord, String> DEATH_AZ_NUMBER = createField(DSL.name("death_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о смерти");
|
||||
|
||||
private CitizenChild(Name alias, Table<CitizenChildRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private CitizenChild(Name alias, Table<CitizenChildRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("сведения о детях гражданина"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.citizen_child</code> table
|
||||
* reference
|
||||
*/
|
||||
public CitizenChild(String alias) {
|
||||
this(DSL.name(alias), CITIZEN_CHILD);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.citizen_child</code> table
|
||||
* reference
|
||||
*/
|
||||
public CitizenChild(Name alias) {
|
||||
this(alias, CITIZEN_CHILD);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.citizen_child</code> table reference
|
||||
*/
|
||||
public CitizenChild() {
|
||||
this(DSL.name("citizen_child"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<CitizenChildRecord, Long> getIdentity() {
|
||||
return (Identity<CitizenChildRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<CitizenChildRecord> getPrimaryKey() {
|
||||
return Keys.PK_CITIZEN_CHILD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public CitizenChild as(String alias) {
|
||||
return new CitizenChild(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CitizenChild as(Name alias) {
|
||||
return new CitizenChild(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CitizenChild as(Table<?> alias) {
|
||||
return new CitizenChild(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenChild rename(String name) {
|
||||
return new CitizenChild(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenChild rename(Name name) {
|
||||
return new CitizenChild(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenChild rename(Table<?> name) {
|
||||
return new CitizenChild(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenChild where(Condition condition) {
|
||||
return new CitizenChild(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenChild where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenChild where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenChild where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenChild where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenChild where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenChild where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenChild where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenChild whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenChild whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,252 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenGuardianshipRecord;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о лице, опекаемом или находящемся на попечении
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class CitizenGuardianship extends TableImpl<CitizenGuardianshipRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>ervu_dashboard.citizen_guardianship</code>
|
||||
*/
|
||||
public static final CitizenGuardianship CITIZEN_GUARDIANSHIP = new CitizenGuardianship();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<CitizenGuardianshipRecord> getRecordType() {
|
||||
return CitizenGuardianshipRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.citizen_guardianship.citizen_guardianship_id</code>.
|
||||
*/
|
||||
public final TableField<CitizenGuardianshipRecord, Long> CITIZEN_GUARDIANSHIP_ID = createField(DSL.name("citizen_guardianship_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_guardianship.recruit_id</code>.
|
||||
* ссылка на гражданина (citizen)
|
||||
*/
|
||||
public final TableField<CitizenGuardianshipRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_guardianship.full_name</code>.
|
||||
* ФИО
|
||||
*/
|
||||
public final TableField<CitizenGuardianshipRecord, String> FULL_NAME = createField(DSL.name("full_name"), SQLDataType.VARCHAR, this, "ФИО");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_guardianship.birth_date</code>.
|
||||
*/
|
||||
public final TableField<CitizenGuardianshipRecord, Date> BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_guardianship.snils</code>.
|
||||
*/
|
||||
public final TableField<CitizenGuardianshipRecord, String> SNILS = createField(DSL.name("snils"), SQLDataType.VARCHAR(50), this, "");
|
||||
|
||||
private CitizenGuardianship(Name alias, Table<CitizenGuardianshipRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private CitizenGuardianship(Name alias, Table<CitizenGuardianshipRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("сведения о лице, опекаемом или находящемся на попечении"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.citizen_guardianship</code> table
|
||||
* reference
|
||||
*/
|
||||
public CitizenGuardianship(String alias) {
|
||||
this(DSL.name(alias), CITIZEN_GUARDIANSHIP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.citizen_guardianship</code> table
|
||||
* reference
|
||||
*/
|
||||
public CitizenGuardianship(Name alias) {
|
||||
this(alias, CITIZEN_GUARDIANSHIP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.citizen_guardianship</code> table reference
|
||||
*/
|
||||
public CitizenGuardianship() {
|
||||
this(DSL.name("citizen_guardianship"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<CitizenGuardianshipRecord, Long> getIdentity() {
|
||||
return (Identity<CitizenGuardianshipRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<CitizenGuardianshipRecord> getPrimaryKey() {
|
||||
return Keys.PK_CITIZEN_GUARDIANSHIP;
|
||||
}
|
||||
|
||||
@Override
|
||||
public CitizenGuardianship as(String alias) {
|
||||
return new CitizenGuardianship(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CitizenGuardianship as(Name alias) {
|
||||
return new CitizenGuardianship(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CitizenGuardianship as(Table<?> alias) {
|
||||
return new CitizenGuardianship(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenGuardianship rename(String name) {
|
||||
return new CitizenGuardianship(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenGuardianship rename(Name name) {
|
||||
return new CitizenGuardianship(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenGuardianship rename(Table<?> name) {
|
||||
return new CitizenGuardianship(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenGuardianship where(Condition condition) {
|
||||
return new CitizenGuardianship(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenGuardianship where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenGuardianship where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenGuardianship where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenGuardianship where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenGuardianship where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenGuardianship where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenGuardianship where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenGuardianship whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenGuardianship whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,290 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenSpouseRecord;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о супруге (бывшей/ем супруге) гражданина
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class CitizenSpouse extends TableImpl<CitizenSpouseRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.citizen_spouse</code>
|
||||
*/
|
||||
public static final CitizenSpouse CITIZEN_SPOUSE = new CitizenSpouse();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<CitizenSpouseRecord> getRecordType() {
|
||||
return CitizenSpouseRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_spouse.citizen_spouse_id</code>.
|
||||
*/
|
||||
public final TableField<CitizenSpouseRecord, Long> CITIZEN_SPOUSE_ID = createField(DSL.name("citizen_spouse_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_spouse.recruit_id</code>. ссылка
|
||||
* на гражданина (citizen)
|
||||
*/
|
||||
public final TableField<CitizenSpouseRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_spouse.kinship_type</code>. тип
|
||||
* родственной связи: супруг/бывший супруг
|
||||
*/
|
||||
public final TableField<CitizenSpouseRecord, String> KINSHIP_TYPE = createField(DSL.name("kinship_type"), SQLDataType.VARCHAR(50), this, "тип родственной связи: супруг/бывший супруг");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_spouse.full_name</code>. ФИО
|
||||
*/
|
||||
public final TableField<CitizenSpouseRecord, String> FULL_NAME = createField(DSL.name("full_name"), SQLDataType.VARCHAR, this, "ФИО");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_spouse.birth_date</code>.
|
||||
*/
|
||||
public final TableField<CitizenSpouseRecord, Date> BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_spouse.death_az_number</code>.
|
||||
* номер актовой записи о смерти
|
||||
*/
|
||||
public final TableField<CitizenSpouseRecord, String> DEATH_AZ_NUMBER = createField(DSL.name("death_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о смерти");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_spouse.death_date</code>.
|
||||
*/
|
||||
public final TableField<CitizenSpouseRecord, Date> DEATH_DATE = createField(DSL.name("death_date"), SQLDataType.DATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_spouse.marriage_az_number</code>.
|
||||
* номер актовой записи о браке
|
||||
*/
|
||||
public final TableField<CitizenSpouseRecord, String> MARRIAGE_AZ_NUMBER = createField(DSL.name("marriage_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о браке");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_spouse.marriage_date</code>.
|
||||
*/
|
||||
public final TableField<CitizenSpouseRecord, Date> MARRIAGE_DATE = createField(DSL.name("marriage_date"), SQLDataType.DATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_spouse.divorce_az_number</code>.
|
||||
* номер актовой записи о расторжении брака
|
||||
*/
|
||||
public final TableField<CitizenSpouseRecord, String> DIVORCE_AZ_NUMBER = createField(DSL.name("divorce_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о расторжении брака");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen_spouse.divorce_date</code>.
|
||||
*/
|
||||
public final TableField<CitizenSpouseRecord, Date> DIVORCE_DATE = createField(DSL.name("divorce_date"), SQLDataType.DATE, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.citizen_spouse.information_excluded</code>. сведения
|
||||
* о супруге исключены
|
||||
*/
|
||||
public final TableField<CitizenSpouseRecord, Boolean> INFORMATION_EXCLUDED = createField(DSL.name("information_excluded"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "сведения о супруге исключены");
|
||||
|
||||
private CitizenSpouse(Name alias, Table<CitizenSpouseRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private CitizenSpouse(Name alias, Table<CitizenSpouseRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("сведения о супруге (бывшей/ем супруге) гражданина"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.citizen_spouse</code> table
|
||||
* reference
|
||||
*/
|
||||
public CitizenSpouse(String alias) {
|
||||
this(DSL.name(alias), CITIZEN_SPOUSE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.citizen_spouse</code> table
|
||||
* reference
|
||||
*/
|
||||
public CitizenSpouse(Name alias) {
|
||||
this(alias, CITIZEN_SPOUSE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.citizen_spouse</code> table reference
|
||||
*/
|
||||
public CitizenSpouse() {
|
||||
this(DSL.name("citizen_spouse"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<CitizenSpouseRecord, Long> getIdentity() {
|
||||
return (Identity<CitizenSpouseRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<CitizenSpouseRecord> getPrimaryKey() {
|
||||
return Keys.PK_CITIZEN_SPOUSE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public CitizenSpouse as(String alias) {
|
||||
return new CitizenSpouse(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CitizenSpouse as(Name alias) {
|
||||
return new CitizenSpouse(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CitizenSpouse as(Table<?> alias) {
|
||||
return new CitizenSpouse(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenSpouse rename(String name) {
|
||||
return new CitizenSpouse(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenSpouse rename(Name name) {
|
||||
return new CitizenSpouse(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenSpouse rename(Table<?> name) {
|
||||
return new CitizenSpouse(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenSpouse where(Condition condition) {
|
||||
return new CitizenSpouse(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenSpouse where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenSpouse where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenSpouse where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenSpouse where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenSpouse where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenSpouse where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenSpouse where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenSpouse whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenSpouse whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,281 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenshipRecord;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о гражданстве РФ
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Citizenship extends TableImpl<CitizenshipRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.citizenship</code>
|
||||
*/
|
||||
public static final Citizenship CITIZENSHIP = new Citizenship();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<CitizenshipRecord> getRecordType() {
|
||||
return CitizenshipRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizenship.citizenship_id</code>.
|
||||
*/
|
||||
public final TableField<CitizenshipRecord, Long> CITIZENSHIP_ID = createField(DSL.name("citizenship_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizenship.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public final TableField<CitizenshipRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizenship.acquiring_basis</code>.
|
||||
* основание приобретения гражданства РФ
|
||||
*/
|
||||
public final TableField<CitizenshipRecord, String> ACQUIRING_BASIS = createField(DSL.name("acquiring_basis"), SQLDataType.CLOB, this, "основание приобретения гражданства РФ");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizenship.acquiring_number</code>.
|
||||
* номер решения о приобретении гражданства РФ
|
||||
*/
|
||||
public final TableField<CitizenshipRecord, String> ACQUIRING_NUMBER = createField(DSL.name("acquiring_number"), SQLDataType.VARCHAR(20), this, "номер решения о приобретении гражданства РФ");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizenship.acquiring_date</code>. дата
|
||||
* решения о приобретении гражданства РФ
|
||||
*/
|
||||
public final TableField<CitizenshipRecord, Date> ACQUIRING_DATE = createField(DSL.name("acquiring_date"), SQLDataType.DATE, this, "дата решения о приобретении гражданства РФ");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizenship.acquiring_authority</code>.
|
||||
* наименование органа, принявшего решение о приобретении гражданства РФ
|
||||
*/
|
||||
public final TableField<CitizenshipRecord, String> ACQUIRING_AUTHORITY = createField(DSL.name("acquiring_authority"), SQLDataType.CLOB, this, "наименование органа, принявшего решение о приобретении гражданства РФ");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizenship.renunciation_basis</code>.
|
||||
* основание выхода гражданства РФ
|
||||
*/
|
||||
public final TableField<CitizenshipRecord, String> RENUNCIATION_BASIS = createField(DSL.name("renunciation_basis"), SQLDataType.CLOB, this, "основание выхода гражданства РФ");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizenship.renunciation_number</code>.
|
||||
* номер решения о выходе из гражданства РФ
|
||||
*/
|
||||
public final TableField<CitizenshipRecord, String> RENUNCIATION_NUMBER = createField(DSL.name("renunciation_number"), SQLDataType.VARCHAR(20), this, "номер решения о выходе из гражданства РФ");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizenship.renunciation_date</code>.
|
||||
* дата решения о выходе из гражданства РФ
|
||||
*/
|
||||
public final TableField<CitizenshipRecord, Date> RENUNCIATION_DATE = createField(DSL.name("renunciation_date"), SQLDataType.DATE, this, "дата решения о выходе из гражданства РФ");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.citizenship.renunciation_authority</code>.
|
||||
* наименование органа, принявшего решение о выходе из гражданства РФ
|
||||
*/
|
||||
public final TableField<CitizenshipRecord, String> RENUNCIATION_AUTHORITY = createField(DSL.name("renunciation_authority"), SQLDataType.CLOB, this, "наименование органа, принявшего решение о выходе из гражданства РФ");
|
||||
|
||||
private Citizenship(Name alias, Table<CitizenshipRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Citizenship(Name alias, Table<CitizenshipRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("сведения о гражданстве РФ"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.citizenship</code> table reference
|
||||
*/
|
||||
public Citizenship(String alias) {
|
||||
this(DSL.name(alias), CITIZENSHIP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.citizenship</code> table reference
|
||||
*/
|
||||
public Citizenship(Name alias) {
|
||||
this(alias, CITIZENSHIP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.citizenship</code> table reference
|
||||
*/
|
||||
public Citizenship() {
|
||||
this(DSL.name("citizenship"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<CitizenshipRecord, Long> getIdentity() {
|
||||
return (Identity<CitizenshipRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<CitizenshipRecord> getPrimaryKey() {
|
||||
return Keys.PK_CITIZENSHIP;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Citizenship as(String alias) {
|
||||
return new Citizenship(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Citizenship as(Name alias) {
|
||||
return new Citizenship(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Citizenship as(Table<?> alias) {
|
||||
return new Citizenship(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Citizenship rename(String name) {
|
||||
return new Citizenship(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Citizenship rename(Name name) {
|
||||
return new Citizenship(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Citizenship rename(Table<?> name) {
|
||||
return new Citizenship(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Citizenship where(Condition condition) {
|
||||
return new Citizenship(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Citizenship where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Citizenship where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Citizenship where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Citizenship where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Citizenship where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Citizenship where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Citizenship where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Citizenship whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Citizenship whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,269 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenshipForeignRecord;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения об иностранном гражданстве
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class CitizenshipForeign extends TableImpl<CitizenshipForeignRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.citizenship_foreign</code>
|
||||
*/
|
||||
public static final CitizenshipForeign CITIZENSHIP_FOREIGN = new CitizenshipForeign();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<CitizenshipForeignRecord> getRecordType() {
|
||||
return CitizenshipForeignRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.citizenship_foreign.citizenship_foreign_id</code>.
|
||||
*/
|
||||
public final TableField<CitizenshipForeignRecord, Long> CITIZENSHIP_FOREIGN_ID = createField(DSL.name("citizenship_foreign_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizenship_foreign.recruit_id</code>.
|
||||
* ссылка на гражданина (citizen)
|
||||
*/
|
||||
public final TableField<CitizenshipForeignRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizenship_foreign.country_name</code>.
|
||||
* наименование государства
|
||||
*/
|
||||
public final TableField<CitizenshipForeignRecord, String> COUNTRY_NAME = createField(DSL.name("country_name"), SQLDataType.VARCHAR(255), this, "наименование государства");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.citizenship_foreign.residense_right_basis</code>.
|
||||
* основание получения права на постоянное проживание
|
||||
*/
|
||||
public final TableField<CitizenshipForeignRecord, String> RESIDENSE_RIGHT_BASIS = createField(DSL.name("residense_right_basis"), SQLDataType.VARCHAR(255), this, "основание получения права на постоянное проживание");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.citizenship_foreign.residense_right_date</code>.
|
||||
* дата возникновения права на постоянное проживание
|
||||
*/
|
||||
public final TableField<CitizenshipForeignRecord, Date> RESIDENSE_RIGHT_DATE = createField(DSL.name("residense_right_date"), SQLDataType.DATE, this, "дата возникновения права на постоянное проживание");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.citizenship_foreign.citizenship_basis</code>.
|
||||
* основание получения иностранного гражданства
|
||||
*/
|
||||
public final TableField<CitizenshipForeignRecord, String> CITIZENSHIP_BASIS = createField(DSL.name("citizenship_basis"), SQLDataType.VARCHAR(255), this, "основание получения иностранного гражданства");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.citizenship_foreign.citizenship_date</code>. дата
|
||||
* получения иностранного гражданства
|
||||
*/
|
||||
public final TableField<CitizenshipForeignRecord, Date> CITIZENSHIP_DATE = createField(DSL.name("citizenship_date"), SQLDataType.DATE, this, "дата получения иностранного гражданства");
|
||||
|
||||
private CitizenshipForeign(Name alias, Table<CitizenshipForeignRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private CitizenshipForeign(Name alias, Table<CitizenshipForeignRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("сведения об иностранном гражданстве"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.citizenship_foreign</code> table
|
||||
* reference
|
||||
*/
|
||||
public CitizenshipForeign(String alias) {
|
||||
this(DSL.name(alias), CITIZENSHIP_FOREIGN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.citizenship_foreign</code> table
|
||||
* reference
|
||||
*/
|
||||
public CitizenshipForeign(Name alias) {
|
||||
this(alias, CITIZENSHIP_FOREIGN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.citizenship_foreign</code> table reference
|
||||
*/
|
||||
public CitizenshipForeign() {
|
||||
this(DSL.name("citizenship_foreign"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<CitizenshipForeignRecord, Long> getIdentity() {
|
||||
return (Identity<CitizenshipForeignRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<CitizenshipForeignRecord> getPrimaryKey() {
|
||||
return Keys.PK_CITIZENSHIP_FOREIGN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public CitizenshipForeign as(String alias) {
|
||||
return new CitizenshipForeign(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CitizenshipForeign as(Name alias) {
|
||||
return new CitizenshipForeign(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CitizenshipForeign as(Table<?> alias) {
|
||||
return new CitizenshipForeign(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenshipForeign rename(String name) {
|
||||
return new CitizenshipForeign(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenshipForeign rename(Name name) {
|
||||
return new CitizenshipForeign(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenshipForeign rename(Table<?> name) {
|
||||
return new CitizenshipForeign(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenshipForeign where(Condition condition) {
|
||||
return new CitizenshipForeign(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenshipForeign where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenshipForeign where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenshipForeign where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenshipForeign where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenshipForeign where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenshipForeign where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public CitizenshipForeign where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenshipForeign whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public CitizenshipForeign whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,279 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DatabasechangelogRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
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.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Databasechangelog extends TableImpl<DatabasechangelogRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.databasechangelog</code>
|
||||
*/
|
||||
public static final Databasechangelog DATABASECHANGELOG = new Databasechangelog();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<DatabasechangelogRecord> getRecordType() {
|
||||
return DatabasechangelogRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangelog.id</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangelog.author</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> AUTHOR = createField(DSL.name("author"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangelog.filename</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> FILENAME = createField(DSL.name("filename"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangelog.dateexecuted</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, Timestamp> DATEEXECUTED = createField(DSL.name("dateexecuted"), SQLDataType.TIMESTAMP(0).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangelog.orderexecuted</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, Integer> ORDEREXECUTED = createField(DSL.name("orderexecuted"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangelog.exectype</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> EXECTYPE = createField(DSL.name("exectype"), SQLDataType.VARCHAR(10).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangelog.md5sum</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> MD5SUM = createField(DSL.name("md5sum"), SQLDataType.VARCHAR(35), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangelog.description</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangelog.comments</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> COMMENTS = createField(DSL.name("comments"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangelog.tag</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> TAG = createField(DSL.name("tag"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangelog.liquibase</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> LIQUIBASE = createField(DSL.name("liquibase"), SQLDataType.VARCHAR(20), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangelog.contexts</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> CONTEXTS = createField(DSL.name("contexts"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangelog.labels</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> LABELS = createField(DSL.name("labels"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangelog.deployment_id</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> DEPLOYMENT_ID = createField(DSL.name("deployment_id"), SQLDataType.VARCHAR(10), this, "");
|
||||
|
||||
private Databasechangelog(Name alias, Table<DatabasechangelogRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Databasechangelog(Name alias, Table<DatabasechangelogRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.databasechangelog</code> table
|
||||
* reference
|
||||
*/
|
||||
public Databasechangelog(String alias) {
|
||||
this(DSL.name(alias), DATABASECHANGELOG);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.databasechangelog</code> table
|
||||
* reference
|
||||
*/
|
||||
public Databasechangelog(Name alias) {
|
||||
this(alias, DATABASECHANGELOG);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.databasechangelog</code> table reference
|
||||
*/
|
||||
public Databasechangelog() {
|
||||
this(DSL.name("databasechangelog"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Databasechangelog as(String alias) {
|
||||
return new Databasechangelog(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Databasechangelog as(Name alias) {
|
||||
return new Databasechangelog(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Databasechangelog as(Table<?> alias) {
|
||||
return new Databasechangelog(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangelog rename(String name) {
|
||||
return new Databasechangelog(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangelog rename(Name name) {
|
||||
return new Databasechangelog(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangelog rename(Table<?> name) {
|
||||
return new Databasechangelog(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangelog where(Condition condition) {
|
||||
return new Databasechangelog(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangelog where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangelog where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangelog where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Databasechangelog where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Databasechangelog where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Databasechangelog where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Databasechangelog where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangelog whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangelog whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,238 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DatabasechangeloglockRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
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 Databasechangeloglock extends TableImpl<DatabasechangeloglockRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>ervu_dashboard.databasechangeloglock</code>
|
||||
*/
|
||||
public static final Databasechangeloglock DATABASECHANGELOGLOCK = new Databasechangeloglock();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<DatabasechangeloglockRecord> getRecordType() {
|
||||
return DatabasechangeloglockRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangeloglock.id</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangeloglockRecord, Integer> ID = createField(DSL.name("id"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangeloglock.locked</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangeloglockRecord, Boolean> LOCKED = createField(DSL.name("locked"), SQLDataType.BOOLEAN.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangeloglock.lockgranted</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangeloglockRecord, Timestamp> LOCKGRANTED = createField(DSL.name("lockgranted"), SQLDataType.TIMESTAMP(0), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.databasechangeloglock.lockedby</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangeloglockRecord, String> LOCKEDBY = createField(DSL.name("lockedby"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
private Databasechangeloglock(Name alias, Table<DatabasechangeloglockRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Databasechangeloglock(Name alias, Table<DatabasechangeloglockRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.databasechangeloglock</code> table
|
||||
* reference
|
||||
*/
|
||||
public Databasechangeloglock(String alias) {
|
||||
this(DSL.name(alias), DATABASECHANGELOGLOCK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.databasechangeloglock</code> table
|
||||
* reference
|
||||
*/
|
||||
public Databasechangeloglock(Name alias) {
|
||||
this(alias, DATABASECHANGELOGLOCK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.databasechangeloglock</code> table
|
||||
* reference
|
||||
*/
|
||||
public Databasechangeloglock() {
|
||||
this(DSL.name("databasechangeloglock"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<DatabasechangeloglockRecord> getPrimaryKey() {
|
||||
return Keys.DATABASECHANGELOGLOCK_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Databasechangeloglock as(String alias) {
|
||||
return new Databasechangeloglock(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Databasechangeloglock as(Name alias) {
|
||||
return new Databasechangeloglock(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Databasechangeloglock as(Table<?> alias) {
|
||||
return new Databasechangeloglock(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangeloglock rename(String name) {
|
||||
return new Databasechangeloglock(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangeloglock rename(Name name) {
|
||||
return new Databasechangeloglock(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangeloglock rename(Table<?> name) {
|
||||
return new Databasechangeloglock(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangeloglock where(Condition condition) {
|
||||
return new Databasechangeloglock(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangeloglock where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangeloglock where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangeloglock where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Databasechangeloglock where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Databasechangeloglock where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Databasechangeloglock where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Databasechangeloglock where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangeloglock whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Databasechangeloglock whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,240 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DecisionRecord;
|
||||
|
||||
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 Decision extends TableImpl<DecisionRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.decision</code>
|
||||
*/
|
||||
public static final Decision DECISION = new Decision();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<DecisionRecord> getRecordType() {
|
||||
return DecisionRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.decision.decision_id</code>.
|
||||
*/
|
||||
public final TableField<DecisionRecord, Long> DECISION_ID = createField(DSL.name("decision_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.decision.subpoena_id</code>.
|
||||
*/
|
||||
public final TableField<DecisionRecord, UUID> SUBPOENA_ID = createField(DSL.name("subpoena_id"), SQLDataType.UUID, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.decision.recruit_id</code>.
|
||||
*/
|
||||
public final TableField<DecisionRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.decision.recruitment_id</code>.
|
||||
*/
|
||||
public final TableField<DecisionRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
|
||||
|
||||
private Decision(Name alias, Table<DecisionRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Decision(Name alias, Table<DecisionRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.decision</code> table reference
|
||||
*/
|
||||
public Decision(String alias) {
|
||||
this(DSL.name(alias), DECISION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.decision</code> table reference
|
||||
*/
|
||||
public Decision(Name alias) {
|
||||
this(alias, DECISION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.decision</code> table reference
|
||||
*/
|
||||
public Decision() {
|
||||
this(DSL.name("decision"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<DecisionRecord, Long> getIdentity() {
|
||||
return (Identity<DecisionRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<DecisionRecord> getPrimaryKey() {
|
||||
return Keys.DECISION_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Decision as(String alias) {
|
||||
return new Decision(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Decision as(Name alias) {
|
||||
return new Decision(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Decision as(Table<?> alias) {
|
||||
return new Decision(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Decision rename(String name) {
|
||||
return new Decision(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Decision rename(Name name) {
|
||||
return new Decision(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Decision rename(Table<?> name) {
|
||||
return new Decision(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Decision where(Condition condition) {
|
||||
return new Decision(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Decision where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Decision where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Decision where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Decision where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Decision where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Decision where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Decision where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Decision whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Decision whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,264 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DeputyRecord;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о гражданах, избранных депутатами/зарегистрированных кандидатами на
|
||||
* участие в выборах
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Deputy extends TableImpl<DeputyRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.deputy</code>
|
||||
*/
|
||||
public static final Deputy DEPUTY = new Deputy();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<DeputyRecord> getRecordType() {
|
||||
return DeputyRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.deputy.deputy_id</code>.
|
||||
*/
|
||||
public final TableField<DeputyRecord, Long> DEPUTY_ID = createField(DSL.name("deputy_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.deputy.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public final TableField<DeputyRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.deputy.deputy</code>. является
|
||||
* депутатом(true)/кандидатом на участие в выборах(false)
|
||||
*/
|
||||
public final TableField<DeputyRecord, Boolean> DEPUTY_ = createField(DSL.name("deputy"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "является депутатом(true)/кандидатом на участие в выборах(false)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.deputy.information</code>. сведения об
|
||||
* избрании гражданина депутатом/сведения о регистрации кандидатом на
|
||||
* выборах
|
||||
*/
|
||||
public final TableField<DeputyRecord, String> INFORMATION = createField(DSL.name("information"), SQLDataType.CLOB, this, "сведения об избрании гражданина депутатом/сведения о регистрации кандидатом на выборах");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.deputy.end_date</code>. дата досрочного
|
||||
* прекращения полномочий/снятия кандидатуры с выборов
|
||||
*/
|
||||
public final TableField<DeputyRecord, Date> END_DATE = createField(DSL.name("end_date"), SQLDataType.DATE, this, "дата досрочного прекращения полномочий/снятия кандидатуры с выборов");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.deputy.period_office</code>. срок
|
||||
* полномочий
|
||||
*/
|
||||
public final TableField<DeputyRecord, String> PERIOD_OFFICE = createField(DSL.name("period_office"), SQLDataType.VARCHAR(50), this, "срок полномочий");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.deputy.cancellation_date</code>. дата
|
||||
* аннулирования регистрации
|
||||
*/
|
||||
public final TableField<DeputyRecord, Date> CANCELLATION_DATE = createField(DSL.name("cancellation_date"), SQLDataType.DATE, this, "дата аннулирования регистрации");
|
||||
|
||||
private Deputy(Name alias, Table<DeputyRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Deputy(Name alias, Table<DeputyRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("сведения о гражданах, избранных депутатами/зарегистрированных кандидатами на участие в выборах"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.deputy</code> table reference
|
||||
*/
|
||||
public Deputy(String alias) {
|
||||
this(DSL.name(alias), DEPUTY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.deputy</code> table reference
|
||||
*/
|
||||
public Deputy(Name alias) {
|
||||
this(alias, DEPUTY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.deputy</code> table reference
|
||||
*/
|
||||
public Deputy() {
|
||||
this(DSL.name("deputy"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<DeputyRecord, Long> getIdentity() {
|
||||
return (Identity<DeputyRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<DeputyRecord> getPrimaryKey() {
|
||||
return Keys.PK_DEPUTY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Deputy as(String alias) {
|
||||
return new Deputy(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Deputy as(Name alias) {
|
||||
return new Deputy(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Deputy as(Table<?> alias) {
|
||||
return new Deputy(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Deputy rename(String name) {
|
||||
return new Deputy(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Deputy rename(Name name) {
|
||||
return new Deputy(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Deputy rename(Table<?> name) {
|
||||
return new Deputy(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Deputy where(Condition condition) {
|
||||
return new Deputy(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Deputy where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Deputy where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Deputy where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Deputy where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Deputy where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Deputy where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Deputy where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Deputy whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Deputy whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,274 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DisabilityRecord;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения об инвалидности/недееспособности/ограниченной дееспособности
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Disability extends TableImpl<DisabilityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.disability</code>
|
||||
*/
|
||||
public static final Disability DISABILITY = new Disability();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<DisabilityRecord> getRecordType() {
|
||||
return DisabilityRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disability.disability_id</code>.
|
||||
*/
|
||||
public final TableField<DisabilityRecord, Long> DISABILITY_ID = createField(DSL.name("disability_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disability.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public final TableField<DisabilityRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disability.disability</code>. сведения об
|
||||
* инвалидности(true)/недееспособности(false)
|
||||
*/
|
||||
public final TableField<DisabilityRecord, Boolean> DISABILITY_ = createField(DSL.name("disability"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "сведения об инвалидности(true)/недееспособности(false)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disability.organization_name</code>.
|
||||
* наименование организации, установившей инвалидность/судебного органа
|
||||
*/
|
||||
public final TableField<DisabilityRecord, String> ORGANIZATION_NAME = createField(DSL.name("organization_name"), SQLDataType.VARCHAR(300), this, "наименование организации, установившей инвалидность/судебного органа");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disability.start_date</code>. дата
|
||||
* установления инвалидности/признания гражданина недееспособным
|
||||
*/
|
||||
public final TableField<DisabilityRecord, Date> START_DATE = createField(DSL.name("start_date"), SQLDataType.DATE, this, "дата установления инвалидности/признания гражданина недееспособным");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disability.close_date</code>. дата снятия
|
||||
* инвалидности/отмены ограничения гражданина в дееспособности
|
||||
*/
|
||||
public final TableField<DisabilityRecord, Date> CLOSE_DATE = createField(DSL.name("close_date"), SQLDataType.DATE, this, "дата снятия инвалидности/отмены ограничения гражданина в дееспособности");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disability.confirmation_date</code>. дата
|
||||
* подтверждения инвалидности
|
||||
*/
|
||||
public final TableField<DisabilityRecord, Date> CONFIRMATION_DATE = createField(DSL.name("confirmation_date"), SQLDataType.DATE, this, "дата подтверждения инвалидности");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disability.re_examination_date</code>.
|
||||
* дата переосвидетельствования по инвалидности
|
||||
*/
|
||||
public final TableField<DisabilityRecord, Date> RE_EXAMINATION_DATE = createField(DSL.name("re_examination_date"), SQLDataType.DATE, this, "дата переосвидетельствования по инвалидности");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disability.disability_group</code>.
|
||||
* группа инвалидности
|
||||
*/
|
||||
public final TableField<DisabilityRecord, String> DISABILITY_GROUP = createField(DSL.name("disability_group"), SQLDataType.VARCHAR(30), this, "группа инвалидности");
|
||||
|
||||
private Disability(Name alias, Table<DisabilityRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Disability(Name alias, Table<DisabilityRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("сведения об инвалидности/недееспособности/ограниченной дееспособности"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.disability</code> table reference
|
||||
*/
|
||||
public Disability(String alias) {
|
||||
this(DSL.name(alias), DISABILITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.disability</code> table reference
|
||||
*/
|
||||
public Disability(Name alias) {
|
||||
this(alias, DISABILITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.disability</code> table reference
|
||||
*/
|
||||
public Disability() {
|
||||
this(DSL.name("disability"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<DisabilityRecord, Long> getIdentity() {
|
||||
return (Identity<DisabilityRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<DisabilityRecord> getPrimaryKey() {
|
||||
return Keys.PK_DISABILITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Disability as(String alias) {
|
||||
return new Disability(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Disability as(Name alias) {
|
||||
return new Disability(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Disability as(Table<?> alias) {
|
||||
return new Disability(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Disability rename(String name) {
|
||||
return new Disability(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Disability rename(Name name) {
|
||||
return new Disability(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Disability rename(Table<?> name) {
|
||||
return new Disability(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Disability where(Condition condition) {
|
||||
return new Disability(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Disability where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Disability where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Disability where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Disability where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Disability where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Disability where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Disability where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Disability whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Disability whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,255 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DiseaseRecord;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о заболеваниях гражданина
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Disease extends TableImpl<DiseaseRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.disease</code>
|
||||
*/
|
||||
public static final Disease DISEASE = new Disease();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<DiseaseRecord> getRecordType() {
|
||||
return DiseaseRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disease.disease_id</code>.
|
||||
*/
|
||||
public final TableField<DiseaseRecord, Long> DISEASE_ID = createField(DSL.name("disease_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disease.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public final TableField<DiseaseRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disease.code</code>. код заболевания
|
||||
*/
|
||||
public final TableField<DiseaseRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR, this, "код заболевания");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disease.name</code>. наименование
|
||||
* заболевания
|
||||
*/
|
||||
public final TableField<DiseaseRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR, this, "наименование заболевания");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disease.reg_date</code>. дата постановки
|
||||
* диагноза
|
||||
*/
|
||||
public final TableField<DiseaseRecord, Date> REG_DATE = createField(DSL.name("reg_date"), SQLDataType.DATE, this, "дата постановки диагноза");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.disease.registered</code>. поставлен на
|
||||
* учет по заболеванию
|
||||
*/
|
||||
public final TableField<DiseaseRecord, Boolean> REGISTERED = createField(DSL.name("registered"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "поставлен на учет по заболеванию");
|
||||
|
||||
private Disease(Name alias, Table<DiseaseRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Disease(Name alias, Table<DiseaseRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("сведения о заболеваниях гражданина"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.disease</code> table reference
|
||||
*/
|
||||
public Disease(String alias) {
|
||||
this(DSL.name(alias), DISEASE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.disease</code> table reference
|
||||
*/
|
||||
public Disease(Name alias) {
|
||||
this(alias, DISEASE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.disease</code> table reference
|
||||
*/
|
||||
public Disease() {
|
||||
this(DSL.name("disease"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<DiseaseRecord, Long> getIdentity() {
|
||||
return (Identity<DiseaseRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<DiseaseRecord> getPrimaryKey() {
|
||||
return Keys.PK_DISEASE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Disease as(String alias) {
|
||||
return new Disease(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Disease as(Name alias) {
|
||||
return new Disease(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Disease as(Table<?> alias) {
|
||||
return new Disease(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Disease rename(String name) {
|
||||
return new Disease(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Disease rename(Name name) {
|
||||
return new Disease(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Disease rename(Table<?> name) {
|
||||
return new Disease(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Disease where(Condition condition) {
|
||||
return new Disease(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Disease where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Disease where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Disease where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Disease where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Disease where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Disease where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Disease where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Disease whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Disease whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,295 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DriversLicenceRecord;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* удостоверение водительское/тракториста-машиниста
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DriversLicence extends TableImpl<DriversLicenceRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.drivers_licence</code>
|
||||
*/
|
||||
public static final DriversLicence DRIVERS_LICENCE = new DriversLicence();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<DriversLicenceRecord> getRecordType() {
|
||||
return DriversLicenceRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.drivers_licence.drivers_licence_id</code>.
|
||||
*/
|
||||
public final TableField<DriversLicenceRecord, Long> DRIVERS_LICENCE_ID = createField(DSL.name("drivers_licence_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.drivers_licence.recruit_id</code>. ссылка
|
||||
* на гражданина (citizen)
|
||||
*/
|
||||
public final TableField<DriversLicenceRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.drivers_licence.tractor_driver</code>.
|
||||
* удостоверение тракториста
|
||||
*/
|
||||
public final TableField<DriversLicenceRecord, Boolean> TRACTOR_DRIVER = createField(DSL.name("tractor_driver"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "удостоверение тракториста");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.drivers_licence.licence_series</code>.
|
||||
* серия
|
||||
*/
|
||||
public final TableField<DriversLicenceRecord, String> LICENCE_SERIES = createField(DSL.name("licence_series"), SQLDataType.VARCHAR(50), this, "серия");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.drivers_licence.licence_number</code>.
|
||||
* номер
|
||||
*/
|
||||
public final TableField<DriversLicenceRecord, String> LICENCE_NUMBER = createField(DSL.name("licence_number"), SQLDataType.VARCHAR(50), this, "номер");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.drivers_licence.start_date</code>. дата
|
||||
* выдачи
|
||||
*/
|
||||
public final TableField<DriversLicenceRecord, Date> START_DATE = createField(DSL.name("start_date"), SQLDataType.DATE, this, "дата выдачи");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.drivers_licence.close_date</code>. дата
|
||||
* окончания действия
|
||||
*/
|
||||
public final TableField<DriversLicenceRecord, Date> CLOSE_DATE = createField(DSL.name("close_date"), SQLDataType.DATE, this, "дата окончания действия");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.drivers_licence.categories</code>.
|
||||
* категории
|
||||
*/
|
||||
public final TableField<DriversLicenceRecord, String> CATEGORIES = createField(DSL.name("categories"), SQLDataType.VARCHAR(50), this, "категории");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.drivers_licence.status</code>. статус
|
||||
* удостоверения
|
||||
*/
|
||||
public final TableField<DriversLicenceRecord, String> STATUS = createField(DSL.name("status"), SQLDataType.VARCHAR(50), this, "статус удостоверения");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.drivers_licence.replacement_date</code>.
|
||||
* дата замены
|
||||
*/
|
||||
public final TableField<DriversLicenceRecord, Date> REPLACEMENT_DATE = createField(DSL.name("replacement_date"), SQLDataType.DATE, this, "дата замены");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.drivers_licence.return_date</code>. дата
|
||||
* возврата
|
||||
*/
|
||||
public final TableField<DriversLicenceRecord, Date> RETURN_DATE = createField(DSL.name("return_date"), SQLDataType.DATE, this, "дата возврата");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.drivers_licence.seizure_date</code>. дата
|
||||
* изъятия
|
||||
*/
|
||||
public final TableField<DriversLicenceRecord, Date> SEIZURE_DATE = createField(DSL.name("seizure_date"), SQLDataType.DATE, this, "дата изъятия");
|
||||
|
||||
private DriversLicence(Name alias, Table<DriversLicenceRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private DriversLicence(Name alias, Table<DriversLicenceRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("удостоверение водительское/тракториста-машиниста"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.drivers_licence</code> table
|
||||
* reference
|
||||
*/
|
||||
public DriversLicence(String alias) {
|
||||
this(DSL.name(alias), DRIVERS_LICENCE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.drivers_licence</code> table
|
||||
* reference
|
||||
*/
|
||||
public DriversLicence(Name alias) {
|
||||
this(alias, DRIVERS_LICENCE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.drivers_licence</code> table reference
|
||||
*/
|
||||
public DriversLicence() {
|
||||
this(DSL.name("drivers_licence"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<DriversLicenceRecord, Long> getIdentity() {
|
||||
return (Identity<DriversLicenceRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<DriversLicenceRecord> getPrimaryKey() {
|
||||
return Keys.PK_DRIVERS_LICENCE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public DriversLicence as(String alias) {
|
||||
return new DriversLicence(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DriversLicence as(Name alias) {
|
||||
return new DriversLicence(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DriversLicence as(Table<?> alias) {
|
||||
return new DriversLicence(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DriversLicence rename(String name) {
|
||||
return new DriversLicence(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DriversLicence rename(Name name) {
|
||||
return new DriversLicence(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DriversLicence rename(Table<?> name) {
|
||||
return new DriversLicence(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public DriversLicence where(Condition condition) {
|
||||
return new DriversLicence(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public DriversLicence where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public DriversLicence where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public DriversLicence where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public DriversLicence where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public DriversLicence where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public DriversLicence where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public DriversLicence where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public DriversLicence whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public DriversLicence whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,259 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.MedicalAuthoritiesRecord;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о гражданах, стоящих на учете в ПНД/по ВИЧ
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class MedicalAuthorities extends TableImpl<MedicalAuthoritiesRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.medical_authorities</code>
|
||||
*/
|
||||
public static final MedicalAuthorities MEDICAL_AUTHORITIES = new MedicalAuthorities();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<MedicalAuthoritiesRecord> getRecordType() {
|
||||
return MedicalAuthoritiesRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.medical_authorities.medical_authorities_id</code>.
|
||||
*/
|
||||
public final TableField<MedicalAuthoritiesRecord, Long> MEDICAL_AUTHORITIES_ID = createField(DSL.name("medical_authorities_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.medical_authorities.recruit_id</code>.
|
||||
* ссылка на гражданина (citizen)
|
||||
*/
|
||||
public final TableField<MedicalAuthoritiesRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.medical_authorities.start_date</code>.
|
||||
* дата постановки на учет
|
||||
*/
|
||||
public final TableField<MedicalAuthoritiesRecord, Date> START_DATE = createField(DSL.name("start_date"), SQLDataType.DATE, this, "дата постановки на учет");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.medical_authorities.close_date</code>.
|
||||
* дата снятия с учета
|
||||
*/
|
||||
public final TableField<MedicalAuthoritiesRecord, Date> CLOSE_DATE = createField(DSL.name("close_date"), SQLDataType.DATE, this, "дата снятия с учета");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.medical_authorities.change_date</code>.
|
||||
* дата планового срока пересмотра диагноза
|
||||
*/
|
||||
public final TableField<MedicalAuthoritiesRecord, Date> CHANGE_DATE = createField(DSL.name("change_date"), SQLDataType.DATE, this, "дата планового срока пересмотра диагноза");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.medical_authorities.hiv</code>. на учете
|
||||
* по ВИЧ(true) или в ПНД(false)
|
||||
*/
|
||||
public final TableField<MedicalAuthoritiesRecord, Boolean> HIV = createField(DSL.name("hiv"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "на учете по ВИЧ(true) или в ПНД(false)");
|
||||
|
||||
private MedicalAuthorities(Name alias, Table<MedicalAuthoritiesRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private MedicalAuthorities(Name alias, Table<MedicalAuthoritiesRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("сведения о гражданах, стоящих на учете в ПНД/по ВИЧ"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.medical_authorities</code> table
|
||||
* reference
|
||||
*/
|
||||
public MedicalAuthorities(String alias) {
|
||||
this(DSL.name(alias), MEDICAL_AUTHORITIES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.medical_authorities</code> table
|
||||
* reference
|
||||
*/
|
||||
public MedicalAuthorities(Name alias) {
|
||||
this(alias, MEDICAL_AUTHORITIES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.medical_authorities</code> table reference
|
||||
*/
|
||||
public MedicalAuthorities() {
|
||||
this(DSL.name("medical_authorities"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<MedicalAuthoritiesRecord, Long> getIdentity() {
|
||||
return (Identity<MedicalAuthoritiesRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<MedicalAuthoritiesRecord> getPrimaryKey() {
|
||||
return Keys.PK_MEDICAL_AUTHORITIES;
|
||||
}
|
||||
|
||||
@Override
|
||||
public MedicalAuthorities as(String alias) {
|
||||
return new MedicalAuthorities(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MedicalAuthorities as(Name alias) {
|
||||
return new MedicalAuthorities(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MedicalAuthorities as(Table<?> alias) {
|
||||
return new MedicalAuthorities(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public MedicalAuthorities rename(String name) {
|
||||
return new MedicalAuthorities(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public MedicalAuthorities rename(Name name) {
|
||||
return new MedicalAuthorities(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public MedicalAuthorities rename(Table<?> name) {
|
||||
return new MedicalAuthorities(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public MedicalAuthorities where(Condition condition) {
|
||||
return new MedicalAuthorities(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public MedicalAuthorities where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public MedicalAuthorities where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public MedicalAuthorities where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public MedicalAuthorities where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public MedicalAuthorities where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public MedicalAuthorities where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public MedicalAuthorities where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public MedicalAuthorities whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public MedicalAuthorities whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,268 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PassportRecord;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о паспорте
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Passport extends TableImpl<PassportRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.passport</code>
|
||||
*/
|
||||
public static final Passport PASSPORT = new Passport();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<PassportRecord> getRecordType() {
|
||||
return PassportRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.passport.passport_id</code>.
|
||||
*/
|
||||
public final TableField<PassportRecord, Long> PASSPORT_ID = createField(DSL.name("passport_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.passport.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public final TableField<PassportRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.passport.actual</code>. статус документа:
|
||||
* действительный(true)/недействительный(false)
|
||||
*/
|
||||
public final TableField<PassportRecord, Boolean> ACTUAL = createField(DSL.name("actual"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "статус документа: действительный(true)/недействительный(false)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.passport.passport_series</code>. серия
|
||||
* паспорта
|
||||
*/
|
||||
public final TableField<PassportRecord, String> PASSPORT_SERIES = createField(DSL.name("passport_series"), SQLDataType.VARCHAR(4), this, "серия паспорта");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.passport.passport_number</code>. номер
|
||||
* паспорта
|
||||
*/
|
||||
public final TableField<PassportRecord, String> PASSPORT_NUMBER = createField(DSL.name("passport_number"), SQLDataType.VARCHAR(6), this, "номер паспорта");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.passport.issue_date</code>. дата выдачи
|
||||
* документа
|
||||
*/
|
||||
public final TableField<PassportRecord, Date> ISSUE_DATE = createField(DSL.name("issue_date"), SQLDataType.DATE, this, "дата выдачи документа");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.passport.organization_name</code>.
|
||||
* наименование органа, выдавшего документ
|
||||
*/
|
||||
public final TableField<PassportRecord, String> ORGANIZATION_NAME = createField(DSL.name("organization_name"), SQLDataType.VARCHAR(255), this, "наименование органа, выдавшего документ");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.passport.unit_code</code>. код
|
||||
* подразделения
|
||||
*/
|
||||
public final TableField<PassportRecord, String> UNIT_CODE = createField(DSL.name("unit_code"), SQLDataType.VARCHAR(7), this, "код подразделения");
|
||||
|
||||
private Passport(Name alias, Table<PassportRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Passport(Name alias, Table<PassportRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("сведения о паспорте"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.passport</code> table reference
|
||||
*/
|
||||
public Passport(String alias) {
|
||||
this(DSL.name(alias), PASSPORT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.passport</code> table reference
|
||||
*/
|
||||
public Passport(Name alias) {
|
||||
this(alias, PASSPORT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.passport</code> table reference
|
||||
*/
|
||||
public Passport() {
|
||||
this(DSL.name("passport"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<PassportRecord, Long> getIdentity() {
|
||||
return (Identity<PassportRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<PassportRecord> getPrimaryKey() {
|
||||
return Keys.PK_PASSPORT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Passport as(String alias) {
|
||||
return new Passport(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Passport as(Name alias) {
|
||||
return new Passport(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Passport as(Table<?> alias) {
|
||||
return new Passport(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Passport rename(String name) {
|
||||
return new Passport(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Passport rename(Name name) {
|
||||
return new Passport(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Passport rename(Table<?> name) {
|
||||
return new Passport(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Passport where(Condition condition) {
|
||||
return new Passport(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Passport where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Passport where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Passport where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Passport where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Passport where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Passport where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Passport where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Passport whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Passport whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,297 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PropertyRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.public_.enums.TypePropertyType;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения об имуществе
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Property extends TableImpl<PropertyRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.property</code>
|
||||
*/
|
||||
public static final Property PROPERTY = new Property();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<PropertyRecord> getRecordType() {
|
||||
return PropertyRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.property.property_id</code>.
|
||||
*/
|
||||
public final TableField<PropertyRecord, Long> PROPERTY_ID = createField(DSL.name("property_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.property.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public final TableField<PropertyRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.property.type_property</code>. тип
|
||||
* имущества: недвижимое/наземный/воздушный/водный транспорт
|
||||
*/
|
||||
public final TableField<PropertyRecord, TypePropertyType> TYPE_PROPERTY = createField(DSL.name("type_property"), SQLDataType.VARCHAR.asEnumDataType(TypePropertyType.class), this, "тип имущества: недвижимое/наземный/воздушный/водный транспорт");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.property.start_date</code>. дата
|
||||
* регистрации права владения
|
||||
*/
|
||||
public final TableField<PropertyRecord, Date> START_DATE = createField(DSL.name("start_date"), SQLDataType.DATE, this, "дата регистрации права владения");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.property.close_date</code>. дата
|
||||
* прекращения права владения
|
||||
*/
|
||||
public final TableField<PropertyRecord, Date> CLOSE_DATE = createField(DSL.name("close_date"), SQLDataType.DATE, this, "дата прекращения права владения");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.property.vehicle_type</code>. вид
|
||||
* транспортного средства
|
||||
*/
|
||||
public final TableField<PropertyRecord, String> VEHICLE_TYPE = createField(DSL.name("vehicle_type"), SQLDataType.VARCHAR(100), this, "вид транспортного средства");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.property.vehicle_category</code>.
|
||||
* категория транспортного средства
|
||||
*/
|
||||
public final TableField<PropertyRecord, String> VEHICLE_CATEGORY = createField(DSL.name("vehicle_category"), SQLDataType.VARCHAR(100), this, "категория транспортного средства");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.property.address</code>. адрес объекта
|
||||
* недвижимости
|
||||
*/
|
||||
public final TableField<PropertyRecord, String> ADDRESS = createField(DSL.name("address"), SQLDataType.CLOB, this, "адрес объекта недвижимости");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.property.kind_right</code>. вид права
|
||||
*/
|
||||
public final TableField<PropertyRecord, String> KIND_RIGHT = createField(DSL.name("kind_right"), SQLDataType.VARCHAR(50), this, "вид права");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.property.issue_year</code>. год выпуска
|
||||
* транспортного средства
|
||||
*/
|
||||
public final TableField<PropertyRecord, String> ISSUE_YEAR = createField(DSL.name("issue_year"), SQLDataType.VARCHAR(4), this, "год выпуска транспортного средства");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.property.brand_model</code>. марка,
|
||||
* модель транспортного средства
|
||||
*/
|
||||
public final TableField<PropertyRecord, String> BRAND_MODEL = createField(DSL.name("brand_model"), SQLDataType.VARCHAR(100), this, "марка, модель транспортного средства");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.property.reg_plate</code>.
|
||||
* регистрационный номер
|
||||
*/
|
||||
public final TableField<PropertyRecord, String> REG_PLATE = createField(DSL.name("reg_plate"), SQLDataType.VARCHAR(100), this, "регистрационный номер");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.property.vin</code>.
|
||||
*/
|
||||
public final TableField<PropertyRecord, String> VIN = createField(DSL.name("vin"), SQLDataType.VARCHAR(100), this, "");
|
||||
|
||||
private Property(Name alias, Table<PropertyRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Property(Name alias, Table<PropertyRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("сведения об имуществе"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.property</code> table reference
|
||||
*/
|
||||
public Property(String alias) {
|
||||
this(DSL.name(alias), PROPERTY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.property</code> table reference
|
||||
*/
|
||||
public Property(Name alias) {
|
||||
this(alias, PROPERTY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.property</code> table reference
|
||||
*/
|
||||
public Property() {
|
||||
this(DSL.name("property"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<PropertyRecord, Long> getIdentity() {
|
||||
return (Identity<PropertyRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<PropertyRecord> getPrimaryKey() {
|
||||
return Keys.PK_PROPERTY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Property as(String alias) {
|
||||
return new Property(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Property as(Name alias) {
|
||||
return new Property(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Property as(Table<?> alias) {
|
||||
return new Property(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Property rename(String name) {
|
||||
return new Property(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Property rename(Name name) {
|
||||
return new Property(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Property rename(Table<?> name) {
|
||||
return new Property(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Property where(Condition condition) {
|
||||
return new Property(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Property where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Property where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Property where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Property where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Property where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Property where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Property where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Property whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Property whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,292 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.ProsecutionRecord;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения об уголовном преследовании
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Prosecution extends TableImpl<ProsecutionRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.prosecution</code>
|
||||
*/
|
||||
public static final Prosecution PROSECUTION = new Prosecution();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ProsecutionRecord> getRecordType() {
|
||||
return ProsecutionRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.prosecution.prosecution_id</code>.
|
||||
*/
|
||||
public final TableField<ProsecutionRecord, Long> PROSECUTION_ID = createField(DSL.name("prosecution_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.prosecution.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public final TableField<ProsecutionRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.prosecution.kind</code>. вид уголовного
|
||||
* преследования
|
||||
*/
|
||||
public final TableField<ProsecutionRecord, String> KIND = createField(DSL.name("kind"), SQLDataType.VARCHAR(255), this, "вид уголовного преследования");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.prosecution.create_date</code>. дата
|
||||
* возбуждения уголовного дела
|
||||
*/
|
||||
public final TableField<ProsecutionRecord, Date> CREATE_DATE = createField(DSL.name("create_date"), SQLDataType.DATE, this, "дата возбуждения уголовного дела");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.prosecution.close_date</code>. дата
|
||||
* прекращения уголовного преследования
|
||||
*/
|
||||
public final TableField<ProsecutionRecord, Date> CLOSE_DATE = createField(DSL.name("close_date"), SQLDataType.DATE, this, "дата прекращения уголовного преследования");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.prosecution.authority_name</code>.
|
||||
* наименование органа, принявшего решение
|
||||
*/
|
||||
public final TableField<ProsecutionRecord, String> AUTHORITY_NAME = createField(DSL.name("authority_name"), SQLDataType.VARCHAR(255), this, "наименование органа, принявшего решение");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.prosecution.law_point</code>. пункт,
|
||||
* часть, статья УК РФ
|
||||
*/
|
||||
public final TableField<ProsecutionRecord, String> LAW_POINT = createField(DSL.name("law_point"), SQLDataType.VARCHAR(100), this, "пункт, часть, статья УК РФ");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.prosecution.termination_basis</code>.
|
||||
* основание прекращения уголовного преследования
|
||||
*/
|
||||
public final TableField<ProsecutionRecord, String> TERMINATION_BASIS = createField(DSL.name("termination_basis"), SQLDataType.VARCHAR(255), this, "основание прекращения уголовного преследования");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.prosecution.transfer_to_court</code>.
|
||||
* признак передачи в суд уголовного дела в отношении гражданина
|
||||
*/
|
||||
public final TableField<ProsecutionRecord, Boolean> TRANSFER_TO_COURT = createField(DSL.name("transfer_to_court"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "признак передачи в суд уголовного дела в отношении гражданина");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.prosecution.case_number</code>. номер
|
||||
* уголовного дела (предварительный)
|
||||
*/
|
||||
public final TableField<ProsecutionRecord, String> CASE_NUMBER = createField(DSL.name("case_number"), SQLDataType.VARCHAR(50), this, "номер уголовного дела (предварительный)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.prosecution.case_number_court</code>.
|
||||
* номер уголовного дела (судебный)
|
||||
*/
|
||||
public final TableField<ProsecutionRecord, String> CASE_NUMBER_COURT = createField(DSL.name("case_number_court"), SQLDataType.VARCHAR(50), this, "номер уголовного дела (судебный)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.prosecution.reclassification</code>.
|
||||
* сведения о переквалификации деяния
|
||||
*/
|
||||
public final TableField<ProsecutionRecord, String> RECLASSIFICATION = createField(DSL.name("reclassification"), SQLDataType.CLOB, this, "сведения о переквалификации деяния");
|
||||
|
||||
private Prosecution(Name alias, Table<ProsecutionRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Prosecution(Name alias, Table<ProsecutionRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("сведения об уголовном преследовании"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.prosecution</code> table reference
|
||||
*/
|
||||
public Prosecution(String alias) {
|
||||
this(DSL.name(alias), PROSECUTION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.prosecution</code> table reference
|
||||
*/
|
||||
public Prosecution(Name alias) {
|
||||
this(alias, PROSECUTION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.prosecution</code> table reference
|
||||
*/
|
||||
public Prosecution() {
|
||||
this(DSL.name("prosecution"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<ProsecutionRecord, Long> getIdentity() {
|
||||
return (Identity<ProsecutionRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<ProsecutionRecord> getPrimaryKey() {
|
||||
return Keys.PK_PROSECUTION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Prosecution as(String alias) {
|
||||
return new Prosecution(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Prosecution as(Name alias) {
|
||||
return new Prosecution(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Prosecution as(Table<?> alias) {
|
||||
return new Prosecution(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Prosecution rename(String name) {
|
||||
return new Prosecution(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Prosecution rename(Name name) {
|
||||
return new Prosecution(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Prosecution rename(Table<?> name) {
|
||||
return new Prosecution(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Prosecution where(Condition condition) {
|
||||
return new Prosecution(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Prosecution where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Prosecution where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Prosecution where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Prosecution where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Prosecution where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Prosecution where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Prosecution where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Prosecution whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Prosecution whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,353 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.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.TopicAppeal.TopicAppealPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PubRecruitmentRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint.ConsiderationComplaintPath;
|
||||
|
||||
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 PubRecruitment extends TableImpl<PubRecruitmentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.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>ervu_dashboard.pub_recruitment.idm_id</code>.
|
||||
*/
|
||||
public final TableField<PubRecruitmentRecord, String> IDM_ID = createField(DSL.name("idm_id"), SQLDataType.VARCHAR(256), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.pub_recruitment.parent_id</code>.
|
||||
*/
|
||||
public final TableField<PubRecruitmentRecord, String> PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.pub_recruitment.military_code</code>.
|
||||
*/
|
||||
public final TableField<PubRecruitmentRecord, String> MILITARY_CODE = createField(DSL.name("military_code"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.pub_recruitment.shortname</code>.
|
||||
*/
|
||||
public final TableField<PubRecruitmentRecord, String> SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.pub_recruitment.fullname</code>.
|
||||
*/
|
||||
public final TableField<PubRecruitmentRecord, String> FULLNAME = createField(DSL.name("fullname"), SQLDataType.VARCHAR.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.pub_recruitment.code</code>.
|
||||
*/
|
||||
public final TableField<PubRecruitmentRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(64), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.pub_recruitment.id</code>.
|
||||
*/
|
||||
public final TableField<PubRecruitmentRecord, String> ID = createField(DSL.name("id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.pub_recruitment.sort</code>.
|
||||
*/
|
||||
public final TableField<PubRecruitmentRecord, String> SORT = createField(DSL.name("sort"), SQLDataType.VARCHAR.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>ervu_dashboard.pub_recruitment</code> table
|
||||
* reference
|
||||
*/
|
||||
public PubRecruitment(String alias) {
|
||||
this(DSL.name(alias), PUB_RECRUITMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.pub_recruitment</code> table
|
||||
* reference
|
||||
*/
|
||||
public PubRecruitment(Name alias) {
|
||||
this(alias, PUB_RECRUITMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.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 : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<PubRecruitmentRecord> getPrimaryKey() {
|
||||
return Keys.PUB_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 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 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;
|
||||
}
|
||||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,310 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PunishmentRecord;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения об уголовном преследовании и вынесенном приговоре
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Punishment extends TableImpl<PunishmentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.punishment</code>
|
||||
*/
|
||||
public static final Punishment PUNISHMENT = new Punishment();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<PunishmentRecord> getRecordType() {
|
||||
return PunishmentRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.punishment_id</code>.
|
||||
*/
|
||||
public final TableField<PunishmentRecord, Long> PUNISHMENT_ID = createField(DSL.name("punishment_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public final TableField<PunishmentRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.sentence</code>. срок или
|
||||
* размер наказания
|
||||
*/
|
||||
public final TableField<PunishmentRecord, String> SENTENCE = createField(DSL.name("sentence"), SQLDataType.VARCHAR(255), this, "срок или размер наказания");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.sentence_changed</code>.
|
||||
* изменение срока или размера наказания
|
||||
*/
|
||||
public final TableField<PunishmentRecord, String> SENTENCE_CHANGED = createField(DSL.name("sentence_changed"), SQLDataType.VARCHAR(255), this, "изменение срока или размера наказания");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.sentense_date</code>. дата
|
||||
* вынесения обвинительного приговора
|
||||
*/
|
||||
public final TableField<PunishmentRecord, Date> SENTENSE_DATE = createField(DSL.name("sentense_date"), SQLDataType.DATE, this, "дата вынесения обвинительного приговора");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.authority_name</code>.
|
||||
* наименование суда, вынесшего приговор
|
||||
*/
|
||||
public final TableField<PunishmentRecord, String> AUTHORITY_NAME = createField(DSL.name("authority_name"), SQLDataType.VARCHAR(255), this, "наименование суда, вынесшего приговор");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.law_point</code>. пункт,
|
||||
* часть, статья УК РФ
|
||||
*/
|
||||
public final TableField<PunishmentRecord, String> LAW_POINT = createField(DSL.name("law_point"), SQLDataType.VARCHAR(100), this, "пункт, часть, статья УК РФ");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.punishment_type</code>. вид
|
||||
* наказания
|
||||
*/
|
||||
public final TableField<PunishmentRecord, String> PUNISHMENT_TYPE = createField(DSL.name("punishment_type"), SQLDataType.VARCHAR(100), this, "вид наказания");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.punishment_code</code>. код
|
||||
* вида наказания
|
||||
*/
|
||||
public final TableField<PunishmentRecord, String> PUNISHMENT_CODE = createField(DSL.name("punishment_code"), SQLDataType.VARCHAR(5), this, "код вида наказания");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.sentence_place</code>.
|
||||
* наименование и адрес места отбывания наказания
|
||||
*/
|
||||
public final TableField<PunishmentRecord, String> SENTENCE_PLACE = createField(DSL.name("sentence_place"), SQLDataType.CLOB, this, "наименование и адрес места отбывания наказания");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.start_date</code>. дата начала
|
||||
* срока отбывания наказания
|
||||
*/
|
||||
public final TableField<PunishmentRecord, Date> START_DATE = createField(DSL.name("start_date"), SQLDataType.DATE, this, "дата начала срока отбывания наказания");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.planned_date</code>. плановая
|
||||
* дата отбытия
|
||||
*/
|
||||
public final TableField<PunishmentRecord, Date> PLANNED_DATE = createField(DSL.name("planned_date"), SQLDataType.DATE, this, "плановая дата отбытия");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.release_date</code>. дата
|
||||
* освобождения
|
||||
*/
|
||||
public final TableField<PunishmentRecord, Date> RELEASE_DATE = createField(DSL.name("release_date"), SQLDataType.DATE, this, "дата освобождения");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.release_reason</code>.
|
||||
* основание освобождения
|
||||
*/
|
||||
public final TableField<PunishmentRecord, String> RELEASE_REASON = createField(DSL.name("release_reason"), SQLDataType.VARCHAR(255), this, "основание освобождения");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.punishment.mandatory_work</code>. признак
|
||||
* отбывания наказания в виде обязательных работ
|
||||
*/
|
||||
public final TableField<PunishmentRecord, Boolean> MANDATORY_WORK = createField(DSL.name("mandatory_work"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "признак отбывания наказания в виде обязательных работ");
|
||||
|
||||
private Punishment(Name alias, Table<PunishmentRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Punishment(Name alias, Table<PunishmentRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("сведения об уголовном преследовании и вынесенном приговоре"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.punishment</code> table reference
|
||||
*/
|
||||
public Punishment(String alias) {
|
||||
this(DSL.name(alias), PUNISHMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.punishment</code> table reference
|
||||
*/
|
||||
public Punishment(Name alias) {
|
||||
this(alias, PUNISHMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.punishment</code> table reference
|
||||
*/
|
||||
public Punishment() {
|
||||
this(DSL.name("punishment"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<PunishmentRecord, Long> getIdentity() {
|
||||
return (Identity<PunishmentRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<PunishmentRecord> getPrimaryKey() {
|
||||
return Keys.PK_PUNISHMENT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Punishment as(String alias) {
|
||||
return new Punishment(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Punishment as(Name alias) {
|
||||
return new Punishment(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Punishment as(Table<?> alias) {
|
||||
return new Punishment(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Punishment rename(String name) {
|
||||
return new Punishment(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Punishment rename(Name name) {
|
||||
return new Punishment(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Punishment rename(Table<?> name) {
|
||||
return new Punishment(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Punishment where(Condition condition) {
|
||||
return new Punishment(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Punishment where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Punishment where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Punishment where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Punishment where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Punishment where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Punishment where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Punishment where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Punishment whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Punishment whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,327 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.RecruitmentRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.AppearSubppoena.AppearSubppoenaPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConscriptionInfo.ConscriptionInfoPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.PostponementInfo.PostponementInfoPath;
|
||||
|
||||
import java.util.Collection;
|
||||
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>ervu_dashboard.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>ervu_dashboard.recruitment.id</code>.
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> ID = createField(DSL.name("id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.recruitment.shortname</code>.
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> SHORTNAME = createField(DSL.name("shortname"), SQLDataType.CHAR(300), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.recruitment.idm_id</code>.
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, UUID> IDM_ID = createField(DSL.name("idm_id"), SQLDataType.UUID, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.recruitment.code</code>.
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> CODE = createField(DSL.name("code"), SQLDataType.CHAR(300), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.recruitment.parent_id</code>.
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.CHAR(300), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.recruitment.sort</code>.
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, Long> SORT = createField(DSL.name("sort"), SQLDataType.BIGINT.nullable(false).identity(true), 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>ervu_dashboard.recruitment</code> table reference
|
||||
*/
|
||||
public Recruitment(String alias) {
|
||||
this(DSL.name(alias), RECRUITMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.recruitment</code> table reference
|
||||
*/
|
||||
public Recruitment(Name alias) {
|
||||
this(alias, RECRUITMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.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 : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<RecruitmentRecord, Long> getIdentity() {
|
||||
return (Identity<RecruitmentRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<RecruitmentRecord> getPrimaryKey() {
|
||||
return Keys.RECRUITMENT_PKEY;
|
||||
}
|
||||
|
||||
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 ConscriptionInfoPath _conscriptionInfo;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>ratings.conscription_info</code> table
|
||||
*/
|
||||
public ConscriptionInfoPath conscriptionInfo() {
|
||||
if (_conscriptionInfo == null)
|
||||
_conscriptionInfo = new ConscriptionInfoPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys.CONSCRIPTION_INFO__CONSCRIPTION_INFO_FK1.getInverseKey());
|
||||
|
||||
return _conscriptionInfo;
|
||||
}
|
||||
|
||||
private transient PostponementInfoPath _postponementInfo;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>recruitment_campaign.postponement_info</code> table
|
||||
*/
|
||||
public PostponementInfoPath postponementInfo() {
|
||||
if (_postponementInfo == null)
|
||||
_postponementInfo = new PostponementInfoPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.Keys.POSTPONEMENT_INFO__POSTPONEMENT_INFO_FK1.getInverseKey());
|
||||
|
||||
return _postponementInfo;
|
||||
}
|
||||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,363 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о направлении повестки военного комиссариата
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Subpoena extends TableImpl<SubpoenaRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.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>ervu_dashboard.subpoena.sub_id</code>.
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, Long> SUB_ID = createField(DSL.name("sub_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.series</code>. серия повестки
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> SERIES = createField(DSL.name("series"), SQLDataType.VARCHAR(16), this, "серия повестки");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.number</code>. номер повестки
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> NUMBER = createField(DSL.name("number"), SQLDataType.VARCHAR(36).nullable(false), this, "номер повестки");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.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>ervu_dashboard.subpoena.visit_date</code>. время и дата
|
||||
* явки в ВК
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, Timestamp> VISIT_DATE = createField(DSL.name("visit_date"), SQLDataType.TIMESTAMP(0), this, "время и дата явки в ВК");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.send_date</code>. дата
|
||||
* направления повестки
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, Timestamp> SEND_DATE = createField(DSL.name("send_date"), SQLDataType.TIMESTAMP(0), this, "дата направления повестки");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.reason_cancelled</code>. причина
|
||||
* отклонения повестки
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> REASON_CANCELLED = createField(DSL.name("reason_cancelled"), SQLDataType.VARCHAR(255), this, "причина отклонения повестки");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.recruit_id</code>. идентификатор
|
||||
* рекрута
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID, this, "идентификатор рекрута");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.department_id</code>.
|
||||
* идентификатор ВК
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, UUID> DEPARTMENT_ID = createField(DSL.name("department_id"), SQLDataType.UUID, this, "идентификатор ВК");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.subpoena_status</code>. статус
|
||||
* повестки
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> SUBPOENA_STATUS = createField(DSL.name("subpoena_status"), SQLDataType.CLOB, this, "статус повестки");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.subpoena_reason</code>. причина
|
||||
* вызова по повестке
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> SUBPOENA_REASON = createField(DSL.name("subpoena_reason"), SQLDataType.CLOB, this, "причина вызова по повестке");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.fio_commiss</code>. фио
|
||||
* комиссара
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> FIO_COMMISS = createField(DSL.name("fio_commiss"), SQLDataType.CLOB, this, "фио комиссара");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.track_number</code>. уникальный
|
||||
* номер заказного почтового отправления, которым направлена повестка
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> TRACK_NUMBER = createField(DSL.name("track_number"), SQLDataType.CLOB, this, "уникальный номер заказного почтового отправления, которым направлена повестка");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.recruitment_name</code>.
|
||||
* наименование ВК, направившего повестку
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> RECRUITMENT_NAME = createField(DSL.name("recruitment_name"), SQLDataType.CLOB, this, "наименование ВК, направившего повестку");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.address</code>. адрес, по
|
||||
* которому нужно явиться по повестке
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> ADDRESS = createField(DSL.name("address"), SQLDataType.CLOB, this, "адрес, по которому нужно явиться по повестке");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.method_sending</code>. способ
|
||||
* направления повестки
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> METHOD_SENDING = createField(DSL.name("method_sending"), SQLDataType.CLOB, this, "способ направления повестки");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.subpoena_id</code>.
|
||||
* идентификатор повестки
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, UUID> SUBPOENA_ID = createField(DSL.name("subpoena_id"), SQLDataType.UUID, this, "идентификатор повестки");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.sig_info</code>. открепленная ЭП
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> SIG_INFO = createField(DSL.name("sig_info"), SQLDataType.VARCHAR(255), this, "открепленная ЭП");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.delivery_fio</code>. фио лица,
|
||||
* оповестившего гражданина о последствиях отказа от получения повестки
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> DELIVERY_FIO = createField(DSL.name("delivery_fio"), SQLDataType.CLOB, this, "фио лица, оповестившего гражданина о последствиях отказа от получения повестки");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.act_number</code>. номер акта об
|
||||
* отказе от получения повестки
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> ACT_NUMBER = createField(DSL.name("act_number"), SQLDataType.CLOB, this, "номер акта об отказе от получения повестки");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.method_delivery</code>. способ
|
||||
* вручения
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> METHOD_DELIVERY = createField(DSL.name("method_delivery"), SQLDataType.CLOB, this, "способ вручения");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.delivery_date</code>.
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, Timestamp> DELIVERY_DATE = createField(DSL.name("delivery_date"), SQLDataType.TIMESTAMP(0), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.delivery_status</code>.
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> DELIVERY_STATUS = createField(DSL.name("delivery_status"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.appearance</code>.
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> APPEARANCE = createField(DSL.name("appearance"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.subpoena.appearance_status</code>.
|
||||
*/
|
||||
public final TableField<SubpoenaRecord, String> APPEARANCE_STATUS = createField(DSL.name("appearance_status"), 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>ervu_dashboard.subpoena</code> table reference
|
||||
*/
|
||||
public Subpoena(String alias) {
|
||||
this(DSL.name(alias), SUBPOENA);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.subpoena</code> table reference
|
||||
*/
|
||||
public Subpoena(Name alias) {
|
||||
this(alias, SUBPOENA);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.subpoena</code> table reference
|
||||
*/
|
||||
public Subpoena() {
|
||||
this(DSL.name("subpoena"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,310 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.TemporaryMeasuresRecord;
|
||||
|
||||
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 TemporaryMeasures extends TableImpl<TemporaryMeasuresRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.temporary_measures</code>
|
||||
*/
|
||||
public static final TemporaryMeasures TEMPORARY_MEASURES = new TemporaryMeasures();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TemporaryMeasuresRecord> getRecordType() {
|
||||
return TemporaryMeasuresRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.temporary_measures.temporary_measures_id</code>.
|
||||
*/
|
||||
public final TableField<TemporaryMeasuresRecord, Long> TEMPORARY_MEASURES_ID = createField(DSL.name("temporary_measures_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.temporary_measures.subpoena_id</code>.
|
||||
*/
|
||||
public final TableField<TemporaryMeasuresRecord, UUID> SUBPOENA_ID = createField(DSL.name("subpoena_id"), SQLDataType.UUID, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.temporary_measures.recruit_id</code>.
|
||||
*/
|
||||
public final TableField<TemporaryMeasuresRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.temporary_measures.recruitment_id</code>.
|
||||
*/
|
||||
public final TableField<TemporaryMeasuresRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.temporary_measures.status_measure</code>.
|
||||
* статус временной меры
|
||||
*/
|
||||
public final TableField<TemporaryMeasuresRecord, String> STATUS_MEASURE = createField(DSL.name("status_measure"), SQLDataType.CLOB, this, "статус временной меры");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.temporary_measures.recruitment_name</code>.
|
||||
* наименование ВК
|
||||
*/
|
||||
public final TableField<TemporaryMeasuresRecord, String> RECRUITMENT_NAME = createField(DSL.name("recruitment_name"), SQLDataType.CLOB, this, "наименование ВК");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.temporary_measures.cancel_date</code>.
|
||||
* дата, с которой отменена временная мера
|
||||
*/
|
||||
public final TableField<TemporaryMeasuresRecord, Timestamp> CANCEL_DATE = createField(DSL.name("cancel_date"), SQLDataType.TIMESTAMP(0), this, "дата, с которой отменена временная мера");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.temporary_measures.restriction_name</code>.
|
||||
* наименование временной меры
|
||||
*/
|
||||
public final TableField<TemporaryMeasuresRecord, String> RESTRICTION_NAME = createField(DSL.name("restriction_name"), SQLDataType.CLOB, this, "наименование временной меры");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.temporary_measures.type</code>. тип
|
||||
* документа ограничения
|
||||
*/
|
||||
public final TableField<TemporaryMeasuresRecord, String> TYPE = createField(DSL.name("type"), SQLDataType.CLOB, this, "тип документа ограничения");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.temporary_measures.decision_number_create</code>.
|
||||
* номер решения о применении временной меры
|
||||
*/
|
||||
public final TableField<TemporaryMeasuresRecord, String> DECISION_NUMBER_CREATE = createField(DSL.name("decision_number_create"), SQLDataType.CLOB, this, "номер решения о применении временной меры");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.temporary_measures.decision_number_cancel</code>.
|
||||
* номер решения об отмене временной меры
|
||||
*/
|
||||
public final TableField<TemporaryMeasuresRecord, String> DECISION_NUMBER_CANCEL = createField(DSL.name("decision_number_cancel"), SQLDataType.CLOB, this, "номер решения об отмене временной меры");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.temporary_measures.decision_date_create</code>. дата
|
||||
* решения о применении временной меры
|
||||
*/
|
||||
public final TableField<TemporaryMeasuresRecord, Timestamp> DECISION_DATE_CREATE = createField(DSL.name("decision_date_create"), SQLDataType.TIMESTAMP(0), this, "дата решения о применении временной меры");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.temporary_measures.decision_date_cancel</code>. дата
|
||||
* решения об отмене временной меры
|
||||
*/
|
||||
public final TableField<TemporaryMeasuresRecord, Timestamp> DECISION_DATE_CANCEL = createField(DSL.name("decision_date_cancel"), SQLDataType.TIMESTAMP(0), this, "дата решения об отмене временной меры");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.temporary_measures.applied_fact</code>.
|
||||
* факт применения временной меры
|
||||
*/
|
||||
public final TableField<TemporaryMeasuresRecord, String> APPLIED_FACT = createField(DSL.name("applied_fact"), SQLDataType.CLOB, this, "факт применения временной меры");
|
||||
|
||||
private TemporaryMeasures(Name alias, Table<TemporaryMeasuresRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private TemporaryMeasures(Name alias, Table<TemporaryMeasuresRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.temporary_measures</code> table
|
||||
* reference
|
||||
*/
|
||||
public TemporaryMeasures(String alias) {
|
||||
this(DSL.name(alias), TEMPORARY_MEASURES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.temporary_measures</code> table
|
||||
* reference
|
||||
*/
|
||||
public TemporaryMeasures(Name alias) {
|
||||
this(alias, TEMPORARY_MEASURES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.temporary_measures</code> table reference
|
||||
*/
|
||||
public TemporaryMeasures() {
|
||||
this(DSL.name("temporary_measures"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TemporaryMeasuresRecord, Long> getIdentity() {
|
||||
return (Identity<TemporaryMeasuresRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TemporaryMeasuresRecord> getPrimaryKey() {
|
||||
return Keys.TEMPORARY_MEASURES_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TemporaryMeasures as(String alias) {
|
||||
return new TemporaryMeasures(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TemporaryMeasures as(Name alias) {
|
||||
return new TemporaryMeasures(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TemporaryMeasures as(Table<?> alias) {
|
||||
return new TemporaryMeasures(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TemporaryMeasures rename(String name) {
|
||||
return new TemporaryMeasures(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TemporaryMeasures rename(Name name) {
|
||||
return new TemporaryMeasures(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TemporaryMeasures rename(Table<?> name) {
|
||||
return new TemporaryMeasures(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TemporaryMeasures where(Condition condition) {
|
||||
return new TemporaryMeasures(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TemporaryMeasures where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TemporaryMeasures where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TemporaryMeasures where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TemporaryMeasures where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TemporaryMeasures where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TemporaryMeasures where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public TemporaryMeasures where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TemporaryMeasures whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public TemporaryMeasures whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,282 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.WorkRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.public_.enums.EmployerCategoryType;
|
||||
|
||||
import java.sql.Date;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* сведения об имуществе
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Work extends TableImpl<WorkRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.work</code>
|
||||
*/
|
||||
public static final Work WORK = new Work();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<WorkRecord> getRecordType() {
|
||||
return WorkRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.work.work_id</code>.
|
||||
*/
|
||||
public final TableField<WorkRecord, Long> WORK_ID = createField(DSL.name("work_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.work.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public final TableField<WorkRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.work.employer_category</code>. категория
|
||||
* работодателя: юр лицо/ИП/физ лицо/глава КФХ
|
||||
*/
|
||||
public final TableField<WorkRecord, EmployerCategoryType> EMPLOYER_CATEGORY = createField(DSL.name("employer_category"), SQLDataType.VARCHAR.asEnumDataType(EmployerCategoryType.class), this, "категория работодателя: юр лицо/ИП/физ лицо/глава КФХ");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.work.place</code>. место работы
|
||||
*/
|
||||
public final TableField<WorkRecord, String> PLACE = createField(DSL.name("place"), SQLDataType.CLOB, this, "место работы");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.work.organization_name</code>.
|
||||
* наименование организации
|
||||
*/
|
||||
public final TableField<WorkRecord, String> ORGANIZATION_NAME = createField(DSL.name("organization_name"), SQLDataType.VARCHAR(100), this, "наименование организации");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.work.inn</code>. ИНН
|
||||
*/
|
||||
public final TableField<WorkRecord, String> INN = createField(DSL.name("inn"), SQLDataType.VARCHAR(15), this, "ИНН");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.work.kpp</code>. КПП
|
||||
*/
|
||||
public final TableField<WorkRecord, String> KPP = createField(DSL.name("kpp"), SQLDataType.VARCHAR(15), this, "КПП");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.work.ogrnip</code>. ОГРНИП
|
||||
*/
|
||||
public final TableField<WorkRecord, String> OGRNIP = createField(DSL.name("ogrnip"), SQLDataType.VARCHAR(20), this, "ОГРНИП");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.work.position</code>. должность
|
||||
*/
|
||||
public final TableField<WorkRecord, String> POSITION = createField(DSL.name("position"), SQLDataType.VARCHAR(150), this, "должность");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.work.event_type</code>. тип кадрового
|
||||
* мероприятия
|
||||
*/
|
||||
public final TableField<WorkRecord, String> EVENT_TYPE = createField(DSL.name("event_type"), SQLDataType.VARCHAR(50), this, "тип кадрового мероприятия ");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.work.event_date</code>. дата кадрового
|
||||
* мероприятия
|
||||
*/
|
||||
public final TableField<WorkRecord, Date> EVENT_DATE = createField(DSL.name("event_date"), SQLDataType.DATE, this, "дата кадрового мероприятия");
|
||||
|
||||
private Work(Name alias, Table<WorkRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Work(Name alias, Table<WorkRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("сведения об имуществе"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.work</code> table reference
|
||||
*/
|
||||
public Work(String alias) {
|
||||
this(DSL.name(alias), WORK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.work</code> table reference
|
||||
*/
|
||||
public Work(Name alias) {
|
||||
this(alias, WORK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.work</code> table reference
|
||||
*/
|
||||
public Work() {
|
||||
this(DSL.name("work"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<WorkRecord, Long> getIdentity() {
|
||||
return (Identity<WorkRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<WorkRecord> getPrimaryKey() {
|
||||
return Keys.PK_WORK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Work as(String alias) {
|
||||
return new Work(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Work as(Name alias) {
|
||||
return new Work(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Work as(Table<?> alias) {
|
||||
return new Work(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Work rename(String name) {
|
||||
return new Work(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Work rename(Name name) {
|
||||
return new Work(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Work rename(Table<?> name) {
|
||||
return new Work(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Work where(Condition condition) {
|
||||
return new Work(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Work where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Work where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Work where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Work where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Work where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Work where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Work where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Work whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Work whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,180 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenChild;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о детях гражданина
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class CitizenChildRecord extends UpdatableRecordImpl<CitizenChildRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_child.citizen_child_id</code>.
|
||||
*/
|
||||
public void setCitizenChildId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_child.citizen_child_id</code>.
|
||||
*/
|
||||
public Long getCitizenChildId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_child.recruit_id</code>. ссылка
|
||||
* на гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_child.recruit_id</code>. ссылка
|
||||
* на гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_child.kinship_type</code>. тип
|
||||
* родственной связи: сын/дочь
|
||||
*/
|
||||
public void setKinshipType(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_child.kinship_type</code>. тип
|
||||
* родственной связи: сын/дочь
|
||||
*/
|
||||
public String getKinshipType() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_child.full_name</code>. ФИО
|
||||
*/
|
||||
public void setFullName(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_child.full_name</code>. ФИО
|
||||
*/
|
||||
public String getFullName() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_child.birth_date</code>.
|
||||
*/
|
||||
public void setBirthDate(Date value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_child.birth_date</code>.
|
||||
*/
|
||||
public Date getBirthDate() {
|
||||
return (Date) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_child.birth_az_number</code>.
|
||||
* номер актовой записи о рождении
|
||||
*/
|
||||
public void setBirthAzNumber(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_child.birth_az_number</code>.
|
||||
* номер актовой записи о рождении
|
||||
*/
|
||||
public String getBirthAzNumber() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_child.death_date</code>.
|
||||
*/
|
||||
public void setDeathDate(Date value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_child.death_date</code>.
|
||||
*/
|
||||
public Date getDeathDate() {
|
||||
return (Date) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_child.death_az_number</code>.
|
||||
* номер актовой записи о смерти
|
||||
*/
|
||||
public void setDeathAzNumber(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_child.death_az_number</code>.
|
||||
* номер актовой записи о смерти
|
||||
*/
|
||||
public String getDeathAzNumber() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached CitizenChildRecord
|
||||
*/
|
||||
public CitizenChildRecord() {
|
||||
super(CitizenChild.CITIZEN_CHILD);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised CitizenChildRecord
|
||||
*/
|
||||
public CitizenChildRecord(Long citizenChildId, UUID recruitId, String kinshipType, String fullName, Date birthDate, String birthAzNumber, Date deathDate, String deathAzNumber) {
|
||||
super(CitizenChild.CITIZEN_CHILD);
|
||||
|
||||
setCitizenChildId(citizenChildId);
|
||||
setRecruitId(recruitId);
|
||||
setKinshipType(kinshipType);
|
||||
setFullName(fullName);
|
||||
setBirthDate(birthDate);
|
||||
setBirthAzNumber(birthAzNumber);
|
||||
setDeathDate(deathDate);
|
||||
setDeathAzNumber(deathAzNumber);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,133 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenGuardianship;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о лице, опекаемом или находящемся на попечении
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class CitizenGuardianshipRecord extends UpdatableRecordImpl<CitizenGuardianshipRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.citizen_guardianship.citizen_guardianship_id</code>.
|
||||
*/
|
||||
public void setCitizenGuardianshipId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.citizen_guardianship.citizen_guardianship_id</code>.
|
||||
*/
|
||||
public Long getCitizenGuardianshipId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_guardianship.recruit_id</code>.
|
||||
* ссылка на гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_guardianship.recruit_id</code>.
|
||||
* ссылка на гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_guardianship.full_name</code>.
|
||||
* ФИО
|
||||
*/
|
||||
public void setFullName(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_guardianship.full_name</code>.
|
||||
* ФИО
|
||||
*/
|
||||
public String getFullName() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_guardianship.birth_date</code>.
|
||||
*/
|
||||
public void setBirthDate(Date value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_guardianship.birth_date</code>.
|
||||
*/
|
||||
public Date getBirthDate() {
|
||||
return (Date) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_guardianship.snils</code>.
|
||||
*/
|
||||
public void setSnils(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_guardianship.snils</code>.
|
||||
*/
|
||||
public String getSnils() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached CitizenGuardianshipRecord
|
||||
*/
|
||||
public CitizenGuardianshipRecord() {
|
||||
super(CitizenGuardianship.CITIZEN_GUARDIANSHIP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised CitizenGuardianshipRecord
|
||||
*/
|
||||
public CitizenGuardianshipRecord(Long citizenGuardianshipId, UUID recruitId, String fullName, Date birthDate, String snils) {
|
||||
super(CitizenGuardianship.CITIZEN_GUARDIANSHIP);
|
||||
|
||||
setCitizenGuardianshipId(citizenGuardianshipId);
|
||||
setRecruitId(recruitId);
|
||||
setFullName(fullName);
|
||||
setBirthDate(birthDate);
|
||||
setSnils(snils);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,703 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizen;
|
||||
|
||||
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 CitizenRecord extends UpdatableRecordImpl<CitizenRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.residence</code>. Адрес места
|
||||
* жительства
|
||||
*/
|
||||
public void setResidence(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.residence</code>. Адрес места
|
||||
* жительства
|
||||
*/
|
||||
public String getResidence() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.is_registered</code>. Сведения о
|
||||
* воинском учёте
|
||||
*/
|
||||
public void setIsRegistered(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.is_registered</code>. Сведения о
|
||||
* воинском учёте
|
||||
*/
|
||||
public String getIsRegistered() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.passport_series</code>. Серия
|
||||
* паспорта
|
||||
*/
|
||||
public void setPassportSeries(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.passport_series</code>. Серия
|
||||
* паспорта
|
||||
*/
|
||||
public String getPassportSeries() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.passport_number</code>. Номер
|
||||
* паспорта
|
||||
*/
|
||||
public void setPassportNumber(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.passport_number</code>. Номер
|
||||
* паспорта
|
||||
*/
|
||||
public String getPassportNumber() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.phone</code>. Телефон
|
||||
*/
|
||||
public void setPhone(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.phone</code>. Телефон
|
||||
*/
|
||||
public String getPhone() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.medical_requirements</code>.
|
||||
* Медицинские сведения
|
||||
*/
|
||||
public void setMedicalRequirements(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.medical_requirements</code>.
|
||||
* Медицинские сведения
|
||||
*/
|
||||
public String getMedicalRequirements() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.deferment_liberation</code>.
|
||||
* Наличие отсрочки или освобождения от военной службы
|
||||
*/
|
||||
public void setDefermentLiberation(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.deferment_liberation</code>.
|
||||
* Наличие отсрочки или освобождения от военной службы
|
||||
*/
|
||||
public String getDefermentLiberation() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.gender</code>. Пол
|
||||
*/
|
||||
public void setGender(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.gender</code>. Пол
|
||||
*/
|
||||
public String getGender() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.marital_status</code>. Семейное
|
||||
* положение
|
||||
*/
|
||||
public void setMaritalStatus(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.marital_status</code>. Семейное
|
||||
* положение
|
||||
*/
|
||||
public String getMaritalStatus() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.education</code>. Образование
|
||||
*/
|
||||
public void setEducation(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.education</code>. Образование
|
||||
*/
|
||||
public String getEducation() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.employment</code>. Занятость
|
||||
*/
|
||||
public void setEmployment(String value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.employment</code>. Занятость
|
||||
*/
|
||||
public String getEmployment() {
|
||||
return (String) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.reason_registration</code>.
|
||||
* Причина постановки на учёт
|
||||
*/
|
||||
public void setReasonRegistration(String value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.reason_registration</code>.
|
||||
* Причина постановки на учёт
|
||||
*/
|
||||
public String getReasonRegistration() {
|
||||
return (String) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.driver_license</code>.
|
||||
* Водительское удостоверение
|
||||
*/
|
||||
public void setDriverLicense(String value) {
|
||||
set(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.driver_license</code>.
|
||||
* Водительское удостоверение
|
||||
*/
|
||||
public String getDriverLicense() {
|
||||
return (String) get(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.disability_group</code>. Группа
|
||||
* инвалидности
|
||||
*/
|
||||
public void setDisabilityGroup(String value) {
|
||||
set(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.disability_group</code>. Группа
|
||||
* инвалидности
|
||||
*/
|
||||
public String getDisabilityGroup() {
|
||||
return (String) get(13);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.citizen.dispensary_registration_code</code>. Код
|
||||
* диспансерного учета
|
||||
*/
|
||||
public void setDispensaryRegistrationCode(String value) {
|
||||
set(14, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.citizen.dispensary_registration_code</code>. Код
|
||||
* диспансерного учета
|
||||
*/
|
||||
public String getDispensaryRegistrationCode() {
|
||||
return (String) get(14);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.region_birth</code>. Регион места
|
||||
* рождения
|
||||
*/
|
||||
public void setRegionBirth(String value) {
|
||||
set(15, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.region_birth</code>. Регион места
|
||||
* рождения
|
||||
*/
|
||||
public String getRegionBirth() {
|
||||
return (String) get(15);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.city_birth</code>. Город места
|
||||
* рождения
|
||||
*/
|
||||
public void setCityBirth(String value) {
|
||||
set(16, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.city_birth</code>. Город места
|
||||
* рождения
|
||||
*/
|
||||
public String getCityBirth() {
|
||||
return (String) get(16);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.right_deferment</code>. Имеет
|
||||
* право на отсрочку
|
||||
*/
|
||||
public void setRightDeferment(Boolean value) {
|
||||
set(17, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.right_deferment</code>. Имеет
|
||||
* право на отсрочку
|
||||
*/
|
||||
public Boolean getRightDeferment() {
|
||||
return (Boolean) get(17);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.took_break</code>. Воспользовался
|
||||
* отсрочкой
|
||||
*/
|
||||
public void setTookBreak(Boolean value) {
|
||||
set(18, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.took_break</code>. Воспользовался
|
||||
* отсрочкой
|
||||
*/
|
||||
public Boolean getTookBreak() {
|
||||
return (Boolean) get(18);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.medic</code>. Является медиком
|
||||
*/
|
||||
public void setMedic(Boolean value) {
|
||||
set(19, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.medic</code>. Является медиком
|
||||
*/
|
||||
public Boolean getMedic() {
|
||||
return (Boolean) get(19);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.sports_category</code>. Имеет
|
||||
* спортивный разряд/звание
|
||||
*/
|
||||
public void setSportsCategory(Boolean value) {
|
||||
set(20, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.sports_category</code>. Имеет
|
||||
* спортивный разряд/звание
|
||||
*/
|
||||
public Boolean getSportsCategory() {
|
||||
return (Boolean) get(20);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.tractor_license</code>. Имеет
|
||||
* удостоверение тракториста
|
||||
*/
|
||||
public void setTractorLicense(Boolean value) {
|
||||
set(21, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.tractor_license</code>. Имеет
|
||||
* удостоверение тракториста
|
||||
*/
|
||||
public Boolean getTractorLicense() {
|
||||
return (Boolean) get(21);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.is_wanted</code>. Находится в
|
||||
* розыске
|
||||
*/
|
||||
public void setIsWanted(Boolean value) {
|
||||
set(22, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.is_wanted</code>. Находится в
|
||||
* розыске
|
||||
*/
|
||||
public Boolean getIsWanted() {
|
||||
return (Boolean) get(22);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.is_in_prison</code>. Находится в
|
||||
* местах лишения свободы
|
||||
*/
|
||||
public void setIsInPrison(Boolean value) {
|
||||
set(23, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.is_in_prison</code>. Находится в
|
||||
* местах лишения свободы
|
||||
*/
|
||||
public Boolean getIsInPrison() {
|
||||
return (Boolean) get(23);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.acquired_citizenship</code>.
|
||||
* Получивший гражданство
|
||||
*/
|
||||
public void setAcquiredCitizenship(Boolean value) {
|
||||
set(24, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.acquired_citizenship</code>.
|
||||
* Получивший гражданство
|
||||
*/
|
||||
public Boolean getAcquiredCitizenship() {
|
||||
return (Boolean) get(24);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.urgent_service</code>. Признак
|
||||
* критерия срочной службы
|
||||
*/
|
||||
public void setUrgentService(Boolean value) {
|
||||
set(25, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.urgent_service</code>. Признак
|
||||
* критерия срочной службы
|
||||
*/
|
||||
public Boolean getUrgentService() {
|
||||
return (Boolean) get(25);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.contract_service</code>. Признак
|
||||
* критерия контрактной службы
|
||||
*/
|
||||
public void setContractService(Boolean value) {
|
||||
set(26, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.contract_service</code>. Признак
|
||||
* критерия контрактной службы
|
||||
*/
|
||||
public Boolean getContractService() {
|
||||
return (Boolean) get(26);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.mobilization</code>. Признак
|
||||
* критерия службы по мобмлизации
|
||||
*/
|
||||
public void setMobilization(Boolean value) {
|
||||
set(27, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.mobilization</code>. Признак
|
||||
* критерия службы по мобмлизации
|
||||
*/
|
||||
public Boolean getMobilization() {
|
||||
return (Boolean) get(27);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.full_name</code>.
|
||||
*/
|
||||
public void setFullName(String value) {
|
||||
set(28, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.full_name</code>.
|
||||
*/
|
||||
public String getFullName() {
|
||||
return (String) get(28);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.last_name</code>.
|
||||
*/
|
||||
public void setLastName(String value) {
|
||||
set(29, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.last_name</code>.
|
||||
*/
|
||||
public String getLastName() {
|
||||
return (String) get(29);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.first_name</code>.
|
||||
*/
|
||||
public void setFirstName(String value) {
|
||||
set(30, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.first_name</code>.
|
||||
*/
|
||||
public String getFirstName() {
|
||||
return (String) get(30);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.middle_name</code>.
|
||||
*/
|
||||
public void setMiddleName(String value) {
|
||||
set(31, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.middle_name</code>.
|
||||
*/
|
||||
public String getMiddleName() {
|
||||
return (String) get(31);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.age</code>.
|
||||
*/
|
||||
public void setAge(BigDecimal value) {
|
||||
set(32, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.age</code>.
|
||||
*/
|
||||
public BigDecimal getAge() {
|
||||
return (BigDecimal) get(32);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.birth_place</code>.
|
||||
*/
|
||||
public void setBirthPlace(String value) {
|
||||
set(33, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.birth_place</code>.
|
||||
*/
|
||||
public String getBirthPlace() {
|
||||
return (String) get(33);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.number_children</code>.
|
||||
*/
|
||||
public void setNumberChildren(BigDecimal value) {
|
||||
set(34, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.number_children</code>.
|
||||
*/
|
||||
public BigDecimal getNumberChildren() {
|
||||
return (BigDecimal) get(34);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.birth_date</code>.
|
||||
*/
|
||||
public void setBirthDate(Date value) {
|
||||
set(35, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.birth_date</code>.
|
||||
*/
|
||||
public Date getBirthDate() {
|
||||
return (Date) get(35);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.recruit_id</code>. id рекрута из
|
||||
* БД ЕРВУ
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(36, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.recruit_id</code>. id рекрута из
|
||||
* БД ЕРВУ
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(36);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.recruitment_id</code>.
|
||||
*/
|
||||
public void setRecruitmentId(UUID value) {
|
||||
set(37, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.recruitment_id</code>.
|
||||
*/
|
||||
public UUID getRecruitmentId() {
|
||||
return (UUID) get(37);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.issue_date</code>.
|
||||
*/
|
||||
public void setIssueDate(Date value) {
|
||||
set(38, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.issue_date</code>.
|
||||
*/
|
||||
public Date getIssueDate() {
|
||||
return (Date) get(38);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen.number_children_18_old</code>.
|
||||
*/
|
||||
public void setNumberChildren_18Old(BigDecimal value) {
|
||||
set(39, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen.number_children_18_old</code>.
|
||||
*/
|
||||
public BigDecimal getNumberChildren_18Old() {
|
||||
return (BigDecimal) get(39);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<UUID> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached CitizenRecord
|
||||
*/
|
||||
public CitizenRecord() {
|
||||
super(Citizen.CITIZEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised CitizenRecord
|
||||
*/
|
||||
public CitizenRecord(String residence, String isRegistered, String passportSeries, String passportNumber, String phone, String medicalRequirements, String defermentLiberation, String gender, String maritalStatus, String education, String employment, String reasonRegistration, String driverLicense, String disabilityGroup, String dispensaryRegistrationCode, String regionBirth, String cityBirth, Boolean rightDeferment, Boolean tookBreak, Boolean medic, Boolean sportsCategory, Boolean tractorLicense, Boolean isWanted, Boolean isInPrison, Boolean acquiredCitizenship, Boolean urgentService, Boolean contractService, Boolean mobilization, String fullName, String lastName, String firstName, String middleName, BigDecimal age, String birthPlace, BigDecimal numberChildren, Date birthDate, UUID recruitId, UUID recruitmentId, Date issueDate, BigDecimal numberChildren_18Old) {
|
||||
super(Citizen.CITIZEN);
|
||||
|
||||
setResidence(residence);
|
||||
setIsRegistered(isRegistered);
|
||||
setPassportSeries(passportSeries);
|
||||
setPassportNumber(passportNumber);
|
||||
setPhone(phone);
|
||||
setMedicalRequirements(medicalRequirements);
|
||||
setDefermentLiberation(defermentLiberation);
|
||||
setGender(gender);
|
||||
setMaritalStatus(maritalStatus);
|
||||
setEducation(education);
|
||||
setEmployment(employment);
|
||||
setReasonRegistration(reasonRegistration);
|
||||
setDriverLicense(driverLicense);
|
||||
setDisabilityGroup(disabilityGroup);
|
||||
setDispensaryRegistrationCode(dispensaryRegistrationCode);
|
||||
setRegionBirth(regionBirth);
|
||||
setCityBirth(cityBirth);
|
||||
setRightDeferment(rightDeferment);
|
||||
setTookBreak(tookBreak);
|
||||
setMedic(medic);
|
||||
setSportsCategory(sportsCategory);
|
||||
setTractorLicense(tractorLicense);
|
||||
setIsWanted(isWanted);
|
||||
setIsInPrison(isInPrison);
|
||||
setAcquiredCitizenship(acquiredCitizenship);
|
||||
setUrgentService(urgentService);
|
||||
setContractService(contractService);
|
||||
setMobilization(mobilization);
|
||||
setFullName(fullName);
|
||||
setLastName(lastName);
|
||||
setFirstName(firstName);
|
||||
setMiddleName(middleName);
|
||||
setAge(age);
|
||||
setBirthPlace(birthPlace);
|
||||
setNumberChildren(numberChildren);
|
||||
setBirthDate(birthDate);
|
||||
setRecruitId(recruitId);
|
||||
setRecruitmentId(recruitmentId);
|
||||
setIssueDate(issueDate);
|
||||
setNumberChildren_18Old(numberChildren_18Old);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,246 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenSpouse;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о супруге (бывшей/ем супруге) гражданина
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class CitizenSpouseRecord extends UpdatableRecordImpl<CitizenSpouseRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_spouse.citizen_spouse_id</code>.
|
||||
*/
|
||||
public void setCitizenSpouseId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_spouse.citizen_spouse_id</code>.
|
||||
*/
|
||||
public Long getCitizenSpouseId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_spouse.recruit_id</code>. ссылка
|
||||
* на гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_spouse.recruit_id</code>. ссылка
|
||||
* на гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_spouse.kinship_type</code>. тип
|
||||
* родственной связи: супруг/бывший супруг
|
||||
*/
|
||||
public void setKinshipType(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_spouse.kinship_type</code>. тип
|
||||
* родственной связи: супруг/бывший супруг
|
||||
*/
|
||||
public String getKinshipType() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_spouse.full_name</code>. ФИО
|
||||
*/
|
||||
public void setFullName(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_spouse.full_name</code>. ФИО
|
||||
*/
|
||||
public String getFullName() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_spouse.birth_date</code>.
|
||||
*/
|
||||
public void setBirthDate(Date value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_spouse.birth_date</code>.
|
||||
*/
|
||||
public Date getBirthDate() {
|
||||
return (Date) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_spouse.death_az_number</code>.
|
||||
* номер актовой записи о смерти
|
||||
*/
|
||||
public void setDeathAzNumber(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_spouse.death_az_number</code>.
|
||||
* номер актовой записи о смерти
|
||||
*/
|
||||
public String getDeathAzNumber() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_spouse.death_date</code>.
|
||||
*/
|
||||
public void setDeathDate(Date value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_spouse.death_date</code>.
|
||||
*/
|
||||
public Date getDeathDate() {
|
||||
return (Date) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_spouse.marriage_az_number</code>.
|
||||
* номер актовой записи о браке
|
||||
*/
|
||||
public void setMarriageAzNumber(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_spouse.marriage_az_number</code>.
|
||||
* номер актовой записи о браке
|
||||
*/
|
||||
public String getMarriageAzNumber() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_spouse.marriage_date</code>.
|
||||
*/
|
||||
public void setMarriageDate(Date value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_spouse.marriage_date</code>.
|
||||
*/
|
||||
public Date getMarriageDate() {
|
||||
return (Date) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_spouse.divorce_az_number</code>.
|
||||
* номер актовой записи о расторжении брака
|
||||
*/
|
||||
public void setDivorceAzNumber(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_spouse.divorce_az_number</code>.
|
||||
* номер актовой записи о расторжении брака
|
||||
*/
|
||||
public String getDivorceAzNumber() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizen_spouse.divorce_date</code>.
|
||||
*/
|
||||
public void setDivorceDate(Date value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizen_spouse.divorce_date</code>.
|
||||
*/
|
||||
public Date getDivorceDate() {
|
||||
return (Date) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.citizen_spouse.information_excluded</code>. сведения
|
||||
* о супруге исключены
|
||||
*/
|
||||
public void setInformationExcluded(Boolean value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.citizen_spouse.information_excluded</code>. сведения
|
||||
* о супруге исключены
|
||||
*/
|
||||
public Boolean getInformationExcluded() {
|
||||
return (Boolean) get(11);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached CitizenSpouseRecord
|
||||
*/
|
||||
public CitizenSpouseRecord() {
|
||||
super(CitizenSpouse.CITIZEN_SPOUSE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised CitizenSpouseRecord
|
||||
*/
|
||||
public CitizenSpouseRecord(Long citizenSpouseId, UUID recruitId, String kinshipType, String fullName, Date birthDate, String deathAzNumber, Date deathDate, String marriageAzNumber, Date marriageDate, String divorceAzNumber, Date divorceDate, Boolean informationExcluded) {
|
||||
super(CitizenSpouse.CITIZEN_SPOUSE);
|
||||
|
||||
setCitizenSpouseId(citizenSpouseId);
|
||||
setRecruitId(recruitId);
|
||||
setKinshipType(kinshipType);
|
||||
setFullName(fullName);
|
||||
setBirthDate(birthDate);
|
||||
setDeathAzNumber(deathAzNumber);
|
||||
setDeathDate(deathDate);
|
||||
setMarriageAzNumber(marriageAzNumber);
|
||||
setMarriageDate(marriageDate);
|
||||
setDivorceAzNumber(divorceAzNumber);
|
||||
setDivorceDate(divorceDate);
|
||||
setInformationExcluded(informationExcluded);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,179 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenshipForeign;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения об иностранном гражданстве
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class CitizenshipForeignRecord extends UpdatableRecordImpl<CitizenshipForeignRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.citizenship_foreign.citizenship_foreign_id</code>.
|
||||
*/
|
||||
public void setCitizenshipForeignId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.citizenship_foreign.citizenship_foreign_id</code>.
|
||||
*/
|
||||
public Long getCitizenshipForeignId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizenship_foreign.recruit_id</code>.
|
||||
* ссылка на гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizenship_foreign.recruit_id</code>.
|
||||
* ссылка на гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizenship_foreign.country_name</code>.
|
||||
* наименование государства
|
||||
*/
|
||||
public void setCountryName(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizenship_foreign.country_name</code>.
|
||||
* наименование государства
|
||||
*/
|
||||
public String getCountryName() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.citizenship_foreign.residense_right_basis</code>.
|
||||
* основание получения права на постоянное проживание
|
||||
*/
|
||||
public void setResidenseRightBasis(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.citizenship_foreign.residense_right_basis</code>.
|
||||
* основание получения права на постоянное проживание
|
||||
*/
|
||||
public String getResidenseRightBasis() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.citizenship_foreign.residense_right_date</code>.
|
||||
* дата возникновения права на постоянное проживание
|
||||
*/
|
||||
public void setResidenseRightDate(Date value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.citizenship_foreign.residense_right_date</code>.
|
||||
* дата возникновения права на постоянное проживание
|
||||
*/
|
||||
public Date getResidenseRightDate() {
|
||||
return (Date) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.citizenship_foreign.citizenship_basis</code>.
|
||||
* основание получения иностранного гражданства
|
||||
*/
|
||||
public void setCitizenshipBasis(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.citizenship_foreign.citizenship_basis</code>.
|
||||
* основание получения иностранного гражданства
|
||||
*/
|
||||
public String getCitizenshipBasis() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.citizenship_foreign.citizenship_date</code>. дата
|
||||
* получения иностранного гражданства
|
||||
*/
|
||||
public void setCitizenshipDate(Date value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.citizenship_foreign.citizenship_date</code>. дата
|
||||
* получения иностранного гражданства
|
||||
*/
|
||||
public Date getCitizenshipDate() {
|
||||
return (Date) get(6);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached CitizenshipForeignRecord
|
||||
*/
|
||||
public CitizenshipForeignRecord() {
|
||||
super(CitizenshipForeign.CITIZENSHIP_FOREIGN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised CitizenshipForeignRecord
|
||||
*/
|
||||
public CitizenshipForeignRecord(Long citizenshipForeignId, UUID recruitId, String countryName, String residenseRightBasis, Date residenseRightDate, String citizenshipBasis, Date citizenshipDate) {
|
||||
super(CitizenshipForeign.CITIZENSHIP_FOREIGN);
|
||||
|
||||
setCitizenshipForeignId(citizenshipForeignId);
|
||||
setRecruitId(recruitId);
|
||||
setCountryName(countryName);
|
||||
setResidenseRightBasis(residenseRightBasis);
|
||||
setResidenseRightDate(residenseRightDate);
|
||||
setCitizenshipBasis(citizenshipBasis);
|
||||
setCitizenshipDate(citizenshipDate);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,222 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizenship;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о гражданстве РФ
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class CitizenshipRecord extends UpdatableRecordImpl<CitizenshipRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizenship.citizenship_id</code>.
|
||||
*/
|
||||
public void setCitizenshipId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizenship.citizenship_id</code>.
|
||||
*/
|
||||
public Long getCitizenshipId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizenship.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizenship.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizenship.acquiring_basis</code>.
|
||||
* основание приобретения гражданства РФ
|
||||
*/
|
||||
public void setAcquiringBasis(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizenship.acquiring_basis</code>.
|
||||
* основание приобретения гражданства РФ
|
||||
*/
|
||||
public String getAcquiringBasis() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizenship.acquiring_number</code>.
|
||||
* номер решения о приобретении гражданства РФ
|
||||
*/
|
||||
public void setAcquiringNumber(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizenship.acquiring_number</code>.
|
||||
* номер решения о приобретении гражданства РФ
|
||||
*/
|
||||
public String getAcquiringNumber() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizenship.acquiring_date</code>. дата
|
||||
* решения о приобретении гражданства РФ
|
||||
*/
|
||||
public void setAcquiringDate(Date value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizenship.acquiring_date</code>. дата
|
||||
* решения о приобретении гражданства РФ
|
||||
*/
|
||||
public Date getAcquiringDate() {
|
||||
return (Date) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizenship.acquiring_authority</code>.
|
||||
* наименование органа, принявшего решение о приобретении гражданства РФ
|
||||
*/
|
||||
public void setAcquiringAuthority(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizenship.acquiring_authority</code>.
|
||||
* наименование органа, принявшего решение о приобретении гражданства РФ
|
||||
*/
|
||||
public String getAcquiringAuthority() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizenship.renunciation_basis</code>.
|
||||
* основание выхода гражданства РФ
|
||||
*/
|
||||
public void setRenunciationBasis(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizenship.renunciation_basis</code>.
|
||||
* основание выхода гражданства РФ
|
||||
*/
|
||||
public String getRenunciationBasis() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizenship.renunciation_number</code>.
|
||||
* номер решения о выходе из гражданства РФ
|
||||
*/
|
||||
public void setRenunciationNumber(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizenship.renunciation_number</code>.
|
||||
* номер решения о выходе из гражданства РФ
|
||||
*/
|
||||
public String getRenunciationNumber() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.citizenship.renunciation_date</code>.
|
||||
* дата решения о выходе из гражданства РФ
|
||||
*/
|
||||
public void setRenunciationDate(Date value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.citizenship.renunciation_date</code>.
|
||||
* дата решения о выходе из гражданства РФ
|
||||
*/
|
||||
public Date getRenunciationDate() {
|
||||
return (Date) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.citizenship.renunciation_authority</code>.
|
||||
* наименование органа, принявшего решение о выходе из гражданства РФ
|
||||
*/
|
||||
public void setRenunciationAuthority(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.citizenship.renunciation_authority</code>.
|
||||
* наименование органа, принявшего решение о выходе из гражданства РФ
|
||||
*/
|
||||
public String getRenunciationAuthority() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached CitizenshipRecord
|
||||
*/
|
||||
public CitizenshipRecord() {
|
||||
super(Citizenship.CITIZENSHIP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised CitizenshipRecord
|
||||
*/
|
||||
public CitizenshipRecord(Long citizenshipId, UUID recruitId, String acquiringBasis, String acquiringNumber, Date acquiringDate, String acquiringAuthority, String renunciationBasis, String renunciationNumber, Date renunciationDate, String renunciationAuthority) {
|
||||
super(Citizenship.CITIZENSHIP);
|
||||
|
||||
setCitizenshipId(citizenshipId);
|
||||
setRecruitId(recruitId);
|
||||
setAcquiringBasis(acquiringBasis);
|
||||
setAcquiringNumber(acquiringNumber);
|
||||
setAcquiringDate(acquiringDate);
|
||||
setAcquiringAuthority(acquiringAuthority);
|
||||
setRenunciationBasis(renunciationBasis);
|
||||
setRenunciationNumber(renunciationNumber);
|
||||
setRenunciationDate(renunciationDate);
|
||||
setRenunciationAuthority(renunciationAuthority);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,251 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangelog;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DatabasechangelogRecord extends TableRecordImpl<DatabasechangelogRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangelog.id</code>.
|
||||
*/
|
||||
public void setId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangelog.id</code>.
|
||||
*/
|
||||
public String getId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangelog.author</code>.
|
||||
*/
|
||||
public void setAuthor(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangelog.author</code>.
|
||||
*/
|
||||
public String getAuthor() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangelog.filename</code>.
|
||||
*/
|
||||
public void setFilename(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangelog.filename</code>.
|
||||
*/
|
||||
public String getFilename() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangelog.dateexecuted</code>.
|
||||
*/
|
||||
public void setDateexecuted(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangelog.dateexecuted</code>.
|
||||
*/
|
||||
public Timestamp getDateexecuted() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangelog.orderexecuted</code>.
|
||||
*/
|
||||
public void setOrderexecuted(Integer value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangelog.orderexecuted</code>.
|
||||
*/
|
||||
public Integer getOrderexecuted() {
|
||||
return (Integer) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangelog.exectype</code>.
|
||||
*/
|
||||
public void setExectype(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangelog.exectype</code>.
|
||||
*/
|
||||
public String getExectype() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangelog.md5sum</code>.
|
||||
*/
|
||||
public void setMd5sum(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangelog.md5sum</code>.
|
||||
*/
|
||||
public String getMd5sum() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangelog.description</code>.
|
||||
*/
|
||||
public void setDescription(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangelog.description</code>.
|
||||
*/
|
||||
public String getDescription() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangelog.comments</code>.
|
||||
*/
|
||||
public void setComments(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangelog.comments</code>.
|
||||
*/
|
||||
public String getComments() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangelog.tag</code>.
|
||||
*/
|
||||
public void setTag(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangelog.tag</code>.
|
||||
*/
|
||||
public String getTag() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangelog.liquibase</code>.
|
||||
*/
|
||||
public void setLiquibase(String value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangelog.liquibase</code>.
|
||||
*/
|
||||
public String getLiquibase() {
|
||||
return (String) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangelog.contexts</code>.
|
||||
*/
|
||||
public void setContexts(String value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangelog.contexts</code>.
|
||||
*/
|
||||
public String getContexts() {
|
||||
return (String) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangelog.labels</code>.
|
||||
*/
|
||||
public void setLabels(String value) {
|
||||
set(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangelog.labels</code>.
|
||||
*/
|
||||
public String getLabels() {
|
||||
return (String) get(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangelog.deployment_id</code>.
|
||||
*/
|
||||
public void setDeploymentId(String value) {
|
||||
set(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangelog.deployment_id</code>.
|
||||
*/
|
||||
public String getDeploymentId() {
|
||||
return (String) get(13);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached DatabasechangelogRecord
|
||||
*/
|
||||
public DatabasechangelogRecord() {
|
||||
super(Databasechangelog.DATABASECHANGELOG);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DatabasechangelogRecord
|
||||
*/
|
||||
public DatabasechangelogRecord(String id, String author, String filename, Timestamp dateexecuted, Integer orderexecuted, String exectype, String md5sum, String description, String comments, String tag, String liquibase, String contexts, String labels, String deploymentId) {
|
||||
super(Databasechangelog.DATABASECHANGELOG);
|
||||
|
||||
setId(id);
|
||||
setAuthor(author);
|
||||
setFilename(filename);
|
||||
setDateexecuted(dateexecuted);
|
||||
setOrderexecuted(orderexecuted);
|
||||
setExectype(exectype);
|
||||
setMd5sum(md5sum);
|
||||
setDescription(description);
|
||||
setComments(comments);
|
||||
setTag(tag);
|
||||
setLiquibase(liquibase);
|
||||
setContexts(contexts);
|
||||
setLabels(labels);
|
||||
setDeploymentId(deploymentId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DatabasechangeloglockRecord extends UpdatableRecordImpl<DatabasechangeloglockRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangeloglock.id</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangeloglock.id</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangeloglock.locked</code>.
|
||||
*/
|
||||
public void setLocked(Boolean value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangeloglock.locked</code>.
|
||||
*/
|
||||
public Boolean getLocked() {
|
||||
return (Boolean) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangeloglock.lockgranted</code>.
|
||||
*/
|
||||
public void setLockgranted(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangeloglock.lockgranted</code>.
|
||||
*/
|
||||
public Timestamp getLockgranted() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.databasechangeloglock.lockedby</code>.
|
||||
*/
|
||||
public void setLockedby(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.databasechangeloglock.lockedby</code>.
|
||||
*/
|
||||
public String getLockedby() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached DatabasechangeloglockRecord
|
||||
*/
|
||||
public DatabasechangeloglockRecord() {
|
||||
super(Databasechangeloglock.DATABASECHANGELOGLOCK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DatabasechangeloglockRecord
|
||||
*/
|
||||
public DatabasechangeloglockRecord(Integer id, Boolean locked, Timestamp lockgranted, String lockedby) {
|
||||
super(Databasechangeloglock.DATABASECHANGELOGLOCK);
|
||||
|
||||
setId(id);
|
||||
setLocked(locked);
|
||||
setLockgranted(lockgranted);
|
||||
setLockedby(lockedby);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Decision;
|
||||
|
||||
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 DecisionRecord extends UpdatableRecordImpl<DecisionRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.decision.decision_id</code>.
|
||||
*/
|
||||
public void setDecisionId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.decision.decision_id</code>.
|
||||
*/
|
||||
public Long getDecisionId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.decision.subpoena_id</code>.
|
||||
*/
|
||||
public void setSubpoenaId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.decision.subpoena_id</code>.
|
||||
*/
|
||||
public UUID getSubpoenaId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.decision.recruit_id</code>.
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.decision.recruit_id</code>.
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.decision.recruitment_id</code>.
|
||||
*/
|
||||
public void setRecruitmentId(UUID value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.decision.recruitment_id</code>.
|
||||
*/
|
||||
public UUID getRecruitmentId() {
|
||||
return (UUID) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached DecisionRecord
|
||||
*/
|
||||
public DecisionRecord() {
|
||||
super(Decision.DECISION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DecisionRecord
|
||||
*/
|
||||
public DecisionRecord(Long decisionId, UUID subpoenaId, UUID recruitId, UUID recruitmentId) {
|
||||
super(Decision.DECISION);
|
||||
|
||||
setDecisionId(decisionId);
|
||||
setSubpoenaId(subpoenaId);
|
||||
setRecruitId(recruitId);
|
||||
setRecruitmentId(recruitmentId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,172 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Deputy;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о гражданах, избранных депутатами/зарегистрированных кандидатами на
|
||||
* участие в выборах
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DeputyRecord extends UpdatableRecordImpl<DeputyRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.deputy.deputy_id</code>.
|
||||
*/
|
||||
public void setDeputyId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.deputy.deputy_id</code>.
|
||||
*/
|
||||
public Long getDeputyId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.deputy.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.deputy.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.deputy.deputy</code>. является
|
||||
* депутатом(true)/кандидатом на участие в выборах(false)
|
||||
*/
|
||||
public void setDeputy(Boolean value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.deputy.deputy</code>. является
|
||||
* депутатом(true)/кандидатом на участие в выборах(false)
|
||||
*/
|
||||
public Boolean getDeputy() {
|
||||
return (Boolean) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.deputy.information</code>. сведения об
|
||||
* избрании гражданина депутатом/сведения о регистрации кандидатом на
|
||||
* выборах
|
||||
*/
|
||||
public void setInformation(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.deputy.information</code>. сведения об
|
||||
* избрании гражданина депутатом/сведения о регистрации кандидатом на
|
||||
* выборах
|
||||
*/
|
||||
public String getInformation() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.deputy.end_date</code>. дата досрочного
|
||||
* прекращения полномочий/снятия кандидатуры с выборов
|
||||
*/
|
||||
public void setEndDate(Date value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.deputy.end_date</code>. дата досрочного
|
||||
* прекращения полномочий/снятия кандидатуры с выборов
|
||||
*/
|
||||
public Date getEndDate() {
|
||||
return (Date) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.deputy.period_office</code>. срок
|
||||
* полномочий
|
||||
*/
|
||||
public void setPeriodOffice(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.deputy.period_office</code>. срок
|
||||
* полномочий
|
||||
*/
|
||||
public String getPeriodOffice() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.deputy.cancellation_date</code>. дата
|
||||
* аннулирования регистрации
|
||||
*/
|
||||
public void setCancellationDate(Date value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.deputy.cancellation_date</code>. дата
|
||||
* аннулирования регистрации
|
||||
*/
|
||||
public Date getCancellationDate() {
|
||||
return (Date) get(6);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached DeputyRecord
|
||||
*/
|
||||
public DeputyRecord() {
|
||||
super(Deputy.DEPUTY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DeputyRecord
|
||||
*/
|
||||
public DeputyRecord(Long deputyId, UUID recruitId, Boolean deputy, String information, Date endDate, String periodOffice, Date cancellationDate) {
|
||||
super(Deputy.DEPUTY);
|
||||
|
||||
setDeputyId(deputyId);
|
||||
setRecruitId(recruitId);
|
||||
setDeputy(deputy);
|
||||
setInformation(information);
|
||||
setEndDate(endDate);
|
||||
setPeriodOffice(periodOffice);
|
||||
setCancellationDate(cancellationDate);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,203 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения об инвалидности/недееспособности/ограниченной дееспособности
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DisabilityRecord extends UpdatableRecordImpl<DisabilityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disability.disability_id</code>.
|
||||
*/
|
||||
public void setDisabilityId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disability.disability_id</code>.
|
||||
*/
|
||||
public Long getDisabilityId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disability.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disability.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disability.disability</code>. сведения об
|
||||
* инвалидности(true)/недееспособности(false)
|
||||
*/
|
||||
public void setDisability(Boolean value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disability.disability</code>. сведения об
|
||||
* инвалидности(true)/недееспособности(false)
|
||||
*/
|
||||
public Boolean getDisability() {
|
||||
return (Boolean) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disability.organization_name</code>.
|
||||
* наименование организации, установившей инвалидность/судебного органа
|
||||
*/
|
||||
public void setOrganizationName(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disability.organization_name</code>.
|
||||
* наименование организации, установившей инвалидность/судебного органа
|
||||
*/
|
||||
public String getOrganizationName() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disability.start_date</code>. дата
|
||||
* установления инвалидности/признания гражданина недееспособным
|
||||
*/
|
||||
public void setStartDate(Date value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disability.start_date</code>. дата
|
||||
* установления инвалидности/признания гражданина недееспособным
|
||||
*/
|
||||
public Date getStartDate() {
|
||||
return (Date) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disability.close_date</code>. дата снятия
|
||||
* инвалидности/отмены ограничения гражданина в дееспособности
|
||||
*/
|
||||
public void setCloseDate(Date value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disability.close_date</code>. дата снятия
|
||||
* инвалидности/отмены ограничения гражданина в дееспособности
|
||||
*/
|
||||
public Date getCloseDate() {
|
||||
return (Date) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disability.confirmation_date</code>. дата
|
||||
* подтверждения инвалидности
|
||||
*/
|
||||
public void setConfirmationDate(Date value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disability.confirmation_date</code>. дата
|
||||
* подтверждения инвалидности
|
||||
*/
|
||||
public Date getConfirmationDate() {
|
||||
return (Date) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disability.re_examination_date</code>.
|
||||
* дата переосвидетельствования по инвалидности
|
||||
*/
|
||||
public void setReExaminationDate(Date value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disability.re_examination_date</code>.
|
||||
* дата переосвидетельствования по инвалидности
|
||||
*/
|
||||
public Date getReExaminationDate() {
|
||||
return (Date) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disability.disability_group</code>.
|
||||
* группа инвалидности
|
||||
*/
|
||||
public void setDisabilityGroup(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disability.disability_group</code>.
|
||||
* группа инвалидности
|
||||
*/
|
||||
public String getDisabilityGroup() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached DisabilityRecord
|
||||
*/
|
||||
public DisabilityRecord() {
|
||||
super(Disability.DISABILITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DisabilityRecord
|
||||
*/
|
||||
public DisabilityRecord(Long disabilityId, UUID recruitId, Boolean disability, String organizationName, Date startDate, Date closeDate, Date confirmationDate, Date reExaminationDate, String disabilityGroup) {
|
||||
super(Disability.DISABILITY);
|
||||
|
||||
setDisabilityId(disabilityId);
|
||||
setRecruitId(recruitId);
|
||||
setDisability(disability);
|
||||
setOrganizationName(organizationName);
|
||||
setStartDate(startDate);
|
||||
setCloseDate(closeDate);
|
||||
setConfirmationDate(confirmationDate);
|
||||
setReExaminationDate(reExaminationDate);
|
||||
setDisabilityGroup(disabilityGroup);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,150 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disease;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о заболеваниях гражданина
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DiseaseRecord extends UpdatableRecordImpl<DiseaseRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disease.disease_id</code>.
|
||||
*/
|
||||
public void setDiseaseId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disease.disease_id</code>.
|
||||
*/
|
||||
public Long getDiseaseId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disease.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disease.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disease.code</code>. код заболевания
|
||||
*/
|
||||
public void setCode(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disease.code</code>. код заболевания
|
||||
*/
|
||||
public String getCode() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disease.name</code>. наименование
|
||||
* заболевания
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disease.name</code>. наименование
|
||||
* заболевания
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disease.reg_date</code>. дата постановки
|
||||
* диагноза
|
||||
*/
|
||||
public void setRegDate(Date value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disease.reg_date</code>. дата постановки
|
||||
* диагноза
|
||||
*/
|
||||
public Date getRegDate() {
|
||||
return (Date) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.disease.registered</code>. поставлен на
|
||||
* учет по заболеванию
|
||||
*/
|
||||
public void setRegistered(Boolean value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.disease.registered</code>. поставлен на
|
||||
* учет по заболеванию
|
||||
*/
|
||||
public Boolean getRegistered() {
|
||||
return (Boolean) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached DiseaseRecord
|
||||
*/
|
||||
public DiseaseRecord() {
|
||||
super(Disease.DISEASE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DiseaseRecord
|
||||
*/
|
||||
public DiseaseRecord(Long diseaseId, UUID recruitId, String code, String name, Date regDate, Boolean registered) {
|
||||
super(Disease.DISEASE);
|
||||
|
||||
setDiseaseId(diseaseId);
|
||||
setRecruitId(recruitId);
|
||||
setCode(code);
|
||||
setName(name);
|
||||
setRegDate(regDate);
|
||||
setRegistered(registered);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,256 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.DriversLicence;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* удостоверение водительское/тракториста-машиниста
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DriversLicenceRecord extends UpdatableRecordImpl<DriversLicenceRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.drivers_licence.drivers_licence_id</code>.
|
||||
*/
|
||||
public void setDriversLicenceId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.drivers_licence.drivers_licence_id</code>.
|
||||
*/
|
||||
public Long getDriversLicenceId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.drivers_licence.recruit_id</code>. ссылка
|
||||
* на гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.drivers_licence.recruit_id</code>. ссылка
|
||||
* на гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.drivers_licence.tractor_driver</code>.
|
||||
* удостоверение тракториста
|
||||
*/
|
||||
public void setTractorDriver(Boolean value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.drivers_licence.tractor_driver</code>.
|
||||
* удостоверение тракториста
|
||||
*/
|
||||
public Boolean getTractorDriver() {
|
||||
return (Boolean) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.drivers_licence.licence_series</code>.
|
||||
* серия
|
||||
*/
|
||||
public void setLicenceSeries(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.drivers_licence.licence_series</code>.
|
||||
* серия
|
||||
*/
|
||||
public String getLicenceSeries() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.drivers_licence.licence_number</code>.
|
||||
* номер
|
||||
*/
|
||||
public void setLicenceNumber(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.drivers_licence.licence_number</code>.
|
||||
* номер
|
||||
*/
|
||||
public String getLicenceNumber() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.drivers_licence.start_date</code>. дата
|
||||
* выдачи
|
||||
*/
|
||||
public void setStartDate(Date value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.drivers_licence.start_date</code>. дата
|
||||
* выдачи
|
||||
*/
|
||||
public Date getStartDate() {
|
||||
return (Date) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.drivers_licence.close_date</code>. дата
|
||||
* окончания действия
|
||||
*/
|
||||
public void setCloseDate(Date value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.drivers_licence.close_date</code>. дата
|
||||
* окончания действия
|
||||
*/
|
||||
public Date getCloseDate() {
|
||||
return (Date) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.drivers_licence.categories</code>.
|
||||
* категории
|
||||
*/
|
||||
public void setCategories(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.drivers_licence.categories</code>.
|
||||
* категории
|
||||
*/
|
||||
public String getCategories() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.drivers_licence.status</code>. статус
|
||||
* удостоверения
|
||||
*/
|
||||
public void setStatus(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.drivers_licence.status</code>. статус
|
||||
* удостоверения
|
||||
*/
|
||||
public String getStatus() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.drivers_licence.replacement_date</code>.
|
||||
* дата замены
|
||||
*/
|
||||
public void setReplacementDate(Date value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.drivers_licence.replacement_date</code>.
|
||||
* дата замены
|
||||
*/
|
||||
public Date getReplacementDate() {
|
||||
return (Date) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.drivers_licence.return_date</code>. дата
|
||||
* возврата
|
||||
*/
|
||||
public void setReturnDate(Date value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.drivers_licence.return_date</code>. дата
|
||||
* возврата
|
||||
*/
|
||||
public Date getReturnDate() {
|
||||
return (Date) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.drivers_licence.seizure_date</code>. дата
|
||||
* изъятия
|
||||
*/
|
||||
public void setSeizureDate(Date value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.drivers_licence.seizure_date</code>. дата
|
||||
* изъятия
|
||||
*/
|
||||
public Date getSeizureDate() {
|
||||
return (Date) get(11);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached DriversLicenceRecord
|
||||
*/
|
||||
public DriversLicenceRecord() {
|
||||
super(DriversLicence.DRIVERS_LICENCE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DriversLicenceRecord
|
||||
*/
|
||||
public DriversLicenceRecord(Long driversLicenceId, UUID recruitId, Boolean tractorDriver, String licenceSeries, String licenceNumber, Date startDate, Date closeDate, String categories, String status, Date replacementDate, Date returnDate, Date seizureDate) {
|
||||
super(DriversLicence.DRIVERS_LICENCE);
|
||||
|
||||
setDriversLicenceId(driversLicenceId);
|
||||
setRecruitId(recruitId);
|
||||
setTractorDriver(tractorDriver);
|
||||
setLicenceSeries(licenceSeries);
|
||||
setLicenceNumber(licenceNumber);
|
||||
setStartDate(startDate);
|
||||
setCloseDate(closeDate);
|
||||
setCategories(categories);
|
||||
setStatus(status);
|
||||
setReplacementDate(replacementDate);
|
||||
setReturnDate(returnDate);
|
||||
setSeizureDate(seizureDate);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,154 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.MedicalAuthorities;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о гражданах, стоящих на учете в ПНД/по ВИЧ
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class MedicalAuthoritiesRecord extends UpdatableRecordImpl<MedicalAuthoritiesRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.medical_authorities.medical_authorities_id</code>.
|
||||
*/
|
||||
public void setMedicalAuthoritiesId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.medical_authorities.medical_authorities_id</code>.
|
||||
*/
|
||||
public Long getMedicalAuthoritiesId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.medical_authorities.recruit_id</code>.
|
||||
* ссылка на гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.medical_authorities.recruit_id</code>.
|
||||
* ссылка на гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.medical_authorities.start_date</code>.
|
||||
* дата постановки на учет
|
||||
*/
|
||||
public void setStartDate(Date value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.medical_authorities.start_date</code>.
|
||||
* дата постановки на учет
|
||||
*/
|
||||
public Date getStartDate() {
|
||||
return (Date) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.medical_authorities.close_date</code>.
|
||||
* дата снятия с учета
|
||||
*/
|
||||
public void setCloseDate(Date value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.medical_authorities.close_date</code>.
|
||||
* дата снятия с учета
|
||||
*/
|
||||
public Date getCloseDate() {
|
||||
return (Date) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.medical_authorities.change_date</code>.
|
||||
* дата планового срока пересмотра диагноза
|
||||
*/
|
||||
public void setChangeDate(Date value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.medical_authorities.change_date</code>.
|
||||
* дата планового срока пересмотра диагноза
|
||||
*/
|
||||
public Date getChangeDate() {
|
||||
return (Date) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.medical_authorities.hiv</code>. на учете
|
||||
* по ВИЧ(true) или в ПНД(false)
|
||||
*/
|
||||
public void setHiv(Boolean value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.medical_authorities.hiv</code>. на учете
|
||||
* по ВИЧ(true) или в ПНД(false)
|
||||
*/
|
||||
public Boolean getHiv() {
|
||||
return (Boolean) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached MedicalAuthoritiesRecord
|
||||
*/
|
||||
public MedicalAuthoritiesRecord() {
|
||||
super(MedicalAuthorities.MEDICAL_AUTHORITIES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised MedicalAuthoritiesRecord
|
||||
*/
|
||||
public MedicalAuthoritiesRecord(Long medicalAuthoritiesId, UUID recruitId, Date startDate, Date closeDate, Date changeDate, Boolean hiv) {
|
||||
super(MedicalAuthorities.MEDICAL_AUTHORITIES);
|
||||
|
||||
setMedicalAuthoritiesId(medicalAuthoritiesId);
|
||||
setRecruitId(recruitId);
|
||||
setStartDate(startDate);
|
||||
setCloseDate(closeDate);
|
||||
setChangeDate(changeDate);
|
||||
setHiv(hiv);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,186 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Passport;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о паспорте
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class PassportRecord extends UpdatableRecordImpl<PassportRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.passport.passport_id</code>.
|
||||
*/
|
||||
public void setPassportId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.passport.passport_id</code>.
|
||||
*/
|
||||
public Long getPassportId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.passport.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.passport.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.passport.actual</code>. статус документа:
|
||||
* действительный(true)/недействительный(false)
|
||||
*/
|
||||
public void setActual(Boolean value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.passport.actual</code>. статус документа:
|
||||
* действительный(true)/недействительный(false)
|
||||
*/
|
||||
public Boolean getActual() {
|
||||
return (Boolean) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.passport.passport_series</code>. серия
|
||||
* паспорта
|
||||
*/
|
||||
public void setPassportSeries(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.passport.passport_series</code>. серия
|
||||
* паспорта
|
||||
*/
|
||||
public String getPassportSeries() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.passport.passport_number</code>. номер
|
||||
* паспорта
|
||||
*/
|
||||
public void setPassportNumber(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.passport.passport_number</code>. номер
|
||||
* паспорта
|
||||
*/
|
||||
public String getPassportNumber() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.passport.issue_date</code>. дата выдачи
|
||||
* документа
|
||||
*/
|
||||
public void setIssueDate(Date value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.passport.issue_date</code>. дата выдачи
|
||||
* документа
|
||||
*/
|
||||
public Date getIssueDate() {
|
||||
return (Date) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.passport.organization_name</code>.
|
||||
* наименование органа, выдавшего документ
|
||||
*/
|
||||
public void setOrganizationName(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.passport.organization_name</code>.
|
||||
* наименование органа, выдавшего документ
|
||||
*/
|
||||
public String getOrganizationName() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.passport.unit_code</code>. код
|
||||
* подразделения
|
||||
*/
|
||||
public void setUnitCode(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.passport.unit_code</code>. код
|
||||
* подразделения
|
||||
*/
|
||||
public String getUnitCode() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached PassportRecord
|
||||
*/
|
||||
public PassportRecord() {
|
||||
super(Passport.PASSPORT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised PassportRecord
|
||||
*/
|
||||
public PassportRecord(Long passportId, UUID recruitId, Boolean actual, String passportSeries, String passportNumber, Date issueDate, String organizationName, String unitCode) {
|
||||
super(Passport.PASSPORT);
|
||||
|
||||
setPassportId(passportId);
|
||||
setRecruitId(recruitId);
|
||||
setActual(actual);
|
||||
setPassportSeries(passportSeries);
|
||||
setPassportNumber(passportNumber);
|
||||
setIssueDate(issueDate);
|
||||
setOrganizationName(organizationName);
|
||||
setUnitCode(unitCode);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,268 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.public_.enums.TypePropertyType;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения об имуществе
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class PropertyRecord extends UpdatableRecordImpl<PropertyRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.property.property_id</code>.
|
||||
*/
|
||||
public void setPropertyId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.property.property_id</code>.
|
||||
*/
|
||||
public Long getPropertyId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.property.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.property.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.property.type_property</code>. тип
|
||||
* имущества: недвижимое/наземный/воздушный/водный транспорт
|
||||
*/
|
||||
public void setTypeProperty(TypePropertyType value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.property.type_property</code>. тип
|
||||
* имущества: недвижимое/наземный/воздушный/водный транспорт
|
||||
*/
|
||||
public TypePropertyType getTypeProperty() {
|
||||
return (TypePropertyType) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.property.start_date</code>. дата
|
||||
* регистрации права владения
|
||||
*/
|
||||
public void setStartDate(Date value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.property.start_date</code>. дата
|
||||
* регистрации права владения
|
||||
*/
|
||||
public Date getStartDate() {
|
||||
return (Date) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.property.close_date</code>. дата
|
||||
* прекращения права владения
|
||||
*/
|
||||
public void setCloseDate(Date value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.property.close_date</code>. дата
|
||||
* прекращения права владения
|
||||
*/
|
||||
public Date getCloseDate() {
|
||||
return (Date) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.property.vehicle_type</code>. вид
|
||||
* транспортного средства
|
||||
*/
|
||||
public void setVehicleType(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.property.vehicle_type</code>. вид
|
||||
* транспортного средства
|
||||
*/
|
||||
public String getVehicleType() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.property.vehicle_category</code>.
|
||||
* категория транспортного средства
|
||||
*/
|
||||
public void setVehicleCategory(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.property.vehicle_category</code>.
|
||||
* категория транспортного средства
|
||||
*/
|
||||
public String getVehicleCategory() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.property.address</code>. адрес объекта
|
||||
* недвижимости
|
||||
*/
|
||||
public void setAddress(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.property.address</code>. адрес объекта
|
||||
* недвижимости
|
||||
*/
|
||||
public String getAddress() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.property.kind_right</code>. вид права
|
||||
*/
|
||||
public void setKindRight(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.property.kind_right</code>. вид права
|
||||
*/
|
||||
public String getKindRight() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.property.issue_year</code>. год выпуска
|
||||
* транспортного средства
|
||||
*/
|
||||
public void setIssueYear(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.property.issue_year</code>. год выпуска
|
||||
* транспортного средства
|
||||
*/
|
||||
public String getIssueYear() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.property.brand_model</code>. марка,
|
||||
* модель транспортного средства
|
||||
*/
|
||||
public void setBrandModel(String value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.property.brand_model</code>. марка,
|
||||
* модель транспортного средства
|
||||
*/
|
||||
public String getBrandModel() {
|
||||
return (String) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.property.reg_plate</code>.
|
||||
* регистрационный номер
|
||||
*/
|
||||
public void setRegPlate(String value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.property.reg_plate</code>.
|
||||
* регистрационный номер
|
||||
*/
|
||||
public String getRegPlate() {
|
||||
return (String) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.property.vin</code>.
|
||||
*/
|
||||
public void setVin(String value) {
|
||||
set(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.property.vin</code>.
|
||||
*/
|
||||
public String getVin() {
|
||||
return (String) get(12);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached PropertyRecord
|
||||
*/
|
||||
public PropertyRecord() {
|
||||
super(Property.PROPERTY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised PropertyRecord
|
||||
*/
|
||||
public PropertyRecord(Long propertyId, UUID recruitId, TypePropertyType typeProperty, Date startDate, Date closeDate, String vehicleType, String vehicleCategory, String address, String kindRight, String issueYear, String brandModel, String regPlate, String vin) {
|
||||
super(Property.PROPERTY);
|
||||
|
||||
setPropertyId(propertyId);
|
||||
setRecruitId(recruitId);
|
||||
setTypeProperty(typeProperty);
|
||||
setStartDate(startDate);
|
||||
setCloseDate(closeDate);
|
||||
setVehicleType(vehicleType);
|
||||
setVehicleCategory(vehicleCategory);
|
||||
setAddress(address);
|
||||
setKindRight(kindRight);
|
||||
setIssueYear(issueYear);
|
||||
setBrandModel(brandModel);
|
||||
setRegPlate(regPlate);
|
||||
setVin(vin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,254 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Prosecution;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения об уголовном преследовании
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ProsecutionRecord extends UpdatableRecordImpl<ProsecutionRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.prosecution.prosecution_id</code>.
|
||||
*/
|
||||
public void setProsecutionId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.prosecution.prosecution_id</code>.
|
||||
*/
|
||||
public Long getProsecutionId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.prosecution.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.prosecution.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.prosecution.kind</code>. вид уголовного
|
||||
* преследования
|
||||
*/
|
||||
public void setKind(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.prosecution.kind</code>. вид уголовного
|
||||
* преследования
|
||||
*/
|
||||
public String getKind() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.prosecution.create_date</code>. дата
|
||||
* возбуждения уголовного дела
|
||||
*/
|
||||
public void setCreateDate(Date value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.prosecution.create_date</code>. дата
|
||||
* возбуждения уголовного дела
|
||||
*/
|
||||
public Date getCreateDate() {
|
||||
return (Date) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.prosecution.close_date</code>. дата
|
||||
* прекращения уголовного преследования
|
||||
*/
|
||||
public void setCloseDate(Date value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.prosecution.close_date</code>. дата
|
||||
* прекращения уголовного преследования
|
||||
*/
|
||||
public Date getCloseDate() {
|
||||
return (Date) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.prosecution.authority_name</code>.
|
||||
* наименование органа, принявшего решение
|
||||
*/
|
||||
public void setAuthorityName(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.prosecution.authority_name</code>.
|
||||
* наименование органа, принявшего решение
|
||||
*/
|
||||
public String getAuthorityName() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.prosecution.law_point</code>. пункт,
|
||||
* часть, статья УК РФ
|
||||
*/
|
||||
public void setLawPoint(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.prosecution.law_point</code>. пункт,
|
||||
* часть, статья УК РФ
|
||||
*/
|
||||
public String getLawPoint() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.prosecution.termination_basis</code>.
|
||||
* основание прекращения уголовного преследования
|
||||
*/
|
||||
public void setTerminationBasis(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.prosecution.termination_basis</code>.
|
||||
* основание прекращения уголовного преследования
|
||||
*/
|
||||
public String getTerminationBasis() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.prosecution.transfer_to_court</code>.
|
||||
* признак передачи в суд уголовного дела в отношении гражданина
|
||||
*/
|
||||
public void setTransferToCourt(Boolean value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.prosecution.transfer_to_court</code>.
|
||||
* признак передачи в суд уголовного дела в отношении гражданина
|
||||
*/
|
||||
public Boolean getTransferToCourt() {
|
||||
return (Boolean) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.prosecution.case_number</code>. номер
|
||||
* уголовного дела (предварительный)
|
||||
*/
|
||||
public void setCaseNumber(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.prosecution.case_number</code>. номер
|
||||
* уголовного дела (предварительный)
|
||||
*/
|
||||
public String getCaseNumber() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.prosecution.case_number_court</code>.
|
||||
* номер уголовного дела (судебный)
|
||||
*/
|
||||
public void setCaseNumberCourt(String value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.prosecution.case_number_court</code>.
|
||||
* номер уголовного дела (судебный)
|
||||
*/
|
||||
public String getCaseNumberCourt() {
|
||||
return (String) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.prosecution.reclassification</code>.
|
||||
* сведения о переквалификации деяния
|
||||
*/
|
||||
public void setReclassification(String value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.prosecution.reclassification</code>.
|
||||
* сведения о переквалификации деяния
|
||||
*/
|
||||
public String getReclassification() {
|
||||
return (String) get(11);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ProsecutionRecord
|
||||
*/
|
||||
public ProsecutionRecord() {
|
||||
super(Prosecution.PROSECUTION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ProsecutionRecord
|
||||
*/
|
||||
public ProsecutionRecord(Long prosecutionId, UUID recruitId, String kind, Date createDate, Date closeDate, String authorityName, String lawPoint, String terminationBasis, Boolean transferToCourt, String caseNumber, String caseNumberCourt, String reclassification) {
|
||||
super(Prosecution.PROSECUTION);
|
||||
|
||||
setProsecutionId(prosecutionId);
|
||||
setRecruitId(recruitId);
|
||||
setKind(kind);
|
||||
setCreateDate(createDate);
|
||||
setCloseDate(closeDate);
|
||||
setAuthorityName(authorityName);
|
||||
setLawPoint(lawPoint);
|
||||
setTerminationBasis(terminationBasis);
|
||||
setTransferToCourt(transferToCourt);
|
||||
setCaseNumber(caseNumber);
|
||||
setCaseNumberCourt(caseNumberCourt);
|
||||
setReclassification(reclassification);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,169 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
|
||||
|
||||
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>ervu_dashboard.pub_recruitment.idm_id</code>.
|
||||
*/
|
||||
public void setIdmId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.pub_recruitment.idm_id</code>.
|
||||
*/
|
||||
public String getIdmId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.pub_recruitment.parent_id</code>.
|
||||
*/
|
||||
public void setParentId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.pub_recruitment.parent_id</code>.
|
||||
*/
|
||||
public String getParentId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.pub_recruitment.military_code</code>.
|
||||
*/
|
||||
public void setMilitaryCode(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.pub_recruitment.military_code</code>.
|
||||
*/
|
||||
public String getMilitaryCode() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.pub_recruitment.shortname</code>.
|
||||
*/
|
||||
public void setShortname(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.pub_recruitment.shortname</code>.
|
||||
*/
|
||||
public String getShortname() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.pub_recruitment.fullname</code>.
|
||||
*/
|
||||
public void setFullname(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.pub_recruitment.fullname</code>.
|
||||
*/
|
||||
public String getFullname() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.pub_recruitment.code</code>.
|
||||
*/
|
||||
public void setCode(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.pub_recruitment.code</code>.
|
||||
*/
|
||||
public String getCode() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.pub_recruitment.id</code>.
|
||||
*/
|
||||
public void setId(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.pub_recruitment.id</code>.
|
||||
*/
|
||||
public String getId() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.pub_recruitment.sort</code>.
|
||||
*/
|
||||
public void setSort(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.pub_recruitment.sort</code>.
|
||||
*/
|
||||
public String getSort() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached PubRecruitmentRecord
|
||||
*/
|
||||
public PubRecruitmentRecord() {
|
||||
super(PubRecruitment.PUB_RECRUITMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised PubRecruitmentRecord
|
||||
*/
|
||||
public PubRecruitmentRecord(String idmId, String parentId, String militaryCode, String shortname, String fullname, String code, String id, String sort) {
|
||||
super(PubRecruitment.PUB_RECRUITMENT);
|
||||
|
||||
setIdmId(idmId);
|
||||
setParentId(parentId);
|
||||
setMilitaryCode(militaryCode);
|
||||
setShortname(shortname);
|
||||
setFullname(fullname);
|
||||
setCode(code);
|
||||
setId(id);
|
||||
setSort(sort);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,305 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Punishment;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения об уголовном преследовании и вынесенном приговоре
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class PunishmentRecord extends UpdatableRecordImpl<PunishmentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.punishment_id</code>.
|
||||
*/
|
||||
public void setPunishmentId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.punishment_id</code>.
|
||||
*/
|
||||
public Long getPunishmentId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.sentence</code>. срок или
|
||||
* размер наказания
|
||||
*/
|
||||
public void setSentence(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.sentence</code>. срок или
|
||||
* размер наказания
|
||||
*/
|
||||
public String getSentence() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.sentence_changed</code>.
|
||||
* изменение срока или размера наказания
|
||||
*/
|
||||
public void setSentenceChanged(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.sentence_changed</code>.
|
||||
* изменение срока или размера наказания
|
||||
*/
|
||||
public String getSentenceChanged() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.sentense_date</code>. дата
|
||||
* вынесения обвинительного приговора
|
||||
*/
|
||||
public void setSentenseDate(Date value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.sentense_date</code>. дата
|
||||
* вынесения обвинительного приговора
|
||||
*/
|
||||
public Date getSentenseDate() {
|
||||
return (Date) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.authority_name</code>.
|
||||
* наименование суда, вынесшего приговор
|
||||
*/
|
||||
public void setAuthorityName(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.authority_name</code>.
|
||||
* наименование суда, вынесшего приговор
|
||||
*/
|
||||
public String getAuthorityName() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.law_point</code>. пункт,
|
||||
* часть, статья УК РФ
|
||||
*/
|
||||
public void setLawPoint(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.law_point</code>. пункт,
|
||||
* часть, статья УК РФ
|
||||
*/
|
||||
public String getLawPoint() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.punishment_type</code>. вид
|
||||
* наказания
|
||||
*/
|
||||
public void setPunishmentType(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.punishment_type</code>. вид
|
||||
* наказания
|
||||
*/
|
||||
public String getPunishmentType() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.punishment_code</code>. код
|
||||
* вида наказания
|
||||
*/
|
||||
public void setPunishmentCode(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.punishment_code</code>. код
|
||||
* вида наказания
|
||||
*/
|
||||
public String getPunishmentCode() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.sentence_place</code>.
|
||||
* наименование и адрес места отбывания наказания
|
||||
*/
|
||||
public void setSentencePlace(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.sentence_place</code>.
|
||||
* наименование и адрес места отбывания наказания
|
||||
*/
|
||||
public String getSentencePlace() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.start_date</code>. дата начала
|
||||
* срока отбывания наказания
|
||||
*/
|
||||
public void setStartDate(Date value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.start_date</code>. дата начала
|
||||
* срока отбывания наказания
|
||||
*/
|
||||
public Date getStartDate() {
|
||||
return (Date) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.planned_date</code>. плановая
|
||||
* дата отбытия
|
||||
*/
|
||||
public void setPlannedDate(Date value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.planned_date</code>. плановая
|
||||
* дата отбытия
|
||||
*/
|
||||
public Date getPlannedDate() {
|
||||
return (Date) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.release_date</code>. дата
|
||||
* освобождения
|
||||
*/
|
||||
public void setReleaseDate(Date value) {
|
||||
set(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.release_date</code>. дата
|
||||
* освобождения
|
||||
*/
|
||||
public Date getReleaseDate() {
|
||||
return (Date) get(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.release_reason</code>.
|
||||
* основание освобождения
|
||||
*/
|
||||
public void setReleaseReason(String value) {
|
||||
set(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.release_reason</code>.
|
||||
* основание освобождения
|
||||
*/
|
||||
public String getReleaseReason() {
|
||||
return (String) get(13);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.punishment.mandatory_work</code>. признак
|
||||
* отбывания наказания в виде обязательных работ
|
||||
*/
|
||||
public void setMandatoryWork(Boolean value) {
|
||||
set(14, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.punishment.mandatory_work</code>. признак
|
||||
* отбывания наказания в виде обязательных работ
|
||||
*/
|
||||
public Boolean getMandatoryWork() {
|
||||
return (Boolean) get(14);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached PunishmentRecord
|
||||
*/
|
||||
public PunishmentRecord() {
|
||||
super(Punishment.PUNISHMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised PunishmentRecord
|
||||
*/
|
||||
public PunishmentRecord(Long punishmentId, UUID recruitId, String sentence, String sentenceChanged, Date sentenseDate, String authorityName, String lawPoint, String punishmentType, String punishmentCode, String sentencePlace, Date startDate, Date plannedDate, Date releaseDate, String releaseReason, Boolean mandatoryWork) {
|
||||
super(Punishment.PUNISHMENT);
|
||||
|
||||
setPunishmentId(punishmentId);
|
||||
setRecruitId(recruitId);
|
||||
setSentence(sentence);
|
||||
setSentenceChanged(sentenceChanged);
|
||||
setSentenseDate(sentenseDate);
|
||||
setAuthorityName(authorityName);
|
||||
setLawPoint(lawPoint);
|
||||
setPunishmentType(punishmentType);
|
||||
setPunishmentCode(punishmentCode);
|
||||
setSentencePlace(sentencePlace);
|
||||
setStartDate(startDate);
|
||||
setPlannedDate(plannedDate);
|
||||
setReleaseDate(releaseDate);
|
||||
setReleaseReason(releaseReason);
|
||||
setMandatoryWork(mandatoryWork);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,141 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
|
||||
|
||||
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>ervu_dashboard.recruitment.id</code>.
|
||||
*/
|
||||
public void setId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.recruitment.id</code>.
|
||||
*/
|
||||
public String getId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.recruitment.shortname</code>.
|
||||
*/
|
||||
public void setShortname(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.recruitment.shortname</code>.
|
||||
*/
|
||||
public String getShortname() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.recruitment.idm_id</code>.
|
||||
*/
|
||||
public void setIdmId(UUID value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.recruitment.idm_id</code>.
|
||||
*/
|
||||
public UUID getIdmId() {
|
||||
return (UUID) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.recruitment.code</code>.
|
||||
*/
|
||||
public void setCode(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.recruitment.code</code>.
|
||||
*/
|
||||
public String getCode() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.recruitment.parent_id</code>.
|
||||
*/
|
||||
public void setParentId(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.recruitment.parent_id</code>.
|
||||
*/
|
||||
public String getParentId() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.recruitment.sort</code>.
|
||||
*/
|
||||
public void setSort(Long value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.recruitment.sort</code>.
|
||||
*/
|
||||
public Long getSort() {
|
||||
return (Long) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached RecruitmentRecord
|
||||
*/
|
||||
public RecruitmentRecord() {
|
||||
super(Recruitment.RECRUITMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised RecruitmentRecord
|
||||
*/
|
||||
public RecruitmentRecord(String id, String shortname, UUID idmId, String code, String parentId, Long sort) {
|
||||
super(Recruitment.RECRUITMENT);
|
||||
|
||||
setId(id);
|
||||
setShortname(shortname);
|
||||
setIdmId(idmId);
|
||||
setCode(code);
|
||||
setParentId(parentId);
|
||||
setSort(sort);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,461 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения о направлении повестки военного комиссариата
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SubpoenaRecord extends UpdatableRecordImpl<SubpoenaRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.sub_id</code>.
|
||||
*/
|
||||
public void setSubId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.sub_id</code>.
|
||||
*/
|
||||
public Long getSubId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.series</code>. серия повестки
|
||||
*/
|
||||
public void setSeries(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.series</code>. серия повестки
|
||||
*/
|
||||
public String getSeries() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.number</code>. номер повестки
|
||||
*/
|
||||
public void setNumber(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.number</code>. номер повестки
|
||||
*/
|
||||
public String getNumber() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.create_date</code>. дата
|
||||
* создания записи
|
||||
*/
|
||||
public void setCreateDate(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.create_date</code>. дата
|
||||
* создания записи
|
||||
*/
|
||||
public Timestamp getCreateDate() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.visit_date</code>. время и дата
|
||||
* явки в ВК
|
||||
*/
|
||||
public void setVisitDate(Timestamp value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.visit_date</code>. время и дата
|
||||
* явки в ВК
|
||||
*/
|
||||
public Timestamp getVisitDate() {
|
||||
return (Timestamp) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.send_date</code>. дата
|
||||
* направления повестки
|
||||
*/
|
||||
public void setSendDate(Timestamp value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.send_date</code>. дата
|
||||
* направления повестки
|
||||
*/
|
||||
public Timestamp getSendDate() {
|
||||
return (Timestamp) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.reason_cancelled</code>. причина
|
||||
* отклонения повестки
|
||||
*/
|
||||
public void setReasonCancelled(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.reason_cancelled</code>. причина
|
||||
* отклонения повестки
|
||||
*/
|
||||
public String getReasonCancelled() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.recruit_id</code>. идентификатор
|
||||
* рекрута
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.recruit_id</code>. идентификатор
|
||||
* рекрута
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.department_id</code>.
|
||||
* идентификатор ВК
|
||||
*/
|
||||
public void setDepartmentId(UUID value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.department_id</code>.
|
||||
* идентификатор ВК
|
||||
*/
|
||||
public UUID getDepartmentId() {
|
||||
return (UUID) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.subpoena_status</code>. статус
|
||||
* повестки
|
||||
*/
|
||||
public void setSubpoenaStatus(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.subpoena_status</code>. статус
|
||||
* повестки
|
||||
*/
|
||||
public String getSubpoenaStatus() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.subpoena_reason</code>. причина
|
||||
* вызова по повестке
|
||||
*/
|
||||
public void setSubpoenaReason(String value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.subpoena_reason</code>. причина
|
||||
* вызова по повестке
|
||||
*/
|
||||
public String getSubpoenaReason() {
|
||||
return (String) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.fio_commiss</code>. фио
|
||||
* комиссара
|
||||
*/
|
||||
public void setFioCommiss(String value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.fio_commiss</code>. фио
|
||||
* комиссара
|
||||
*/
|
||||
public String getFioCommiss() {
|
||||
return (String) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.track_number</code>. уникальный
|
||||
* номер заказного почтового отправления, которым направлена повестка
|
||||
*/
|
||||
public void setTrackNumber(String value) {
|
||||
set(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.track_number</code>. уникальный
|
||||
* номер заказного почтового отправления, которым направлена повестка
|
||||
*/
|
||||
public String getTrackNumber() {
|
||||
return (String) get(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.recruitment_name</code>.
|
||||
* наименование ВК, направившего повестку
|
||||
*/
|
||||
public void setRecruitmentName(String value) {
|
||||
set(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.recruitment_name</code>.
|
||||
* наименование ВК, направившего повестку
|
||||
*/
|
||||
public String getRecruitmentName() {
|
||||
return (String) get(13);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.address</code>. адрес, по
|
||||
* которому нужно явиться по повестке
|
||||
*/
|
||||
public void setAddress(String value) {
|
||||
set(14, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.address</code>. адрес, по
|
||||
* которому нужно явиться по повестке
|
||||
*/
|
||||
public String getAddress() {
|
||||
return (String) get(14);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.method_sending</code>. способ
|
||||
* направления повестки
|
||||
*/
|
||||
public void setMethodSending(String value) {
|
||||
set(15, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.method_sending</code>. способ
|
||||
* направления повестки
|
||||
*/
|
||||
public String getMethodSending() {
|
||||
return (String) get(15);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.subpoena_id</code>.
|
||||
* идентификатор повестки
|
||||
*/
|
||||
public void setSubpoenaId(UUID value) {
|
||||
set(16, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.subpoena_id</code>.
|
||||
* идентификатор повестки
|
||||
*/
|
||||
public UUID getSubpoenaId() {
|
||||
return (UUID) get(16);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.sig_info</code>. открепленная ЭП
|
||||
*/
|
||||
public void setSigInfo(String value) {
|
||||
set(17, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.sig_info</code>. открепленная ЭП
|
||||
*/
|
||||
public String getSigInfo() {
|
||||
return (String) get(17);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.delivery_fio</code>. фио лица,
|
||||
* оповестившего гражданина о последствиях отказа от получения повестки
|
||||
*/
|
||||
public void setDeliveryFio(String value) {
|
||||
set(18, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.delivery_fio</code>. фио лица,
|
||||
* оповестившего гражданина о последствиях отказа от получения повестки
|
||||
*/
|
||||
public String getDeliveryFio() {
|
||||
return (String) get(18);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.act_number</code>. номер акта об
|
||||
* отказе от получения повестки
|
||||
*/
|
||||
public void setActNumber(String value) {
|
||||
set(19, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.act_number</code>. номер акта об
|
||||
* отказе от получения повестки
|
||||
*/
|
||||
public String getActNumber() {
|
||||
return (String) get(19);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.method_delivery</code>. способ
|
||||
* вручения
|
||||
*/
|
||||
public void setMethodDelivery(String value) {
|
||||
set(20, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.method_delivery</code>. способ
|
||||
* вручения
|
||||
*/
|
||||
public String getMethodDelivery() {
|
||||
return (String) get(20);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.delivery_date</code>.
|
||||
*/
|
||||
public void setDeliveryDate(Timestamp value) {
|
||||
set(21, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.delivery_date</code>.
|
||||
*/
|
||||
public Timestamp getDeliveryDate() {
|
||||
return (Timestamp) get(21);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.delivery_status</code>.
|
||||
*/
|
||||
public void setDeliveryStatus(String value) {
|
||||
set(22, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.delivery_status</code>.
|
||||
*/
|
||||
public String getDeliveryStatus() {
|
||||
return (String) get(22);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.appearance</code>.
|
||||
*/
|
||||
public void setAppearance(String value) {
|
||||
set(23, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.appearance</code>.
|
||||
*/
|
||||
public String getAppearance() {
|
||||
return (String) get(23);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.subpoena.appearance_status</code>.
|
||||
*/
|
||||
public void setAppearanceStatus(String value) {
|
||||
set(24, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.subpoena.appearance_status</code>.
|
||||
*/
|
||||
public String getAppearanceStatus() {
|
||||
return (String) get(24);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// 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 subId, String series, String number, Timestamp createDate, Timestamp visitDate, Timestamp sendDate, String reasonCancelled, UUID recruitId, UUID departmentId, String subpoenaStatus, String subpoenaReason, String fioCommiss, String trackNumber, String recruitmentName, String address, String methodSending, UUID subpoenaId, String sigInfo, String deliveryFio, String actNumber, String methodDelivery, Timestamp deliveryDate, String deliveryStatus, String appearance, String appearanceStatus) {
|
||||
super(Subpoena.SUBPOENA);
|
||||
|
||||
setSubId(subId);
|
||||
setSeries(series);
|
||||
setNumber(number);
|
||||
setCreateDate(createDate);
|
||||
setVisitDate(visitDate);
|
||||
setSendDate(sendDate);
|
||||
setReasonCancelled(reasonCancelled);
|
||||
setRecruitId(recruitId);
|
||||
setDepartmentId(departmentId);
|
||||
setSubpoenaStatus(subpoenaStatus);
|
||||
setSubpoenaReason(subpoenaReason);
|
||||
setFioCommiss(fioCommiss);
|
||||
setTrackNumber(trackNumber);
|
||||
setRecruitmentName(recruitmentName);
|
||||
setAddress(address);
|
||||
setMethodSending(methodSending);
|
||||
setSubpoenaId(subpoenaId);
|
||||
setSigInfo(sigInfo);
|
||||
setDeliveryFio(deliveryFio);
|
||||
setActNumber(actNumber);
|
||||
setMethodDelivery(methodDelivery);
|
||||
setDeliveryDate(deliveryDate);
|
||||
setDeliveryStatus(deliveryStatus);
|
||||
setAppearance(appearance);
|
||||
setAppearanceStatus(appearanceStatus);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,296 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.TemporaryMeasures;
|
||||
|
||||
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 TemporaryMeasuresRecord extends UpdatableRecordImpl<TemporaryMeasuresRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.temporary_measures.temporary_measures_id</code>.
|
||||
*/
|
||||
public void setTemporaryMeasuresId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.temporary_measures.temporary_measures_id</code>.
|
||||
*/
|
||||
public Long getTemporaryMeasuresId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.temporary_measures.subpoena_id</code>.
|
||||
*/
|
||||
public void setSubpoenaId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.temporary_measures.subpoena_id</code>.
|
||||
*/
|
||||
public UUID getSubpoenaId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.temporary_measures.recruit_id</code>.
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.temporary_measures.recruit_id</code>.
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.temporary_measures.recruitment_id</code>.
|
||||
*/
|
||||
public void setRecruitmentId(UUID value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.temporary_measures.recruitment_id</code>.
|
||||
*/
|
||||
public UUID getRecruitmentId() {
|
||||
return (UUID) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.temporary_measures.status_measure</code>.
|
||||
* статус временной меры
|
||||
*/
|
||||
public void setStatusMeasure(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.temporary_measures.status_measure</code>.
|
||||
* статус временной меры
|
||||
*/
|
||||
public String getStatusMeasure() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.temporary_measures.recruitment_name</code>.
|
||||
* наименование ВК
|
||||
*/
|
||||
public void setRecruitmentName(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.temporary_measures.recruitment_name</code>.
|
||||
* наименование ВК
|
||||
*/
|
||||
public String getRecruitmentName() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.temporary_measures.cancel_date</code>.
|
||||
* дата, с которой отменена временная мера
|
||||
*/
|
||||
public void setCancelDate(Timestamp value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.temporary_measures.cancel_date</code>.
|
||||
* дата, с которой отменена временная мера
|
||||
*/
|
||||
public Timestamp getCancelDate() {
|
||||
return (Timestamp) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.temporary_measures.restriction_name</code>.
|
||||
* наименование временной меры
|
||||
*/
|
||||
public void setRestrictionName(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.temporary_measures.restriction_name</code>.
|
||||
* наименование временной меры
|
||||
*/
|
||||
public String getRestrictionName() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.temporary_measures.type</code>. тип
|
||||
* документа ограничения
|
||||
*/
|
||||
public void setType(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.temporary_measures.type</code>. тип
|
||||
* документа ограничения
|
||||
*/
|
||||
public String getType() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.temporary_measures.decision_number_create</code>.
|
||||
* номер решения о применении временной меры
|
||||
*/
|
||||
public void setDecisionNumberCreate(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.temporary_measures.decision_number_create</code>.
|
||||
* номер решения о применении временной меры
|
||||
*/
|
||||
public String getDecisionNumberCreate() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.temporary_measures.decision_number_cancel</code>.
|
||||
* номер решения об отмене временной меры
|
||||
*/
|
||||
public void setDecisionNumberCancel(String value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.temporary_measures.decision_number_cancel</code>.
|
||||
* номер решения об отмене временной меры
|
||||
*/
|
||||
public String getDecisionNumberCancel() {
|
||||
return (String) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.temporary_measures.decision_date_create</code>. дата
|
||||
* решения о применении временной меры
|
||||
*/
|
||||
public void setDecisionDateCreate(Timestamp value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.temporary_measures.decision_date_create</code>. дата
|
||||
* решения о применении временной меры
|
||||
*/
|
||||
public Timestamp getDecisionDateCreate() {
|
||||
return (Timestamp) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.temporary_measures.decision_date_cancel</code>. дата
|
||||
* решения об отмене временной меры
|
||||
*/
|
||||
public void setDecisionDateCancel(Timestamp value) {
|
||||
set(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.temporary_measures.decision_date_cancel</code>. дата
|
||||
* решения об отмене временной меры
|
||||
*/
|
||||
public Timestamp getDecisionDateCancel() {
|
||||
return (Timestamp) get(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.temporary_measures.applied_fact</code>.
|
||||
* факт применения временной меры
|
||||
*/
|
||||
public void setAppliedFact(String value) {
|
||||
set(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.temporary_measures.applied_fact</code>.
|
||||
* факт применения временной меры
|
||||
*/
|
||||
public String getAppliedFact() {
|
||||
return (String) get(13);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TemporaryMeasuresRecord
|
||||
*/
|
||||
public TemporaryMeasuresRecord() {
|
||||
super(TemporaryMeasures.TEMPORARY_MEASURES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TemporaryMeasuresRecord
|
||||
*/
|
||||
public TemporaryMeasuresRecord(Long temporaryMeasuresId, UUID subpoenaId, UUID recruitId, UUID recruitmentId, String statusMeasure, String recruitmentName, Timestamp cancelDate, String restrictionName, String type, String decisionNumberCreate, String decisionNumberCancel, Timestamp decisionDateCreate, Timestamp decisionDateCancel, String appliedFact) {
|
||||
super(TemporaryMeasures.TEMPORARY_MEASURES);
|
||||
|
||||
setTemporaryMeasuresId(temporaryMeasuresId);
|
||||
setSubpoenaId(subpoenaId);
|
||||
setRecruitId(recruitId);
|
||||
setRecruitmentId(recruitmentId);
|
||||
setStatusMeasure(statusMeasure);
|
||||
setRecruitmentName(recruitmentName);
|
||||
setCancelDate(cancelDate);
|
||||
setRestrictionName(restrictionName);
|
||||
setType(type);
|
||||
setDecisionNumberCreate(decisionNumberCreate);
|
||||
setDecisionNumberCancel(decisionNumberCancel);
|
||||
setDecisionDateCreate(decisionDateCreate);
|
||||
setDecisionDateCancel(decisionDateCancel);
|
||||
setAppliedFact(appliedFact);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,228 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Work;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.public_.enums.EmployerCategoryType;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* сведения об имуществе
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class WorkRecord extends UpdatableRecordImpl<WorkRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.work.work_id</code>.
|
||||
*/
|
||||
public void setWorkId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.work.work_id</code>.
|
||||
*/
|
||||
public Long getWorkId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.work.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.work.recruit_id</code>. ссылка на
|
||||
* гражданина (citizen)
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.work.employer_category</code>. категория
|
||||
* работодателя: юр лицо/ИП/физ лицо/глава КФХ
|
||||
*/
|
||||
public void setEmployerCategory(EmployerCategoryType value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.work.employer_category</code>. категория
|
||||
* работодателя: юр лицо/ИП/физ лицо/глава КФХ
|
||||
*/
|
||||
public EmployerCategoryType getEmployerCategory() {
|
||||
return (EmployerCategoryType) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.work.place</code>. место работы
|
||||
*/
|
||||
public void setPlace(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.work.place</code>. место работы
|
||||
*/
|
||||
public String getPlace() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.work.organization_name</code>.
|
||||
* наименование организации
|
||||
*/
|
||||
public void setOrganizationName(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.work.organization_name</code>.
|
||||
* наименование организации
|
||||
*/
|
||||
public String getOrganizationName() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.work.inn</code>. ИНН
|
||||
*/
|
||||
public void setInn(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.work.inn</code>. ИНН
|
||||
*/
|
||||
public String getInn() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.work.kpp</code>. КПП
|
||||
*/
|
||||
public void setKpp(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.work.kpp</code>. КПП
|
||||
*/
|
||||
public String getKpp() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.work.ogrnip</code>. ОГРНИП
|
||||
*/
|
||||
public void setOgrnip(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.work.ogrnip</code>. ОГРНИП
|
||||
*/
|
||||
public String getOgrnip() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.work.position</code>. должность
|
||||
*/
|
||||
public void setPosition(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.work.position</code>. должность
|
||||
*/
|
||||
public String getPosition() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.work.event_type</code>. тип кадрового
|
||||
* мероприятия
|
||||
*/
|
||||
public void setEventType(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.work.event_type</code>. тип кадрового
|
||||
* мероприятия
|
||||
*/
|
||||
public String getEventType() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.work.event_date</code>. дата кадрового
|
||||
* мероприятия
|
||||
*/
|
||||
public void setEventDate(Date value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.work.event_date</code>. дата кадрового
|
||||
* мероприятия
|
||||
*/
|
||||
public Date getEventDate() {
|
||||
return (Date) get(10);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached WorkRecord
|
||||
*/
|
||||
public WorkRecord() {
|
||||
super(Work.WORK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised WorkRecord
|
||||
*/
|
||||
public WorkRecord(Long workId, UUID recruitId, EmployerCategoryType employerCategory, String place, String organizationName, String inn, String kpp, String ogrnip, String position, String eventType, Date eventDate) {
|
||||
super(Work.WORK);
|
||||
|
||||
setWorkId(workId);
|
||||
setRecruitId(recruitId);
|
||||
setEmployerCategory(employerCategory);
|
||||
setPlace(place);
|
||||
setOrganizationName(organizationName);
|
||||
setInn(inn);
|
||||
setKpp(kpp);
|
||||
setOgrnip(ogrnip);
|
||||
setPosition(position);
|
||||
setEventType(eventType);
|
||||
setEventDate(eventDate);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
* 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 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> APPEALS_PKEY = Internal.createUniqueKey(Appeals.APPEALS, DSL.name("appeals_pkey"), new TableField[] { Appeals.APPEALS.RECRUITMENT_ID, Appeals.APPEALS.RECORDING_DATE }, true);
|
||||
public static final UniqueKey<RecruitmentCampaignRecord> RECRUITMENT_CAMPAIGN_PKEY = Internal.createUniqueKey(RecruitmentCampaign.RECRUITMENT_CAMPAIGN, DSL.name("recruitment_campaign_pkey"), new TableField[] { RecruitmentCampaign.RECRUITMENT_CAMPAIGN.SPRING_AUTUMN, RecruitmentCampaign.RECRUITMENT_CAMPAIGN.RECRUITMENT_ID, RecruitmentCampaign.RECRUITMENT_CAMPAIGN.RECORDING_DATE }, true);
|
||||
public static final UniqueKey<TotalRegisteredRecord> TOTAL_REGISTERED_PKEY = Internal.createUniqueKey(TotalRegistered.TOTAL_REGISTERED, DSL.name("total_registered_pkey"), new TableField[] { TotalRegistered.TOTAL_REGISTERED.RECRUITMENT_ID, TotalRegistered.TOTAL_REGISTERED.RECORDING_DATE }, true);
|
||||
public static final UniqueKey<WaitingRegistrationRecord> WAITING_REGISTRATION_PKEY = Internal.createUniqueKey(WaitingRegistration.WAITING_REGISTRATION, DSL.name("waiting_registration_pkey"), new TableField[] { WaitingRegistration.WAITING_REGISTRATION.RECRUITMENT_ID, WaitingRegistration.WAITING_REGISTRATION.RECORDING_DATE }, true);
|
||||
}
|
||||
|
|
@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -0,0 +1,284 @@
|
|||
/*
|
||||
* 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 java.math.BigDecimal;
|
||||
import java.sql.Date;
|
||||
import java.util.Collection;
|
||||
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* Обжалования уровень РФ
|
||||
*/
|
||||
@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.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.nullable(false).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, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* 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, "");
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@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.APPEALS_PKEY;
|
||||
}
|
||||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue