first commit
This commit is contained in:
commit
e80b08ccaf
59299 changed files with 5964196 additions and 0 deletions
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 студии
|
||||
296
backend/pom.xml
Normal file
296
backend/pom.xml
Normal file
|
|
@ -0,0 +1,296 @@
|
|||
<?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>account-applications</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<groupId>ru.micord.ervu.account_applications</groupId>
|
||||
<artifactId>backend</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>postgresql</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.account_applications</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>javax.servlet</groupId>
|
||||
<artifactId>javax.servlet-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-beans</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-aop</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-jdbc</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-tx</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-aspects</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-webmvc</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-config</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules</groupId>
|
||||
<artifactId>inject</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules</groupId>
|
||||
<artifactId>webkit-rpc</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules</groupId>
|
||||
<artifactId>webkit-beans</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.core</groupId>
|
||||
<artifactId>core-runtime-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.resources</groupId>
|
||||
<artifactId>resources-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.core</groupId>
|
||||
<artifactId>error-handling-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.database</groupId>
|
||||
<artifactId>database-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.database</groupId>
|
||||
<artifactId>database-impl</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.jndi</groupId>
|
||||
<artifactId>jndi-beans</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.jndi</groupId>
|
||||
<artifactId>jndi-inject</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.sun.mail</groupId>
|
||||
<artifactId>javax.mail</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.database</groupId>
|
||||
<artifactId>database-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules</groupId>
|
||||
<artifactId>standard-annotations</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.security</groupId>
|
||||
<artifactId>security-beans</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.security</groupId>
|
||||
<artifactId>security-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.security</groupId>
|
||||
<artifactId>security-esia</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>ru.cg.webbpm.modules.security</groupId>
|
||||
<artifactId>security-db-synchronization-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.security</groupId>
|
||||
<artifactId>security-db-synchronization-ldap-impl</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.springframework.security.kerberos</groupId>
|
||||
<artifactId>spring-security-kerberos-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.security.kerberos</groupId>
|
||||
<artifactId>spring-security-kerberos-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mnode.ical4j</groupId>
|
||||
<artifactId>ical4j</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.javacrumbs.shedlock</groupId>
|
||||
<artifactId>shedlock-spring</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.javacrumbs.shedlock</groupId>
|
||||
<artifactId>shedlock-provider-jdbc-template</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.packages.base</groupId>
|
||||
<artifactId>backend</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<finalName>${project.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>
|
||||
76
backend/src/main/java/AppConfig.java
Normal file
76
backend/src/main/java/AppConfig.java
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
import java.time.Duration;
|
||||
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.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.DependsOn;
|
||||
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
||||
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",
|
||||
"security",
|
||||
"component.addresses",
|
||||
"gen",
|
||||
"ru.cg",
|
||||
"ru.micord"
|
||||
})
|
||||
@EnableAspectJAutoProxy(proxyTargetClass = true)
|
||||
@EnableWebMvc
|
||||
@EnableScheduling
|
||||
public class AppConfig {
|
||||
|
||||
@Bean
|
||||
public PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer(){
|
||||
return new PropertySourcesPlaceholderConfigurer();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public ScheduledLockConfiguration taskScheduler(LockProvider lockProvider) {
|
||||
ThreadPoolTaskScheduler scheduler = new ThreadPoolTaskScheduler();
|
||||
scheduler.setPoolSize(12);
|
||||
scheduler.initialize();
|
||||
return ScheduledLockConfigurationBuilder
|
||||
.withLockProvider(lockProvider)
|
||||
.withTaskScheduler(scheduler)
|
||||
.withDefaultLockAtMostFor(Duration.ofHours(4))
|
||||
.build();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public LockProvider lockProvider(@Qualifier("datasource") DataSource dataSource) {
|
||||
return new JdbcTemplateLockProvider(dataSource);
|
||||
}
|
||||
|
||||
@Bean
|
||||
@DependsOn("securityLiquibase")
|
||||
public SpringLiquibase liquibase(@Qualifier("datasource") DataSource dataSource) {
|
||||
SpringLiquibase liquibase = new SpringLiquibase();
|
||||
liquibase.setDataSource(dataSource);
|
||||
liquibase.setChangeLog("classpath:config/changelog-master.xml");
|
||||
return liquibase;
|
||||
}
|
||||
}
|
||||
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];
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
package ru.micord.ervu.account_applications;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import property.grid.Formatter;
|
||||
|
||||
/**
|
||||
* @author ilyin on 06.10.2024.
|
||||
*/
|
||||
public class EnumColumnFormatter implements Formatter {
|
||||
|
||||
private static final Map<String, String> strObjectToStringMapping = new HashMap<>();
|
||||
|
||||
static {
|
||||
strObjectToStringMapping.put("CREATED", "Новая");
|
||||
strObjectToStringMapping.put("AGREED", "Согласована");
|
||||
strObjectToStringMapping.put("ACCEPTED", "Выполнена");
|
||||
strObjectToStringMapping.put("UNLOADED", "Выгружена");
|
||||
strObjectToStringMapping.put("IN_PROGRESS", "В работе");
|
||||
strObjectToStringMapping.put("LOGIN_PASSWORD_ISSUED", "Выдан логин и пароль");
|
||||
strObjectToStringMapping.put("CANCEL_BY_CREATOR", "Отклонена");
|
||||
strObjectToStringMapping.put("CANCEL_BY_PROCESSOR", "Отклонена");
|
||||
strObjectToStringMapping.put("CANCEL_BY_AGREEER", "Отклонена");
|
||||
strObjectToStringMapping.put("CREATE_USER", "Создание пользователя");
|
||||
strObjectToStringMapping.put("EDIT_USER", "Изменение пользователя");
|
||||
strObjectToStringMapping.put("BLOCK_USER", "Блокировка пользователя");
|
||||
strObjectToStringMapping.put("MALE", "Мужской");
|
||||
strObjectToStringMapping.put("FEMALE", "Женский");
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public String format(final Object object) {
|
||||
String strType = String.valueOf(object);
|
||||
return strObjectToStringMapping.getOrDefault(strType, "");
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
package ru.micord.ervu.account_applications;
|
||||
|
||||
import component.field.persist.TextField;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.crypto.password.PasswordEncoder;
|
||||
|
||||
public class PasswordField extends TextField {
|
||||
|
||||
@Autowired
|
||||
private PasswordEncoder passwordEncoder;
|
||||
|
||||
@Override
|
||||
public String convertValueForSave(String value) {
|
||||
return super.convertValueForSave(passwordEncoder.encode(value));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans;
|
||||
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Constants;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.impl.CatalogImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
|
||||
|
||||
/**
|
||||
* 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>public</code>.
|
||||
*/
|
||||
public final Public PUBLIC = Public.PUBLIC;
|
||||
|
||||
/**
|
||||
* The schema <code>security</code>.
|
||||
*/
|
||||
public final Security SECURITY = Security.SECURITY;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private DefaultCatalog() {
|
||||
super("");
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Schema> getSchemas() {
|
||||
return Arrays.asList(
|
||||
Public.PUBLIC,
|
||||
Security.SECURITY
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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,52 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_;
|
||||
|
||||
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.Internal;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.JobPosition;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUserGroup;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Recruitment;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationDocument;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationList;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.JobPositionRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.LinkUserApplicationUserGroupRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.RecruitmentRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.UserApplicationDocumentRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.UserApplicationListRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserGroup;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.UserGroupRecord;
|
||||
|
||||
|
||||
/**
|
||||
* A class modelling foreign key relationships and constraints of tables in
|
||||
* public.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Keys {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final UniqueKey<JobPositionRecord> PK_JOB_POSITION = Internal.createUniqueKey(JobPosition.JOB_POSITION, DSL.name("pk_job_position"), new TableField[] { JobPosition.JOB_POSITION.JOB_POSITION_ID }, true);
|
||||
public static final UniqueKey<LinkUserApplicationUserGroupRecord> PK_LINK_USER_APPLICATION_USER_GROUP = Internal.createUniqueKey(LinkUserApplicationUserGroup.LINK_USER_APPLICATION_USER_GROUP, DSL.name("pk_link_user_application_user_group"), new TableField[] { LinkUserApplicationUserGroup.LINK_USER_APPLICATION_USER_GROUP.LINK_USER_APPLICATION_USER_GROUP_ID }, true);
|
||||
public static final UniqueKey<LinkUserApplicationUserGroupRecord> UNI_USER_GROUP = Internal.createUniqueKey(LinkUserApplicationUserGroup.LINK_USER_APPLICATION_USER_GROUP, DSL.name("uni_user_group"), new TableField[] { LinkUserApplicationUserGroup.LINK_USER_APPLICATION_USER_GROUP.USER_APPLICATION_LIST_ID, LinkUserApplicationUserGroup.LINK_USER_APPLICATION_USER_GROUP.USER_GROUP_ID }, true);
|
||||
public static final UniqueKey<RecruitmentRecord> RECRUITMENT_IDM_ID_KEY = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("recruitment_idm_id_key"), new TableField[] { Recruitment.RECRUITMENT.IDM_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<UserApplicationDocumentRecord> PK_USER_APPLICATION_DOCUMENT = Internal.createUniqueKey(UserApplicationDocument.USER_APPLICATION_DOCUMENT, DSL.name("pk_user_application_document"), new TableField[] { UserApplicationDocument.USER_APPLICATION_DOCUMENT.USER_APPLICATION_DOCUMENT_ID }, true);
|
||||
public static final UniqueKey<UserApplicationListRecord> PK_USER_APPLICATION_LIST = Internal.createUniqueKey(UserApplicationList.USER_APPLICATION_LIST, DSL.name("pk_user_application_list"), new TableField[] { UserApplicationList.USER_APPLICATION_LIST.USER_APPLICATION_LIST_ID }, true);
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FOREIGN KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final ForeignKey<LinkUserApplicationUserGroupRecord, UserApplicationListRecord> LINK_USER_APPLICATION_USER_GROUP__FK_USER_APPLICATION_LIST = Internal.createForeignKey(LinkUserApplicationUserGroup.LINK_USER_APPLICATION_USER_GROUP, DSL.name("fk_user_application_list"), new TableField[] { LinkUserApplicationUserGroup.LINK_USER_APPLICATION_USER_GROUP.USER_APPLICATION_LIST_ID }, Keys.PK_USER_APPLICATION_LIST, new TableField[] { UserApplicationList.USER_APPLICATION_LIST.USER_APPLICATION_LIST_ID }, true);
|
||||
public static final ForeignKey<LinkUserApplicationUserGroupRecord, UserGroupRecord> LINK_USER_APPLICATION_USER_GROUP__FK_USER_GROUP = Internal.createForeignKey(LinkUserApplicationUserGroup.LINK_USER_APPLICATION_USER_GROUP, DSL.name("fk_user_group"), new TableField[] { LinkUserApplicationUserGroup.LINK_USER_APPLICATION_USER_GROUP.USER_GROUP_ID }, ru.micord.ervu.account_applications.db_beans.security.Keys.PK_GROUP, new TableField[] { UserGroup.USER_GROUP.USER_GROUP_ID }, true);
|
||||
}
|
||||
|
|
@ -0,0 +1,91 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_;
|
||||
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Catalog;
|
||||
import org.jooq.Sequence;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.impl.SchemaImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.DefaultCatalog;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.JobPosition;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUserGroup;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Recruitment;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationDocument;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationList;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Public extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>public</code>
|
||||
*/
|
||||
public static final Public PUBLIC = new Public();
|
||||
|
||||
/**
|
||||
* The table <code>public.job_position</code>.
|
||||
*/
|
||||
public final JobPosition JOB_POSITION = JobPosition.JOB_POSITION;
|
||||
|
||||
/**
|
||||
* The table <code>public.link_user_application_user_group</code>.
|
||||
*/
|
||||
public final LinkUserApplicationUserGroup LINK_USER_APPLICATION_USER_GROUP = LinkUserApplicationUserGroup.LINK_USER_APPLICATION_USER_GROUP;
|
||||
|
||||
/**
|
||||
* Военный комиссариат
|
||||
*/
|
||||
public final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
|
||||
|
||||
/**
|
||||
* The table <code>public.user_application_document</code>.
|
||||
*/
|
||||
public final UserApplicationDocument USER_APPLICATION_DOCUMENT = UserApplicationDocument.USER_APPLICATION_DOCUMENT;
|
||||
|
||||
/**
|
||||
* The table <code>public.user_application_list</code>.
|
||||
*/
|
||||
public final UserApplicationList USER_APPLICATION_LIST = UserApplicationList.USER_APPLICATION_LIST;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private Public() {
|
||||
super("public", null);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return DefaultCatalog.DEFAULT_CATALOG;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Sequence<?>> getSequences() {
|
||||
return Arrays.asList(
|
||||
Sequences.LINK_USER_APPLICATION_USER_GR_LINK_USER_APPLICATION_USER_GR_SEQ
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
return Arrays.asList(
|
||||
JobPosition.JOB_POSITION,
|
||||
LinkUserApplicationUserGroup.LINK_USER_APPLICATION_USER_GROUP,
|
||||
Recruitment.RECRUITMENT,
|
||||
UserApplicationDocument.USER_APPLICATION_DOCUMENT,
|
||||
UserApplicationList.USER_APPLICATION_LIST
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,285 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_;
|
||||
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Configuration;
|
||||
import org.jooq.Field;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.routines.UuidGenerateV1;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.routines.UuidGenerateV1mc;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.routines.UuidGenerateV3;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.routines.UuidGenerateV4;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.routines.UuidGenerateV5;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.routines.UuidNil;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.routines.UuidNsDns;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.routines.UuidNsOid;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.routines.UuidNsUrl;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.routines.UuidNsX500;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all stored procedures and functions in public.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Routines {
|
||||
|
||||
/**
|
||||
* Call <code>public.uuid_generate_v1</code>
|
||||
*/
|
||||
public static UUID uuidGenerateV1(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidGenerateV1 f = new UuidGenerateV1();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>public.uuid_generate_v1</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidGenerateV1() {
|
||||
UuidGenerateV1 f = new UuidGenerateV1();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>public.uuid_generate_v1mc</code>
|
||||
*/
|
||||
public static UUID uuidGenerateV1mc(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidGenerateV1mc f = new UuidGenerateV1mc();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>public.uuid_generate_v1mc</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidGenerateV1mc() {
|
||||
UuidGenerateV1mc f = new UuidGenerateV1mc();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>public.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>public.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>public.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>public.uuid_generate_v4</code>
|
||||
*/
|
||||
public static UUID uuidGenerateV4(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidGenerateV4 f = new UuidGenerateV4();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>public.uuid_generate_v4</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidGenerateV4() {
|
||||
UuidGenerateV4 f = new UuidGenerateV4();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>public.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>public.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>public.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>public.uuid_nil</code>
|
||||
*/
|
||||
public static UUID uuidNil(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidNil f = new UuidNil();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>public.uuid_nil</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidNil() {
|
||||
UuidNil f = new UuidNil();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>public.uuid_ns_dns</code>
|
||||
*/
|
||||
public static UUID uuidNsDns(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidNsDns f = new UuidNsDns();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>public.uuid_ns_dns</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidNsDns() {
|
||||
UuidNsDns f = new UuidNsDns();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>public.uuid_ns_oid</code>
|
||||
*/
|
||||
public static UUID uuidNsOid(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidNsOid f = new UuidNsOid();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>public.uuid_ns_oid</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidNsOid() {
|
||||
UuidNsOid f = new UuidNsOid();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>public.uuid_ns_url</code>
|
||||
*/
|
||||
public static UUID uuidNsUrl(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidNsUrl f = new UuidNsUrl();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>public.uuid_ns_url</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidNsUrl() {
|
||||
UuidNsUrl f = new UuidNsUrl();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>public.uuid_ns_x500</code>
|
||||
*/
|
||||
public static UUID uuidNsX500(
|
||||
Configuration configuration
|
||||
) {
|
||||
UuidNsX500 f = new UuidNsX500();
|
||||
|
||||
f.execute(configuration);
|
||||
return f.getReturnValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get <code>public.uuid_ns_x500</code> as a field.
|
||||
*/
|
||||
public static Field<UUID> uuidNsX500() {
|
||||
UuidNsX500 f = new UuidNsX500();
|
||||
|
||||
return f.asField();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_;
|
||||
|
||||
|
||||
import org.jooq.Sequence;
|
||||
import org.jooq.impl.Internal;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all sequences in public.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Sequences {
|
||||
|
||||
/**
|
||||
* The sequence
|
||||
* <code>public.link_user_application_user_gr_link_user_application_user_gr_seq</code>
|
||||
*/
|
||||
public static final Sequence<Long> LINK_USER_APPLICATION_USER_GR_LINK_USER_APPLICATION_USER_GR_SEQ = Internal.createSequence("link_user_application_user_gr_link_user_application_user_gr_seq", Public.PUBLIC, SQLDataType.BIGINT.nullable(false), null, null, null, null, false, null);
|
||||
}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_;
|
||||
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.JobPosition;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUserGroup;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Recruitment;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationDocument;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationList;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all tables in public.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables {
|
||||
|
||||
/**
|
||||
* The table <code>public.job_position</code>.
|
||||
*/
|
||||
public static final JobPosition JOB_POSITION = JobPosition.JOB_POSITION;
|
||||
|
||||
/**
|
||||
* The table <code>public.link_user_application_user_group</code>.
|
||||
*/
|
||||
public static final LinkUserApplicationUserGroup LINK_USER_APPLICATION_USER_GROUP = LinkUserApplicationUserGroup.LINK_USER_APPLICATION_USER_GROUP;
|
||||
|
||||
/**
|
||||
* Военный комиссариат
|
||||
*/
|
||||
public static final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
|
||||
|
||||
/**
|
||||
* The table <code>public.user_application_document</code>.
|
||||
*/
|
||||
public static final UserApplicationDocument USER_APPLICATION_DOCUMENT = UserApplicationDocument.USER_APPLICATION_DOCUMENT;
|
||||
|
||||
/**
|
||||
* The table <code>public.user_application_list</code>.
|
||||
*/
|
||||
public static final UserApplicationList USER_APPLICATION_LIST = UserApplicationList.USER_APPLICATION_LIST;
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.routines;
|
||||
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Parameter;
|
||||
import org.jooq.impl.AbstractRoutine;
|
||||
import org.jooq.impl.Internal;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
|
||||
|
||||
/**
|
||||
* 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>public.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", Public.PUBLIC, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.routines;
|
||||
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Parameter;
|
||||
import org.jooq.impl.AbstractRoutine;
|
||||
import org.jooq.impl.Internal;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
|
||||
|
||||
/**
|
||||
* 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>public.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", Public.PUBLIC, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,81 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.routines;
|
||||
|
||||
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
|
||||
|
||||
/**
|
||||
* 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>public.uuid_generate_v3.RETURN_VALUE</code>.
|
||||
*/
|
||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>public.uuid_generate_v3.namespace</code>.
|
||||
*/
|
||||
public static final Parameter<UUID> NAMESPACE = Internal.createParameter("namespace", SQLDataType.UUID, false, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>public.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", Public.PUBLIC, 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 ru.micord.ervu.account_applications.db_beans.public_.routines;
|
||||
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Parameter;
|
||||
import org.jooq.impl.AbstractRoutine;
|
||||
import org.jooq.impl.Internal;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UuidGenerateV4 extends AbstractRoutine<UUID> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The parameter <code>public.uuid_generate_v4.RETURN_VALUE</code>.
|
||||
*/
|
||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
||||
|
||||
/**
|
||||
* Create a new routine call instance
|
||||
*/
|
||||
public UuidGenerateV4() {
|
||||
super("uuid_generate_v4", Public.PUBLIC, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,81 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.routines;
|
||||
|
||||
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
|
||||
|
||||
/**
|
||||
* 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>public.uuid_generate_v5.RETURN_VALUE</code>.
|
||||
*/
|
||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>public.uuid_generate_v5.namespace</code>.
|
||||
*/
|
||||
public static final Parameter<UUID> NAMESPACE = Internal.createParameter("namespace", SQLDataType.UUID, false, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>public.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", Public.PUBLIC, 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 ru.micord.ervu.account_applications.db_beans.public_.routines;
|
||||
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Parameter;
|
||||
import org.jooq.impl.AbstractRoutine;
|
||||
import org.jooq.impl.Internal;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
|
||||
|
||||
/**
|
||||
* 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>public.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", Public.PUBLIC, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.routines;
|
||||
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Parameter;
|
||||
import org.jooq.impl.AbstractRoutine;
|
||||
import org.jooq.impl.Internal;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
|
||||
|
||||
/**
|
||||
* 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>public.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", Public.PUBLIC, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.routines;
|
||||
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Parameter;
|
||||
import org.jooq.impl.AbstractRoutine;
|
||||
import org.jooq.impl.Internal;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
|
||||
|
||||
/**
|
||||
* 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>public.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", Public.PUBLIC, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.routines;
|
||||
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Parameter;
|
||||
import org.jooq.impl.AbstractRoutine;
|
||||
import org.jooq.impl.Internal;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
|
||||
|
||||
/**
|
||||
* 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>public.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", Public.PUBLIC, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.routines;
|
||||
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Parameter;
|
||||
import org.jooq.impl.AbstractRoutine;
|
||||
import org.jooq.impl.Internal;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
|
||||
|
||||
/**
|
||||
* 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>public.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", Public.PUBLIC, SQLDataType.UUID);
|
||||
|
||||
setReturnParameter(RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,245 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.JobPositionRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class JobPosition extends TableImpl<JobPositionRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>public.job_position</code>
|
||||
*/
|
||||
public static final JobPosition JOB_POSITION = new JobPosition();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<JobPositionRecord> getRecordType() {
|
||||
return JobPositionRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>public.job_position.job_position_id</code>.
|
||||
*/
|
||||
public final TableField<JobPositionRecord, Long> JOB_POSITION_ID = createField(DSL.name("job_position_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.job_position.name</code>.
|
||||
*/
|
||||
public final TableField<JobPositionRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.job_position.code</code>.
|
||||
*/
|
||||
public final TableField<JobPositionRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.job_position.start_date</code>.
|
||||
*/
|
||||
public final TableField<JobPositionRecord, Timestamp> START_DATE = createField(DSL.name("start_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.job_position.close_date</code>.
|
||||
*/
|
||||
public final TableField<JobPositionRecord, Timestamp> CLOSE_DATE = createField(DSL.name("close_date"), SQLDataType.TIMESTAMP(0), this, "");
|
||||
|
||||
private JobPosition(Name alias, Table<JobPositionRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private JobPosition(Name alias, Table<JobPositionRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.job_position</code> table reference
|
||||
*/
|
||||
public JobPosition(String alias) {
|
||||
this(DSL.name(alias), JOB_POSITION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.job_position</code> table reference
|
||||
*/
|
||||
public JobPosition(Name alias) {
|
||||
this(alias, JOB_POSITION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>public.job_position</code> table reference
|
||||
*/
|
||||
public JobPosition() {
|
||||
this(DSL.name("job_position"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Public.PUBLIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<JobPositionRecord, Long> getIdentity() {
|
||||
return (Identity<JobPositionRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<JobPositionRecord> getPrimaryKey() {
|
||||
return Keys.PK_JOB_POSITION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public JobPosition as(String alias) {
|
||||
return new JobPosition(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public JobPosition as(Name alias) {
|
||||
return new JobPosition(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public JobPosition as(Table<?> alias) {
|
||||
return new JobPosition(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public JobPosition rename(String name) {
|
||||
return new JobPosition(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public JobPosition rename(Name name) {
|
||||
return new JobPosition(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public JobPosition rename(Table<?> name) {
|
||||
return new JobPosition(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public JobPosition where(Condition condition) {
|
||||
return new JobPosition(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public JobPosition where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public JobPosition where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public JobPosition where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public JobPosition where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public JobPosition where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public JobPosition where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public JobPosition where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public JobPosition whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public JobPosition whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,321 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationList.UserApplicationListPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.LinkUserApplicationUserGroupRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserApplicationUserGroup extends TableImpl<LinkUserApplicationUserGroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>public.link_user_application_user_group</code>
|
||||
*/
|
||||
public static final LinkUserApplicationUserGroup LINK_USER_APPLICATION_USER_GROUP = new LinkUserApplicationUserGroup();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<LinkUserApplicationUserGroupRecord> getRecordType() {
|
||||
return LinkUserApplicationUserGroupRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>public.link_user_application_user_group.link_user_application_user_group_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserApplicationUserGroupRecord, Long> LINK_USER_APPLICATION_USER_GROUP_ID = createField(DSL.name("link_user_application_user_group_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>public.link_user_application_user_group.user_application_list_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserApplicationUserGroupRecord, Long> USER_APPLICATION_LIST_ID = createField(DSL.name("user_application_list_id"), SQLDataType.BIGINT.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>public.link_user_application_user_group.user_group_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserApplicationUserGroupRecord, String> USER_GROUP_ID = createField(DSL.name("user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.link_user_application_user_group.created</code>.
|
||||
*/
|
||||
public final TableField<LinkUserApplicationUserGroupRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private LinkUserApplicationUserGroup(Name alias, Table<LinkUserApplicationUserGroupRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private LinkUserApplicationUserGroup(Name alias, Table<LinkUserApplicationUserGroupRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.link_user_application_user_group</code>
|
||||
* table reference
|
||||
*/
|
||||
public LinkUserApplicationUserGroup(String alias) {
|
||||
this(DSL.name(alias), LINK_USER_APPLICATION_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.link_user_application_user_group</code>
|
||||
* table reference
|
||||
*/
|
||||
public LinkUserApplicationUserGroup(Name alias) {
|
||||
this(alias, LINK_USER_APPLICATION_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>public.link_user_application_user_group</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserApplicationUserGroup() {
|
||||
this(DSL.name("link_user_application_user_group"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> LinkUserApplicationUserGroup(Table<O> path, ForeignKey<O, LinkUserApplicationUserGroupRecord> childPath, InverseForeignKey<O, LinkUserApplicationUserGroupRecord> parentPath) {
|
||||
super(path, childPath, parentPath, LINK_USER_APPLICATION_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class LinkUserApplicationUserGroupPath extends LinkUserApplicationUserGroup implements Path<LinkUserApplicationUserGroupRecord> {
|
||||
public <O extends Record> LinkUserApplicationUserGroupPath(Table<O> path, ForeignKey<O, LinkUserApplicationUserGroupRecord> childPath, InverseForeignKey<O, LinkUserApplicationUserGroupRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private LinkUserApplicationUserGroupPath(Name alias, Table<LinkUserApplicationUserGroupRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserApplicationUserGroupPath as(String alias) {
|
||||
return new LinkUserApplicationUserGroupPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserApplicationUserGroupPath as(Name alias) {
|
||||
return new LinkUserApplicationUserGroupPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserApplicationUserGroupPath as(Table<?> alias) {
|
||||
return new LinkUserApplicationUserGroupPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Public.PUBLIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<LinkUserApplicationUserGroupRecord, Long> getIdentity() {
|
||||
return (Identity<LinkUserApplicationUserGroupRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<LinkUserApplicationUserGroupRecord> getPrimaryKey() {
|
||||
return Keys.PK_LINK_USER_APPLICATION_USER_GROUP;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<LinkUserApplicationUserGroupRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_USER_GROUP);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<LinkUserApplicationUserGroupRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.LINK_USER_APPLICATION_USER_GROUP__FK_USER_APPLICATION_LIST, Keys.LINK_USER_APPLICATION_USER_GROUP__FK_USER_GROUP);
|
||||
}
|
||||
|
||||
private transient UserApplicationListPath _userApplicationList;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the
|
||||
* <code>public.user_application_list</code> table.
|
||||
*/
|
||||
public UserApplicationListPath userApplicationList() {
|
||||
if (_userApplicationList == null)
|
||||
_userApplicationList = new UserApplicationListPath(this, Keys.LINK_USER_APPLICATION_USER_GROUP__FK_USER_APPLICATION_LIST, null);
|
||||
|
||||
return _userApplicationList;
|
||||
}
|
||||
|
||||
private transient UserGroupPath _userGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_group</code> table.
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
if (_userGroup == null)
|
||||
_userGroup = new UserGroupPath(this, Keys.LINK_USER_APPLICATION_USER_GROUP__FK_USER_GROUP, null);
|
||||
|
||||
return _userGroup;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserApplicationUserGroup as(String alias) {
|
||||
return new LinkUserApplicationUserGroup(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserApplicationUserGroup as(Name alias) {
|
||||
return new LinkUserApplicationUserGroup(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserApplicationUserGroup as(Table<?> alias) {
|
||||
return new LinkUserApplicationUserGroup(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserApplicationUserGroup rename(String name) {
|
||||
return new LinkUserApplicationUserGroup(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserApplicationUserGroup rename(Name name) {
|
||||
return new LinkUserApplicationUserGroup(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserApplicationUserGroup rename(Table<?> name) {
|
||||
return new LinkUserApplicationUserGroup(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserApplicationUserGroup where(Condition condition) {
|
||||
return new LinkUserApplicationUserGroup(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserApplicationUserGroup where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserApplicationUserGroup where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserApplicationUserGroup where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserApplicationUserGroup where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserApplicationUserGroup where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserApplicationUserGroup where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserApplicationUserGroup where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserApplicationUserGroup whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserApplicationUserGroup whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,414 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.RecruitmentRecord;
|
||||
|
||||
|
||||
/**
|
||||
* Военный комиссариат
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Recruitment extends TableImpl<RecruitmentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>public.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>public.recruitment.id</code>. Идентификатор ВК
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "Идентификатор ВК");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.idm_id</code>. Идентификатор
|
||||
* организации
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> IDM_ID = createField(DSL.name("idm_id"), SQLDataType.VARCHAR(256), this, "Идентификатор организации");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.parent_id</code>. Идентификатор
|
||||
* вышестоящей организации
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.VARCHAR, this, "Идентификатор вышестоящей организации");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.version</code>. Версия записи
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER, this, "Версия записи");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.created_at</code>. Дата создания
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, Timestamp> CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "Дата создания");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.updated_at</code>. Дата обновления
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, Timestamp> UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "Дата обновления");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.schema</code>. Схема
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(64).nullable(false), this, "Схема");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.military_code</code>. Код организации
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> MILITARY_CODE = createField(DSL.name("military_code"), SQLDataType.VARCHAR(16), this, "Код организации");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.shortname</code>. Укороченное
|
||||
* наименование организации
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR.nullable(false), this, "Укороченное наименование организации");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.fullname</code>. Полное наименование
|
||||
* организации
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> FULLNAME = createField(DSL.name("fullname"), SQLDataType.VARCHAR.nullable(false), this, "Полное наименование организации");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.dns</code>. ДНС организации
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> DNS = createField(DSL.name("dns"), SQLDataType.VARCHAR(64), this, "ДНС организации");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.email</code>. Е-mail организации
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(255), this, "Е-mail организации");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.phone</code>. Телефон организации
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(24), this, "Телефон организации");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.address</code>. Адрес организации
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> ADDRESS = createField(DSL.name("address"), SQLDataType.VARCHAR, this, "Адрес организации");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.address_id</code>. Идентификатор
|
||||
* адреса организации
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> ADDRESS_ID = createField(DSL.name("address_id"), SQLDataType.VARCHAR, this, "Идентификатор адреса организации");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.postal_address</code>. Почтовый адрес
|
||||
* организации
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> POSTAL_ADDRESS = createField(DSL.name("postal_address"), SQLDataType.VARCHAR, this, "Почтовый адрес организации");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.postal_address_id</code>.
|
||||
* Идентификатор почтового адреса организации
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> POSTAL_ADDRESS_ID = createField(DSL.name("postal_address_id"), SQLDataType.VARCHAR, this, "Идентификатор почтового адреса организации");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.nsi_department_id</code>.
|
||||
* Идентификатор департамента из НСИ
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> NSI_DEPARTMENT_ID = createField(DSL.name("nsi_department_id"), SQLDataType.VARCHAR, this, "Идентификатор департамента из НСИ");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.nsi_organization_id</code>.
|
||||
* Идентификатор организации из НСИ
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> NSI_ORGANIZATION_ID = createField(DSL.name("nsi_organization_id"), SQLDataType.VARCHAR, this, "Идентификатор организации из НСИ");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.oktmo</code>. ОКТМО
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> OKTMO = createField(DSL.name("oktmo"), SQLDataType.VARCHAR, this, "ОКТМО");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.org_ogrn</code>. ОГРН организации
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> ORG_OGRN = createField(DSL.name("org_ogrn"), SQLDataType.VARCHAR, this, "ОГРН организации");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.dep_ogrn</code>. ОГРН департамента
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> DEP_OGRN = createField(DSL.name("dep_ogrn"), SQLDataType.VARCHAR, this, "ОГРН департамента");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.epgu_id</code>. Идентификатор ЕПГУ
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> EPGU_ID = createField(DSL.name("epgu_id"), SQLDataType.VARCHAR, this, "Идентификатор ЕПГУ");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.kpp</code>. КПП
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> KPP = createField(DSL.name("kpp"), SQLDataType.VARCHAR(64), this, "КПП");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.inn</code>. ИНН
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> INN = createField(DSL.name("inn"), SQLDataType.VARCHAR(64), this, "ИНН");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.okato</code>. ОКАТО
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> OKATO = createField(DSL.name("okato"), SQLDataType.VARCHAR(64), this, "ОКАТО");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.division_type</code>. Тип дивизиона
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> DIVISION_TYPE = createField(DSL.name("division_type"), SQLDataType.VARCHAR(64), this, "Тип дивизиона");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.tns_department_id</code>.
|
||||
* Идентификатор департамента из ТНС
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> TNS_DEPARTMENT_ID = createField(DSL.name("tns_department_id"), SQLDataType.VARCHAR, this, "Идентификатор департамента из ТНС");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.enabled</code>. Признак актуальности
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, Boolean> ENABLED = createField(DSL.name("enabled"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "Признак актуальности");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.timezone</code>. Часовой пояс
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> TIMEZONE = createField(DSL.name("timezone"), SQLDataType.VARCHAR(64), this, "Часовой пояс");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.reports_enabled</code>. Признак
|
||||
* актуальности для отчета
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, Boolean> REPORTS_ENABLED = createField(DSL.name("reports_enabled"), SQLDataType.BOOLEAN, this, "Признак актуальности для отчета");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.region_id</code>. Идентификатор
|
||||
* региона
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> REGION_ID = createField(DSL.name("region_id"), SQLDataType.VARCHAR, this, "Идентификатор региона");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.subpoena_series_code</code>. Серия
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> SUBPOENA_SERIES_CODE = createField(DSL.name("subpoena_series_code"), SQLDataType.VARCHAR(64), this, "Серия");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.hidden</code>. Признак скрытого
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, Boolean> HIDDEN = createField(DSL.name("hidden"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "Признак скрытого");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.region_code</code>.
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, String> REGION_CODE = createField(DSL.name("region_code"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment.ts</code>.
|
||||
*/
|
||||
public final TableField<RecruitmentRecord, Timestamp> TS = createField(DSL.name("ts"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), 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>public.recruitment</code> table reference
|
||||
*/
|
||||
public Recruitment(String alias) {
|
||||
this(DSL.name(alias), RECRUITMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.recruitment</code> table reference
|
||||
*/
|
||||
public Recruitment(Name alias) {
|
||||
this(alias, RECRUITMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>public.recruitment</code> table reference
|
||||
*/
|
||||
public Recruitment() {
|
||||
this(DSL.name("recruitment"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Public.PUBLIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<RecruitmentRecord> getPrimaryKey() {
|
||||
return Keys.RECRUITMENT_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<RecruitmentRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.RECRUITMENT_IDM_ID_KEY);
|
||||
}
|
||||
|
||||
@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,243 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables;
|
||||
|
||||
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.UserApplicationDocumentRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserApplicationDocument extends TableImpl<UserApplicationDocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>public.user_application_document</code>
|
||||
*/
|
||||
public static final UserApplicationDocument USER_APPLICATION_DOCUMENT = new UserApplicationDocument();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserApplicationDocumentRecord> getRecordType() {
|
||||
return UserApplicationDocumentRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>public.user_application_document.user_application_document_id</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationDocumentRecord, Long> USER_APPLICATION_DOCUMENT_ID = createField(DSL.name("user_application_document_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_document.file_name</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationDocumentRecord, String> FILE_NAME = createField(DSL.name("file_name"), SQLDataType.VARCHAR(100), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_document.file</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationDocumentRecord, byte[]> FILE = createField(DSL.name("file"), SQLDataType.BLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>public.user_application_document.user_application_list_id</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationDocumentRecord, Long> USER_APPLICATION_LIST_ID = createField(DSL.name("user_application_list_id"), SQLDataType.BIGINT.nullable(false), this, "");
|
||||
|
||||
private UserApplicationDocument(Name alias, Table<UserApplicationDocumentRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserApplicationDocument(Name alias, Table<UserApplicationDocumentRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.user_application_document</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserApplicationDocument(String alias) {
|
||||
this(DSL.name(alias), USER_APPLICATION_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.user_application_document</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserApplicationDocument(Name alias) {
|
||||
this(alias, USER_APPLICATION_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>public.user_application_document</code> table reference
|
||||
*/
|
||||
public UserApplicationDocument() {
|
||||
this(DSL.name("user_application_document"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Public.PUBLIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<UserApplicationDocumentRecord, Long> getIdentity() {
|
||||
return (Identity<UserApplicationDocumentRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserApplicationDocumentRecord> getPrimaryKey() {
|
||||
return Keys.PK_USER_APPLICATION_DOCUMENT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserApplicationDocument as(String alias) {
|
||||
return new UserApplicationDocument(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserApplicationDocument as(Name alias) {
|
||||
return new UserApplicationDocument(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserApplicationDocument as(Table<?> alias) {
|
||||
return new UserApplicationDocument(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationDocument rename(String name) {
|
||||
return new UserApplicationDocument(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationDocument rename(Name name) {
|
||||
return new UserApplicationDocument(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationDocument rename(Table<?> name) {
|
||||
return new UserApplicationDocument(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationDocument where(Condition condition) {
|
||||
return new UserApplicationDocument(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationDocument where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationDocument where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationDocument where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserApplicationDocument where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserApplicationDocument where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserApplicationDocument where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserApplicationDocument where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationDocument whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationDocument whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,409 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables;
|
||||
|
||||
|
||||
import java.sql.Date;
|
||||
import java.sql.Timestamp;
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUserGroup.LinkUserApplicationUserGroupPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.UserApplicationListRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserApplicationList extends TableImpl<UserApplicationListRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>public.user_application_list</code>
|
||||
*/
|
||||
public static final UserApplicationList USER_APPLICATION_LIST = new UserApplicationList();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserApplicationListRecord> getRecordType() {
|
||||
return UserApplicationListRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>public.user_application_list.user_application_list_id</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, Long> USER_APPLICATION_LIST_ID = createField(DSL.name("user_application_list_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.application_kind</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> APPLICATION_KIND = createField(DSL.name("application_kind"), SQLDataType.VARCHAR(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.user_login</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> USER_LOGIN = createField(DSL.name("user_login"), SQLDataType.VARCHAR(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.user_password</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> USER_PASSWORD = createField(DSL.name("user_password"), SQLDataType.VARCHAR(100), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.secondname</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> SECONDNAME = createField(DSL.name("secondname"), SQLDataType.VARCHAR(1000).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.firstname</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> FIRSTNAME = createField(DSL.name("firstname"), SQLDataType.VARCHAR(1000).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.middlename</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> MIDDLENAME = createField(DSL.name("middlename"), SQLDataType.VARCHAR(1000), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.phone</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(20), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.ip_address</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> IP_ADDRESS = createField(DSL.name("ip_address"), SQLDataType.VARCHAR(1000), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.start_date</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, Timestamp> START_DATE = createField(DSL.name("start_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.close_date</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, Timestamp> CLOSE_DATE = createField(DSL.name("close_date"), SQLDataType.TIMESTAMP(0), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.user_status</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> USER_STATUS = createField(DSL.name("user_status"), SQLDataType.VARCHAR(50), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.application_status</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> APPLICATION_STATUS = createField(DSL.name("application_status"), SQLDataType.VARCHAR(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.comment</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> COMMENT = createField(DSL.name("comment"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.job_position_id</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, Long> JOB_POSITION_ID = createField(DSL.name("job_position_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.user_role_id</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, Long> USER_ROLE_ID = createField(DSL.name("user_role_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.recruitment_id</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.sex</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> SEX = createField(DSL.name("sex"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.birth_date</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, Date> BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.snils</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> SNILS = createField(DSL.name("snils"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.job_position</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> JOB_POSITION = createField(DSL.name("job_position"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>public.user_application_list.ip_address_additional</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> IP_ADDRESS_ADDITIONAL = createField(DSL.name("ip_address_additional"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.number_app</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, Long> NUMBER_APP = createField(DSL.name("number_app"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.user_application_list.edit_comment</code>.
|
||||
*/
|
||||
public final TableField<UserApplicationListRecord, String> EDIT_COMMENT = createField(DSL.name("edit_comment"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
private UserApplicationList(Name alias, Table<UserApplicationListRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserApplicationList(Name alias, Table<UserApplicationListRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.user_application_list</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserApplicationList(String alias) {
|
||||
this(DSL.name(alias), USER_APPLICATION_LIST);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.user_application_list</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserApplicationList(Name alias) {
|
||||
this(alias, USER_APPLICATION_LIST);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>public.user_application_list</code> table reference
|
||||
*/
|
||||
public UserApplicationList() {
|
||||
this(DSL.name("user_application_list"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserApplicationList(Table<O> path, ForeignKey<O, UserApplicationListRecord> childPath, InverseForeignKey<O, UserApplicationListRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_APPLICATION_LIST);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserApplicationListPath extends UserApplicationList implements Path<UserApplicationListRecord> {
|
||||
public <O extends Record> UserApplicationListPath(Table<O> path, ForeignKey<O, UserApplicationListRecord> childPath, InverseForeignKey<O, UserApplicationListRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserApplicationListPath(Name alias, Table<UserApplicationListRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserApplicationListPath as(String alias) {
|
||||
return new UserApplicationListPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserApplicationListPath as(Name alias) {
|
||||
return new UserApplicationListPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserApplicationListPath as(Table<?> alias) {
|
||||
return new UserApplicationListPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Public.PUBLIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<UserApplicationListRecord, Long> getIdentity() {
|
||||
return (Identity<UserApplicationListRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserApplicationListRecord> getPrimaryKey() {
|
||||
return Keys.PK_USER_APPLICATION_LIST;
|
||||
}
|
||||
|
||||
private transient LinkUserApplicationUserGroupPath _linkUserApplicationUserGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>public.link_user_application_user_group</code> table
|
||||
*/
|
||||
public LinkUserApplicationUserGroupPath linkUserApplicationUserGroup() {
|
||||
if (_linkUserApplicationUserGroup == null)
|
||||
_linkUserApplicationUserGroup = new LinkUserApplicationUserGroupPath(this, null, Keys.LINK_USER_APPLICATION_USER_GROUP__FK_USER_APPLICATION_LIST.getInverseKey());
|
||||
|
||||
return _linkUserApplicationUserGroup;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_group</code> table
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
return linkUserApplicationUserGroup().userGroup();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserApplicationList as(String alias) {
|
||||
return new UserApplicationList(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserApplicationList as(Name alias) {
|
||||
return new UserApplicationList(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserApplicationList as(Table<?> alias) {
|
||||
return new UserApplicationList(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationList rename(String name) {
|
||||
return new UserApplicationList(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationList rename(Name name) {
|
||||
return new UserApplicationList(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationList rename(Table<?> name) {
|
||||
return new UserApplicationList(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationList where(Condition condition) {
|
||||
return new UserApplicationList(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationList where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationList where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationList where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserApplicationList where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserApplicationList where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserApplicationList where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserApplicationList where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationList whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserApplicationList whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,126 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.JobPosition;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class JobPositionRecord extends UpdatableRecordImpl<JobPositionRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>public.job_position.job_position_id</code>.
|
||||
*/
|
||||
public void setJobPositionId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.job_position.job_position_id</code>.
|
||||
*/
|
||||
public Long getJobPositionId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.job_position.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.job_position.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.job_position.code</code>.
|
||||
*/
|
||||
public void setCode(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.job_position.code</code>.
|
||||
*/
|
||||
public String getCode() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.job_position.start_date</code>.
|
||||
*/
|
||||
public void setStartDate(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.job_position.start_date</code>.
|
||||
*/
|
||||
public Timestamp getStartDate() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.job_position.close_date</code>.
|
||||
*/
|
||||
public void setCloseDate(Timestamp value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.job_position.close_date</code>.
|
||||
*/
|
||||
public Timestamp getCloseDate() {
|
||||
return (Timestamp) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached JobPositionRecord
|
||||
*/
|
||||
public JobPositionRecord() {
|
||||
super(JobPosition.JOB_POSITION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised JobPositionRecord
|
||||
*/
|
||||
public JobPositionRecord(Long jobPositionId, String name, String code, Timestamp startDate, Timestamp closeDate) {
|
||||
super(JobPosition.JOB_POSITION);
|
||||
|
||||
setJobPositionId(jobPositionId);
|
||||
setName(name);
|
||||
setCode(code);
|
||||
setStartDate(startDate);
|
||||
setCloseDate(closeDate);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,117 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUserGroup;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserApplicationUserGroupRecord extends UpdatableRecordImpl<LinkUserApplicationUserGroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>public.link_user_application_user_group.link_user_application_user_group_id</code>.
|
||||
*/
|
||||
public void setLinkUserApplicationUserGroupId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>public.link_user_application_user_group.link_user_application_user_group_id</code>.
|
||||
*/
|
||||
public Long getLinkUserApplicationUserGroupId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>public.link_user_application_user_group.user_application_list_id</code>.
|
||||
*/
|
||||
public void setUserApplicationListId(Long value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>public.link_user_application_user_group.user_application_list_id</code>.
|
||||
*/
|
||||
public Long getUserApplicationListId() {
|
||||
return (Long) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>public.link_user_application_user_group.user_group_id</code>.
|
||||
*/
|
||||
public void setUserGroupId(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>public.link_user_application_user_group.user_group_id</code>.
|
||||
*/
|
||||
public String getUserGroupId() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.link_user_application_user_group.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.link_user_application_user_group.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached LinkUserApplicationUserGroupRecord
|
||||
*/
|
||||
public LinkUserApplicationUserGroupRecord() {
|
||||
super(LinkUserApplicationUserGroup.LINK_USER_APPLICATION_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised LinkUserApplicationUserGroupRecord
|
||||
*/
|
||||
public LinkUserApplicationUserGroupRecord(Long linkUserApplicationUserGroupId, Long userApplicationListId, String userGroupId, Timestamp created) {
|
||||
super(LinkUserApplicationUserGroup.LINK_USER_APPLICATION_USER_GROUP);
|
||||
|
||||
setLinkUserApplicationUserGroupId(linkUserApplicationUserGroupId);
|
||||
setUserApplicationListId(userApplicationListId);
|
||||
setUserGroupId(userGroupId);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,616 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Recruitment;
|
||||
|
||||
|
||||
/**
|
||||
* Военный комиссариат
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class RecruitmentRecord extends UpdatableRecordImpl<RecruitmentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.id</code>. Идентификатор ВК
|
||||
*/
|
||||
public void setId(UUID value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.id</code>. Идентификатор ВК
|
||||
*/
|
||||
public UUID getId() {
|
||||
return (UUID) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.idm_id</code>. Идентификатор
|
||||
* организации
|
||||
*/
|
||||
public void setIdmId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.idm_id</code>. Идентификатор
|
||||
* организации
|
||||
*/
|
||||
public String getIdmId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.parent_id</code>. Идентификатор
|
||||
* вышестоящей организации
|
||||
*/
|
||||
public void setParentId(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.parent_id</code>. Идентификатор
|
||||
* вышестоящей организации
|
||||
*/
|
||||
public String getParentId() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.version</code>. Версия записи
|
||||
*/
|
||||
public void setVersion(Integer value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.version</code>. Версия записи
|
||||
*/
|
||||
public Integer getVersion() {
|
||||
return (Integer) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.created_at</code>. Дата создания
|
||||
*/
|
||||
public void setCreatedAt(Timestamp value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.created_at</code>. Дата создания
|
||||
*/
|
||||
public Timestamp getCreatedAt() {
|
||||
return (Timestamp) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.updated_at</code>. Дата обновления
|
||||
*/
|
||||
public void setUpdatedAt(Timestamp value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.updated_at</code>. Дата обновления
|
||||
*/
|
||||
public Timestamp getUpdatedAt() {
|
||||
return (Timestamp) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.schema</code>. Схема
|
||||
*/
|
||||
public void setSchema(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.schema</code>. Схема
|
||||
*/
|
||||
public String getSchema() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.military_code</code>. Код организации
|
||||
*/
|
||||
public void setMilitaryCode(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.military_code</code>. Код организации
|
||||
*/
|
||||
public String getMilitaryCode() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.shortname</code>. Укороченное
|
||||
* наименование организации
|
||||
*/
|
||||
public void setShortname(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.shortname</code>. Укороченное
|
||||
* наименование организации
|
||||
*/
|
||||
public String getShortname() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.fullname</code>. Полное наименование
|
||||
* организации
|
||||
*/
|
||||
public void setFullname(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.fullname</code>. Полное наименование
|
||||
* организации
|
||||
*/
|
||||
public String getFullname() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.dns</code>. ДНС организации
|
||||
*/
|
||||
public void setDns(String value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.dns</code>. ДНС организации
|
||||
*/
|
||||
public String getDns() {
|
||||
return (String) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.email</code>. Е-mail организации
|
||||
*/
|
||||
public void setEmail(String value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.email</code>. Е-mail организации
|
||||
*/
|
||||
public String getEmail() {
|
||||
return (String) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.phone</code>. Телефон организации
|
||||
*/
|
||||
public void setPhone(String value) {
|
||||
set(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.phone</code>. Телефон организации
|
||||
*/
|
||||
public String getPhone() {
|
||||
return (String) get(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.address</code>. Адрес организации
|
||||
*/
|
||||
public void setAddress(String value) {
|
||||
set(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.address</code>. Адрес организации
|
||||
*/
|
||||
public String getAddress() {
|
||||
return (String) get(13);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.address_id</code>. Идентификатор
|
||||
* адреса организации
|
||||
*/
|
||||
public void setAddressId(String value) {
|
||||
set(14, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.address_id</code>. Идентификатор
|
||||
* адреса организации
|
||||
*/
|
||||
public String getAddressId() {
|
||||
return (String) get(14);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.postal_address</code>. Почтовый адрес
|
||||
* организации
|
||||
*/
|
||||
public void setPostalAddress(String value) {
|
||||
set(15, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.postal_address</code>. Почтовый адрес
|
||||
* организации
|
||||
*/
|
||||
public String getPostalAddress() {
|
||||
return (String) get(15);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.postal_address_id</code>.
|
||||
* Идентификатор почтового адреса организации
|
||||
*/
|
||||
public void setPostalAddressId(String value) {
|
||||
set(16, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.postal_address_id</code>.
|
||||
* Идентификатор почтового адреса организации
|
||||
*/
|
||||
public String getPostalAddressId() {
|
||||
return (String) get(16);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.nsi_department_id</code>.
|
||||
* Идентификатор департамента из НСИ
|
||||
*/
|
||||
public void setNsiDepartmentId(String value) {
|
||||
set(17, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.nsi_department_id</code>.
|
||||
* Идентификатор департамента из НСИ
|
||||
*/
|
||||
public String getNsiDepartmentId() {
|
||||
return (String) get(17);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.nsi_organization_id</code>.
|
||||
* Идентификатор организации из НСИ
|
||||
*/
|
||||
public void setNsiOrganizationId(String value) {
|
||||
set(18, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.nsi_organization_id</code>.
|
||||
* Идентификатор организации из НСИ
|
||||
*/
|
||||
public String getNsiOrganizationId() {
|
||||
return (String) get(18);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.oktmo</code>. ОКТМО
|
||||
*/
|
||||
public void setOktmo(String value) {
|
||||
set(19, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.oktmo</code>. ОКТМО
|
||||
*/
|
||||
public String getOktmo() {
|
||||
return (String) get(19);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.org_ogrn</code>. ОГРН организации
|
||||
*/
|
||||
public void setOrgOgrn(String value) {
|
||||
set(20, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.org_ogrn</code>. ОГРН организации
|
||||
*/
|
||||
public String getOrgOgrn() {
|
||||
return (String) get(20);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.dep_ogrn</code>. ОГРН департамента
|
||||
*/
|
||||
public void setDepOgrn(String value) {
|
||||
set(21, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.dep_ogrn</code>. ОГРН департамента
|
||||
*/
|
||||
public String getDepOgrn() {
|
||||
return (String) get(21);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.epgu_id</code>. Идентификатор ЕПГУ
|
||||
*/
|
||||
public void setEpguId(String value) {
|
||||
set(22, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.epgu_id</code>. Идентификатор ЕПГУ
|
||||
*/
|
||||
public String getEpguId() {
|
||||
return (String) get(22);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.kpp</code>. КПП
|
||||
*/
|
||||
public void setKpp(String value) {
|
||||
set(23, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.kpp</code>. КПП
|
||||
*/
|
||||
public String getKpp() {
|
||||
return (String) get(23);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.inn</code>. ИНН
|
||||
*/
|
||||
public void setInn(String value) {
|
||||
set(24, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.inn</code>. ИНН
|
||||
*/
|
||||
public String getInn() {
|
||||
return (String) get(24);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.okato</code>. ОКАТО
|
||||
*/
|
||||
public void setOkato(String value) {
|
||||
set(25, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.okato</code>. ОКАТО
|
||||
*/
|
||||
public String getOkato() {
|
||||
return (String) get(25);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.division_type</code>. Тип дивизиона
|
||||
*/
|
||||
public void setDivisionType(String value) {
|
||||
set(26, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.division_type</code>. Тип дивизиона
|
||||
*/
|
||||
public String getDivisionType() {
|
||||
return (String) get(26);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.tns_department_id</code>.
|
||||
* Идентификатор департамента из ТНС
|
||||
*/
|
||||
public void setTnsDepartmentId(String value) {
|
||||
set(27, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.tns_department_id</code>.
|
||||
* Идентификатор департамента из ТНС
|
||||
*/
|
||||
public String getTnsDepartmentId() {
|
||||
return (String) get(27);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.enabled</code>. Признак актуальности
|
||||
*/
|
||||
public void setEnabled(Boolean value) {
|
||||
set(28, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.enabled</code>. Признак актуальности
|
||||
*/
|
||||
public Boolean getEnabled() {
|
||||
return (Boolean) get(28);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.timezone</code>. Часовой пояс
|
||||
*/
|
||||
public void setTimezone(String value) {
|
||||
set(29, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.timezone</code>. Часовой пояс
|
||||
*/
|
||||
public String getTimezone() {
|
||||
return (String) get(29);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.reports_enabled</code>. Признак
|
||||
* актуальности для отчета
|
||||
*/
|
||||
public void setReportsEnabled(Boolean value) {
|
||||
set(30, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.reports_enabled</code>. Признак
|
||||
* актуальности для отчета
|
||||
*/
|
||||
public Boolean getReportsEnabled() {
|
||||
return (Boolean) get(30);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.region_id</code>. Идентификатор
|
||||
* региона
|
||||
*/
|
||||
public void setRegionId(String value) {
|
||||
set(31, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.region_id</code>. Идентификатор
|
||||
* региона
|
||||
*/
|
||||
public String getRegionId() {
|
||||
return (String) get(31);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.subpoena_series_code</code>. Серия
|
||||
*/
|
||||
public void setSubpoenaSeriesCode(String value) {
|
||||
set(32, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.subpoena_series_code</code>. Серия
|
||||
*/
|
||||
public String getSubpoenaSeriesCode() {
|
||||
return (String) get(32);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.hidden</code>. Признак скрытого
|
||||
*/
|
||||
public void setHidden(Boolean value) {
|
||||
set(33, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.hidden</code>. Признак скрытого
|
||||
*/
|
||||
public Boolean getHidden() {
|
||||
return (Boolean) get(33);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.region_code</code>.
|
||||
*/
|
||||
public void setRegionCode(String value) {
|
||||
set(34, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.region_code</code>.
|
||||
*/
|
||||
public String getRegionCode() {
|
||||
return (String) get(34);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment.ts</code>.
|
||||
*/
|
||||
public void setTs(Timestamp value) {
|
||||
set(35, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment.ts</code>.
|
||||
*/
|
||||
public Timestamp getTs() {
|
||||
return (Timestamp) get(35);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<UUID> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached RecruitmentRecord
|
||||
*/
|
||||
public RecruitmentRecord() {
|
||||
super(Recruitment.RECRUITMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised RecruitmentRecord
|
||||
*/
|
||||
public RecruitmentRecord(UUID id, String idmId, String parentId, Integer version, Timestamp createdAt, Timestamp updatedAt, String schema, String militaryCode, String shortname, String fullname, String dns, String email, String phone, String address, String addressId, String postalAddress, String postalAddressId, String nsiDepartmentId, String nsiOrganizationId, String oktmo, String orgOgrn, String depOgrn, String epguId, String kpp, String inn, String okato, String divisionType, String tnsDepartmentId, Boolean enabled, String timezone, Boolean reportsEnabled, String regionId, String subpoenaSeriesCode, Boolean hidden, String regionCode, Timestamp ts) {
|
||||
super(Recruitment.RECRUITMENT);
|
||||
|
||||
setId(id);
|
||||
setIdmId(idmId);
|
||||
setParentId(parentId);
|
||||
setVersion(version);
|
||||
setCreatedAt(createdAt);
|
||||
setUpdatedAt(updatedAt);
|
||||
setSchema(schema);
|
||||
setMilitaryCode(militaryCode);
|
||||
setShortname(shortname);
|
||||
setFullname(fullname);
|
||||
setDns(dns);
|
||||
setEmail(email);
|
||||
setPhone(phone);
|
||||
setAddress(address);
|
||||
setAddressId(addressId);
|
||||
setPostalAddress(postalAddress);
|
||||
setPostalAddressId(postalAddressId);
|
||||
setNsiDepartmentId(nsiDepartmentId);
|
||||
setNsiOrganizationId(nsiOrganizationId);
|
||||
setOktmo(oktmo);
|
||||
setOrgOgrn(orgOgrn);
|
||||
setDepOgrn(depOgrn);
|
||||
setEpguId(epguId);
|
||||
setKpp(kpp);
|
||||
setInn(inn);
|
||||
setOkato(okato);
|
||||
setDivisionType(divisionType);
|
||||
setTnsDepartmentId(tnsDepartmentId);
|
||||
setEnabled(enabled);
|
||||
setTimezone(timezone);
|
||||
setReportsEnabled(reportsEnabled);
|
||||
setRegionId(regionId);
|
||||
setSubpoenaSeriesCode(subpoenaSeriesCode);
|
||||
setHidden(hidden);
|
||||
setRegionCode(regionCode);
|
||||
setTs(ts);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,113 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables.records;
|
||||
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationDocument;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserApplicationDocumentRecord extends UpdatableRecordImpl<UserApplicationDocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>public.user_application_document.user_application_document_id</code>.
|
||||
*/
|
||||
public void setUserApplicationDocumentId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>public.user_application_document.user_application_document_id</code>.
|
||||
*/
|
||||
public Long getUserApplicationDocumentId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_document.file_name</code>.
|
||||
*/
|
||||
public void setFileName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_document.file_name</code>.
|
||||
*/
|
||||
public String getFileName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_document.file</code>.
|
||||
*/
|
||||
public void setFile(byte[] value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_document.file</code>.
|
||||
*/
|
||||
public byte[] getFile() {
|
||||
return (byte[]) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>public.user_application_document.user_application_list_id</code>.
|
||||
*/
|
||||
public void setUserApplicationListId(Long value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>public.user_application_document.user_application_list_id</code>.
|
||||
*/
|
||||
public Long getUserApplicationListId() {
|
||||
return (Long) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserApplicationDocumentRecord
|
||||
*/
|
||||
public UserApplicationDocumentRecord() {
|
||||
super(UserApplicationDocument.USER_APPLICATION_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserApplicationDocumentRecord
|
||||
*/
|
||||
public UserApplicationDocumentRecord(Long userApplicationDocumentId, String fileName, byte[] file, Long userApplicationListId) {
|
||||
super(UserApplicationDocument.USER_APPLICATION_DOCUMENT);
|
||||
|
||||
setUserApplicationDocumentId(userApplicationDocumentId);
|
||||
setFileName(fileName);
|
||||
setFile(file);
|
||||
setUserApplicationListId(userApplicationListId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,432 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables.records;
|
||||
|
||||
|
||||
import java.sql.Date;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationList;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserApplicationListRecord extends UpdatableRecordImpl<UserApplicationListRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>public.user_application_list.user_application_list_id</code>.
|
||||
*/
|
||||
public void setUserApplicationListId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>public.user_application_list.user_application_list_id</code>.
|
||||
*/
|
||||
public Long getUserApplicationListId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.application_kind</code>.
|
||||
*/
|
||||
public void setApplicationKind(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.application_kind</code>.
|
||||
*/
|
||||
public String getApplicationKind() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.user_login</code>.
|
||||
*/
|
||||
public void setUserLogin(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.user_login</code>.
|
||||
*/
|
||||
public String getUserLogin() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.user_password</code>.
|
||||
*/
|
||||
public void setUserPassword(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.user_password</code>.
|
||||
*/
|
||||
public String getUserPassword() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.secondname</code>.
|
||||
*/
|
||||
public void setSecondname(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.secondname</code>.
|
||||
*/
|
||||
public String getSecondname() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.firstname</code>.
|
||||
*/
|
||||
public void setFirstname(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.firstname</code>.
|
||||
*/
|
||||
public String getFirstname() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.middlename</code>.
|
||||
*/
|
||||
public void setMiddlename(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.middlename</code>.
|
||||
*/
|
||||
public String getMiddlename() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.phone</code>.
|
||||
*/
|
||||
public void setPhone(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.phone</code>.
|
||||
*/
|
||||
public String getPhone() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.ip_address</code>.
|
||||
*/
|
||||
public void setIpAddress(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.ip_address</code>.
|
||||
*/
|
||||
public String getIpAddress() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.start_date</code>.
|
||||
*/
|
||||
public void setStartDate(Timestamp value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.start_date</code>.
|
||||
*/
|
||||
public Timestamp getStartDate() {
|
||||
return (Timestamp) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.close_date</code>.
|
||||
*/
|
||||
public void setCloseDate(Timestamp value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.close_date</code>.
|
||||
*/
|
||||
public Timestamp getCloseDate() {
|
||||
return (Timestamp) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.user_status</code>.
|
||||
*/
|
||||
public void setUserStatus(String value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.user_status</code>.
|
||||
*/
|
||||
public String getUserStatus() {
|
||||
return (String) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.application_status</code>.
|
||||
*/
|
||||
public void setApplicationStatus(String value) {
|
||||
set(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.application_status</code>.
|
||||
*/
|
||||
public String getApplicationStatus() {
|
||||
return (String) get(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.comment</code>.
|
||||
*/
|
||||
public void setComment(String value) {
|
||||
set(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.comment</code>.
|
||||
*/
|
||||
public String getComment() {
|
||||
return (String) get(13);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.job_position_id</code>.
|
||||
*/
|
||||
public void setJobPositionId(Long value) {
|
||||
set(14, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.job_position_id</code>.
|
||||
*/
|
||||
public Long getJobPositionId() {
|
||||
return (Long) get(14);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.user_role_id</code>.
|
||||
*/
|
||||
public void setUserRoleId(Long value) {
|
||||
set(15, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.user_role_id</code>.
|
||||
*/
|
||||
public Long getUserRoleId() {
|
||||
return (Long) get(15);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.recruitment_id</code>.
|
||||
*/
|
||||
public void setRecruitmentId(UUID value) {
|
||||
set(16, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.recruitment_id</code>.
|
||||
*/
|
||||
public UUID getRecruitmentId() {
|
||||
return (UUID) get(16);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(17, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(17);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.sex</code>.
|
||||
*/
|
||||
public void setSex(String value) {
|
||||
set(18, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.sex</code>.
|
||||
*/
|
||||
public String getSex() {
|
||||
return (String) get(18);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.birth_date</code>.
|
||||
*/
|
||||
public void setBirthDate(Date value) {
|
||||
set(19, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.birth_date</code>.
|
||||
*/
|
||||
public Date getBirthDate() {
|
||||
return (Date) get(19);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.snils</code>.
|
||||
*/
|
||||
public void setSnils(String value) {
|
||||
set(20, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.snils</code>.
|
||||
*/
|
||||
public String getSnils() {
|
||||
return (String) get(20);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.job_position</code>.
|
||||
*/
|
||||
public void setJobPosition(String value) {
|
||||
set(21, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.job_position</code>.
|
||||
*/
|
||||
public String getJobPosition() {
|
||||
return (String) get(21);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>public.user_application_list.ip_address_additional</code>.
|
||||
*/
|
||||
public void setIpAddressAdditional(String value) {
|
||||
set(22, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>public.user_application_list.ip_address_additional</code>.
|
||||
*/
|
||||
public String getIpAddressAdditional() {
|
||||
return (String) get(22);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.number_app</code>.
|
||||
*/
|
||||
public void setNumberApp(Long value) {
|
||||
set(23, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.number_app</code>.
|
||||
*/
|
||||
public Long getNumberApp() {
|
||||
return (Long) get(23);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.user_application_list.edit_comment</code>.
|
||||
*/
|
||||
public void setEditComment(String value) {
|
||||
set(24, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.user_application_list.edit_comment</code>.
|
||||
*/
|
||||
public String getEditComment() {
|
||||
return (String) get(24);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserApplicationListRecord
|
||||
*/
|
||||
public UserApplicationListRecord() {
|
||||
super(UserApplicationList.USER_APPLICATION_LIST);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserApplicationListRecord
|
||||
*/
|
||||
public UserApplicationListRecord(Long userApplicationListId, String applicationKind, String userLogin, String userPassword, String secondname, String firstname, String middlename, String phone, String ipAddress, Timestamp startDate, Timestamp closeDate, String userStatus, String applicationStatus, String comment, Long jobPositionId, Long userRoleId, UUID recruitmentId, String userAccountId, String sex, Date birthDate, String snils, String jobPosition, String ipAddressAdditional, Long numberApp, String editComment) {
|
||||
super(UserApplicationList.USER_APPLICATION_LIST);
|
||||
|
||||
setUserApplicationListId(userApplicationListId);
|
||||
setApplicationKind(applicationKind);
|
||||
setUserLogin(userLogin);
|
||||
setUserPassword(userPassword);
|
||||
setSecondname(secondname);
|
||||
setFirstname(firstname);
|
||||
setMiddlename(middlename);
|
||||
setPhone(phone);
|
||||
setIpAddress(ipAddress);
|
||||
setStartDate(startDate);
|
||||
setCloseDate(closeDate);
|
||||
setUserStatus(userStatus);
|
||||
setApplicationStatus(applicationStatus);
|
||||
setComment(comment);
|
||||
setJobPositionId(jobPositionId);
|
||||
setUserRoleId(userRoleId);
|
||||
setRecruitmentId(recruitmentId);
|
||||
setUserAccountId(userAccountId);
|
||||
setSex(sex);
|
||||
setBirthDate(birthDate);
|
||||
setSnils(snils);
|
||||
setJobPosition(jobPosition);
|
||||
setIpAddressAdditional(ipAddressAdditional);
|
||||
setNumberApp(numberApp);
|
||||
setEditComment(editComment);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,104 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security;
|
||||
|
||||
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.Internal;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.AccessLevel;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.Authority;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.Databasechangeloglock;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.EsiaUser;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserAccountUserGroup;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserGroupUserRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserRoleAuthority;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.OrgUnit;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.OrgUnitAdditionalInfo;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.SimpleCredentials;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccount;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountAdditionInfo;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountRefreshToken;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountVerification;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserGroup;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.AccessLevelRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.AuthorityRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.DatabasechangeloglockRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.EsiaUserRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.LinkUserAccountUserGroupRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.LinkUserGroupUserRoleRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.LinkUserRoleAuthorityRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.OrgUnitAdditionalInfoRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.OrgUnitRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.SimpleCredentialsRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.UserAccountAdditionInfoRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.UserAccountRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.UserAccountRefreshTokenRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.UserAccountVerificationRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.UserGroupRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.UserRoleRecord;
|
||||
|
||||
|
||||
/**
|
||||
* A class modelling foreign key relationships and constraints of tables in
|
||||
* security.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Keys {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final UniqueKey<AccessLevelRecord> PK_ACCESS_LEVEL = Internal.createUniqueKey(AccessLevel.ACCESS_LEVEL, DSL.name("pk_access_level"), new TableField[] { AccessLevel.ACCESS_LEVEL.ACCESS_LEVEL_ID }, true);
|
||||
public static final UniqueKey<AccessLevelRecord> UNI_ACCESS_LEVEL = Internal.createUniqueKey(AccessLevel.ACCESS_LEVEL, DSL.name("uni_access_level"), new TableField[] { AccessLevel.ACCESS_LEVEL.LEVEL }, true);
|
||||
public static final UniqueKey<AuthorityRecord> PK_AUTHORITY = Internal.createUniqueKey(Authority.AUTHORITY, DSL.name("pk_authority"), new TableField[] { Authority.AUTHORITY.AUTHORITY_ID }, true);
|
||||
public static final UniqueKey<AuthorityRecord> UNI_AUTHORITY_NAME = Internal.createUniqueKey(Authority.AUTHORITY, DSL.name("uni_authority_name"), new TableField[] { Authority.AUTHORITY.NAME }, true);
|
||||
public static final UniqueKey<DatabasechangeloglockRecord> DATABASECHANGELOGLOCK_PKEY = Internal.createUniqueKey(Databasechangeloglock.DATABASECHANGELOGLOCK, DSL.name("databasechangeloglock_pkey"), new TableField[] { Databasechangeloglock.DATABASECHANGELOGLOCK.ID }, true);
|
||||
public static final UniqueKey<EsiaUserRecord> PK_ESIA_USER = Internal.createUniqueKey(EsiaUser.ESIA_USER, DSL.name("pk_esia_user"), new TableField[] { EsiaUser.ESIA_USER.ESIA_USER_ID }, true);
|
||||
public static final UniqueKey<EsiaUserRecord> UNI_ESIA_USER1 = Internal.createUniqueKey(EsiaUser.ESIA_USER, DSL.name("uni_esia_user1"), new TableField[] { EsiaUser.ESIA_USER.USER_ACCOUNT_ID }, true);
|
||||
public static final UniqueKey<EsiaUserRecord> UNI_ESIA_USER2 = Internal.createUniqueKey(EsiaUser.ESIA_USER, DSL.name("uni_esia_user2"), new TableField[] { EsiaUser.ESIA_USER.PERSON_CONTACT_ID }, true);
|
||||
public static final UniqueKey<LinkUserAccountUserGroupRecord> PK_USER_GROUP = Internal.createUniqueKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("pk_user_group"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.LINK_USER_ACCOUNT_USER_GROUP_ID }, true);
|
||||
public static final UniqueKey<LinkUserAccountUserGroupRecord> UNI_USER_GROUP = Internal.createUniqueKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("uni_user_group"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_ACCOUNT_ID, LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_GROUP_ID }, true);
|
||||
public static final UniqueKey<LinkUserGroupUserRoleRecord> PK_GROUP_ROLE = Internal.createUniqueKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("pk_group_role"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.LINK_USER_GROUP_USER_ROLE_ID }, true);
|
||||
public static final UniqueKey<LinkUserGroupUserRoleRecord> UNI_GROUP_ROLE = Internal.createUniqueKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("uni_group_role"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_GROUP_ID, LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_ROLE_ID }, true);
|
||||
public static final UniqueKey<LinkUserRoleAuthorityRecord> PK_ROLE_AUTHORITY = Internal.createUniqueKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("pk_role_authority"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.USER_ROLE_AUTHORITY_ID }, true);
|
||||
public static final UniqueKey<LinkUserRoleAuthorityRecord> UNI_ROLE_AUTHORITY = Internal.createUniqueKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("uni_role_authority"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.USER_ROLE_ID, LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.AUTHORITY_ID }, true);
|
||||
public static final UniqueKey<OrgUnitRecord> ORG_UNIT_CODE_KEY = Internal.createUniqueKey(OrgUnit.ORG_UNIT, DSL.name("org_unit_code_key"), new TableField[] { OrgUnit.ORG_UNIT.CODE }, true);
|
||||
public static final UniqueKey<OrgUnitRecord> PK_ORG_UNIT = Internal.createUniqueKey(OrgUnit.ORG_UNIT, DSL.name("pk_org_unit"), new TableField[] { OrgUnit.ORG_UNIT.ID }, true);
|
||||
public static final UniqueKey<OrgUnitAdditionalInfoRecord> PK_ORG_UNIT_ADDITIONAL_INFO = Internal.createUniqueKey(OrgUnitAdditionalInfo.ORG_UNIT_ADDITIONAL_INFO, DSL.name("pk_org_unit_additional_info"), new TableField[] { OrgUnitAdditionalInfo.ORG_UNIT_ADDITIONAL_INFO.ID }, true);
|
||||
public static final UniqueKey<SimpleCredentialsRecord> PK_DOMESTIC_USER = Internal.createUniqueKey(SimpleCredentials.SIMPLE_CREDENTIALS, DSL.name("pk_domestic_user"), new TableField[] { SimpleCredentials.SIMPLE_CREDENTIALS.USER_ACCOUNT_ID }, true);
|
||||
public static final UniqueKey<UserAccountRecord> PK_USER = Internal.createUniqueKey(UserAccount.USER_ACCOUNT, DSL.name("pk_user"), new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final UniqueKey<UserAccountRecord> USER_ACCOUNT_USERNAME_UNIQUE = Internal.createUniqueKey(UserAccount.USER_ACCOUNT, DSL.name("user_account_username_unique"), new TableField[] { UserAccount.USER_ACCOUNT.USERNAME }, true);
|
||||
public static final UniqueKey<UserAccountAdditionInfoRecord> PK_USER_ACCOUNT_ADDITION_INFO = Internal.createUniqueKey(UserAccountAdditionInfo.USER_ACCOUNT_ADDITION_INFO, DSL.name("pk_user_account_addition_info"), new TableField[] { UserAccountAdditionInfo.USER_ACCOUNT_ADDITION_INFO.USER_ACCOUNT_ADDITION_INFO_ID }, true);
|
||||
public static final UniqueKey<UserAccountRefreshTokenRecord> PK_USER_ACCOUNT_REFRESH_TOKEN = Internal.createUniqueKey(UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN, DSL.name("pk_user_account_refresh_token"), new TableField[] { UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN.USER_ACCOUNT_REFRESH_TOKEN_ID }, true);
|
||||
public static final UniqueKey<UserAccountVerificationRecord> PK_USER_ACCOUNT_VERIFICATION = Internal.createUniqueKey(UserAccountVerification.USER_ACCOUNT_VERIFICATION, DSL.name("pk_user_account_verification"), new TableField[] { UserAccountVerification.USER_ACCOUNT_VERIFICATION.USER_ACCOUNT_ID }, true);
|
||||
public static final UniqueKey<UserGroupRecord> PK_GROUP = Internal.createUniqueKey(UserGroup.USER_GROUP, DSL.name("pk_group"), new TableField[] { UserGroup.USER_GROUP.USER_GROUP_ID }, true);
|
||||
public static final UniqueKey<UserGroupRecord> UNI_GROUP_NAME = Internal.createUniqueKey(UserGroup.USER_GROUP, DSL.name("uni_group_name"), new TableField[] { UserGroup.USER_GROUP.NAME }, true);
|
||||
public static final UniqueKey<UserRoleRecord> PK_ROLE = Internal.createUniqueKey(UserRole.USER_ROLE, DSL.name("pk_role"), new TableField[] { UserRole.USER_ROLE.USER_ROLE_ID }, true);
|
||||
public static final UniqueKey<UserRoleRecord> UNI_ROLE_NAME = Internal.createUniqueKey(UserRole.USER_ROLE, DSL.name("uni_role_name"), new TableField[] { UserRole.USER_ROLE.NAME }, true);
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FOREIGN KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final ForeignKey<EsiaUserRecord, UserAccountRecord> ESIA_USER__FK_ESIA_USER1 = Internal.createForeignKey(EsiaUser.ESIA_USER, DSL.name("fk_esia_user1"), new TableField[] { EsiaUser.ESIA_USER.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final ForeignKey<LinkUserAccountUserGroupRecord, UserGroupRecord> LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP = Internal.createForeignKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("fk_user_group_group"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_GROUP_ID }, Keys.PK_GROUP, new TableField[] { UserGroup.USER_GROUP.USER_GROUP_ID }, true);
|
||||
public static final ForeignKey<LinkUserAccountUserGroupRecord, UserAccountRecord> LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER = Internal.createForeignKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("fk_user_group_user"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final ForeignKey<LinkUserGroupUserRoleRecord, UserGroupRecord> LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP = Internal.createForeignKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("fk_group_role_group"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_GROUP_ID }, Keys.PK_GROUP, new TableField[] { UserGroup.USER_GROUP.USER_GROUP_ID }, true);
|
||||
public static final ForeignKey<LinkUserGroupUserRoleRecord, UserRoleRecord> LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE = Internal.createForeignKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("fk_group_role_role"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_ROLE_ID }, Keys.PK_ROLE, new TableField[] { UserRole.USER_ROLE.USER_ROLE_ID }, true);
|
||||
public static final ForeignKey<LinkUserRoleAuthorityRecord, AuthorityRecord> LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY = Internal.createForeignKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("fk_role_authority_authority"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.AUTHORITY_ID }, Keys.PK_AUTHORITY, new TableField[] { Authority.AUTHORITY.AUTHORITY_ID }, true);
|
||||
public static final ForeignKey<LinkUserRoleAuthorityRecord, UserRoleRecord> LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE = Internal.createForeignKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("fk_role_authority_role"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.USER_ROLE_ID }, Keys.PK_ROLE, new TableField[] { UserRole.USER_ROLE.USER_ROLE_ID }, true);
|
||||
public static final ForeignKey<OrgUnitRecord, OrgUnitRecord> ORG_UNIT__FK_ORG_UNIT_PARENT_ID = Internal.createForeignKey(OrgUnit.ORG_UNIT, DSL.name("fk_org_unit_parent_id"), new TableField[] { OrgUnit.ORG_UNIT.PARENT_ID }, Keys.PK_ORG_UNIT, new TableField[] { OrgUnit.ORG_UNIT.ID }, true);
|
||||
public static final ForeignKey<SimpleCredentialsRecord, UserAccountRecord> SIMPLE_CREDENTIALS__FK_DOMESTIC_USER1 = Internal.createForeignKey(SimpleCredentials.SIMPLE_CREDENTIALS, DSL.name("fk_domestic_user1"), new TableField[] { SimpleCredentials.SIMPLE_CREDENTIALS.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final ForeignKey<UserAccountRecord, OrgUnitRecord> USER_ACCOUNT__FK_USER_ORG_UNIT_ID = Internal.createForeignKey(UserAccount.USER_ACCOUNT, DSL.name("fk_user_org_unit_id"), new TableField[] { UserAccount.USER_ACCOUNT.ORG_UNIT_ID }, Keys.PK_ORG_UNIT, new TableField[] { OrgUnit.ORG_UNIT.ID }, true);
|
||||
public static final ForeignKey<UserAccountAdditionInfoRecord, UserAccountRecord> USER_ACCOUNT_ADDITION_INFO__FK_USER_ACCOUNT_ID = Internal.createForeignKey(UserAccountAdditionInfo.USER_ACCOUNT_ADDITION_INFO, DSL.name("fk_user_account_id"), new TableField[] { UserAccountAdditionInfo.USER_ACCOUNT_ADDITION_INFO.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final ForeignKey<UserAccountRefreshTokenRecord, UserAccountRecord> USER_ACCOUNT_REFRESH_TOKEN__FK_USER_ACCOUNT_REFRESH_TOKEN = Internal.createForeignKey(UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN, DSL.name("fk_user_account_refresh_token"), new TableField[] { UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final ForeignKey<UserAccountVerificationRecord, UserAccountRecord> USER_ACCOUNT_VERIFICATION__FK_USER_ACCOUNT_USER_ACCOUNT_VERIFICATION = Internal.createForeignKey(UserAccountVerification.USER_ACCOUNT_VERIFICATION, DSL.name("fk_user_account_user_account_verification"), new TableField[] { UserAccountVerification.USER_ACCOUNT_VERIFICATION.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final ForeignKey<UserGroupRecord, AccessLevelRecord> USER_GROUP__FK_USER_GROUP_ACCESS_LEVEL = Internal.createForeignKey(UserGroup.USER_GROUP, DSL.name("fk_user_group_access_level"), new TableField[] { UserGroup.USER_GROUP.ACCESS_LEVEL_ID }, Keys.PK_ACCESS_LEVEL, new TableField[] { AccessLevel.ACCESS_LEVEL.ACCESS_LEVEL_ID }, true);
|
||||
}
|
||||
|
|
@ -0,0 +1,167 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security;
|
||||
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Catalog;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.impl.SchemaImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.DefaultCatalog;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.AccessLevel;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.Authority;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.Databasechangelog;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.Databasechangeloglock;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.EsiaUser;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserAccountUserGroup;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserGroupUserRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserRoleAuthority;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.OrgUnit;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.OrgUnitAdditionalInfo;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.SimpleCredentials;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccount;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountAdditionInfo;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountRefreshToken;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountVerification;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserGroup;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserRole;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Security extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security</code>
|
||||
*/
|
||||
public static final Security SECURITY = new Security();
|
||||
|
||||
/**
|
||||
* The table <code>security.access_level</code>.
|
||||
*/
|
||||
public final AccessLevel ACCESS_LEVEL = AccessLevel.ACCESS_LEVEL;
|
||||
|
||||
/**
|
||||
* The table <code>security.authority</code>.
|
||||
*/
|
||||
public final Authority AUTHORITY = Authority.AUTHORITY;
|
||||
|
||||
/**
|
||||
* The table <code>security.databasechangelog</code>.
|
||||
*/
|
||||
public final Databasechangelog DATABASECHANGELOG = Databasechangelog.DATABASECHANGELOG;
|
||||
|
||||
/**
|
||||
* The table <code>security.databasechangeloglock</code>.
|
||||
*/
|
||||
public final Databasechangeloglock DATABASECHANGELOGLOCK = Databasechangeloglock.DATABASECHANGELOGLOCK;
|
||||
|
||||
/**
|
||||
* The table <code>security.esia_user</code>.
|
||||
*/
|
||||
public final EsiaUser ESIA_USER = EsiaUser.ESIA_USER;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_account_user_group</code>.
|
||||
*/
|
||||
public final LinkUserAccountUserGroup LINK_USER_ACCOUNT_USER_GROUP = LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_group_user_role</code>.
|
||||
*/
|
||||
public final LinkUserGroupUserRole LINK_USER_GROUP_USER_ROLE = LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_role_authority</code>.
|
||||
*/
|
||||
public final LinkUserRoleAuthority LINK_USER_ROLE_AUTHORITY = LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY;
|
||||
|
||||
/**
|
||||
* The table <code>security.org_unit</code>.
|
||||
*/
|
||||
public final OrgUnit ORG_UNIT = OrgUnit.ORG_UNIT;
|
||||
|
||||
/**
|
||||
* The table <code>security.org_unit_additional_info</code>.
|
||||
*/
|
||||
public final OrgUnitAdditionalInfo ORG_UNIT_ADDITIONAL_INFO = OrgUnitAdditionalInfo.ORG_UNIT_ADDITIONAL_INFO;
|
||||
|
||||
/**
|
||||
* The table <code>security.simple_credentials</code>.
|
||||
*/
|
||||
public final SimpleCredentials SIMPLE_CREDENTIALS = SimpleCredentials.SIMPLE_CREDENTIALS;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account</code>.
|
||||
*/
|
||||
public final UserAccount USER_ACCOUNT = UserAccount.USER_ACCOUNT;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account_addition_info</code>.
|
||||
*/
|
||||
public final UserAccountAdditionInfo USER_ACCOUNT_ADDITION_INFO = UserAccountAdditionInfo.USER_ACCOUNT_ADDITION_INFO;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account_refresh_token</code>.
|
||||
*/
|
||||
public final UserAccountRefreshToken USER_ACCOUNT_REFRESH_TOKEN = UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account_verification</code>.
|
||||
*/
|
||||
public final UserAccountVerification USER_ACCOUNT_VERIFICATION = UserAccountVerification.USER_ACCOUNT_VERIFICATION;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_group</code>.
|
||||
*/
|
||||
public final UserGroup USER_GROUP = UserGroup.USER_GROUP;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_role</code>.
|
||||
*/
|
||||
public final UserRole USER_ROLE = UserRole.USER_ROLE;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private Security() {
|
||||
super("security", null);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return DefaultCatalog.DEFAULT_CATALOG;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
return Arrays.asList(
|
||||
AccessLevel.ACCESS_LEVEL,
|
||||
Authority.AUTHORITY,
|
||||
Databasechangelog.DATABASECHANGELOG,
|
||||
Databasechangeloglock.DATABASECHANGELOGLOCK,
|
||||
EsiaUser.ESIA_USER,
|
||||
LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP,
|
||||
LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE,
|
||||
LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY,
|
||||
OrgUnit.ORG_UNIT,
|
||||
OrgUnitAdditionalInfo.ORG_UNIT_ADDITIONAL_INFO,
|
||||
SimpleCredentials.SIMPLE_CREDENTIALS,
|
||||
UserAccount.USER_ACCOUNT,
|
||||
UserAccountAdditionInfo.USER_ACCOUNT_ADDITION_INFO,
|
||||
UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN,
|
||||
UserAccountVerification.USER_ACCOUNT_VERIFICATION,
|
||||
UserGroup.USER_GROUP,
|
||||
UserRole.USER_ROLE
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,116 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security;
|
||||
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.AccessLevel;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.Authority;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.Databasechangelog;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.Databasechangeloglock;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.EsiaUser;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserAccountUserGroup;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserGroupUserRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserRoleAuthority;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.OrgUnit;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.OrgUnitAdditionalInfo;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.SimpleCredentials;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccount;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountAdditionInfo;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountRefreshToken;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountVerification;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserGroup;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserRole;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all tables in security.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables {
|
||||
|
||||
/**
|
||||
* The table <code>security.access_level</code>.
|
||||
*/
|
||||
public static final AccessLevel ACCESS_LEVEL = AccessLevel.ACCESS_LEVEL;
|
||||
|
||||
/**
|
||||
* The table <code>security.authority</code>.
|
||||
*/
|
||||
public static final Authority AUTHORITY = Authority.AUTHORITY;
|
||||
|
||||
/**
|
||||
* The table <code>security.databasechangelog</code>.
|
||||
*/
|
||||
public static final Databasechangelog DATABASECHANGELOG = Databasechangelog.DATABASECHANGELOG;
|
||||
|
||||
/**
|
||||
* The table <code>security.databasechangeloglock</code>.
|
||||
*/
|
||||
public static final Databasechangeloglock DATABASECHANGELOGLOCK = Databasechangeloglock.DATABASECHANGELOGLOCK;
|
||||
|
||||
/**
|
||||
* The table <code>security.esia_user</code>.
|
||||
*/
|
||||
public static final EsiaUser ESIA_USER = EsiaUser.ESIA_USER;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_account_user_group</code>.
|
||||
*/
|
||||
public static final LinkUserAccountUserGroup LINK_USER_ACCOUNT_USER_GROUP = LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_group_user_role</code>.
|
||||
*/
|
||||
public static final LinkUserGroupUserRole LINK_USER_GROUP_USER_ROLE = LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_role_authority</code>.
|
||||
*/
|
||||
public static final LinkUserRoleAuthority LINK_USER_ROLE_AUTHORITY = LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY;
|
||||
|
||||
/**
|
||||
* The table <code>security.org_unit</code>.
|
||||
*/
|
||||
public static final OrgUnit ORG_UNIT = OrgUnit.ORG_UNIT;
|
||||
|
||||
/**
|
||||
* The table <code>security.org_unit_additional_info</code>.
|
||||
*/
|
||||
public static final OrgUnitAdditionalInfo ORG_UNIT_ADDITIONAL_INFO = OrgUnitAdditionalInfo.ORG_UNIT_ADDITIONAL_INFO;
|
||||
|
||||
/**
|
||||
* The table <code>security.simple_credentials</code>.
|
||||
*/
|
||||
public static final SimpleCredentials SIMPLE_CREDENTIALS = SimpleCredentials.SIMPLE_CREDENTIALS;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account</code>.
|
||||
*/
|
||||
public static final UserAccount USER_ACCOUNT = UserAccount.USER_ACCOUNT;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account_addition_info</code>.
|
||||
*/
|
||||
public static final UserAccountAdditionInfo USER_ACCOUNT_ADDITION_INFO = UserAccountAdditionInfo.USER_ACCOUNT_ADDITION_INFO;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account_refresh_token</code>.
|
||||
*/
|
||||
public static final UserAccountRefreshToken USER_ACCOUNT_REFRESH_TOKEN = UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account_verification</code>.
|
||||
*/
|
||||
public static final UserAccountVerification USER_ACCOUNT_VERIFICATION = UserAccountVerification.USER_ACCOUNT_VERIFICATION;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_group</code>.
|
||||
*/
|
||||
public static final UserGroup USER_GROUP = UserGroup.USER_GROUP;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_role</code>.
|
||||
*/
|
||||
public static final UserRole USER_ROLE = UserRole.USER_ROLE;
|
||||
}
|
||||
|
|
@ -0,0 +1,284 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.AccessLevelRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccessLevel extends TableImpl<AccessLevelRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.access_level</code>
|
||||
*/
|
||||
public static final AccessLevel ACCESS_LEVEL = new AccessLevel();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<AccessLevelRecord> getRecordType() {
|
||||
return AccessLevelRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.access_level.access_level_id</code>.
|
||||
*/
|
||||
public final TableField<AccessLevelRecord, String> ACCESS_LEVEL_ID = createField(DSL.name("access_level_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.access_level.level</code>.
|
||||
*/
|
||||
public final TableField<AccessLevelRecord, Short> LEVEL = createField(DSL.name("level"), SQLDataType.SMALLINT.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.access_level.description</code>.
|
||||
*/
|
||||
public final TableField<AccessLevelRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(256).nullable(false), this, "");
|
||||
|
||||
private AccessLevel(Name alias, Table<AccessLevelRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private AccessLevel(Name alias, Table<AccessLevelRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.access_level</code> table reference
|
||||
*/
|
||||
public AccessLevel(String alias) {
|
||||
this(DSL.name(alias), ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.access_level</code> table reference
|
||||
*/
|
||||
public AccessLevel(Name alias) {
|
||||
this(alias, ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.access_level</code> table reference
|
||||
*/
|
||||
public AccessLevel() {
|
||||
this(DSL.name("access_level"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> AccessLevel(Table<O> path, ForeignKey<O, AccessLevelRecord> childPath, InverseForeignKey<O, AccessLevelRecord> parentPath) {
|
||||
super(path, childPath, parentPath, ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class AccessLevelPath extends AccessLevel implements Path<AccessLevelRecord> {
|
||||
public <O extends Record> AccessLevelPath(Table<O> path, ForeignKey<O, AccessLevelRecord> childPath, InverseForeignKey<O, AccessLevelRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private AccessLevelPath(Name alias, Table<AccessLevelRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevelPath as(String alias) {
|
||||
return new AccessLevelPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevelPath as(Name alias) {
|
||||
return new AccessLevelPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevelPath as(Table<?> alias) {
|
||||
return new AccessLevelPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<AccessLevelRecord> getPrimaryKey() {
|
||||
return Keys.PK_ACCESS_LEVEL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<AccessLevelRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
private transient UserGroupPath _userGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.user_group</code> table
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
if (_userGroup == null)
|
||||
_userGroup = new UserGroupPath(this, null, Keys.USER_GROUP__FK_USER_GROUP_ACCESS_LEVEL.getInverseKey());
|
||||
|
||||
return _userGroup;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevel as(String alias) {
|
||||
return new AccessLevel(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevel as(Name alias) {
|
||||
return new AccessLevel(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevel as(Table<?> alias) {
|
||||
return new AccessLevel(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel rename(String name) {
|
||||
return new AccessLevel(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel rename(Name name) {
|
||||
return new AccessLevel(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel rename(Table<?> name) {
|
||||
return new AccessLevel(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel where(Condition condition) {
|
||||
return new AccessLevel(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccessLevel where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccessLevel where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccessLevel where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccessLevel where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,294 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserRoleAuthority.LinkUserRoleAuthorityPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserRole.UserRolePath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.AuthorityRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Authority extends TableImpl<AuthorityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.authority</code>
|
||||
*/
|
||||
public static final Authority AUTHORITY = new Authority();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<AuthorityRecord> getRecordType() {
|
||||
return AuthorityRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.authority.authority_id</code>.
|
||||
*/
|
||||
public final TableField<AuthorityRecord, String> AUTHORITY_ID = createField(DSL.name("authority_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.authority.name</code>.
|
||||
*/
|
||||
public final TableField<AuthorityRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.authority.created</code>.
|
||||
*/
|
||||
public final TableField<AuthorityRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private Authority(Name alias, Table<AuthorityRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Authority(Name alias, Table<AuthorityRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.authority</code> table reference
|
||||
*/
|
||||
public Authority(String alias) {
|
||||
this(DSL.name(alias), AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.authority</code> table reference
|
||||
*/
|
||||
public Authority(Name alias) {
|
||||
this(alias, AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.authority</code> table reference
|
||||
*/
|
||||
public Authority() {
|
||||
this(DSL.name("authority"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> Authority(Table<O> path, ForeignKey<O, AuthorityRecord> childPath, InverseForeignKey<O, AuthorityRecord> parentPath) {
|
||||
super(path, childPath, parentPath, AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class AuthorityPath extends Authority implements Path<AuthorityRecord> {
|
||||
public <O extends Record> AuthorityPath(Table<O> path, ForeignKey<O, AuthorityRecord> childPath, InverseForeignKey<O, AuthorityRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private AuthorityPath(Name alias, Table<AuthorityRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorityPath as(String alias) {
|
||||
return new AuthorityPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorityPath as(Name alias) {
|
||||
return new AuthorityPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorityPath as(Table<?> alias) {
|
||||
return new AuthorityPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<AuthorityRecord> getPrimaryKey() {
|
||||
return Keys.PK_AUTHORITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<AuthorityRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_AUTHORITY_NAME);
|
||||
}
|
||||
|
||||
private transient LinkUserRoleAuthorityPath _linkUserRoleAuthority;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_role_authority</code> table
|
||||
*/
|
||||
public LinkUserRoleAuthorityPath linkUserRoleAuthority() {
|
||||
if (_linkUserRoleAuthority == null)
|
||||
_linkUserRoleAuthority = new LinkUserRoleAuthorityPath(this, null, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY.getInverseKey());
|
||||
|
||||
return _linkUserRoleAuthority;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_role</code> table
|
||||
*/
|
||||
public UserRolePath userRole() {
|
||||
return linkUserRoleAuthority().userRole();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Authority as(String alias) {
|
||||
return new Authority(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Authority as(Name alias) {
|
||||
return new Authority(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Authority as(Table<?> alias) {
|
||||
return new Authority(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Authority rename(String name) {
|
||||
return new Authority(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Authority rename(Name name) {
|
||||
return new Authority(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Authority rename(Table<?> name) {
|
||||
return new Authority(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority where(Condition condition) {
|
||||
return new Authority(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Authority where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Authority where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Authority where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Authority where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,277 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.DatabasechangelogRecord;
|
||||
|
||||
|
||||
/**
|
||||
* 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>security.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>security.databasechangelog.id</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.databasechangelog.author</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> AUTHOR = createField(DSL.name("author"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.databasechangelog.filename</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> FILENAME = createField(DSL.name("filename"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.databasechangelog.dateexecuted</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, Timestamp> DATEEXECUTED = createField(DSL.name("dateexecuted"), SQLDataType.TIMESTAMP(0).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.databasechangelog.orderexecuted</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, Integer> ORDEREXECUTED = createField(DSL.name("orderexecuted"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.databasechangelog.exectype</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> EXECTYPE = createField(DSL.name("exectype"), SQLDataType.VARCHAR(10).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.databasechangelog.md5sum</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> MD5SUM = createField(DSL.name("md5sum"), SQLDataType.VARCHAR(35), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.databasechangelog.description</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.databasechangelog.comments</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> COMMENTS = createField(DSL.name("comments"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.databasechangelog.tag</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> TAG = createField(DSL.name("tag"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.databasechangelog.liquibase</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> LIQUIBASE = createField(DSL.name("liquibase"), SQLDataType.VARCHAR(20), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.databasechangelog.contexts</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> CONTEXTS = createField(DSL.name("contexts"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.databasechangelog.labels</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangelogRecord, String> LABELS = createField(DSL.name("labels"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.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>security.databasechangelog</code> table reference
|
||||
*/
|
||||
public Databasechangelog(String alias) {
|
||||
this(DSL.name(alias), DATABASECHANGELOG);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.databasechangelog</code> table reference
|
||||
*/
|
||||
public Databasechangelog(Name alias) {
|
||||
this(alias, DATABASECHANGELOG);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.databasechangelog</code> table reference
|
||||
*/
|
||||
public Databasechangelog() {
|
||||
this(DSL.name("databasechangelog"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@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,236 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.DatabasechangeloglockRecord;
|
||||
|
||||
|
||||
/**
|
||||
* 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>security.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>security.databasechangeloglock.id</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangeloglockRecord, Integer> ID = createField(DSL.name("id"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.databasechangeloglock.locked</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangeloglockRecord, Boolean> LOCKED = createField(DSL.name("locked"), SQLDataType.BOOLEAN.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.databasechangeloglock.lockgranted</code>.
|
||||
*/
|
||||
public final TableField<DatabasechangeloglockRecord, Timestamp> LOCKGRANTED = createField(DSL.name("lockgranted"), SQLDataType.TIMESTAMP(0), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.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>security.databasechangeloglock</code> table
|
||||
* reference
|
||||
*/
|
||||
public Databasechangeloglock(String alias) {
|
||||
this(DSL.name(alias), DATABASECHANGELOGLOCK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.databasechangeloglock</code> table
|
||||
* reference
|
||||
*/
|
||||
public Databasechangeloglock(Name alias) {
|
||||
this(alias, DATABASECHANGELOGLOCK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.databasechangeloglock</code> table reference
|
||||
*/
|
||||
public Databasechangeloglock() {
|
||||
this(DSL.name("databasechangeloglock"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@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,289 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.EsiaUserRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class EsiaUser extends TableImpl<EsiaUserRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.esia_user</code>
|
||||
*/
|
||||
public static final EsiaUser ESIA_USER = new EsiaUser();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<EsiaUserRecord> getRecordType() {
|
||||
return EsiaUserRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.esia_user.esia_user_id</code>.
|
||||
*/
|
||||
public final TableField<EsiaUserRecord, String> ESIA_USER_ID = createField(DSL.name("esia_user_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.esia_user.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<EsiaUserRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.esia_user.person_contact_id</code>.
|
||||
*/
|
||||
public final TableField<EsiaUserRecord, Long> PERSON_CONTACT_ID = createField(DSL.name("person_contact_id"), SQLDataType.BIGINT.nullable(false), this, "");
|
||||
|
||||
private EsiaUser(Name alias, Table<EsiaUserRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private EsiaUser(Name alias, Table<EsiaUserRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.esia_user</code> table reference
|
||||
*/
|
||||
public EsiaUser(String alias) {
|
||||
this(DSL.name(alias), ESIA_USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.esia_user</code> table reference
|
||||
*/
|
||||
public EsiaUser(Name alias) {
|
||||
this(alias, ESIA_USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.esia_user</code> table reference
|
||||
*/
|
||||
public EsiaUser() {
|
||||
this(DSL.name("esia_user"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> EsiaUser(Table<O> path, ForeignKey<O, EsiaUserRecord> childPath, InverseForeignKey<O, EsiaUserRecord> parentPath) {
|
||||
super(path, childPath, parentPath, ESIA_USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class EsiaUserPath extends EsiaUser implements Path<EsiaUserRecord> {
|
||||
public <O extends Record> EsiaUserPath(Table<O> path, ForeignKey<O, EsiaUserRecord> childPath, InverseForeignKey<O, EsiaUserRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private EsiaUserPath(Name alias, Table<EsiaUserRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUserPath as(String alias) {
|
||||
return new EsiaUserPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUserPath as(Name alias) {
|
||||
return new EsiaUserPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUserPath as(Table<?> alias) {
|
||||
return new EsiaUserPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<EsiaUserRecord> getPrimaryKey() {
|
||||
return Keys.PK_ESIA_USER;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<EsiaUserRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_ESIA_USER1, Keys.UNI_ESIA_USER2);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<EsiaUserRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.ESIA_USER__FK_ESIA_USER1);
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_account</code>
|
||||
* table.
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, Keys.ESIA_USER__FK_ESIA_USER1, null);
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUser as(String alias) {
|
||||
return new EsiaUser(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUser as(Name alias) {
|
||||
return new EsiaUser(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUser as(Table<?> alias) {
|
||||
return new EsiaUser(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser rename(String name) {
|
||||
return new EsiaUser(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser rename(Name name) {
|
||||
return new EsiaUser(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser rename(Table<?> name) {
|
||||
return new EsiaUser(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser where(Condition condition) {
|
||||
return new EsiaUser(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public EsiaUser where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public EsiaUser where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public EsiaUser where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public EsiaUser where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,315 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.LinkUserAccountUserGroupRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserAccountUserGroup extends TableImpl<LinkUserAccountUserGroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>security.link_user_account_user_group</code>
|
||||
*/
|
||||
public static final LinkUserAccountUserGroup LINK_USER_ACCOUNT_USER_GROUP = new LinkUserAccountUserGroup();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<LinkUserAccountUserGroupRecord> getRecordType() {
|
||||
return LinkUserAccountUserGroupRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_account_user_group.link_user_account_user_group_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserAccountUserGroupRecord, String> LINK_USER_ACCOUNT_USER_GROUP_ID = createField(DSL.name("link_user_account_user_group_id"), SQLDataType.CHAR(36).nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.CHAR)), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_account_user_group.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserAccountUserGroupRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.VARCHAR(150).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_account_user_group.user_group_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserAccountUserGroupRecord, String> USER_GROUP_ID = createField(DSL.name("user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_account_user_group.created</code>.
|
||||
*/
|
||||
public final TableField<LinkUserAccountUserGroupRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private LinkUserAccountUserGroup(Name alias, Table<LinkUserAccountUserGroupRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private LinkUserAccountUserGroup(Name alias, Table<LinkUserAccountUserGroupRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_account_user_group</code>
|
||||
* table reference
|
||||
*/
|
||||
public LinkUserAccountUserGroup(String alias) {
|
||||
this(DSL.name(alias), LINK_USER_ACCOUNT_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_account_user_group</code>
|
||||
* table reference
|
||||
*/
|
||||
public LinkUserAccountUserGroup(Name alias) {
|
||||
this(alias, LINK_USER_ACCOUNT_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.link_user_account_user_group</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserAccountUserGroup() {
|
||||
this(DSL.name("link_user_account_user_group"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> LinkUserAccountUserGroup(Table<O> path, ForeignKey<O, LinkUserAccountUserGroupRecord> childPath, InverseForeignKey<O, LinkUserAccountUserGroupRecord> parentPath) {
|
||||
super(path, childPath, parentPath, LINK_USER_ACCOUNT_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class LinkUserAccountUserGroupPath extends LinkUserAccountUserGroup implements Path<LinkUserAccountUserGroupRecord> {
|
||||
public <O extends Record> LinkUserAccountUserGroupPath(Table<O> path, ForeignKey<O, LinkUserAccountUserGroupRecord> childPath, InverseForeignKey<O, LinkUserAccountUserGroupRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private LinkUserAccountUserGroupPath(Name alias, Table<LinkUserAccountUserGroupRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroupPath as(String alias) {
|
||||
return new LinkUserAccountUserGroupPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroupPath as(Name alias) {
|
||||
return new LinkUserAccountUserGroupPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroupPath as(Table<?> alias) {
|
||||
return new LinkUserAccountUserGroupPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<LinkUserAccountUserGroupRecord> getPrimaryKey() {
|
||||
return Keys.PK_USER_GROUP;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<LinkUserAccountUserGroupRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_USER_GROUP);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<LinkUserAccountUserGroupRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP);
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_account</code>
|
||||
* table.
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER, null);
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
private transient UserGroupPath _userGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_group</code> table.
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
if (_userGroup == null)
|
||||
_userGroup = new UserGroupPath(this, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP, null);
|
||||
|
||||
return _userGroup;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroup as(String alias) {
|
||||
return new LinkUserAccountUserGroup(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroup as(Name alias) {
|
||||
return new LinkUserAccountUserGroup(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroup as(Table<?> alias) {
|
||||
return new LinkUserAccountUserGroup(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup rename(String name) {
|
||||
return new LinkUserAccountUserGroup(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup rename(Name name) {
|
||||
return new LinkUserAccountUserGroup(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup rename(Table<?> name) {
|
||||
return new LinkUserAccountUserGroup(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup where(Condition condition) {
|
||||
return new LinkUserAccountUserGroup(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserAccountUserGroup where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserAccountUserGroup where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserAccountUserGroup where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserAccountUserGroup where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,310 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserRole.UserRolePath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.LinkUserGroupUserRoleRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserGroupUserRole extends TableImpl<LinkUserGroupUserRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.link_user_group_user_role</code>
|
||||
*/
|
||||
public static final LinkUserGroupUserRole LINK_USER_GROUP_USER_ROLE = new LinkUserGroupUserRole();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<LinkUserGroupUserRoleRecord> getRecordType() {
|
||||
return LinkUserGroupUserRoleRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_group_user_role.link_user_group_user_role_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserGroupUserRoleRecord, String> LINK_USER_GROUP_USER_ROLE_ID = createField(DSL.name("link_user_group_user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_group_user_role.user_group_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserGroupUserRoleRecord, String> USER_GROUP_ID = createField(DSL.name("user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_group_user_role.user_role_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserGroupUserRoleRecord, String> USER_ROLE_ID = createField(DSL.name("user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_group_user_role.created</code>.
|
||||
*/
|
||||
public final TableField<LinkUserGroupUserRoleRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private LinkUserGroupUserRole(Name alias, Table<LinkUserGroupUserRoleRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private LinkUserGroupUserRole(Name alias, Table<LinkUserGroupUserRoleRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_group_user_role</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserGroupUserRole(String alias) {
|
||||
this(DSL.name(alias), LINK_USER_GROUP_USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_group_user_role</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserGroupUserRole(Name alias) {
|
||||
this(alias, LINK_USER_GROUP_USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.link_user_group_user_role</code> table reference
|
||||
*/
|
||||
public LinkUserGroupUserRole() {
|
||||
this(DSL.name("link_user_group_user_role"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> LinkUserGroupUserRole(Table<O> path, ForeignKey<O, LinkUserGroupUserRoleRecord> childPath, InverseForeignKey<O, LinkUserGroupUserRoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath, LINK_USER_GROUP_USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class LinkUserGroupUserRolePath extends LinkUserGroupUserRole implements Path<LinkUserGroupUserRoleRecord> {
|
||||
public <O extends Record> LinkUserGroupUserRolePath(Table<O> path, ForeignKey<O, LinkUserGroupUserRoleRecord> childPath, InverseForeignKey<O, LinkUserGroupUserRoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private LinkUserGroupUserRolePath(Name alias, Table<LinkUserGroupUserRoleRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRolePath as(String alias) {
|
||||
return new LinkUserGroupUserRolePath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRolePath as(Name alias) {
|
||||
return new LinkUserGroupUserRolePath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRolePath as(Table<?> alias) {
|
||||
return new LinkUserGroupUserRolePath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<LinkUserGroupUserRoleRecord> getPrimaryKey() {
|
||||
return Keys.PK_GROUP_ROLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<LinkUserGroupUserRoleRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_GROUP_ROLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<LinkUserGroupUserRoleRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE);
|
||||
}
|
||||
|
||||
private transient UserGroupPath _userGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_group</code> table.
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
if (_userGroup == null)
|
||||
_userGroup = new UserGroupPath(this, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP, null);
|
||||
|
||||
return _userGroup;
|
||||
}
|
||||
|
||||
private transient UserRolePath _userRole;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_role</code> table.
|
||||
*/
|
||||
public UserRolePath userRole() {
|
||||
if (_userRole == null)
|
||||
_userRole = new UserRolePath(this, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE, null);
|
||||
|
||||
return _userRole;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRole as(String alias) {
|
||||
return new LinkUserGroupUserRole(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRole as(Name alias) {
|
||||
return new LinkUserGroupUserRole(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRole as(Table<?> alias) {
|
||||
return new LinkUserGroupUserRole(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole rename(String name) {
|
||||
return new LinkUserGroupUserRole(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole rename(Name name) {
|
||||
return new LinkUserGroupUserRole(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole rename(Table<?> name) {
|
||||
return new LinkUserGroupUserRole(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole where(Condition condition) {
|
||||
return new LinkUserGroupUserRole(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserGroupUserRole where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserGroupUserRole where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserGroupUserRole where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserGroupUserRole where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,310 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.Authority.AuthorityPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserRole.UserRolePath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.LinkUserRoleAuthorityRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserRoleAuthority extends TableImpl<LinkUserRoleAuthorityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.link_user_role_authority</code>
|
||||
*/
|
||||
public static final LinkUserRoleAuthority LINK_USER_ROLE_AUTHORITY = new LinkUserRoleAuthority();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<LinkUserRoleAuthorityRecord> getRecordType() {
|
||||
return LinkUserRoleAuthorityRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_role_authority.user_role_authority_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserRoleAuthorityRecord, String> USER_ROLE_AUTHORITY_ID = createField(DSL.name("user_role_authority_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_role_authority.user_role_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserRoleAuthorityRecord, String> USER_ROLE_ID = createField(DSL.name("user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_role_authority.authority_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserRoleAuthorityRecord, String> AUTHORITY_ID = createField(DSL.name("authority_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_role_authority.created</code>.
|
||||
*/
|
||||
public final TableField<LinkUserRoleAuthorityRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private LinkUserRoleAuthority(Name alias, Table<LinkUserRoleAuthorityRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private LinkUserRoleAuthority(Name alias, Table<LinkUserRoleAuthorityRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_role_authority</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserRoleAuthority(String alias) {
|
||||
this(DSL.name(alias), LINK_USER_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_role_authority</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserRoleAuthority(Name alias) {
|
||||
this(alias, LINK_USER_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.link_user_role_authority</code> table reference
|
||||
*/
|
||||
public LinkUserRoleAuthority() {
|
||||
this(DSL.name("link_user_role_authority"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> LinkUserRoleAuthority(Table<O> path, ForeignKey<O, LinkUserRoleAuthorityRecord> childPath, InverseForeignKey<O, LinkUserRoleAuthorityRecord> parentPath) {
|
||||
super(path, childPath, parentPath, LINK_USER_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class LinkUserRoleAuthorityPath extends LinkUserRoleAuthority implements Path<LinkUserRoleAuthorityRecord> {
|
||||
public <O extends Record> LinkUserRoleAuthorityPath(Table<O> path, ForeignKey<O, LinkUserRoleAuthorityRecord> childPath, InverseForeignKey<O, LinkUserRoleAuthorityRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private LinkUserRoleAuthorityPath(Name alias, Table<LinkUserRoleAuthorityRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthorityPath as(String alias) {
|
||||
return new LinkUserRoleAuthorityPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthorityPath as(Name alias) {
|
||||
return new LinkUserRoleAuthorityPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthorityPath as(Table<?> alias) {
|
||||
return new LinkUserRoleAuthorityPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<LinkUserRoleAuthorityRecord> getPrimaryKey() {
|
||||
return Keys.PK_ROLE_AUTHORITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<LinkUserRoleAuthorityRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<LinkUserRoleAuthorityRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY);
|
||||
}
|
||||
|
||||
private transient UserRolePath _userRole;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_role</code> table.
|
||||
*/
|
||||
public UserRolePath userRole() {
|
||||
if (_userRole == null)
|
||||
_userRole = new UserRolePath(this, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE, null);
|
||||
|
||||
return _userRole;
|
||||
}
|
||||
|
||||
private transient AuthorityPath _authority;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.authority</code> table.
|
||||
*/
|
||||
public AuthorityPath authority() {
|
||||
if (_authority == null)
|
||||
_authority = new AuthorityPath(this, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY, null);
|
||||
|
||||
return _authority;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthority as(String alias) {
|
||||
return new LinkUserRoleAuthority(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthority as(Name alias) {
|
||||
return new LinkUserRoleAuthority(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthority as(Table<?> alias) {
|
||||
return new LinkUserRoleAuthority(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority rename(String name) {
|
||||
return new LinkUserRoleAuthority(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority rename(Name name) {
|
||||
return new LinkUserRoleAuthority(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority rename(Table<?> name) {
|
||||
return new LinkUserRoleAuthority(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority where(Condition condition) {
|
||||
return new LinkUserRoleAuthority(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserRoleAuthority where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserRoleAuthority where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserRoleAuthority where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserRoleAuthority where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,312 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.OrgUnit.OrgUnitPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.OrgUnitRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class OrgUnit extends TableImpl<OrgUnitRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.org_unit</code>
|
||||
*/
|
||||
public static final OrgUnit ORG_UNIT = new OrgUnit();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<OrgUnitRecord> getRecordType() {
|
||||
return OrgUnitRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.id</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, String> ID = createField(DSL.name("id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.name</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(1000).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.code</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(50).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.parent_id</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, String> PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.CHAR(36), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.removed</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, Boolean> REMOVED = createField(DSL.name("removed"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
|
||||
|
||||
private OrgUnit(Name alias, Table<OrgUnitRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private OrgUnit(Name alias, Table<OrgUnitRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.org_unit</code> table reference
|
||||
*/
|
||||
public OrgUnit(String alias) {
|
||||
this(DSL.name(alias), ORG_UNIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.org_unit</code> table reference
|
||||
*/
|
||||
public OrgUnit(Name alias) {
|
||||
this(alias, ORG_UNIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.org_unit</code> table reference
|
||||
*/
|
||||
public OrgUnit() {
|
||||
this(DSL.name("org_unit"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> OrgUnit(Table<O> path, ForeignKey<O, OrgUnitRecord> childPath, InverseForeignKey<O, OrgUnitRecord> parentPath) {
|
||||
super(path, childPath, parentPath, ORG_UNIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class OrgUnitPath extends OrgUnit implements Path<OrgUnitRecord> {
|
||||
public <O extends Record> OrgUnitPath(Table<O> path, ForeignKey<O, OrgUnitRecord> childPath, InverseForeignKey<O, OrgUnitRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private OrgUnitPath(Name alias, Table<OrgUnitRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnitPath as(String alias) {
|
||||
return new OrgUnitPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnitPath as(Name alias) {
|
||||
return new OrgUnitPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnitPath as(Table<?> alias) {
|
||||
return new OrgUnitPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<OrgUnitRecord> getPrimaryKey() {
|
||||
return Keys.PK_ORG_UNIT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<OrgUnitRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.ORG_UNIT_CODE_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<OrgUnitRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.ORG_UNIT__FK_ORG_UNIT_PARENT_ID);
|
||||
}
|
||||
|
||||
private transient OrgUnitPath _orgUnit;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.org_unit</code> table.
|
||||
*/
|
||||
public OrgUnitPath orgUnit() {
|
||||
if (_orgUnit == null)
|
||||
_orgUnit = new OrgUnitPath(this, Keys.ORG_UNIT__FK_ORG_UNIT_PARENT_ID, null);
|
||||
|
||||
return _orgUnit;
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.user_account</code> table
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, null, Keys.USER_ACCOUNT__FK_USER_ORG_UNIT_ID.getInverseKey());
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnit as(String alias) {
|
||||
return new OrgUnit(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnit as(Name alias) {
|
||||
return new OrgUnit(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnit as(Table<?> alias) {
|
||||
return new OrgUnit(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit rename(String name) {
|
||||
return new OrgUnit(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit rename(Name name) {
|
||||
return new OrgUnit(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit rename(Table<?> name) {
|
||||
return new OrgUnit(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit where(Condition condition) {
|
||||
return new OrgUnit(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnit where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnit where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnit where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnit where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,225 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.OrgUnitAdditionalInfoRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class OrgUnitAdditionalInfo extends TableImpl<OrgUnitAdditionalInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.org_unit_additional_info</code>
|
||||
*/
|
||||
public static final OrgUnitAdditionalInfo ORG_UNIT_ADDITIONAL_INFO = new OrgUnitAdditionalInfo();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<OrgUnitAdditionalInfoRecord> getRecordType() {
|
||||
return OrgUnitAdditionalInfoRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit_additional_info.id</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitAdditionalInfoRecord, String> ID = createField(DSL.name("id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit_additional_info.schema</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitAdditionalInfoRecord, String> SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(1000).nullable(false), this, "");
|
||||
|
||||
private OrgUnitAdditionalInfo(Name alias, Table<OrgUnitAdditionalInfoRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private OrgUnitAdditionalInfo(Name alias, Table<OrgUnitAdditionalInfoRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.org_unit_additional_info</code> table
|
||||
* reference
|
||||
*/
|
||||
public OrgUnitAdditionalInfo(String alias) {
|
||||
this(DSL.name(alias), ORG_UNIT_ADDITIONAL_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.org_unit_additional_info</code> table
|
||||
* reference
|
||||
*/
|
||||
public OrgUnitAdditionalInfo(Name alias) {
|
||||
this(alias, ORG_UNIT_ADDITIONAL_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.org_unit_additional_info</code> table reference
|
||||
*/
|
||||
public OrgUnitAdditionalInfo() {
|
||||
this(DSL.name("org_unit_additional_info"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<OrgUnitAdditionalInfoRecord> getPrimaryKey() {
|
||||
return Keys.PK_ORG_UNIT_ADDITIONAL_INFO;
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnitAdditionalInfo as(String alias) {
|
||||
return new OrgUnitAdditionalInfo(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnitAdditionalInfo as(Name alias) {
|
||||
return new OrgUnitAdditionalInfo(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnitAdditionalInfo as(Table<?> alias) {
|
||||
return new OrgUnitAdditionalInfo(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnitAdditionalInfo rename(String name) {
|
||||
return new OrgUnitAdditionalInfo(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnitAdditionalInfo rename(Name name) {
|
||||
return new OrgUnitAdditionalInfo(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnitAdditionalInfo rename(Table<?> name) {
|
||||
return new OrgUnitAdditionalInfo(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnitAdditionalInfo where(Condition condition) {
|
||||
return new OrgUnitAdditionalInfo(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnitAdditionalInfo where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnitAdditionalInfo where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnitAdditionalInfo where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnitAdditionalInfo where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnitAdditionalInfo where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnitAdditionalInfo where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnitAdditionalInfo where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnitAdditionalInfo whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnitAdditionalInfo whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,292 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.SimpleCredentialsRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SimpleCredentials extends TableImpl<SimpleCredentialsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.simple_credentials</code>
|
||||
*/
|
||||
public static final SimpleCredentials SIMPLE_CREDENTIALS = new SimpleCredentials();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<SimpleCredentialsRecord> getRecordType() {
|
||||
return SimpleCredentialsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.simple_credentials.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<SimpleCredentialsRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.simple_credentials.password</code>.
|
||||
*/
|
||||
public final TableField<SimpleCredentialsRecord, String> PASSWORD = createField(DSL.name("password"), SQLDataType.VARCHAR(128).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.simple_credentials.password_expires</code>.
|
||||
*/
|
||||
public final TableField<SimpleCredentialsRecord, Timestamp> PASSWORD_EXPIRES = createField(DSL.name("password_expires"), SQLDataType.TIMESTAMP(0), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.simple_credentials.password_updated</code>.
|
||||
*/
|
||||
public final TableField<SimpleCredentialsRecord, Timestamp> PASSWORD_UPDATED = createField(DSL.name("password_updated"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private SimpleCredentials(Name alias, Table<SimpleCredentialsRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private SimpleCredentials(Name alias, Table<SimpleCredentialsRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.simple_credentials</code> table
|
||||
* reference
|
||||
*/
|
||||
public SimpleCredentials(String alias) {
|
||||
this(DSL.name(alias), SIMPLE_CREDENTIALS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.simple_credentials</code> table
|
||||
* reference
|
||||
*/
|
||||
public SimpleCredentials(Name alias) {
|
||||
this(alias, SIMPLE_CREDENTIALS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.simple_credentials</code> table reference
|
||||
*/
|
||||
public SimpleCredentials() {
|
||||
this(DSL.name("simple_credentials"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> SimpleCredentials(Table<O> path, ForeignKey<O, SimpleCredentialsRecord> childPath, InverseForeignKey<O, SimpleCredentialsRecord> parentPath) {
|
||||
super(path, childPath, parentPath, SIMPLE_CREDENTIALS);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class SimpleCredentialsPath extends SimpleCredentials implements Path<SimpleCredentialsRecord> {
|
||||
public <O extends Record> SimpleCredentialsPath(Table<O> path, ForeignKey<O, SimpleCredentialsRecord> childPath, InverseForeignKey<O, SimpleCredentialsRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private SimpleCredentialsPath(Name alias, Table<SimpleCredentialsRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SimpleCredentialsPath as(String alias) {
|
||||
return new SimpleCredentialsPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SimpleCredentialsPath as(Name alias) {
|
||||
return new SimpleCredentialsPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SimpleCredentialsPath as(Table<?> alias) {
|
||||
return new SimpleCredentialsPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<SimpleCredentialsRecord> getPrimaryKey() {
|
||||
return Keys.PK_DOMESTIC_USER;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<SimpleCredentialsRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.SIMPLE_CREDENTIALS__FK_DOMESTIC_USER1);
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_account</code>
|
||||
* table.
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, Keys.SIMPLE_CREDENTIALS__FK_DOMESTIC_USER1, null);
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SimpleCredentials as(String alias) {
|
||||
return new SimpleCredentials(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SimpleCredentials as(Name alias) {
|
||||
return new SimpleCredentials(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SimpleCredentials as(Table<?> alias) {
|
||||
return new SimpleCredentials(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SimpleCredentials rename(String name) {
|
||||
return new SimpleCredentials(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SimpleCredentials rename(Name name) {
|
||||
return new SimpleCredentials(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SimpleCredentials rename(Table<?> name) {
|
||||
return new SimpleCredentials(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SimpleCredentials where(Condition condition) {
|
||||
return new SimpleCredentials(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SimpleCredentials where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SimpleCredentials where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SimpleCredentials where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SimpleCredentials where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SimpleCredentials where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SimpleCredentials where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SimpleCredentials where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SimpleCredentials whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SimpleCredentials whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,437 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.EsiaUser.EsiaUserPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserAccountUserGroup.LinkUserAccountUserGroupPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.OrgUnit.OrgUnitPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.SimpleCredentials.SimpleCredentialsPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountAdditionInfo.UserAccountAdditionInfoPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountRefreshToken.UserAccountRefreshTokenPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountVerification.UserAccountVerificationPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.UserAccountRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccount extends TableImpl<UserAccountRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.user_account</code>
|
||||
*/
|
||||
public static final UserAccount USER_ACCOUNT = new UserAccount();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserAccountRecord> getRecordType() {
|
||||
return UserAccountRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.CHAR(36).nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.CHAR)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.email</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(150).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.first_name</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> FIRST_NAME = createField(DSL.name("first_name"), SQLDataType.VARCHAR(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.last_name</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> LAST_NAME = createField(DSL.name("last_name"), SQLDataType.VARCHAR(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.middle_name</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> MIDDLE_NAME = createField(DSL.name("middle_name"), SQLDataType.VARCHAR(100), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.created</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.updated</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, Timestamp> UPDATED = createField(DSL.name("updated"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.locked</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, Boolean> LOCKED = createField(DSL.name("locked"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.org_unit_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> ORG_UNIT_ID = createField(DSL.name("org_unit_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.username</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> USERNAME = createField(DSL.name("username"), SQLDataType.VARCHAR(150).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.phone</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(16), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.email_confirmed</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, Boolean> EMAIL_CONFIRMED = createField(DSL.name("email_confirmed"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.user_source</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> USER_SOURCE = createField(DSL.name("user_source"), SQLDataType.VARCHAR(20).nullable(false).defaultValue(DSL.field(DSL.raw("'LOCAL'::character varying"), SQLDataType.VARCHAR)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.source_name</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> SOURCE_NAME = createField(DSL.name("source_name"), SQLDataType.VARCHAR(20), this, "");
|
||||
|
||||
private UserAccount(Name alias, Table<UserAccountRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserAccount(Name alias, Table<UserAccountRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account</code> table reference
|
||||
*/
|
||||
public UserAccount(String alias) {
|
||||
this(DSL.name(alias), USER_ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account</code> table reference
|
||||
*/
|
||||
public UserAccount(Name alias) {
|
||||
this(alias, USER_ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.user_account</code> table reference
|
||||
*/
|
||||
public UserAccount() {
|
||||
this(DSL.name("user_account"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserAccount(Table<O> path, ForeignKey<O, UserAccountRecord> childPath, InverseForeignKey<O, UserAccountRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserAccountPath extends UserAccount implements Path<UserAccountRecord> {
|
||||
public <O extends Record> UserAccountPath(Table<O> path, ForeignKey<O, UserAccountRecord> childPath, InverseForeignKey<O, UserAccountRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserAccountPath(Name alias, Table<UserAccountRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountPath as(String alias) {
|
||||
return new UserAccountPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountPath as(Name alias) {
|
||||
return new UserAccountPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountPath as(Table<?> alias) {
|
||||
return new UserAccountPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserAccountRecord> getPrimaryKey() {
|
||||
return Keys.PK_USER;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<UserAccountRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.USER_ACCOUNT_USERNAME_UNIQUE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<UserAccountRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.USER_ACCOUNT__FK_USER_ORG_UNIT_ID);
|
||||
}
|
||||
|
||||
private transient OrgUnitPath _orgUnit;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.org_unit</code> table.
|
||||
*/
|
||||
public OrgUnitPath orgUnit() {
|
||||
if (_orgUnit == null)
|
||||
_orgUnit = new OrgUnitPath(this, Keys.USER_ACCOUNT__FK_USER_ORG_UNIT_ID, null);
|
||||
|
||||
return _orgUnit;
|
||||
}
|
||||
|
||||
private transient EsiaUserPath _esiaUser;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the <code>security.esia_user</code>
|
||||
* table
|
||||
*/
|
||||
public EsiaUserPath esiaUser() {
|
||||
if (_esiaUser == null)
|
||||
_esiaUser = new EsiaUserPath(this, null, Keys.ESIA_USER__FK_ESIA_USER1.getInverseKey());
|
||||
|
||||
return _esiaUser;
|
||||
}
|
||||
|
||||
private transient LinkUserAccountUserGroupPath _linkUserAccountUserGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_account_user_group</code> table
|
||||
*/
|
||||
public LinkUserAccountUserGroupPath linkUserAccountUserGroup() {
|
||||
if (_linkUserAccountUserGroup == null)
|
||||
_linkUserAccountUserGroup = new LinkUserAccountUserGroupPath(this, null, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER.getInverseKey());
|
||||
|
||||
return _linkUserAccountUserGroup;
|
||||
}
|
||||
|
||||
private transient SimpleCredentialsPath _simpleCredentials;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.simple_credentials</code> table
|
||||
*/
|
||||
public SimpleCredentialsPath simpleCredentials() {
|
||||
if (_simpleCredentials == null)
|
||||
_simpleCredentials = new SimpleCredentialsPath(this, null, Keys.SIMPLE_CREDENTIALS__FK_DOMESTIC_USER1.getInverseKey());
|
||||
|
||||
return _simpleCredentials;
|
||||
}
|
||||
|
||||
private transient UserAccountAdditionInfoPath _userAccountAdditionInfo;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.user_account_addition_info</code> table
|
||||
*/
|
||||
public UserAccountAdditionInfoPath userAccountAdditionInfo() {
|
||||
if (_userAccountAdditionInfo == null)
|
||||
_userAccountAdditionInfo = new UserAccountAdditionInfoPath(this, null, Keys.USER_ACCOUNT_ADDITION_INFO__FK_USER_ACCOUNT_ID.getInverseKey());
|
||||
|
||||
return _userAccountAdditionInfo;
|
||||
}
|
||||
|
||||
private transient UserAccountRefreshTokenPath _userAccountRefreshToken;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.user_account_refresh_token</code> table
|
||||
*/
|
||||
public UserAccountRefreshTokenPath userAccountRefreshToken() {
|
||||
if (_userAccountRefreshToken == null)
|
||||
_userAccountRefreshToken = new UserAccountRefreshTokenPath(this, null, Keys.USER_ACCOUNT_REFRESH_TOKEN__FK_USER_ACCOUNT_REFRESH_TOKEN.getInverseKey());
|
||||
|
||||
return _userAccountRefreshToken;
|
||||
}
|
||||
|
||||
private transient UserAccountVerificationPath _userAccountVerification;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.user_account_verification</code> table
|
||||
*/
|
||||
public UserAccountVerificationPath userAccountVerification() {
|
||||
if (_userAccountVerification == null)
|
||||
_userAccountVerification = new UserAccountVerificationPath(this, null, Keys.USER_ACCOUNT_VERIFICATION__FK_USER_ACCOUNT_USER_ACCOUNT_VERIFICATION.getInverseKey());
|
||||
|
||||
return _userAccountVerification;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_group</code> table
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
return linkUserAccountUserGroup().userGroup();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccount as(String alias) {
|
||||
return new UserAccount(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccount as(Name alias) {
|
||||
return new UserAccount(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccount as(Table<?> alias) {
|
||||
return new UserAccount(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount rename(String name) {
|
||||
return new UserAccount(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount rename(Name name) {
|
||||
return new UserAccount(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount rename(Table<?> name) {
|
||||
return new UserAccount(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount where(Condition condition) {
|
||||
return new UserAccount(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccount where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccount where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccount where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccount where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,332 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.UserAccountAdditionInfoRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccountAdditionInfo extends TableImpl<UserAccountAdditionInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>security.user_account_addition_info</code>
|
||||
*/
|
||||
public static final UserAccountAdditionInfo USER_ACCOUNT_ADDITION_INFO = new UserAccountAdditionInfo();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserAccountAdditionInfoRecord> getRecordType() {
|
||||
return UserAccountAdditionInfoRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_addition_info.user_account_addition_info_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountAdditionInfoRecord, Long> USER_ACCOUNT_ADDITION_INFO_ID = createField(DSL.name("user_account_addition_info_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_addition_info.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountAdditionInfoRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.VARCHAR(36), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account_addition_info.ip_address</code>.
|
||||
*/
|
||||
public final TableField<UserAccountAdditionInfoRecord, String> IP_ADDRESS = createField(DSL.name("ip_address"), SQLDataType.VARCHAR(100), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_addition_info.job_position_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountAdditionInfoRecord, Long> JOB_POSITION_ID = createField(DSL.name("job_position_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account_addition_info.comment</code>.
|
||||
*/
|
||||
public final TableField<UserAccountAdditionInfoRecord, String> COMMENT = createField(DSL.name("comment"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account_addition_info.user_loaded</code>.
|
||||
*/
|
||||
public final TableField<UserAccountAdditionInfoRecord, Boolean> USER_LOADED = createField(DSL.name("user_loaded"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account_addition_info.password</code>.
|
||||
*/
|
||||
public final TableField<UserAccountAdditionInfoRecord, String> PASSWORD = createField(DSL.name("password"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account_addition_info.sex</code>.
|
||||
*/
|
||||
public final TableField<UserAccountAdditionInfoRecord, String> SEX = createField(DSL.name("sex"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account_addition_info.birth_date</code>.
|
||||
*/
|
||||
public final TableField<UserAccountAdditionInfoRecord, Date> BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account_addition_info.snils</code>.
|
||||
*/
|
||||
public final TableField<UserAccountAdditionInfoRecord, String> SNILS = createField(DSL.name("snils"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
private UserAccountAdditionInfo(Name alias, Table<UserAccountAdditionInfoRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserAccountAdditionInfo(Name alias, Table<UserAccountAdditionInfoRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account_addition_info</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserAccountAdditionInfo(String alias) {
|
||||
this(DSL.name(alias), USER_ACCOUNT_ADDITION_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account_addition_info</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserAccountAdditionInfo(Name alias) {
|
||||
this(alias, USER_ACCOUNT_ADDITION_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.user_account_addition_info</code> table reference
|
||||
*/
|
||||
public UserAccountAdditionInfo() {
|
||||
this(DSL.name("user_account_addition_info"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserAccountAdditionInfo(Table<O> path, ForeignKey<O, UserAccountAdditionInfoRecord> childPath, InverseForeignKey<O, UserAccountAdditionInfoRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_ACCOUNT_ADDITION_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserAccountAdditionInfoPath extends UserAccountAdditionInfo implements Path<UserAccountAdditionInfoRecord> {
|
||||
public <O extends Record> UserAccountAdditionInfoPath(Table<O> path, ForeignKey<O, UserAccountAdditionInfoRecord> childPath, InverseForeignKey<O, UserAccountAdditionInfoRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserAccountAdditionInfoPath(Name alias, Table<UserAccountAdditionInfoRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountAdditionInfoPath as(String alias) {
|
||||
return new UserAccountAdditionInfoPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountAdditionInfoPath as(Name alias) {
|
||||
return new UserAccountAdditionInfoPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountAdditionInfoPath as(Table<?> alias) {
|
||||
return new UserAccountAdditionInfoPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<UserAccountAdditionInfoRecord, Long> getIdentity() {
|
||||
return (Identity<UserAccountAdditionInfoRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserAccountAdditionInfoRecord> getPrimaryKey() {
|
||||
return Keys.PK_USER_ACCOUNT_ADDITION_INFO;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<UserAccountAdditionInfoRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.USER_ACCOUNT_ADDITION_INFO__FK_USER_ACCOUNT_ID);
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_account</code>
|
||||
* table.
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, Keys.USER_ACCOUNT_ADDITION_INFO__FK_USER_ACCOUNT_ID, null);
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountAdditionInfo as(String alias) {
|
||||
return new UserAccountAdditionInfo(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountAdditionInfo as(Name alias) {
|
||||
return new UserAccountAdditionInfo(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountAdditionInfo as(Table<?> alias) {
|
||||
return new UserAccountAdditionInfo(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountAdditionInfo rename(String name) {
|
||||
return new UserAccountAdditionInfo(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountAdditionInfo rename(Name name) {
|
||||
return new UserAccountAdditionInfo(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountAdditionInfo rename(Table<?> name) {
|
||||
return new UserAccountAdditionInfo(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountAdditionInfo where(Condition condition) {
|
||||
return new UserAccountAdditionInfo(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountAdditionInfo where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountAdditionInfo where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountAdditionInfo where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountAdditionInfo where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountAdditionInfo where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountAdditionInfo where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountAdditionInfo where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountAdditionInfo whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountAdditionInfo whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,302 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.UserAccountRefreshTokenRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccountRefreshToken extends TableImpl<UserAccountRefreshTokenRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>security.user_account_refresh_token</code>
|
||||
*/
|
||||
public static final UserAccountRefreshToken USER_ACCOUNT_REFRESH_TOKEN = new UserAccountRefreshToken();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserAccountRefreshTokenRecord> getRecordType() {
|
||||
return UserAccountRefreshTokenRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_refresh_token.user_account_refresh_token_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, String> USER_ACCOUNT_REFRESH_TOKEN_ID = createField(DSL.name("user_account_refresh_token_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_refresh_token.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.CHAR(36), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_refresh_token.refresh_token</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, String> REFRESH_TOKEN = createField(DSL.name("refresh_token"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account_refresh_token.access_token</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, String> ACCESS_TOKEN = createField(DSL.name("access_token"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_refresh_token.expiration_time</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, Timestamp> EXPIRATION_TIME = createField(DSL.name("expiration_time"), SQLDataType.TIMESTAMP(0), this, "");
|
||||
|
||||
private UserAccountRefreshToken(Name alias, Table<UserAccountRefreshTokenRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserAccountRefreshToken(Name alias, Table<UserAccountRefreshTokenRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account_refresh_token</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserAccountRefreshToken(String alias) {
|
||||
this(DSL.name(alias), USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account_refresh_token</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserAccountRefreshToken(Name alias) {
|
||||
this(alias, USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.user_account_refresh_token</code> table reference
|
||||
*/
|
||||
public UserAccountRefreshToken() {
|
||||
this(DSL.name("user_account_refresh_token"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserAccountRefreshToken(Table<O> path, ForeignKey<O, UserAccountRefreshTokenRecord> childPath, InverseForeignKey<O, UserAccountRefreshTokenRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserAccountRefreshTokenPath extends UserAccountRefreshToken implements Path<UserAccountRefreshTokenRecord> {
|
||||
public <O extends Record> UserAccountRefreshTokenPath(Table<O> path, ForeignKey<O, UserAccountRefreshTokenRecord> childPath, InverseForeignKey<O, UserAccountRefreshTokenRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserAccountRefreshTokenPath(Name alias, Table<UserAccountRefreshTokenRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshTokenPath as(String alias) {
|
||||
return new UserAccountRefreshTokenPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshTokenPath as(Name alias) {
|
||||
return new UserAccountRefreshTokenPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshTokenPath as(Table<?> alias) {
|
||||
return new UserAccountRefreshTokenPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserAccountRefreshTokenRecord> getPrimaryKey() {
|
||||
return Keys.PK_USER_ACCOUNT_REFRESH_TOKEN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<UserAccountRefreshTokenRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.USER_ACCOUNT_REFRESH_TOKEN__FK_USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_account</code>
|
||||
* table.
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, Keys.USER_ACCOUNT_REFRESH_TOKEN__FK_USER_ACCOUNT_REFRESH_TOKEN, null);
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshToken as(String alias) {
|
||||
return new UserAccountRefreshToken(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshToken as(Name alias) {
|
||||
return new UserAccountRefreshToken(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshToken as(Table<?> alias) {
|
||||
return new UserAccountRefreshToken(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken rename(String name) {
|
||||
return new UserAccountRefreshToken(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken rename(Name name) {
|
||||
return new UserAccountRefreshToken(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken rename(Table<?> name) {
|
||||
return new UserAccountRefreshToken(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken where(Condition condition) {
|
||||
return new UserAccountRefreshToken(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountRefreshToken where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountRefreshToken where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountRefreshToken where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountRefreshToken where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,288 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.UserAccountVerificationRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccountVerification extends TableImpl<UserAccountVerificationRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.user_account_verification</code>
|
||||
*/
|
||||
public static final UserAccountVerification USER_ACCOUNT_VERIFICATION = new UserAccountVerification();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserAccountVerificationRecord> getRecordType() {
|
||||
return UserAccountVerificationRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_verification.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountVerificationRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account_verification.token</code>.
|
||||
*/
|
||||
public final TableField<UserAccountVerificationRecord, String> TOKEN = createField(DSL.name("token"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account_verification.created</code>.
|
||||
*/
|
||||
public final TableField<UserAccountVerificationRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private UserAccountVerification(Name alias, Table<UserAccountVerificationRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserAccountVerification(Name alias, Table<UserAccountVerificationRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account_verification</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserAccountVerification(String alias) {
|
||||
this(DSL.name(alias), USER_ACCOUNT_VERIFICATION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account_verification</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserAccountVerification(Name alias) {
|
||||
this(alias, USER_ACCOUNT_VERIFICATION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.user_account_verification</code> table reference
|
||||
*/
|
||||
public UserAccountVerification() {
|
||||
this(DSL.name("user_account_verification"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserAccountVerification(Table<O> path, ForeignKey<O, UserAccountVerificationRecord> childPath, InverseForeignKey<O, UserAccountVerificationRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_ACCOUNT_VERIFICATION);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserAccountVerificationPath extends UserAccountVerification implements Path<UserAccountVerificationRecord> {
|
||||
public <O extends Record> UserAccountVerificationPath(Table<O> path, ForeignKey<O, UserAccountVerificationRecord> childPath, InverseForeignKey<O, UserAccountVerificationRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserAccountVerificationPath(Name alias, Table<UserAccountVerificationRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountVerificationPath as(String alias) {
|
||||
return new UserAccountVerificationPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountVerificationPath as(Name alias) {
|
||||
return new UserAccountVerificationPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountVerificationPath as(Table<?> alias) {
|
||||
return new UserAccountVerificationPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserAccountVerificationRecord> getPrimaryKey() {
|
||||
return Keys.PK_USER_ACCOUNT_VERIFICATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<UserAccountVerificationRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.USER_ACCOUNT_VERIFICATION__FK_USER_ACCOUNT_USER_ACCOUNT_VERIFICATION);
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_account</code>
|
||||
* table.
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, Keys.USER_ACCOUNT_VERIFICATION__FK_USER_ACCOUNT_USER_ACCOUNT_VERIFICATION, null);
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountVerification as(String alias) {
|
||||
return new UserAccountVerification(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountVerification as(Name alias) {
|
||||
return new UserAccountVerification(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountVerification as(Table<?> alias) {
|
||||
return new UserAccountVerification(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountVerification rename(String name) {
|
||||
return new UserAccountVerification(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountVerification rename(Name name) {
|
||||
return new UserAccountVerification(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountVerification rename(Table<?> name) {
|
||||
return new UserAccountVerification(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountVerification where(Condition condition) {
|
||||
return new UserAccountVerification(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountVerification where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountVerification where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountVerification where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountVerification where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountVerification where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountVerification where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountVerification where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountVerification whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountVerification whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,369 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUserGroup.LinkUserApplicationUserGroupPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationList.UserApplicationListPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.AccessLevel.AccessLevelPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserAccountUserGroup.LinkUserAccountUserGroupPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserGroupUserRole.LinkUserGroupUserRolePath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserRole.UserRolePath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.UserGroupRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserGroup extends TableImpl<UserGroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.user_group</code>
|
||||
*/
|
||||
public static final UserGroup USER_GROUP = new UserGroup();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserGroupRecord> getRecordType() {
|
||||
return UserGroupRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.user_group_id</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, String> USER_GROUP_ID = createField(DSL.name("user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.name</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.created</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.updated</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, Timestamp> UPDATED = createField(DSL.name("updated"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.access_level_id</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, String> ACCESS_LEVEL_ID = createField(DSL.name("access_level_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
private UserGroup(Name alias, Table<UserGroupRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserGroup(Name alias, Table<UserGroupRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_group</code> table reference
|
||||
*/
|
||||
public UserGroup(String alias) {
|
||||
this(DSL.name(alias), USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_group</code> table reference
|
||||
*/
|
||||
public UserGroup(Name alias) {
|
||||
this(alias, USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.user_group</code> table reference
|
||||
*/
|
||||
public UserGroup() {
|
||||
this(DSL.name("user_group"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserGroup(Table<O> path, ForeignKey<O, UserGroupRecord> childPath, InverseForeignKey<O, UserGroupRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserGroupPath extends UserGroup implements Path<UserGroupRecord> {
|
||||
public <O extends Record> UserGroupPath(Table<O> path, ForeignKey<O, UserGroupRecord> childPath, InverseForeignKey<O, UserGroupRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserGroupPath(Name alias, Table<UserGroupRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroupPath as(String alias) {
|
||||
return new UserGroupPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroupPath as(Name alias) {
|
||||
return new UserGroupPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroupPath as(Table<?> alias) {
|
||||
return new UserGroupPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserGroupRecord> getPrimaryKey() {
|
||||
return Keys.PK_GROUP;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<UserGroupRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_GROUP_NAME);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<UserGroupRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.USER_GROUP__FK_USER_GROUP_ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
private transient AccessLevelPath _accessLevel;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.access_level</code>
|
||||
* table.
|
||||
*/
|
||||
public AccessLevelPath accessLevel() {
|
||||
if (_accessLevel == null)
|
||||
_accessLevel = new AccessLevelPath(this, Keys.USER_GROUP__FK_USER_GROUP_ACCESS_LEVEL, null);
|
||||
|
||||
return _accessLevel;
|
||||
}
|
||||
|
||||
private transient LinkUserApplicationUserGroupPath _linkUserApplicationUserGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>public.link_user_application_user_group</code> table
|
||||
*/
|
||||
public LinkUserApplicationUserGroupPath linkUserApplicationUserGroup() {
|
||||
if (_linkUserApplicationUserGroup == null)
|
||||
_linkUserApplicationUserGroup = new LinkUserApplicationUserGroupPath(this, null, ru.micord.ervu.account_applications.db_beans.public_.Keys.LINK_USER_APPLICATION_USER_GROUP__FK_USER_GROUP.getInverseKey());
|
||||
|
||||
return _linkUserApplicationUserGroup;
|
||||
}
|
||||
|
||||
private transient LinkUserAccountUserGroupPath _linkUserAccountUserGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_account_user_group</code> table
|
||||
*/
|
||||
public LinkUserAccountUserGroupPath linkUserAccountUserGroup() {
|
||||
if (_linkUserAccountUserGroup == null)
|
||||
_linkUserAccountUserGroup = new LinkUserAccountUserGroupPath(this, null, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP.getInverseKey());
|
||||
|
||||
return _linkUserAccountUserGroup;
|
||||
}
|
||||
|
||||
private transient LinkUserGroupUserRolePath _linkUserGroupUserRole;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_group_user_role</code> table
|
||||
*/
|
||||
public LinkUserGroupUserRolePath linkUserGroupUserRole() {
|
||||
if (_linkUserGroupUserRole == null)
|
||||
_linkUserGroupUserRole = new LinkUserGroupUserRolePath(this, null, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP.getInverseKey());
|
||||
|
||||
return _linkUserGroupUserRole;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>public.user_application_list</code> table
|
||||
*/
|
||||
public UserApplicationListPath userApplicationList() {
|
||||
return linkUserApplicationUserGroup().userApplicationList();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_account</code> table
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
return linkUserAccountUserGroup().userAccount();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_role</code> table
|
||||
*/
|
||||
public UserRolePath userRole() {
|
||||
return linkUserGroupUserRole().userRole();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroup as(String alias) {
|
||||
return new UserGroup(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroup as(Name alias) {
|
||||
return new UserGroup(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroup as(Table<?> alias) {
|
||||
return new UserGroup(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup rename(String name) {
|
||||
return new UserGroup(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup rename(Name name) {
|
||||
return new UserGroup(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup rename(Table<?> name) {
|
||||
return new UserGroup(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup where(Condition condition) {
|
||||
return new UserGroup(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserGroup where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserGroup where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserGroup where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserGroup where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,322 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.Security;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.Authority.AuthorityPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserGroupUserRole.LinkUserGroupUserRolePath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserRoleAuthority.LinkUserRoleAuthorityPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.records.UserRoleRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserRole extends TableImpl<UserRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.user_role</code>
|
||||
*/
|
||||
public static final UserRole USER_ROLE = new UserRole();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserRoleRecord> getRecordType() {
|
||||
return UserRoleRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.user_role.user_role_id</code>.
|
||||
*/
|
||||
public final TableField<UserRoleRecord, String> USER_ROLE_ID = createField(DSL.name("user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_role.name</code>.
|
||||
*/
|
||||
public final TableField<UserRoleRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_role.created</code>.
|
||||
*/
|
||||
public final TableField<UserRoleRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_role.updated</code>.
|
||||
*/
|
||||
public final TableField<UserRoleRecord, Timestamp> UPDATED = createField(DSL.name("updated"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private UserRole(Name alias, Table<UserRoleRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserRole(Name alias, Table<UserRoleRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_role</code> table reference
|
||||
*/
|
||||
public UserRole(String alias) {
|
||||
this(DSL.name(alias), USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_role</code> table reference
|
||||
*/
|
||||
public UserRole(Name alias) {
|
||||
this(alias, USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.user_role</code> table reference
|
||||
*/
|
||||
public UserRole() {
|
||||
this(DSL.name("user_role"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserRole(Table<O> path, ForeignKey<O, UserRoleRecord> childPath, InverseForeignKey<O, UserRoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserRolePath extends UserRole implements Path<UserRoleRecord> {
|
||||
public <O extends Record> UserRolePath(Table<O> path, ForeignKey<O, UserRoleRecord> childPath, InverseForeignKey<O, UserRoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserRolePath(Name alias, Table<UserRoleRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRolePath as(String alias) {
|
||||
return new UserRolePath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRolePath as(Name alias) {
|
||||
return new UserRolePath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRolePath as(Table<?> alias) {
|
||||
return new UserRolePath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserRoleRecord> getPrimaryKey() {
|
||||
return Keys.PK_ROLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<UserRoleRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_ROLE_NAME);
|
||||
}
|
||||
|
||||
private transient LinkUserGroupUserRolePath _linkUserGroupUserRole;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_group_user_role</code> table
|
||||
*/
|
||||
public LinkUserGroupUserRolePath linkUserGroupUserRole() {
|
||||
if (_linkUserGroupUserRole == null)
|
||||
_linkUserGroupUserRole = new LinkUserGroupUserRolePath(this, null, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE.getInverseKey());
|
||||
|
||||
return _linkUserGroupUserRole;
|
||||
}
|
||||
|
||||
private transient LinkUserRoleAuthorityPath _linkUserRoleAuthority;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_role_authority</code> table
|
||||
*/
|
||||
public LinkUserRoleAuthorityPath linkUserRoleAuthority() {
|
||||
if (_linkUserRoleAuthority == null)
|
||||
_linkUserRoleAuthority = new LinkUserRoleAuthorityPath(this, null, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE.getInverseKey());
|
||||
|
||||
return _linkUserRoleAuthority;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_group</code> table
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
return linkUserGroupUserRole().userGroup();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.authority</code> table
|
||||
*/
|
||||
public AuthorityPath authority() {
|
||||
return linkUserRoleAuthority().authority();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRole as(String alias) {
|
||||
return new UserRole(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRole as(Name alias) {
|
||||
return new UserRole(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRole as(Table<?> alias) {
|
||||
return new UserRole(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole rename(String name) {
|
||||
return new UserRole(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole rename(Name name) {
|
||||
return new UserRole(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole rename(Table<?> name) {
|
||||
return new UserRole(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole where(Condition condition) {
|
||||
return new UserRole(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserRole where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserRole where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserRole where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserRole where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.AccessLevel;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccessLevelRecord extends UpdatableRecordImpl<AccessLevelRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.access_level.access_level_id</code>.
|
||||
*/
|
||||
public void setAccessLevelId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.access_level.access_level_id</code>.
|
||||
*/
|
||||
public String getAccessLevelId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.access_level.level</code>.
|
||||
*/
|
||||
public void setLevel(Short value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.access_level.level</code>.
|
||||
*/
|
||||
public Short getLevel() {
|
||||
return (Short) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.access_level.description</code>.
|
||||
*/
|
||||
public void setDescription(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.access_level.description</code>.
|
||||
*/
|
||||
public String getDescription() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached AccessLevelRecord
|
||||
*/
|
||||
public AccessLevelRecord() {
|
||||
super(AccessLevel.ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised AccessLevelRecord
|
||||
*/
|
||||
public AccessLevelRecord(String accessLevelId, Short level, String description) {
|
||||
super(AccessLevel.ACCESS_LEVEL);
|
||||
|
||||
setAccessLevelId(accessLevelId);
|
||||
setLevel(level);
|
||||
setDescription(description);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.Authority;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AuthorityRecord extends UpdatableRecordImpl<AuthorityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.authority.authority_id</code>.
|
||||
*/
|
||||
public void setAuthorityId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.authority.authority_id</code>.
|
||||
*/
|
||||
public String getAuthorityId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.authority.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.authority.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.authority.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.authority.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached AuthorityRecord
|
||||
*/
|
||||
public AuthorityRecord() {
|
||||
super(Authority.AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised AuthorityRecord
|
||||
*/
|
||||
public AuthorityRecord(String authorityId, String name, Timestamp created) {
|
||||
super(Authority.AUTHORITY);
|
||||
|
||||
setAuthorityId(authorityId);
|
||||
setName(name);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,251 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.Databasechangelog;
|
||||
|
||||
|
||||
/**
|
||||
* 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>security.databasechangelog.id</code>.
|
||||
*/
|
||||
public void setId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangelog.id</code>.
|
||||
*/
|
||||
public String getId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangelog.author</code>.
|
||||
*/
|
||||
public void setAuthor(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangelog.author</code>.
|
||||
*/
|
||||
public String getAuthor() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangelog.filename</code>.
|
||||
*/
|
||||
public void setFilename(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangelog.filename</code>.
|
||||
*/
|
||||
public String getFilename() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangelog.dateexecuted</code>.
|
||||
*/
|
||||
public void setDateexecuted(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangelog.dateexecuted</code>.
|
||||
*/
|
||||
public Timestamp getDateexecuted() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangelog.orderexecuted</code>.
|
||||
*/
|
||||
public void setOrderexecuted(Integer value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangelog.orderexecuted</code>.
|
||||
*/
|
||||
public Integer getOrderexecuted() {
|
||||
return (Integer) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangelog.exectype</code>.
|
||||
*/
|
||||
public void setExectype(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangelog.exectype</code>.
|
||||
*/
|
||||
public String getExectype() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangelog.md5sum</code>.
|
||||
*/
|
||||
public void setMd5sum(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangelog.md5sum</code>.
|
||||
*/
|
||||
public String getMd5sum() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangelog.description</code>.
|
||||
*/
|
||||
public void setDescription(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangelog.description</code>.
|
||||
*/
|
||||
public String getDescription() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangelog.comments</code>.
|
||||
*/
|
||||
public void setComments(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangelog.comments</code>.
|
||||
*/
|
||||
public String getComments() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangelog.tag</code>.
|
||||
*/
|
||||
public void setTag(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangelog.tag</code>.
|
||||
*/
|
||||
public String getTag() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangelog.liquibase</code>.
|
||||
*/
|
||||
public void setLiquibase(String value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangelog.liquibase</code>.
|
||||
*/
|
||||
public String getLiquibase() {
|
||||
return (String) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangelog.contexts</code>.
|
||||
*/
|
||||
public void setContexts(String value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangelog.contexts</code>.
|
||||
*/
|
||||
public String getContexts() {
|
||||
return (String) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangelog.labels</code>.
|
||||
*/
|
||||
public void setLabels(String value) {
|
||||
set(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangelog.labels</code>.
|
||||
*/
|
||||
public String getLabels() {
|
||||
return (String) get(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangelog.deployment_id</code>.
|
||||
*/
|
||||
public void setDeploymentId(String value) {
|
||||
set(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.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 ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.Databasechangeloglock;
|
||||
|
||||
|
||||
/**
|
||||
* 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>security.databasechangeloglock.id</code>.
|
||||
*/
|
||||
public void setId(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangeloglock.id</code>.
|
||||
*/
|
||||
public Integer getId() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangeloglock.locked</code>.
|
||||
*/
|
||||
public void setLocked(Boolean value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangeloglock.locked</code>.
|
||||
*/
|
||||
public Boolean getLocked() {
|
||||
return (Boolean) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangeloglock.lockgranted</code>.
|
||||
*/
|
||||
public void setLockgranted(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.databasechangeloglock.lockgranted</code>.
|
||||
*/
|
||||
public Timestamp getLockgranted() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.databasechangeloglock.lockedby</code>.
|
||||
*/
|
||||
public void setLockedby(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.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,94 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.EsiaUser;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class EsiaUserRecord extends UpdatableRecordImpl<EsiaUserRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.esia_user.esia_user_id</code>.
|
||||
*/
|
||||
public void setEsiaUserId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.esia_user.esia_user_id</code>.
|
||||
*/
|
||||
public String getEsiaUserId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.esia_user.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.esia_user.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.esia_user.person_contact_id</code>.
|
||||
*/
|
||||
public void setPersonContactId(Long value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.esia_user.person_contact_id</code>.
|
||||
*/
|
||||
public Long getPersonContactId() {
|
||||
return (Long) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached EsiaUserRecord
|
||||
*/
|
||||
public EsiaUserRecord() {
|
||||
super(EsiaUser.ESIA_USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised EsiaUserRecord
|
||||
*/
|
||||
public EsiaUserRecord(String esiaUserId, String userAccountId, Long personContactId) {
|
||||
super(EsiaUser.ESIA_USER);
|
||||
|
||||
setEsiaUserId(esiaUserId);
|
||||
setUserAccountId(userAccountId);
|
||||
setPersonContactId(personContactId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,117 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserAccountUserGroup;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserAccountUserGroupRecord extends UpdatableRecordImpl<LinkUserAccountUserGroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_account_user_group.link_user_account_user_group_id</code>.
|
||||
*/
|
||||
public void setLinkUserAccountUserGroupId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_account_user_group.link_user_account_user_group_id</code>.
|
||||
*/
|
||||
public String getLinkUserAccountUserGroupId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_account_user_group.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_account_user_group.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_account_user_group.user_group_id</code>.
|
||||
*/
|
||||
public void setUserGroupId(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_account_user_group.user_group_id</code>.
|
||||
*/
|
||||
public String getUserGroupId() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_account_user_group.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_account_user_group.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached LinkUserAccountUserGroupRecord
|
||||
*/
|
||||
public LinkUserAccountUserGroupRecord() {
|
||||
super(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised LinkUserAccountUserGroupRecord
|
||||
*/
|
||||
public LinkUserAccountUserGroupRecord(String linkUserAccountUserGroupId, String userAccountId, String userGroupId, Timestamp created) {
|
||||
super(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP);
|
||||
|
||||
setLinkUserAccountUserGroupId(linkUserAccountUserGroupId);
|
||||
setUserAccountId(userAccountId);
|
||||
setUserGroupId(userGroupId);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,113 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserGroupUserRole;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserGroupUserRoleRecord extends UpdatableRecordImpl<LinkUserGroupUserRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_group_user_role.link_user_group_user_role_id</code>.
|
||||
*/
|
||||
public void setLinkUserGroupUserRoleId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_group_user_role.link_user_group_user_role_id</code>.
|
||||
*/
|
||||
public String getLinkUserGroupUserRoleId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_group_user_role.user_group_id</code>.
|
||||
*/
|
||||
public void setUserGroupId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_group_user_role.user_group_id</code>.
|
||||
*/
|
||||
public String getUserGroupId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_group_user_role.user_role_id</code>.
|
||||
*/
|
||||
public void setUserRoleId(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_group_user_role.user_role_id</code>.
|
||||
*/
|
||||
public String getUserRoleId() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_group_user_role.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_group_user_role.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached LinkUserGroupUserRoleRecord
|
||||
*/
|
||||
public LinkUserGroupUserRoleRecord() {
|
||||
super(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised LinkUserGroupUserRoleRecord
|
||||
*/
|
||||
public LinkUserGroupUserRoleRecord(String linkUserGroupUserRoleId, String userGroupId, String userRoleId, Timestamp created) {
|
||||
super(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE);
|
||||
|
||||
setLinkUserGroupUserRoleId(linkUserGroupUserRoleId);
|
||||
setUserGroupId(userGroupId);
|
||||
setUserRoleId(userRoleId);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,113 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.LinkUserRoleAuthority;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserRoleAuthorityRecord extends UpdatableRecordImpl<LinkUserRoleAuthorityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_role_authority.user_role_authority_id</code>.
|
||||
*/
|
||||
public void setUserRoleAuthorityId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_role_authority.user_role_authority_id</code>.
|
||||
*/
|
||||
public String getUserRoleAuthorityId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_role_authority.user_role_id</code>.
|
||||
*/
|
||||
public void setUserRoleId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_role_authority.user_role_id</code>.
|
||||
*/
|
||||
public String getUserRoleId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_role_authority.authority_id</code>.
|
||||
*/
|
||||
public void setAuthorityId(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_role_authority.authority_id</code>.
|
||||
*/
|
||||
public String getAuthorityId() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_role_authority.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_role_authority.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached LinkUserRoleAuthorityRecord
|
||||
*/
|
||||
public LinkUserRoleAuthorityRecord() {
|
||||
super(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised LinkUserRoleAuthorityRecord
|
||||
*/
|
||||
public LinkUserRoleAuthorityRecord(String userRoleAuthorityId, String userRoleId, String authorityId, Timestamp created) {
|
||||
super(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY);
|
||||
|
||||
setUserRoleAuthorityId(userRoleAuthorityId);
|
||||
setUserRoleId(userRoleId);
|
||||
setAuthorityId(authorityId);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,79 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.OrgUnitAdditionalInfo;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class OrgUnitAdditionalInfoRecord extends UpdatableRecordImpl<OrgUnitAdditionalInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit_additional_info.id</code>.
|
||||
*/
|
||||
public void setId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit_additional_info.id</code>.
|
||||
*/
|
||||
public String getId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit_additional_info.schema</code>.
|
||||
*/
|
||||
public void setSchema(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit_additional_info.schema</code>.
|
||||
*/
|
||||
public String getSchema() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached OrgUnitAdditionalInfoRecord
|
||||
*/
|
||||
public OrgUnitAdditionalInfoRecord() {
|
||||
super(OrgUnitAdditionalInfo.ORG_UNIT_ADDITIONAL_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised OrgUnitAdditionalInfoRecord
|
||||
*/
|
||||
public OrgUnitAdditionalInfoRecord(String id, String schema) {
|
||||
super(OrgUnitAdditionalInfo.ORG_UNIT_ADDITIONAL_INFO);
|
||||
|
||||
setId(id);
|
||||
setSchema(schema);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,124 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.OrgUnit;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class OrgUnitRecord extends UpdatableRecordImpl<OrgUnitRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.id</code>.
|
||||
*/
|
||||
public void setId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.id</code>.
|
||||
*/
|
||||
public String getId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.code</code>.
|
||||
*/
|
||||
public void setCode(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.code</code>.
|
||||
*/
|
||||
public String getCode() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.parent_id</code>.
|
||||
*/
|
||||
public void setParentId(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.parent_id</code>.
|
||||
*/
|
||||
public String getParentId() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.removed</code>.
|
||||
*/
|
||||
public void setRemoved(Boolean value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.removed</code>.
|
||||
*/
|
||||
public Boolean getRemoved() {
|
||||
return (Boolean) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached OrgUnitRecord
|
||||
*/
|
||||
public OrgUnitRecord() {
|
||||
super(OrgUnit.ORG_UNIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised OrgUnitRecord
|
||||
*/
|
||||
public OrgUnitRecord(String id, String name, String code, String parentId, Boolean removed) {
|
||||
super(OrgUnit.ORG_UNIT);
|
||||
|
||||
setId(id);
|
||||
setName(name);
|
||||
setCode(code);
|
||||
setParentId(parentId);
|
||||
setRemoved(removed);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.SimpleCredentials;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SimpleCredentialsRecord extends UpdatableRecordImpl<SimpleCredentialsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.simple_credentials.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.simple_credentials.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.simple_credentials.password</code>.
|
||||
*/
|
||||
public void setPassword(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.simple_credentials.password</code>.
|
||||
*/
|
||||
public String getPassword() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.simple_credentials.password_expires</code>.
|
||||
*/
|
||||
public void setPasswordExpires(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.simple_credentials.password_expires</code>.
|
||||
*/
|
||||
public Timestamp getPasswordExpires() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.simple_credentials.password_updated</code>.
|
||||
*/
|
||||
public void setPasswordUpdated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.simple_credentials.password_updated</code>.
|
||||
*/
|
||||
public Timestamp getPasswordUpdated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached SimpleCredentialsRecord
|
||||
*/
|
||||
public SimpleCredentialsRecord() {
|
||||
super(SimpleCredentials.SIMPLE_CREDENTIALS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised SimpleCredentialsRecord
|
||||
*/
|
||||
public SimpleCredentialsRecord(String userAccountId, String password, Timestamp passwordExpires, Timestamp passwordUpdated) {
|
||||
super(SimpleCredentials.SIMPLE_CREDENTIALS);
|
||||
|
||||
setUserAccountId(userAccountId);
|
||||
setPassword(password);
|
||||
setPasswordExpires(passwordExpires);
|
||||
setPasswordUpdated(passwordUpdated);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,207 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import java.sql.Date;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountAdditionInfo;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccountAdditionInfoRecord extends UpdatableRecordImpl<UserAccountAdditionInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_addition_info.user_account_addition_info_id</code>.
|
||||
*/
|
||||
public void setUserAccountAdditionInfoId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_addition_info.user_account_addition_info_id</code>.
|
||||
*/
|
||||
public Long getUserAccountAdditionInfoId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_addition_info.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_addition_info.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account_addition_info.ip_address</code>.
|
||||
*/
|
||||
public void setIpAddress(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account_addition_info.ip_address</code>.
|
||||
*/
|
||||
public String getIpAddress() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_addition_info.job_position_id</code>.
|
||||
*/
|
||||
public void setJobPositionId(Long value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_addition_info.job_position_id</code>.
|
||||
*/
|
||||
public Long getJobPositionId() {
|
||||
return (Long) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account_addition_info.comment</code>.
|
||||
*/
|
||||
public void setComment(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account_addition_info.comment</code>.
|
||||
*/
|
||||
public String getComment() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account_addition_info.user_loaded</code>.
|
||||
*/
|
||||
public void setUserLoaded(Boolean value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account_addition_info.user_loaded</code>.
|
||||
*/
|
||||
public Boolean getUserLoaded() {
|
||||
return (Boolean) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account_addition_info.password</code>.
|
||||
*/
|
||||
public void setPassword(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account_addition_info.password</code>.
|
||||
*/
|
||||
public String getPassword() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account_addition_info.sex</code>.
|
||||
*/
|
||||
public void setSex(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account_addition_info.sex</code>.
|
||||
*/
|
||||
public String getSex() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account_addition_info.birth_date</code>.
|
||||
*/
|
||||
public void setBirthDate(Date value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account_addition_info.birth_date</code>.
|
||||
*/
|
||||
public Date getBirthDate() {
|
||||
return (Date) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account_addition_info.snils</code>.
|
||||
*/
|
||||
public void setSnils(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account_addition_info.snils</code>.
|
||||
*/
|
||||
public String getSnils() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserAccountAdditionInfoRecord
|
||||
*/
|
||||
public UserAccountAdditionInfoRecord() {
|
||||
super(UserAccountAdditionInfo.USER_ACCOUNT_ADDITION_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserAccountAdditionInfoRecord
|
||||
*/
|
||||
public UserAccountAdditionInfoRecord(Long userAccountAdditionInfoId, String userAccountId, String ipAddress, Long jobPositionId, String comment, Boolean userLoaded, String password, String sex, Date birthDate, String snils) {
|
||||
super(UserAccountAdditionInfo.USER_ACCOUNT_ADDITION_INFO);
|
||||
|
||||
setUserAccountAdditionInfoId(userAccountAdditionInfoId);
|
||||
setUserAccountId(userAccountId);
|
||||
setIpAddress(ipAddress);
|
||||
setJobPositionId(jobPositionId);
|
||||
setComment(comment);
|
||||
setUserLoaded(userLoaded);
|
||||
setPassword(password);
|
||||
setSex(sex);
|
||||
setBirthDate(birthDate);
|
||||
setSnils(snils);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,261 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccount;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccountRecord extends UpdatableRecordImpl<UserAccountRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.email</code>.
|
||||
*/
|
||||
public void setEmail(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.email</code>.
|
||||
*/
|
||||
public String getEmail() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.first_name</code>.
|
||||
*/
|
||||
public void setFirstName(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.first_name</code>.
|
||||
*/
|
||||
public String getFirstName() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.last_name</code>.
|
||||
*/
|
||||
public void setLastName(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.last_name</code>.
|
||||
*/
|
||||
public String getLastName() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.middle_name</code>.
|
||||
*/
|
||||
public void setMiddleName(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.middle_name</code>.
|
||||
*/
|
||||
public String getMiddleName() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.updated</code>.
|
||||
*/
|
||||
public void setUpdated(Timestamp value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.updated</code>.
|
||||
*/
|
||||
public Timestamp getUpdated() {
|
||||
return (Timestamp) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.locked</code>.
|
||||
*/
|
||||
public void setLocked(Boolean value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.locked</code>.
|
||||
*/
|
||||
public Boolean getLocked() {
|
||||
return (Boolean) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.org_unit_id</code>.
|
||||
*/
|
||||
public void setOrgUnitId(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.org_unit_id</code>.
|
||||
*/
|
||||
public String getOrgUnitId() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.username</code>.
|
||||
*/
|
||||
public void setUsername(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.username</code>.
|
||||
*/
|
||||
public String getUsername() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.phone</code>.
|
||||
*/
|
||||
public void setPhone(String value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.phone</code>.
|
||||
*/
|
||||
public String getPhone() {
|
||||
return (String) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.email_confirmed</code>.
|
||||
*/
|
||||
public void setEmailConfirmed(Boolean value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.email_confirmed</code>.
|
||||
*/
|
||||
public Boolean getEmailConfirmed() {
|
||||
return (Boolean) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.user_source</code>.
|
||||
*/
|
||||
public void setUserSource(String value) {
|
||||
set(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.user_source</code>.
|
||||
*/
|
||||
public String getUserSource() {
|
||||
return (String) get(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.source_name</code>.
|
||||
*/
|
||||
public void setSourceName(String value) {
|
||||
set(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.source_name</code>.
|
||||
*/
|
||||
public String getSourceName() {
|
||||
return (String) get(13);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserAccountRecord
|
||||
*/
|
||||
public UserAccountRecord() {
|
||||
super(UserAccount.USER_ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserAccountRecord
|
||||
*/
|
||||
public UserAccountRecord(String userAccountId, String email, String firstName, String lastName, String middleName, Timestamp created, Timestamp updated, Boolean locked, String orgUnitId, String username, String phone, Boolean emailConfirmed, String userSource, String sourceName) {
|
||||
super(UserAccount.USER_ACCOUNT);
|
||||
|
||||
setUserAccountId(userAccountId);
|
||||
setEmail(email);
|
||||
setFirstName(firstName);
|
||||
setLastName(lastName);
|
||||
setMiddleName(middleName);
|
||||
setCreated(created);
|
||||
setUpdated(updated);
|
||||
setLocked(locked);
|
||||
setOrgUnitId(orgUnitId);
|
||||
setUsername(username);
|
||||
setPhone(phone);
|
||||
setEmailConfirmed(emailConfirmed);
|
||||
setUserSource(userSource);
|
||||
setSourceName(sourceName);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,134 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountRefreshToken;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccountRefreshTokenRecord extends UpdatableRecordImpl<UserAccountRefreshTokenRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_refresh_token.user_account_refresh_token_id</code>.
|
||||
*/
|
||||
public void setUserAccountRefreshTokenId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_refresh_token.user_account_refresh_token_id</code>.
|
||||
*/
|
||||
public String getUserAccountRefreshTokenId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_refresh_token.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_refresh_token.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_refresh_token.refresh_token</code>.
|
||||
*/
|
||||
public void setRefreshToken(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_refresh_token.refresh_token</code>.
|
||||
*/
|
||||
public String getRefreshToken() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account_refresh_token.access_token</code>.
|
||||
*/
|
||||
public void setAccessToken(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account_refresh_token.access_token</code>.
|
||||
*/
|
||||
public String getAccessToken() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_refresh_token.expiration_time</code>.
|
||||
*/
|
||||
public void setExpirationTime(Timestamp value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_refresh_token.expiration_time</code>.
|
||||
*/
|
||||
public Timestamp getExpirationTime() {
|
||||
return (Timestamp) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserAccountRefreshTokenRecord
|
||||
*/
|
||||
public UserAccountRefreshTokenRecord() {
|
||||
super(UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserAccountRefreshTokenRecord
|
||||
*/
|
||||
public UserAccountRefreshTokenRecord(String userAccountRefreshTokenId, String userAccountId, String refreshToken, String accessToken, Timestamp expirationTime) {
|
||||
super(UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN);
|
||||
|
||||
setUserAccountRefreshTokenId(userAccountRefreshTokenId);
|
||||
setUserAccountId(userAccountId);
|
||||
setRefreshToken(refreshToken);
|
||||
setAccessToken(accessToken);
|
||||
setExpirationTime(expirationTime);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,98 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserAccountVerification;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccountVerificationRecord extends UpdatableRecordImpl<UserAccountVerificationRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_verification.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_verification.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account_verification.token</code>.
|
||||
*/
|
||||
public void setToken(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account_verification.token</code>.
|
||||
*/
|
||||
public String getToken() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account_verification.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account_verification.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserAccountVerificationRecord
|
||||
*/
|
||||
public UserAccountVerificationRecord() {
|
||||
super(UserAccountVerification.USER_ACCOUNT_VERIFICATION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserAccountVerificationRecord
|
||||
*/
|
||||
public UserAccountVerificationRecord(String userAccountId, String token, Timestamp created) {
|
||||
super(UserAccountVerification.USER_ACCOUNT_VERIFICATION);
|
||||
|
||||
setUserAccountId(userAccountId);
|
||||
setToken(token);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,126 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserGroup;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserGroupRecord extends UpdatableRecordImpl<UserGroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.user_group_id</code>.
|
||||
*/
|
||||
public void setUserGroupId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.user_group_id</code>.
|
||||
*/
|
||||
public String getUserGroupId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.updated</code>.
|
||||
*/
|
||||
public void setUpdated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.updated</code>.
|
||||
*/
|
||||
public Timestamp getUpdated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.access_level_id</code>.
|
||||
*/
|
||||
public void setAccessLevelId(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.access_level_id</code>.
|
||||
*/
|
||||
public String getAccessLevelId() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserGroupRecord
|
||||
*/
|
||||
public UserGroupRecord() {
|
||||
super(UserGroup.USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserGroupRecord
|
||||
*/
|
||||
public UserGroupRecord(String userGroupId, String name, Timestamp created, Timestamp updated, String accessLevelId) {
|
||||
super(UserGroup.USER_GROUP);
|
||||
|
||||
setUserGroupId(userGroupId);
|
||||
setName(name);
|
||||
setCreated(created);
|
||||
setUpdated(updated);
|
||||
setAccessLevelId(accessLevelId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.security.tables.UserRole;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserRoleRecord extends UpdatableRecordImpl<UserRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_role.user_role_id</code>.
|
||||
*/
|
||||
public void setUserRoleId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_role.user_role_id</code>.
|
||||
*/
|
||||
public String getUserRoleId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_role.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_role.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_role.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_role.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_role.updated</code>.
|
||||
*/
|
||||
public void setUpdated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_role.updated</code>.
|
||||
*/
|
||||
public Timestamp getUpdated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserRoleRecord
|
||||
*/
|
||||
public UserRoleRecord() {
|
||||
super(UserRole.USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserRoleRecord
|
||||
*/
|
||||
public UserRoleRecord(String userRoleId, String name, Timestamp created, Timestamp updated) {
|
||||
super(UserRole.USER_ROLE);
|
||||
|
||||
setUserRoleId(userRoleId);
|
||||
setName(name);
|
||||
setCreated(created);
|
||||
setUpdated(updated);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
package ru.micord.ervu.account_applications.service;
|
||||
|
||||
import model.BpmnVariableForSave;
|
||||
import model.FieldData;
|
||||
import ru.cg.webbpm.modules.webkit.annotations.RpcSharedProperty;
|
||||
import service.container.AbstractGraphFormService;
|
||||
import service.container.FormMode;
|
||||
import service.container.FormService;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Обрезанный FormServiceImpl из платформы, отвязанный от BPMN зависимостей
|
||||
* Поддержку BMPN решели из этого проекта убрать
|
||||
* @author Denis Ivanov
|
||||
*/
|
||||
|
||||
public class UserAuthorityFormService extends AbstractGraphFormService implements FormService {
|
||||
|
||||
@RpcSharedProperty
|
||||
public FormMode mode = FormMode.SIMPLE; // this is to share property with the default Form.ts
|
||||
|
||||
@Override
|
||||
public Object saveData(String s, List<FieldData> list, Boolean aBoolean,
|
||||
List<BpmnVariableForSave> list1) throws Exception {
|
||||
throw new UnsupportedOperationException("BPMN operations are unsupported");
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<FieldData> loadData() {
|
||||
throw new UnsupportedOperationException("Loading with no id is unsupported");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object deleteData(String s, List<BpmnVariableForSave> list) {
|
||||
throw new UnsupportedOperationException("BPMN operations are unsupported");
|
||||
}
|
||||
|
||||
}
|
||||
0
backend/src/main/resources/.gitkeep
Normal file
0
backend/src/main/resources/.gitkeep
Normal file
10
backend/src/main/resources/config/changelog-master.xml
Normal file
10
backend/src/main/resources/config/changelog-master.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<databaseChangeLog
|
||||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
|
||||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
|
||||
|
||||
<include file="v_1.0/changelog-1.0.xml" relativeToChangelogFile="true"/>
|
||||
|
||||
</databaseChangeLog>
|
||||
|
|
@ -0,0 +1,687 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<databaseChangeLog
|
||||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
|
||||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
|
||||
|
||||
<changeSet id="0001" author="hairullin">
|
||||
<comment>create EXTENSION uuid-ossp</comment>
|
||||
<sql>
|
||||
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0002" author="hairullin">
|
||||
<comment>add table job_position and insert values</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS public.job_position
|
||||
(
|
||||
job_position_id bigserial,
|
||||
name character varying(100) COLLATE pg_catalog."default" NOT NULL,
|
||||
code character varying(100) COLLATE pg_catalog."default" NOT NULL,
|
||||
start_date timestamp without time zone NOT NULL DEFAULT now(),
|
||||
close_date timestamp without time zone,
|
||||
CONSTRAINT pk_job_position PRIMARY KEY (job_position_id)
|
||||
)
|
||||
TABLESPACE pg_default;
|
||||
ALTER TABLE IF EXISTS public.job_position
|
||||
OWNER to ervu;
|
||||
|
||||
INSERT INTO public.job_position ("name",code,start_date,close_date) VALUES
|
||||
('Руководитель','MANAGER','2024-10-07 15:39:26.69628',NULL),
|
||||
('Специалист','USER','2024-10-07 15:39:26.69628',NULL);
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0003" author="hairullin">
|
||||
<comment>add table user_application_document</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS public.user_application_document
|
||||
(
|
||||
user_application_document_id bigserial,
|
||||
file_name character varying(100) COLLATE pg_catalog."default",
|
||||
file bytea,
|
||||
user_application_list_id bigint NOT NULL,
|
||||
CONSTRAINT pk_user_application_document PRIMARY KEY (user_application_document_id)
|
||||
)
|
||||
TABLESPACE pg_default;
|
||||
ALTER TABLE IF EXISTS public.user_application_document
|
||||
OWNER to ervu;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0004" author="hairullin">
|
||||
<comment>add table user_application_list</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS public.user_application_list
|
||||
(
|
||||
user_application_list_id bigserial,
|
||||
application_kind character varying(100) COLLATE pg_catalog."default" NOT NULL,
|
||||
user_login character varying(100) COLLATE pg_catalog."default" NOT NULL,
|
||||
user_password character varying(100) COLLATE pg_catalog."default",
|
||||
secondname character varying(1000) COLLATE pg_catalog."default" NOT NULL,
|
||||
firstname character varying(1000) COLLATE pg_catalog."default" NOT NULL,
|
||||
middlename character varying(1000) COLLATE pg_catalog."default",
|
||||
phone character varying(20) COLLATE pg_catalog."default",
|
||||
ip_address character varying(1000) COLLATE pg_catalog."default",
|
||||
start_date timestamp without time zone NOT NULL DEFAULT now(),
|
||||
close_date timestamp without time zone,
|
||||
user_status character varying(50) COLLATE pg_catalog."default",
|
||||
application_status character varying(100) COLLATE pg_catalog."default" NOT NULL,
|
||||
comment character varying COLLATE pg_catalog."default",
|
||||
job_position_id bigint,
|
||||
user_role_id bigint,
|
||||
recruitment_id uuid,
|
||||
user_account_id character varying COLLATE pg_catalog."default",
|
||||
sex character varying COLLATE pg_catalog."default",
|
||||
birth_date date,
|
||||
snils character varying COLLATE pg_catalog."default",
|
||||
job_position character varying COLLATE pg_catalog."default",
|
||||
ip_address_additional character varying COLLATE pg_catalog."default",
|
||||
number_app bigserial,
|
||||
edit_comment character varying COLLATE pg_catalog."default",
|
||||
CONSTRAINT pk_user_application_list PRIMARY KEY (user_application_list_id)
|
||||
)
|
||||
TABLESPACE pg_default;
|
||||
ALTER TABLE IF EXISTS public.user_application_list
|
||||
OWNER to ervu;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0005" author="hairullin">
|
||||
<comment>add table link_user_application_user_group</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS public.link_user_application_user_group
|
||||
(
|
||||
link_user_application_user_group_id bigserial,
|
||||
user_application_list_id bigint NOT NULL,
|
||||
user_group_id character(36) COLLATE pg_catalog."default" NOT NULL,
|
||||
created timestamp without time zone DEFAULT now(),
|
||||
CONSTRAINT pk_link_user_application_user_group PRIMARY KEY (link_user_application_user_group_id),
|
||||
CONSTRAINT uni_user_group UNIQUE (user_application_list_id, user_group_id),
|
||||
CONSTRAINT fk_user_application_list FOREIGN KEY (user_application_list_id)
|
||||
REFERENCES public.user_application_list (user_application_list_id) MATCH SIMPLE
|
||||
ON UPDATE NO ACTION
|
||||
ON DELETE CASCADE,
|
||||
CONSTRAINT fk_user_group FOREIGN KEY (user_group_id)
|
||||
REFERENCES security.user_group (user_group_id) MATCH SIMPLE
|
||||
ON UPDATE NO ACTION
|
||||
ON DELETE NO ACTION
|
||||
)
|
||||
TABLESPACE pg_default;
|
||||
ALTER TABLE IF EXISTS public.link_user_application_user_group
|
||||
OWNER to ervu;
|
||||
GRANT ALL ON TABLE public.link_user_application_user_group TO ervu;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0006" author="hairullin">
|
||||
<comment>add table recruitment and insert values</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS public.recruitment
|
||||
(
|
||||
id uuid NOT NULL DEFAULT uuid_generate_v4(),
|
||||
idm_id character varying(256) COLLATE pg_catalog."default",
|
||||
parent_id character varying COLLATE pg_catalog."default",
|
||||
version integer,
|
||||
created_at timestamp without time zone NOT NULL DEFAULT now(),
|
||||
updated_at timestamp without time zone NOT NULL DEFAULT now(),
|
||||
schema character varying(64) COLLATE pg_catalog."default" NOT NULL,
|
||||
military_code character varying(16) COLLATE pg_catalog."default",
|
||||
shortname character varying COLLATE pg_catalog."default" NOT NULL,
|
||||
fullname character varying COLLATE pg_catalog."default" NOT NULL,
|
||||
dns character varying(64) COLLATE pg_catalog."default",
|
||||
email character varying(255) COLLATE pg_catalog."default",
|
||||
phone character varying(24) COLLATE pg_catalog."default",
|
||||
address character varying COLLATE pg_catalog."default",
|
||||
address_id character varying COLLATE pg_catalog."default",
|
||||
postal_address character varying COLLATE pg_catalog."default",
|
||||
postal_address_id character varying COLLATE pg_catalog."default",
|
||||
nsi_department_id character varying COLLATE pg_catalog."default",
|
||||
nsi_organization_id character varying COLLATE pg_catalog."default",
|
||||
oktmo character varying COLLATE pg_catalog."default",
|
||||
org_ogrn character varying COLLATE pg_catalog."default",
|
||||
dep_ogrn character varying COLLATE pg_catalog."default",
|
||||
epgu_id character varying COLLATE pg_catalog."default",
|
||||
kpp character varying(64) COLLATE pg_catalog."default",
|
||||
inn character varying(64) COLLATE pg_catalog."default",
|
||||
okato character varying(64) COLLATE pg_catalog."default",
|
||||
division_type character varying(64) COLLATE pg_catalog."default",
|
||||
tns_department_id character varying COLLATE pg_catalog."default",
|
||||
enabled boolean NOT NULL DEFAULT true,
|
||||
timezone character varying(64) COLLATE pg_catalog."default",
|
||||
reports_enabled boolean,
|
||||
region_id character varying COLLATE pg_catalog."default",
|
||||
subpoena_series_code character varying(64) COLLATE pg_catalog."default",
|
||||
hidden boolean NOT NULL DEFAULT false,
|
||||
region_code text COLLATE pg_catalog."default",
|
||||
ts timestamp without time zone NOT NULL DEFAULT now(),
|
||||
CONSTRAINT recruitment_pkey PRIMARY KEY (id),
|
||||
CONSTRAINT recruitment_idm_id_key UNIQUE (idm_id)
|
||||
)
|
||||
TABLESPACE pg_default;
|
||||
ALTER TABLE IF EXISTS public.recruitment
|
||||
OWNER to ervu;
|
||||
COMMENT ON TABLE public.recruitment
|
||||
IS 'Военный комиссариат';
|
||||
COMMENT ON COLUMN public.recruitment.id
|
||||
IS 'Идентификатор ВК';
|
||||
COMMENT ON COLUMN public.recruitment.idm_id
|
||||
IS 'Идентификатор организации';
|
||||
COMMENT ON COLUMN public.recruitment.parent_id
|
||||
IS 'Идентификатор вышестоящей организации';
|
||||
COMMENT ON COLUMN public.recruitment.version
|
||||
IS 'Версия записи';
|
||||
COMMENT ON COLUMN public.recruitment.created_at
|
||||
IS 'Дата создания';
|
||||
COMMENT ON COLUMN public.recruitment.updated_at
|
||||
IS 'Дата обновления';
|
||||
COMMENT ON COLUMN public.recruitment.schema
|
||||
IS 'Схема';
|
||||
COMMENT ON COLUMN public.recruitment.military_code
|
||||
IS 'Код организации';
|
||||
COMMENT ON COLUMN public.recruitment.shortname
|
||||
IS 'Укороченное наименование организации';
|
||||
COMMENT ON COLUMN public.recruitment.fullname
|
||||
IS 'Полное наименование организации';
|
||||
COMMENT ON COLUMN public.recruitment.dns
|
||||
IS 'ДНС организации';
|
||||
COMMENT ON COLUMN public.recruitment.email
|
||||
IS 'Е-mail организации';
|
||||
COMMENT ON COLUMN public.recruitment.phone
|
||||
IS 'Телефон организации';
|
||||
COMMENT ON COLUMN public.recruitment.address
|
||||
IS 'Адрес организации';
|
||||
COMMENT ON COLUMN public.recruitment.address_id
|
||||
IS 'Идентификатор адреса организации';
|
||||
COMMENT ON COLUMN public.recruitment.postal_address
|
||||
IS 'Почтовый адрес организации';
|
||||
COMMENT ON COLUMN public.recruitment.postal_address_id
|
||||
IS 'Идентификатор почтового адреса организации';
|
||||
COMMENT ON COLUMN public.recruitment.nsi_department_id
|
||||
IS 'Идентификатор департамента из НСИ';
|
||||
COMMENT ON COLUMN public.recruitment.nsi_organization_id
|
||||
IS 'Идентификатор организации из НСИ';
|
||||
COMMENT ON COLUMN public.recruitment.oktmo
|
||||
IS 'ОКТМО';
|
||||
COMMENT ON COLUMN public.recruitment.org_ogrn
|
||||
IS 'ОГРН организации';
|
||||
COMMENT ON COLUMN public.recruitment.dep_ogrn
|
||||
IS 'ОГРН департамента';
|
||||
COMMENT ON COLUMN public.recruitment.epgu_id
|
||||
IS 'Идентификатор ЕПГУ';
|
||||
COMMENT ON COLUMN public.recruitment.kpp
|
||||
IS 'КПП';
|
||||
COMMENT ON COLUMN public.recruitment.inn
|
||||
IS 'ИНН';
|
||||
COMMENT ON COLUMN public.recruitment.okato
|
||||
IS 'ОКАТО';
|
||||
COMMENT ON COLUMN public.recruitment.division_type
|
||||
IS 'Тип дивизиона';
|
||||
COMMENT ON COLUMN public.recruitment.tns_department_id
|
||||
IS 'Идентификатор департамента из ТНС';
|
||||
COMMENT ON COLUMN public.recruitment.enabled
|
||||
IS 'Признак актуальности';
|
||||
COMMENT ON COLUMN public.recruitment.timezone
|
||||
IS 'Часовой пояс';
|
||||
COMMENT ON COLUMN public.recruitment.reports_enabled
|
||||
IS 'Признак актуальности для отчета';
|
||||
COMMENT ON COLUMN public.recruitment.region_id
|
||||
IS 'Идентификатор региона';
|
||||
COMMENT ON COLUMN public.recruitment.subpoena_series_code
|
||||
IS 'Серия';
|
||||
COMMENT ON COLUMN public.recruitment.hidden
|
||||
IS 'Признак скрытого';
|
||||
-- Index: recruitment_idm_idx
|
||||
CREATE INDEX IF NOT EXISTS recruitment_idm_idx
|
||||
ON public.recruitment USING btree
|
||||
(idm_id COLLATE pg_catalog."default" ASC NULLS LAST)
|
||||
TABLESPACE pg_default;
|
||||
-- Index: recruitment_military_code_idx
|
||||
CREATE INDEX IF NOT EXISTS recruitment_military_code_idx
|
||||
ON public.recruitment USING btree
|
||||
(military_code COLLATE pg_catalog."default" ASC NULLS LAST)
|
||||
TABLESPACE pg_default;
|
||||
-- Index: recruitment_parent_idx
|
||||
CREATE INDEX IF NOT EXISTS recruitment_parent_idx
|
||||
ON public.recruitment USING btree
|
||||
(parent_id COLLATE pg_catalog."default" ASC NULLS LAST)
|
||||
TABLESPACE pg_default;
|
||||
-- Index: recruitment_region_idx
|
||||
CREATE INDEX IF NOT EXISTS recruitment_region_idx
|
||||
ON public.recruitment USING btree
|
||||
(region_id COLLATE pg_catalog."default" ASC NULLS LAST)
|
||||
TABLESPACE pg_default;
|
||||
|
||||
INSERT INTO public.recruitment (id,idm_id,parent_id,"version",created_at,updated_at,"schema",military_code,shortname,fullname,dns,email,phone,address,address_id,postal_address,postal_address_id,nsi_department_id,nsi_organization_id,oktmo,org_ogrn,dep_ogrn,epgu_id,kpp,inn,okato,division_type,tns_department_id,enabled,timezone,reports_enabled,region_id,subpoena_series_code,hidden,region_code,ts) VALUES
|
||||
('20f455d2-2908-4a86-8ab5-2e500f2f5544'::uuid,'f03fc8c0-2ce7-4121-a306-f82d65ea029d',NULL,0,'2024-09-29 09:49:42.385098','2024-09-29 09:49:42.385098','Ministry',NULL,'Министерство обороны','Министерство обороны',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,false,NULL,true,NULL,NULL,false,NULL,'2024-09-29 09:49:42.379375'),
|
||||
('e00feef8-7b8a-47c2-9a16-f0f7dc877f56'::uuid,'b23f384f-b114-4003-9277-2eaa2d9ae180','f03fc8c0-2ce7-4121-a306-f82d65ea029d',0,'2024-09-29 09:49:42.453244','2024-09-29 09:49:42.453244','Region',NULL,'Восточный военный округ','Восточный военный округ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,true,NULL,true,NULL,NULL,false,NULL,'2024-09-29 09:49:42.452193'),
|
||||
('72cd6795-0303-4894-82ad-911bc259d87e'::uuid,'30a01af9-a871-411a-90e3-d81592bb074f','f03fc8c0-2ce7-4121-a306-f82d65ea029d',0,'2024-09-29 09:49:42.458533','2024-09-29 09:49:42.458533','Region',NULL,'Московский военный округ','Московский военный округ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,true,NULL,true,NULL,NULL,false,NULL,'2024-09-29 09:49:42.457675'),
|
||||
('d29346a7-dc0f-452d-859f-9bd3a83c219c'::uuid,'25633423-52e6-45bb-9d54-7f85b74a3f7d','f03fc8c0-2ce7-4121-a306-f82d65ea029d',0,'2024-09-29 09:49:42.463413','2024-09-29 09:49:42.463413','Region',NULL,'Ленинградский военный округ','Ленинградский военный округ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,true,NULL,true,NULL,NULL,false,NULL,'2024-09-29 09:49:42.462639'),
|
||||
('826c2187-7761-48ff-9399-25d1cc2a9297'::uuid,'58ef9cdc-8a9d-429e-89a5-1c49e2684a98','f03fc8c0-2ce7-4121-a306-f82d65ea029d',0,'2024-09-29 09:49:42.467537','2024-09-29 09:49:42.467537','Region',NULL,'Центральный военный округ','Центральный военный округ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,true,NULL,true,NULL,NULL,false,NULL,'2024-09-29 09:49:42.467016'),
|
||||
('a7b1f5f2-e43f-44da-92c6-6f394f53ec95'::uuid,'b00de68d-2e09-4776-9b48-1566a7222dca','f03fc8c0-2ce7-4121-a306-f82d65ea029d',0,'2024-09-29 09:49:42.472603','2024-09-29 09:49:42.472603','Region',NULL,'Южный военный округ','Южный военный округ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,true,NULL,true,NULL,NULL,false,NULL,'2024-09-29 09:49:42.471977'),
|
||||
('fb2a5e9b-5c86-4c6f-bea0-c4501d466549'::uuid,'83779471-c29f-c2eb-0e70-7846af31d10e','b00de68d-2e09-4776-9b48-1566a7222dca',2,'2024-09-29 09:49:42.476827','2024-09-29 09:49:42.476827','Organization','34556777','Тестовый комиссариат 2','Тестовый комиссариат 2','','11@11.ru','1111111111','г. Москва','0c5b2444-70a0-4932-980c-b4dc0d3f02b5','г. Москва','0c5b2444-70a0-4932-980c-b4dc0d3f02b5',NULL,NULL,'11',NULL,NULL,NULL,'111111111','1111111111',NULL,NULL,'',true,'+01:30',true,'b00de68d-2e09-4776-9b48-1566a7222dca','МО',false,'36','2024-09-29 09:49:42.476294'),
|
||||
('521ce853-5cec-4d2c-8aa5-8f73e5ac3376'::uuid,'31b88ed6-263e-225d-0787-74f7ef25f5f6','b23f384f-b114-4003-9277-2eaa2d9ae180',2,'2024-09-29 09:49:42.481225','2024-09-29 09:49:42.481225','Organization','34123421','FDfsafd','FDfsafd','','','','',NULL,'обл. Свердловская, г. Ивдель, ул. 50 лет Октября, гск. Москвич','721c162c-197a-4281-8ad9-8ae3efe2d655',NULL,NULL,'',NULL,NULL,NULL,'','3241121234',NULL,NULL,'',true,'+01:35',true,'b23f384f-b114-4003-9277-2eaa2d9ae180','ВА',false,'50','2024-09-29 09:49:42.480738'),
|
||||
('30de0a5c-a8df-4591-9bdc-52bfe5abb31d'::uuid,'5055a985-c97c-f5dc-2158-ff5862bfe4cf','b00de68d-2e09-4776-9b48-1566a7222dca',3,'2024-09-29 09:49:42.484508','2024-09-29 09:49:42.484508','Organization','96199408','ВК Вятска','Военный комиссариат Вятска Тест','','','','',NULL,'Респ. Удмуртская, р-н. Каракулинский, с/п. Вятское','71e8456a-acf1-432d-80ee-def9d7123fab',NULL,NULL,'',NULL,NULL,NULL,'','3333333333',NULL,NULL,'',true,'+01:30',false,'b00de68d-2e09-4776-9b48-1566a7222dca','ВЯ',false,'18','2024-09-29 09:49:42.48405'),
|
||||
('f8010c28-ec1b-415f-9546-f1b58e36279e'::uuid,'8edec280-3143-4d45-b702-ad5e91ef0e52',NULL,1,'2024-09-29 09:49:42.489398','2024-09-29 09:49:42.489398','Department','34623446','Тестовая организация Тест Второй','Тестовая организация Тест Второй','','','','','3fa85f64-5717-4562-b3fc-2c963f66afa6','Респ. Татарстан, г. Казань, ул. Мазита Гафури, д. 71, корп. 1, кв. 1','65c4e0b5-bf23-42be-9f33-a2f0b155c964',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+00:00',true,NULL,'AA',false,'36','2024-09-29 09:49:42.488945') on conflict do nothing;
|
||||
INSERT INTO public.recruitment (id,idm_id,parent_id,"version",created_at,updated_at,"schema",military_code,shortname,fullname,dns,email,phone,address,address_id,postal_address,postal_address_id,nsi_department_id,nsi_organization_id,oktmo,org_ogrn,dep_ogrn,epgu_id,kpp,inn,okato,division_type,tns_department_id,enabled,timezone,reports_enabled,region_id,subpoena_series_code,hidden,region_code,ts) VALUES
|
||||
('ba28c023-72f4-4ef5-b209-631f72f9488e'::uuid,'ce08e909-5a14-480f-b931-bff172872ac6','84bc45ab-c032-410e-9dc5-07e92719ede4',1,'2024-09-29 09:49:42.550316','2024-09-29 09:49:42.550316','Department','08444073','ВК городских округов Курильский и Северо-Курильский Сахалинской области','Военный комиссариат городских округов Курильский и Северо-Курильский Сахалинской области','',NULL,NULL,'',NULL,'обл. Сахалинская, р-н. Курильский, г. Курильск, ул. Ленинского Комсомола, д. 24','8ef658b0-ea6a-451a-ae2c-2aa4ba6707a6',NULL,NULL,'64720000','1026500540659','1026500540659',NULL,'650101001','6501027156','64000000000',NULL,'cf60f9bc-a17c-4147-917e-5d1abf2218b4',true,'+11:00',true,NULL,'СК',false,'65','2024-09-29 09:49:42.492719'),
|
||||
('4d3daef5-a63d-417c-8235-97c2b772a182'::uuid,'6da64c78-6705-4567-9f5f-5ade5822d92f','84bc45ab-c032-410e-9dc5-07e92719ede4',1,'2024-09-29 09:49:42.556103','2024-09-29 09:49:42.556103','Department','08444601','ВК городского округа Южно-Курильский Сахалинской области','Военный комиссариат городского округа Южно-Курильский Сахалинской области','',NULL,NULL,'',NULL,'обл. Сахалинская, р-н. Южно-Курильский, пгт. Южно-Курильск, ул. Океанская, д. 2А','2974bf77-5633-46a0-aac1-4c86528419f4',NULL,NULL,'64756000','1026500540659','1026500540659',NULL,'650101001','6501027156','64000000000',NULL,'0f1b4bce-a63f-481c-b79c-a4d10490ba1f',true,'+11:00',true,NULL,'СЮ',false,'65','2024-09-29 09:49:42.55548'),
|
||||
('a3188467-3169-4b4e-847c-ffcca71c4440'::uuid,'110686b2-4a01-4976-885b-d26a2980f53a','84bc45ab-c032-410e-9dc5-07e92719ede4',1,'2024-09-29 09:49:42.561031','2024-09-29 09:49:42.561031','Department','08443932','ВК города Долинск и Долинского района Сахалинской области','Военный комиссариат города Долинск и Долинского района Сахалинской области','',NULL,NULL,'',NULL,'обл. Сахалинская, р-н. Долинский, г. Долинск, ул. Советская, д. 22','86be9abd-cf3b-411a-8df8-aae2ec25b8c9',NULL,NULL,'64712000','1026500540659','1026500540659',NULL,'650101001','6501027156','64000000000',NULL,'67240765-f4f2-444d-9a90-8a0a34f3d8f2',true,'+11:00',true,NULL,'СД',false,'65','2024-09-29 09:49:42.560229'),
|
||||
('a67c6e12-b1fe-406b-b080-6b518324d6ea'::uuid,'98d428b3-502e-42b6-a29e-a469f894ac16','84bc45ab-c032-410e-9dc5-07e92719ede4',1,'2024-09-29 09:49:42.566017','2024-09-29 09:49:42.566017','Department','08444110','ВК города Невельск и Невельского района Сахалинской области','Военный комиссариат города Невельск и Невельского района Сахалинской области','',NULL,NULL,'',NULL,'обл. Сахалинская, р-н. Невельский, г. Невельск, ул. Советская','cf5026c0-6670-4c52-ab56-267bda136292',NULL,NULL,'64728000','1026500540659','1026500540659',NULL,'650101001','6501027156','64000000000',NULL,'fbd24b2c-74a2-4d10-9cc5-06733702ff53',true,'+11:00',true,NULL,'СН',false,'65','2024-09-29 09:49:42.565394'),
|
||||
('bb80fa73-9e50-491c-98c1-1869d752bba7'::uuid,'8127c345-3fc1-4864-9d6e-cf34e69c494c','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.570281','2024-09-29 09:49:42.570281','Department','08471265','ВК Краснинского района Липецкой области','Военный комиссариат Краснинского района Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, р-н. Краснинский, с. Красное, ул. Комбата Сапрыкина, д. 16','df04b8fc-4614-4191-b22d-4e8567ca8fad',NULL,NULL,'42630420','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'233ae31f-1728-4a2f-87a0-6de83a422c65',true,'+03:00',true,NULL,'ЛК',false,'48','2024-09-29 09:49:42.569832'),
|
||||
('e6c40dc8-0065-42c2-8c50-87714b3a0f7c'::uuid,'b2238b19-8598-4dfa-bb49-0de95136e344','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.57463','2024-09-29 09:49:42.57463','Department','08471331','ВК Лебедянского района Липецкой области','Военный комиссариат Лебедянского района Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, р-н. Лебедянский, г. Лебедянь, ул. Свердлова, д. 7','1865b804-bdc4-42d6-83c2-e982b2742f82',NULL,NULL,'42633101','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'0d8a4f7b-d385-4798-ba5b-5b7247e4eaf7',true,'+03:00',true,NULL,'ЛЛ',false,'48','2024-09-29 09:49:42.573995'),
|
||||
('cef595ce-c5af-44bb-9711-b0b7fd5b2df4'::uuid,'54a95ecd-1530-424c-8da1-882622b2df83','e8f52736-3997-4e3a-c9e4-5bfca6eddc89',1,'2024-09-29 09:49:42.878997','2024-09-29 09:49:42.878997','Department','13131251','Тестовый муниципальный комиссариат 2','Тестовый муниципальный комиссариат 2','','','','',NULL,'г. Москва','0c5b2444-70a0-4932-980c-b4dc0d3f02b5',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+01:30',true,'96f9779f-4028-4ef7-b841-9d1058a5062a','МО',false,'10','2024-09-29 09:49:42.878708'),
|
||||
('3a36fc6d-e2d4-414b-a995-e6c8bff78b77'::uuid,'67dacb06-d1f7-4c0e-9891-32863353cae9','84bc45ab-c032-410e-9dc5-07e92719ede4',1,'2024-09-29 09:49:42.588219','2024-09-29 09:49:42.588219','Department','08444593','ВК города Холмск и Холмского района Сахалинской области','Военный комиссариат города Холмск и Холмского района Сахалинской области','',NULL,NULL,'',NULL,'обл. Сахалинская, р-н. Холмский, г. Холмск, ул. Чехова, д. 68','e7b5e4aa-4ae9-40a8-bda8-ce05fe38de23',NULL,NULL,'64754000','1026500540659','1026500540659',NULL,'650101001','6501027156','64000000000',NULL,'b88cfaa0-fbdb-4baa-bebc-2da990bdbe82',true,'+11:00',true,NULL,'СХ',false,'65','2024-09-29 09:49:42.587669'),
|
||||
('659ed98b-9868-4168-adff-35e9e1bd9b0b'::uuid,'24b7ba55-9757-45d9-9c5e-5ca3e8c9c2d0','84bc45ab-c032-410e-9dc5-07e92719ede4',1,'2024-09-29 09:49:42.59247','2024-09-29 09:49:42.59247','Department','08444239','ВК города Поронайск, Макаровского, Поронайского и Смирныховского районов Сахалинской области','Военный комиссариат города Поронайск, Макаровского, Поронайского и Смирныховского районов Сахалинской области','',NULL,NULL,'',NULL,'обл. Сахалинская, р-н. Поронайский, г. Поронайск, ул. Гагарина, д. 1','18d602a4-5c5b-4533-8757-81e22e3c9ab4',NULL,NULL,'64740000','1026500540659','1026500540659',NULL,'650101001','6501027156','64000000000',NULL,'0ca0f417-c622-4cb2-a96b-337b0f85f173',true,'+11:00',true,NULL,'СП',false,'65','2024-09-29 09:49:42.592016'),
|
||||
('8a1f8307-76c9-4923-a0fe-88bc6a563fcb'::uuid,'20d82cbf-d520-48ce-a02a-540ce3838087','4c062d4a-3f77-c850-6388-dde909e3946b',1,'2024-09-29 09:49:42.651893','2024-09-29 09:49:42.651893','Department','43242323','АУВафцыва','АУВафцыва','','','','',NULL,'г. Москва, вн.тер.г.. муниципальный округ Москворечье-Сабурово','9bccb3a5-c52c-4229-96b3-e992defeab1a',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+01:32',true,NULL,'ФА',false,'35','2024-09-29 09:49:42.651065') on conflict do nothing;
|
||||
INSERT INTO public.recruitment (id,idm_id,parent_id,"version",created_at,updated_at,"schema",military_code,shortname,fullname,dns,email,phone,address,address_id,postal_address,postal_address_id,nsi_department_id,nsi_organization_id,oktmo,org_ogrn,dep_ogrn,epgu_id,kpp,inn,okato,division_type,tns_department_id,enabled,timezone,reports_enabled,region_id,subpoena_series_code,hidden,region_code,ts) VALUES
|
||||
('6fabcb61-584f-401d-85f6-79a49e3d8f61'::uuid,'52e97a4c-f68c-489a-a923-fabb9ef574dd','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.656905','2024-09-29 09:49:42.656905','Department','08471259','ВК Измалковского района Липецкой области','Военный комиссариат Измалковского района Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, р-н. Измалковский, с. Измалково','81a3eb57-1a08-48ce-a0fd-ca7fd99933d0',NULL,NULL,'42627416','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'3f5688d3-ce36-4d2a-bbb0-adb1418bc6c3',true,'+03:00',true,NULL,'ЛИ',false,'48','2024-09-29 09:49:42.656238'),
|
||||
('08f29c2e-0682-4179-a8f1-21a278c22d26'::uuid,'94a9f485-eab9-4158-a1bf-330d23e29ae2','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.661953','2024-09-29 09:49:42.661953','Department','08471087','ВК Долгоруковского района Липецкой области','Военный комиссариат Долгоруковского района Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, р-н. Долгоруковский, с. Долгоруково, ул. Советская','e62da677-9e0f-4c4a-82b5-6b9505cba06b',NULL,NULL,'42618428','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'6a5b8e2e-6d5e-42fb-82d6-a2aaae2c9e6a',true,'+03:00',true,NULL,'ЛД',false,'48','2024-09-29 09:49:42.661241'),
|
||||
('c93d2dc2-7741-4ca7-9690-14c764a77bf0'::uuid,'f4e38f22-d974-412b-8a34-b1933ca865a9','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.667079','2024-09-29 09:49:42.667079','Department','08471176','ВК Задонского района Липецкой области','Военный комиссариат Задонского района Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, р-н. Задонский, г. Задонск, ул. К.Маркса, д. 131','5fe812f4-f595-42a9-a168-af6fe314bad5',NULL,NULL,'42624101','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'8057f1bd-b997-445d-ae31-3e596685100c',true,'+03:00',true,NULL,'ЛЗ',false,'48','2024-09-29 09:49:42.666515'),
|
||||
('d01db5cc-086b-4609-9aad-2c6397c4dd96'::uuid,'2545944e-5252-4a6f-bcb2-8a4adf720e9b','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.670984','2024-09-29 09:49:42.670984','Department','08470946','ВК города Данков, Данковского и Лев-Толстовского района Липецкой области','Военный комиссариат города Данков, Данковского и Лев-Толстовского района Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, р-н. Данковский, г. Данков, ул. Карла Маркса, д. 42','e9ac01e1-8f73-4648-8769-b1d0bcc04f90',NULL,NULL,'42609101','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'be8f133b-a194-4f6e-a589-a3e566c6a7fe',true,'+03:00',true,NULL,'ЛД',false,'48','2024-09-29 09:49:42.670388'),
|
||||
('939dd496-542a-45f4-91e0-90c331d85f5f'::uuid,'3a56b060-20ee-4b62-9d96-4c6bf4928039','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.675536','2024-09-29 09:49:42.675536','Department','08471621','ВК Хлевенского района Липецкой области','Военный комиссариат Хлевенского района Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, р-н. Хлевенский, с. Хлевное','960296ba-28e8-4ad2-9a43-9ee15b2ec816',NULL,NULL,'42652453','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'50e11407-c71f-4593-b533-f9c0df53351d',true,'+03:00',true,NULL,'ЛХ',false,'48','2024-09-29 09:49:42.675074'),
|
||||
('fd142737-1a6a-466f-a318-b1412b184b3d'::uuid,'79f6c236-3ee8-40ff-bc10-40077420e82e','092d6963-287c-454e-8d73-8e09ebee972e',1,'2024-09-29 09:49:42.678802','2024-09-29 09:49:42.678802','Department','08477233','ВК Шиловского и Путятинского районов Рязанской области','Военный комиссариат Шиловского и Путятинского районов Рязанской области','','',NULL,'',NULL,'обл. Рязанская, р-н. Шиловский, рп. Шилово, ул. Спасская, зд. 19','46c6e7b2-2ee9-4674-aeeb-b1db153df9e5',NULL,NULL,'61658151','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'310f0061-c7bd-4dea-9f16-c7e99ab58aba',true,'+03:00',true,NULL,'РК',false,'62','2024-09-29 09:49:42.678278'),
|
||||
('50439548-a88f-4e49-93a1-ce29c1eb9b9a'::uuid,'86fc6ed6-1d82-4536-8066-c9ff2ca68639','092d6963-287c-454e-8d73-8e09ebee972e',1,'2024-09-29 09:49:42.682197','2024-09-29 09:49:42.682197','Department','08477167','ВК Ухоловского, Сапожковского и Сараевского районов Рязанской области','Военный комиссариат Ухоловского, Сапожковского и Сараевского районов Рязанской области','','',NULL,'',NULL,'обл. Рязанская, р-н. Ухоловский, рп. Ухолово, пер. Чапаева, д. 21','c2431759-122c-4493-bce7-7ffc1a7c247b',NULL,NULL,'61650151','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'704fd9ff-58eb-42a2-b443-d588cd1c437d',true,'+03:00',true,NULL,'РУ',false,'62','2024-09-29 09:49:42.681778'),
|
||||
('908c5c7a-2942-4083-acbf-3a03c739b860'::uuid,'e22cfafc-b8b1-47fd-b9f4-b9015734d578','092d6963-287c-454e-8d73-8e09ebee972e',1,'2024-09-29 09:49:42.685424','2024-09-29 09:49:42.685424','Department','08477210','ВК города Шацк, Шацкого и Чучковского районов Рязанской области','Военный комиссариат города Шацк, Шацкого и Чучковского районов Рязанской области','',NULL,NULL,'',NULL,'обл. Рязанская, р-н. Шацкий, г. Шацк, ул. Цюрупы, зд. 19','3ac3cbdc-bb39-44b0-8d7e-b38708e16f22',NULL,NULL,'61656101','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'e7298341-ea5e-4a98-a497-5d706d883477',true,'+03:00',true,NULL,'РШ',false,'62','2024-09-29 09:49:42.685014'),
|
||||
('928411d1-b6c2-40ea-a3df-4cad7aec98a5'::uuid,'2ca66dd6-6688-45c9-bb7e-988c7e92d34a','092d6963-287c-454e-8d73-8e09ebee972e',0,'2024-09-29 09:49:42.688337','2024-09-29 09:49:42.688337','Department',NULL,'ВК Московского и Железнодорожного районов города Рязань Рязанской области','Военный комиссариат Московского и Железнодорожного районов города Рязань Рязанской области','1026201271337',NULL,NULL,'390044, г.Рязань, ул. Московское шоссе, д. 14',NULL,'',NULL,NULL,NULL,'61701000','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'f33f5e16-8544-4b8d-be78-24447ab42a4e',true,NULL,true,NULL,NULL,false,NULL,'2024-09-29 09:49:42.687983'),
|
||||
('da5a8694-eae5-4da1-81b9-54ac3ac178f2'::uuid,'55727f17-6ab4-4d51-ad32-ba8e916acf49','092d6963-287c-454e-8d73-8e09ebee972e',1,'2024-09-29 09:49:42.691283','2024-09-29 09:49:42.691283','Department','08476481','ВК Клепиковского района Рязанской области','Военный комиссариат Клепиковского района Рязанской области','',NULL,NULL,'',NULL,'обл. Рязанская, р-н. Клепиковский, г. Спас-Клепики, ул. Советская, зд. 1','5727d5e1-78e8-4835-8b6b-657924607535',NULL,NULL,'61610101','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'36ce7278-0a25-416a-8136-c63a160f0f3c',true,'+03:00',true,NULL,'ПК',false,'62','2024-09-29 09:49:42.69097') on conflict do nothing;
|
||||
INSERT INTO public.recruitment (id,idm_id,parent_id,"version",created_at,updated_at,"schema",military_code,shortname,fullname,dns,email,phone,address,address_id,postal_address,postal_address_id,nsi_department_id,nsi_organization_id,oktmo,org_ogrn,dep_ogrn,epgu_id,kpp,inn,okato,division_type,tns_department_id,enabled,timezone,reports_enabled,region_id,subpoena_series_code,hidden,region_code,ts) VALUES
|
||||
('9b83cc97-0439-458e-bc45-08315eb4d9b8'::uuid,'6562ddb0-3f0c-4e43-bf0c-a834421cd4db','092d6963-287c-454e-8d73-8e09ebee972e',1,'2024-09-29 09:49:42.694081','2024-09-29 09:49:42.694081','Department','22222222','ВК Рязанского и Спасского районов Рязанской области','Военный комиссариат Рязанского и Спасского районов Рязанской области','',NULL,NULL,'',NULL,'обл. Рязанская, г. Рязань, ул. Загородная, д. 22','bc2888de-9acf-4630-9285-422acec90728',NULL,NULL,'61701000','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'6a994538-9783-45d6-ae70-ab0102125f47',true,'+03:00',true,NULL,'РК',false,'62','2024-09-29 09:49:42.693768'),
|
||||
('cbc0917a-3052-41ea-a97e-f482b2c81b2d'::uuid,'f59afe6d-c166-4196-a489-6d17f02fc05e','092d6963-287c-454e-8d73-8e09ebee972e',1,'2024-09-29 09:49:42.696673','2024-09-29 09:49:42.696673','Department','08477115','ВК города Скопин, Скопинского и Милославского районов Рязанской области','Военный комиссариат города Скопин, Скопинского и Милославского районов Рязанской области','',NULL,NULL,'',NULL,'обл. Рязанская, р-н. Скопинский','a03c70ca-6855-4258-af6e-c56e804bfae7',NULL,NULL,'61715000','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'2d917cdd-f689-4dc4-b5ba-21a910d3a85e',true,'+03:00',true,NULL,'РС',false,'62','2024-09-29 09:49:42.696289'),
|
||||
('b2e6bca2-d7eb-4654-8aef-d5c529e1c899'::uuid,'84bc45ab-c032-410e-9dc5-07e92719ede4','b23f384f-b114-4003-9277-2eaa2d9ae180',1,'2024-09-29 09:49:42.700551','2024-09-29 09:49:42.700551','Organization',NULL,'Военный комиссариат Сахалинской области','Военный комиссариат Сахалинской области','1026500540659','vk_sahalin_2@mil.ru','8 (424)-275-39-82','693007, Сахалинская область, г. Южно-Сахалинск, ул. Комсомольская, 194',NULL,'',NULL,NULL,NULL,'',NULL,NULL,NULL,'650101001','6501027156','64000000000',NULL,'1026500540659',true,NULL,true,'b23f384f-b114-4003-9277-2eaa2d9ae180',NULL,false,NULL,'2024-09-29 09:49:42.699001'),
|
||||
('3cab3b8a-15f2-4c69-a3be-e7485717baa2'::uuid,'e8f52736-3997-4e3a-c9e4-5bfca6eddc89','b00de68d-2e09-4776-9b48-1566a7222dca',16,'2024-09-29 09:49:42.703187','2024-09-29 09:49:42.703187','Organization','12332111','Тестовый комиссариат 1','Тестовый комиссариат 1','','test@test.ru','3333333333','г. Москва','0c5b2444-70a0-4932-980c-b4dc0d3f02b5','г. Москва','0c5b2444-70a0-4932-980c-b4dc0d3f02b5',NULL,NULL,'20',NULL,NULL,NULL,'111111111','1111111111',NULL,NULL,'',true,'+03:00',true,'b00de68d-2e09-4776-9b48-1566a7222dca','МО',false,'35','2024-09-29 09:49:42.702888'),
|
||||
('67db7b5b-0892-4908-bd20-864f932e80f9'::uuid,'5d8e4e2b-37d7-44a8-accb-45e87b62aa2d','30a01af9-a871-411a-90e3-d81592bb074f',0,'2024-09-29 09:49:42.706976','2024-09-29 09:49:42.706976','Organization',NULL,'Главное организационно-мобилизационное управление','Главное организационно-мобилизационное управление','1137746638402',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'7704201034',NULL,NULL,NULL,true,NULL,true,'30a01af9-a871-411a-90e3-d81592bb074f',NULL,false,NULL,'2024-09-29 09:49:42.70584'),
|
||||
('6e1017e2-1e38-481f-85c2-e828247f2b79'::uuid,'553b9449-6460-48c4-88d4-f18283abc4a7','30a01af9-a871-411a-90e3-d81592bb074f',0,'2024-09-29 09:49:42.755346','2024-09-29 09:49:42.755346','Organization',NULL,'Восьмое управление','Восьмое управление ГШ ВС РФ','','','','',NULL,'',NULL,NULL,NULL,'',NULL,NULL,NULL,'','1111111111',NULL,NULL,'',true,NULL,true,'30a01af9-a871-411a-90e3-d81592bb074f',NULL,false,NULL,'2024-09-29 09:49:42.753426'),
|
||||
('69865d28-3f69-4047-8d4d-9469a6c33d5f'::uuid,'6139de3b-2378-496f-9fca-7df7dab90832','092d6963-287c-454e-8d73-8e09ebee972e',1,'2024-09-29 09:49:42.759037','2024-09-29 09:49:42.759037','Department','34555667','ВК Октябрьского и Советского районов города Рязань Рязанской области','Военный комиссариат Октябрьского и Советского районов города Рязань Рязанской области','',NULL,NULL,'обл. Рязанская, г. Рязань','86e5bae4-ef58-4031-b34f-5e9ff914cd55','обл. Рязанская, г. Рязань','86e5bae4-ef58-4031-b34f-5e9ff914cd55',NULL,NULL,'61701000','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'311d4b94-4a2e-49b0-b19d-962f101609c5',true,'+01:30',true,NULL,'МО',false,'62','2024-09-29 09:49:42.758605'),
|
||||
('77df47ff-f9d1-47f6-89c5-dc214b91a2a2'::uuid,'2137685f-0683-4131-82d8-983222114184','30a01af9-a871-411a-90e3-d81592bb074f',1,'2024-09-29 09:49:42.762636','2024-09-29 09:49:42.762636','Organization',NULL,'Военный комиссариат Липецкой области','Военный комиссариат Липецкой области','1024800835311','voenkomlipetsk@mil.ru','84742273406','398000, г.Липецк, ул. Интернациональная, д. 10',NULL,'',NULL,NULL,NULL,'',NULL,NULL,NULL,'482501001','4825011699','42000000000',NULL,'1024800835311',true,NULL,true,'30a01af9-a871-411a-90e3-d81592bb074f',NULL,false,NULL,'2024-09-29 09:49:42.761536'),
|
||||
('38392eea-e14b-48b5-a0a1-2cff65bcb396'::uuid,'092d6963-287c-454e-8d73-8e09ebee972e','30a01af9-a871-411a-90e3-d81592bb074f',0,'2024-09-29 09:49:42.766038','2024-09-29 09:49:42.766038','Organization',NULL,'Военный комиссариат Рязанской области','Военный комиссариат Рязанской области','1026201271337','voenkomryazan@mil.ru',' 8 (4912)-25-29-15','390046, Рязанская область, г.Рязань, ул. Фрунзе, д. 27',NULL,'',NULL,NULL,NULL,'',NULL,NULL,NULL,'623101001','6231026092','61000000000',NULL,'1026201271337',true,NULL,true,'30a01af9-a871-411a-90e3-d81592bb074f',NULL,false,NULL,'2024-09-29 09:49:42.764978'),
|
||||
('1cb021ac-4335-40d4-987c-7c7648d104be'::uuid,'5eadc746-674d-4ba0-95d6-414d3469c82b','84bc45ab-c032-410e-9dc5-07e92719ede4',2,'2024-09-29 09:49:42.769437','2024-09-29 09:49:42.769437','Department','08444156','ВК города Оха и Охинского района Сахалинской области','Военный комиссариат города Оха и Охинского района Сахалинской области','',NULL,NULL,'',NULL,'обл. Сахалинская, р-н. Охинский, г. Оха, ул. Комсомольская, д. 6а','6449285b-f48b-4c37-8e36-25d19499fe55',NULL,NULL,'64736000','1026500540659','1026500540659',NULL,'650101001','6501027156','64000000000',NULL,'004305d3-a108-4e1c-be65-2f7082c784c7',true,'+11:00',true,NULL,'СО',false,'65','2024-09-29 09:49:42.768998') on conflict do nothing;
|
||||
INSERT INTO public.recruitment (id,idm_id,parent_id,"version",created_at,updated_at,"schema",military_code,shortname,fullname,dns,email,phone,address,address_id,postal_address,postal_address_id,nsi_department_id,nsi_organization_id,oktmo,org_ogrn,dep_ogrn,epgu_id,kpp,inn,okato,division_type,tns_department_id,enabled,timezone,reports_enabled,region_id,subpoena_series_code,hidden,region_code,ts) VALUES
|
||||
('2330352b-59ff-4b3f-b534-196fb5b20f9a'::uuid,'3b71b6ff-3eec-4cca-fed0-055bb0c163cc','b00de68d-2e09-4776-9b48-1566a7222dca',3,'2024-09-29 09:49:42.772815','2024-09-29 09:49:42.772815','Organization','08474128','ВК Одинцовского городского округа городских округов Краснознаменск и Власиха Московской области','ВК Одинцовского городского округа городских округов Краснознаменск и Власиха Московской области','','','','',NULL,'обл. Московская, г. Домодедово, п. Востряково, ул. Одинцовская','a891ec3f-428f-4063-a99b-8f7c099b4552',NULL,NULL,'',NULL,NULL,NULL,'','7793269459',NULL,NULL,'',true,'',true,'b00de68d-2e09-4776-9b48-1566a7222dca','',false,NULL,'2024-09-29 09:49:42.771786'),
|
||||
('4b2365ea-b799-48d4-ab00-b6f6dac5b952'::uuid,'bce5663e-5fe1-94a7-40f9-71d0490459da','b00de68d-2e09-4776-9b48-1566a7222dca',6,'2024-09-29 09:49:42.775694','2024-09-29 09:49:42.775694','Organization','12312312','тест','тест','','','','',NULL,'',NULL,NULL,NULL,'',NULL,NULL,NULL,'','1212121212',NULL,NULL,'',true,'',true,'b00de68d-2e09-4776-9b48-1566a7222dca','',false,'10','2024-09-29 09:49:42.775313'),
|
||||
('4e36849b-6652-483d-aecf-a3d9e18e42b9'::uuid,'0fe2bdf0-afbb-402d-93da-67e511799afa','092d6963-287c-454e-8d73-8e09ebee972e',1,'2024-09-29 09:49:42.778595','2024-09-29 09:49:42.778595','Department','08476334','ВК Кораблинского района Рязанской области','Военный комиссариат Кораблинского района Рязанской области','',NULL,NULL,'обл. Рязанская, р-н. Кораблинский, г. Кораблино, ул. Садовая','0a6a7dfd-2294-4c73-a2a8-b3bc11eb7de1','обл. Рязанская, р-н. Кораблинский, г. Кораблино, ул. Садовая','0a6a7dfd-2294-4c73-a2a8-b3bc11eb7de1',NULL,NULL,'61612101','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'39d359d3-4965-4306-801d-ad501b9f5b22',true,'+03:00',true,NULL,'РК',false,'62','2024-09-29 09:49:42.778267'),
|
||||
('8bd65d2b-630c-4513-964b-d70b48726bc5'::uuid,'9703f108-761a-467a-aad3-89617e5539ed','2137685f-0683-4131-82d8-983222114184',2,'2024-09-29 09:49:42.781673','2024-09-29 09:49:42.781673','Department','08117687','ВК города Липецк Липецкой области','Военный комиссариат города Липецк Липецкой области','','test@vk.ru','0000000000','обл. Липецкая, р-н. Липецкий, с. Маховище, ул. Московская, д. 16а','346606b1-642a-4600-8ef5-99077a801a5b','обл. Липецкая, р-н. Липецкий, с. Маховище, ул. Московская, д. 16а','346606b1-642a-4600-8ef5-99077a801a5b',NULL,NULL,'42701000','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'a9866d5e-1db7-4d77-9897-97a863a93a9f',true,'+03:00',true,NULL,'ЛП',false,'48','2024-09-29 09:49:42.781225'),
|
||||
('2caa5eae-b6c8-4943-8b8b-428dc9c6cb4d'::uuid,'b5209c2c-67f6-4b6d-9617-8370aa9907a8','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.784994','2024-09-29 09:49:42.784994','Department','08470871','ВК города Грязи и Грязинского района Липецкой области','Военный комиссариат города Грязи и Грязинского района Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, р-н. Грязинский, г. Грязи, ул. Красная Площадь','4aebc0b1-7001-41e1-94bf-d6901f86187a',NULL,NULL,'42606101','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'d61f100f-bd42-4433-9bbe-87f68a20eb3b',true,'+03:00',true,NULL,'ЛГ',false,'48','2024-09-29 09:49:42.784566'),
|
||||
('b00a1841-f444-4fb4-827a-a4e1075eac01'::uuid,'121d7da8-5f40-4e79-900a-ddba5a62f8aa','84bc45ab-c032-410e-9dc5-07e92719ede4',1,'2024-09-29 09:49:42.788118','2024-09-29 09:49:42.788118','Department','08444570','ВК города Углегорск, Томаринского и Углегорского районов Сахалинской области','Военный комиссариат города Углегорск, Томаринского и Углегорского районов Сахалинской области','',NULL,NULL,'',NULL,'обл. Сахалинская, р-н. Углегорский, г.. Углегорск, ул. Заводская, д. 2б','ae88cdce-b361-4a4f-b8de-9926d13ca043',NULL,NULL,'64752000','1026500540659','1026500540659',NULL,'650101001','6501027156','64000000000',NULL,'d14b34ca-9d0d-4b1d-b52c-53c0e713d9eb',true,'+11:00',true,NULL,'СУ',false,'65','2024-09-29 09:49:42.78764'),
|
||||
('0b6eaee2-e52c-4d79-ab97-921a98007539'::uuid,'731b87ec-91e7-cf82-afcc-b2967439f7ae','b00de68d-2e09-4776-9b48-1566a7222dca',9,'2024-09-29 09:49:42.791537','2024-09-29 09:49:42.791537','Organization','11111111','НЕ трогать оргу Андреева','НЕ трогать оргу Андреева','','','','обл. Самарская, р-н. Волжский, с. Черноречье, снт. СТ Самараоблагромпром','ed96e764-0277-41a5-b80b-b398e0e80823','обл. Самарская, р-н. Волжский, с. Черноречье, снт. СТ Самараоблагропром','333d230f-9e8c-47ae-9eb5-68be26d65cdc',NULL,NULL,'',NULL,NULL,NULL,'','1111111111',NULL,NULL,'',true,'',true,'b00de68d-2e09-4776-9b48-1566a7222dca','',false,NULL,'2024-09-29 09:49:42.790506'),
|
||||
('fb0ec464-70e8-421b-bb20-8a12bf5780c4'::uuid,'4b0309d6-f28a-49db-8950-5ffebd917e1e','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.850437','2024-09-29 09:49:42.850437','Department','08471704','ВК Чаплыгинского района Липецкой области','Военный комиссариат Чаплыгинского района Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, р-н. Чаплыгинский, г. Чаплыгин, ул. Советская, д. 72','6112591a-b610-4b2c-bb0e-6fda1560433f',NULL,NULL,'42656101','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'4dd91a25-c26b-4b67-849c-aa3c4ca8c619',true,'+03:00',true,NULL,'ЛЧ',false,'48','2024-09-29 09:49:42.793669'),
|
||||
('610d1eee-a270-4f35-b8aa-df017e102b5c'::uuid,'10b67909-b154-45e3-8eef-7f0fac9abb5d','092d6963-287c-454e-8d73-8e09ebee972e',2,'2024-09-29 09:49:42.855212','2024-09-29 09:49:42.855212','Department','08496868','МВК Вятска','Муниципального Военный Комиссариат Вятска','','','','',NULL,'обл. Кировская, р-н. Вятскополянский, г. Вятские Поляны, ул. Ленина, д. 56','434c7f9f-5deb-4874-b871-8bbb6d4dd418',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+03:00',false,NULL,'ВА',false,'18','2024-09-29 09:49:42.85465'),
|
||||
('f7fadde2-de94-4386-926a-48f539b14564'::uuid,'b042e073-e4ff-4873-b33e-4d44d17ec72d','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.859199','2024-09-29 09:49:42.859199','Department','08471153','ВК города Елец и Елецкого района Липецкой области','Военный комиссариат города Елец и Елецкого района Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, г. Елец, ул. Пушкина, д. 150','3e025e0c-a4cb-4344-929c-72f2e662ba77',NULL,NULL,'42715000','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'936477a7-f986-4ed8-b67e-aa4c5ad0dc23',true,'+03:00',true,NULL,'ЛЕ',false,'48','2024-09-29 09:49:42.85867') on conflict do nothing;
|
||||
INSERT INTO public.recruitment (id,idm_id,parent_id,"version",created_at,updated_at,"schema",military_code,shortname,fullname,dns,email,phone,address,address_id,postal_address,postal_address_id,nsi_department_id,nsi_organization_id,oktmo,org_ogrn,dep_ogrn,epgu_id,kpp,inn,okato,division_type,tns_department_id,enabled,timezone,reports_enabled,region_id,subpoena_series_code,hidden,region_code,ts) VALUES
|
||||
('1c213331-711b-4263-8275-a0e099e0f78d'::uuid,'cff66da8-2be0-4839-bd8e-332b1a150031','84bc45ab-c032-410e-9dc5-07e92719ede4',1,'2024-09-29 09:49:42.865673','2024-09-29 09:49:42.865673','Department','08443912','ВК Анивского района Сахалинской области','Военный комиссариат Анивского района Сахалинской области','',NULL,NULL,'',NULL,'обл. Сахалинская, р-н. Анивский, г. Анива, ул. Дьяконова, д. 24','55717011-38db-432a-aa16-d3d00414ef50',NULL,NULL,'64708000','1026500540659','1026500540659',NULL,'650101001','6501027156','64000000000',NULL,'7ddb5992-36c7-4d80-832b-e8581da98730',true,'+11:00',true,NULL,'СА',false,'65','2024-09-29 09:49:42.865224'),
|
||||
('7e17cb21-4dfb-4f66-8996-1f87e78f8533'::uuid,'2966d239-5241-4acb-9b4f-707ba75f44d5','84bc45ab-c032-410e-9dc5-07e92719ede4',1,'2024-09-29 09:49:42.868949','2024-09-29 09:49:42.868949','Department','08443808','ВК города Южно-Сахалинск Сахалинской области','Военный комиссариат города Южно-Сахалинск Сахалинской области','',NULL,NULL,'',NULL,'обл. Сахалинская, г. Южно-Сахалинск, ул. Комсомольская, д. 194','308fb438-b9ec-421b-8422-d8eb27f29e16',NULL,NULL,'64701000','1026500540659','1026500540659',NULL,'650101001','6501027156','64000000000',NULL,'af7f7a68-6d13-4518-9b9b-83b678819ce9',true,'+11:00',true,NULL,'СЮ',false,'65','2024-09-29 09:49:42.868559'),
|
||||
('dde8fd00-3648-49ed-a40e-c7caa58cab8d'::uuid,'eba7fd7d-e3da-49a7-8e65-8fc85e47190e','84bc45ab-c032-410e-9dc5-07e92719ede4',1,'2024-09-29 09:49:42.871706','2024-09-29 09:49:42.871706','Department','08444127','ВК Ногликского района Сахалинской области','Военный комиссариат Ногликского района Сахалинской области','',NULL,NULL,'',NULL,'обл. Сахалинская, р-н. Ногликский, пгт. Ноглики, ул. Пограничная, влд. 12','7dbffd02-6b0e-4dfb-a25b-3e371dd375b1',NULL,NULL,'64732000','1026500540659','1026500540659',NULL,'650101001','6501027156','64000000000',NULL,'837c27db-0d16-42cb-9ec0-72eefe4a1aa6',true,'+11:00',true,NULL,'СН',false,'65','2024-09-29 09:49:42.871363'),
|
||||
('1eabf1d8-3202-4359-b6be-dd045afbfa40'::uuid,'70a19cf0-203a-4d04-a1c5-62c811c5ae66','2137685f-0683-4131-82d8-983222114184',4,'2024-09-29 09:49:42.874264','2024-09-29 09:49:42.874264','Department','08471398','ВК Липецкого района Липецкой области','Военный комиссариат Липецкого района Липецкой области','','lip@lip.lip','1111111111','обл. Липецкая, г. Липецк','eacb5f15-1a2e-432e-904a-ca56bd635f1b','обл. Липецкая, г. Липецк, пер. Бестужева, соор. 10','59d79c5c-5822-4eee-935a-5cbb63fca245',NULL,NULL,'42640440','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'69264791-e45b-45d1-b2b2-a0c9e6cc5053',true,'+03:00',true,NULL,'ЛЛ',false,'48','2024-09-29 09:49:42.873937'),
|
||||
('e4671f49-8155-447a-a35c-67cb6468803a'::uuid,'70b872b5-79de-4ef6-b5f3-11ecc68906bc','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.876548','2024-09-29 09:49:42.876548','Department','08471561','ВК Усманского района Липецкой области','Военный комиссариат Усманского района Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, р-н. Усманский, г. Усмань, ул. Советская, д. 22','8d0f4d5e-b55f-4fa2-8c6a-cf9dc85e3db3',NULL,NULL,'42648101','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'5c39a9d5-da00-4876-b992-a7e55baf64ed',true,'+03:00',true,NULL,'ЛУ',false,'48','2024-09-29 09:49:42.876305'),
|
||||
('618c4e20-c2b1-4783-bd35-3d5f897e5b83'::uuid,'00148448-3ad9-4e0d-b9d2-c5e81a05bcf6','e8f52736-3997-4e3a-c9e4-5bfca6eddc89',4,'2024-09-29 09:49:42.883059','2024-09-29 09:49:42.883059','Department','12221313','Тестовый муниципальный комиссариат 1','Тестовый муниципальный комиссариат 1','','','','',NULL,'г. Москва','0c5b2444-70a0-4932-980c-b4dc0d3f02b5',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+01:30',true,'96f9779f-4028-4ef7-b841-9d1058a5062a','МО',false,'77','2024-09-29 09:49:42.882485'),
|
||||
('0b713936-42c9-4e40-bde3-e941220b81de'::uuid,'34c8685e-f08a-4877-afb1-a0589800a21c','bb7aa36f-446e-4262-a609-28694ca2e398',1,'2024-09-29 09:49:42.887103','2024-09-29 09:49:42.887103','Department','08486019','ВК Звениговского района Республики Марий Эл','Военный комиссариат Звениговского района Республики Марий Эл','','','','Респ. Марий Эл, р-н. Звениговский, г. Звенигово, ул. Ростовщикова, д. 11','abbea836-207b-4ca3-8308-6552309c5282','Респ. Марий Эл, р-н. Звениговский, г. Звенигово, ул. Ростовщикова, д. 11','abbea836-207b-4ca3-8308-6552309c5282',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+03:00',true,NULL,'МЗ',false,NULL,'2024-09-29 09:49:42.886614'),
|
||||
('dbe21bb3-0416-4682-844a-07132e896a4b'::uuid,'fa005a7c-f833-0727-1924-990584ca6fee','25633423-52e6-45bb-9d54-7f85b74a3f7d',6,'2024-09-29 09:49:42.89097','2024-09-29 09:49:42.89097','Organization','34512334','Тестовая организация','Тестовая организация','','','','',NULL,'Респ. Татарстан, г. Казань, ул. Юлиуса Фучика, д. 64, корп. 1','4fde76a4-9ede-47a5-ac5f-f6abff9cbe59',NULL,NULL,'',NULL,NULL,NULL,'','2342342112',NULL,NULL,'',true,'+00:00',true,'25633423-52e6-45bb-9d54-7f85b74a3f7d','АА',false,'4','2024-09-29 09:49:42.890601'),
|
||||
('674eb255-c2a6-45e7-8395-46118f95cb9f'::uuid,'786b4e73-42dd-4c36-968e-8cce5d9debc6','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.893707','2024-09-29 09:49:42.893707','Department','08471414','ВК Становлянского района Липецкой области','Военный комиссариат Становлянского района Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, р-н. Становлянский, с. Становое, ул. Советская, д. 27','966cdb9f-0342-4243-b10b-1822a6893d20',NULL,NULL,'42642452','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'e6587c76-9fab-44c1-b1c9-5ab6a4fc2e4d',true,'+03:00',true,NULL,'ЛС',false,'48','2024-09-29 09:49:42.893331'),
|
||||
('78a69506-f876-4549-add0-dd9b95e4cde9'::uuid,'5584b973-f5c0-4aee-ae5a-0b0d0444ad1b','e8f52736-3997-4e3a-c9e4-5bfca6eddc89',1,'2024-09-29 09:49:42.896277','2024-09-29 09:49:42.896277','Department','12345555','Тестовый муниципальный комиссариат 3','Тестовый муниципальный комиссариат 3','','','','',NULL,'обл. Свердловская, г. Ивдель, ул. 50 лет Октября, гск. Москвич','721c162c-197a-4281-8ad9-8ae3efe2d655',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+01:30',true,'96f9779f-4028-4ef7-b841-9d1058a5062a','МО',false,'10','2024-09-29 09:49:42.895925') on conflict do nothing;
|
||||
INSERT INTO public.recruitment (id,idm_id,parent_id,"version",created_at,updated_at,"schema",military_code,shortname,fullname,dns,email,phone,address,address_id,postal_address,postal_address_id,nsi_department_id,nsi_organization_id,oktmo,org_ogrn,dep_ogrn,epgu_id,kpp,inn,okato,division_type,tns_department_id,enabled,timezone,reports_enabled,region_id,subpoena_series_code,hidden,region_code,ts) VALUES
|
||||
('7aaab069-b993-469c-9cdc-d05b48e01da2'::uuid,'d49f28d4-0eca-4fd7-b68c-a0a693223de0','e8f52736-3997-4e3a-c9e4-5bfca6eddc89',1,'2024-09-29 09:49:42.898589','2024-09-29 09:49:42.898589','Department','12345556','Тестовый муниципальный комиссариат 4','Тестовый муниципальный комиссариат 4','','','','',NULL,'г. Москва','0c5b2444-70a0-4932-980c-b4dc0d3f02b5',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+01:30',true,'b99510d0-4677-44e6-ad1d-1de6920c85c8','МО',false,'77','2024-09-29 09:49:42.898284'),
|
||||
('58e31fcf-567c-4b4c-8bc7-eb5fb9676f08'::uuid,'6daa4999-df84-4469-bcc7-0f875affd41a','bce5663e-5fe1-94a7-40f9-71d0490459da',1,'2024-09-29 09:49:42.900957','2024-09-29 09:49:42.900957','Department','12323421','тестт','тестт','','','','',NULL,'обл. Омская, м.р-н. Москаленский','8b25be01-3310-4189-84aa-d57170d3f467',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+02:20',true,NULL,'ЖД',false,'40','2024-09-29 09:49:42.900689'),
|
||||
('e2683ce5-7de8-43b8-9ff3-2a2dc23a4e7c'::uuid,'bb7aa36f-446e-4262-a609-28694ca2e398','58ef9cdc-8a9d-429e-89a5-1c49e2684a98',2,'2024-09-29 09:49:42.950441','2024-09-29 09:49:42.950441','Organization','08091166','ВК республики Мари Эл','Военный комиссариат республики Мари Эл','','test@test.ru','1111111111','Респ. Марий Эл, г. Йошкар-Ола, пр-кт. Гагарина, д. 16','341779b1-f7c3-48c6-8d21-4bd7f79d07bf','Респ. Марий Эл, г. Йошкар-Ола, пр-кт. Гагарина, д. 16','341779b1-f7c3-48c6-8d21-4bd7f79d07bf',NULL,NULL,'',NULL,NULL,NULL,'','1200001356',NULL,NULL,'',true,'+03:00',true,'58ef9cdc-8a9d-429e-89a5-1c49e2684a98','',false,NULL,'2024-09-29 09:49:42.902854'),
|
||||
('0068b57d-1272-467d-8cfd-fb3edb9ce430'::uuid,'6f60bde2-33f8-4b33-be9f-cd57a6e041c4','bb7aa36f-446e-4262-a609-28694ca2e398',1,'2024-09-29 09:49:42.954233','2024-09-29 09:49:42.954233','Department','08486367','ВК Республики Марий Эл','Военный комиссариат Сернурского района Республики Марий Эл','','','','Респ. Марий Эл, р-н. Сернурский, пгт. Сернур, ул. Коммунистическая, д. 63','0f4f0b9b-80af-4942-b01d-a001b15122a2','Респ. Марий Эл, р-н. Сернурский, пгт. Сернур, ул. Коммунистическая, д. 63','0f4f0b9b-80af-4942-b01d-a001b15122a2',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+03:00',true,NULL,'МС',false,NULL,'2024-09-29 09:49:42.953784'),
|
||||
('1ac66d8e-29ad-4cab-93fc-cced8d8b94b6'::uuid,'55eae374-9bb5-4295-9e3a-5fbcdaba870d','bb7aa36f-446e-4262-a609-28694ca2e398',1,'2024-09-29 09:49:42.957764','2024-09-29 09:49:42.957764','Department','07871577','ВК г. Йошкар-Ола Республики Марий Эл','Военный комиссариат города Йошкар-Ола Республики Марий Эл','','','','Респ. Марий Эл, г. Йошкар-Ола, пр-кт. Гагарина, д. 16','341779b1-f7c3-48c6-8d21-4bd7f79d07bf','Респ. Марий Эл, г. Йошкар-Ола, пр-кт. Гагарина, д. 16','341779b1-f7c3-48c6-8d21-4bd7f79d07bf',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+03:00',true,NULL,'МЙ',false,NULL,'2024-09-29 09:49:42.957306'),
|
||||
('efdbd421-c2b7-4d4a-a2b0-9a377595b060'::uuid,'30ce4b57-17ca-4b01-b685-1303ce22e3f2','bb7aa36f-446e-4262-a609-28694ca2e398',1,'2024-09-29 09:49:42.960476','2024-09-29 09:49:42.960476','Department','08486114','ВК Мари-Турекского и Параньгинского районов Республики Марий Эл','Военный комиссариат Мари-Турекского и Параньгинского районов Республики Марий Эл','','','1111111111','Респ. Марий Эл, р-н. Мари-Турекский, пгт. Мари-Турек, ул. Красноармейская, д. 19','a5efc9b1-afd5-4bd0-b9fb-ae72d4e62baf','Респ. Марий Эл, р-н. Мари-Турекский, пгт. Мари-Турек, ул. Красноармейская, д. 19','a5efc9b1-afd5-4bd0-b9fb-ae72d4e62baf',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+03:00',true,NULL,'ММ',false,NULL,'2024-09-29 09:49:42.960087'),
|
||||
('44cbc7da-0243-4ec1-a3e0-604599501502'::uuid,'d5dd717e-d2f4-4e93-860a-1bb1a97beb46','bb7aa36f-446e-4262-a609-28694ca2e398',1,'2024-09-29 09:49:42.96562','2024-09-29 09:49:42.96562','Department','08486054','ВК Куженерского района Республики Марий Эл','Военный комиссариат Куженерского района Республики Марий Эл','','','','Респ. Марий Эл, р-н. Куженерский, пгт. Куженер, ул. Советская, д. 10','9b329561-1d97-42ca-aac2-b383e3aed5e9','Респ. Марий Эл, р-н. Куженерский, пгт. Куженер, ул. Советская, д. 10','9b329561-1d97-42ca-aac2-b383e3aed5e9',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+03:00',true,NULL,'МК',false,NULL,'2024-09-29 09:49:42.965182'),
|
||||
('10653db1-856c-4f9b-b624-55bd2345380b'::uuid,'2befcbb4-7eb3-4a77-a3cb-f7f0eb0fab2e','bb7aa36f-446e-4262-a609-28694ca2e398',1,'2024-09-29 09:49:42.968291','2024-09-29 09:49:42.968291','Department','08485959','ВК города Волжск и Волжского района Республики Марий Эл','Военный комиссариат города Волжск и Волжского района Республики Марий Эл','','','','Респ. Марий Эл, г. Волжск, ул. Авиации, д. 51','da0941a3-25b7-48b0-99c7-9624ada1a986','Респ. Марий Эл, г. Волжск, ул. Авиации, д. 51','da0941a3-25b7-48b0-99c7-9624ada1a986',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+03:00',true,NULL,'МВ',false,NULL,'2024-09-29 09:49:42.96793'),
|
||||
('9e0d94ef-2c1f-4335-9279-497357dfe550'::uuid,'0ce35443-78f6-473a-97f2-e1f2d5ba7a4e','bb7aa36f-446e-4262-a609-28694ca2e398',4,'2024-09-29 09:49:42.970858','2024-09-29 09:49:42.970858','Department','08486404','ВК Советского района Республики Марий Эл','Военный комиссариат Советского района Республики Марий Эл','','','','Респ. Марий Эл, р-н. Советский, пгт. Советский, ул. Садовая, д. 6б','a9d465bd-16d2-4a8e-ab03-2f157fd31846','Респ. Марий Эл, р-н. Советский, пгт. Советский, ул. Садовая, д. 6б','a9d465bd-16d2-4a8e-ab03-2f157fd31846',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+03:00',true,NULL,'МС',false,'12','2024-09-29 09:49:42.970535'),
|
||||
('51f57f8b-b2ef-4409-89cd-55b544c1dfcd'::uuid,'ac702380-5836-4bed-b846-a8c15b241a84','bb7aa36f-446e-4262-a609-28694ca2e398',1,'2024-09-29 09:49:42.973581','2024-09-29 09:49:42.973581','Department','08486278','ВК Оршанского района Республики Марий Эл','Военный комиссариат Оршанского района Республики Марий Эл','','','','Респ. Марий Эл, р-н. Оршанский, пгт. Оршанка, ул. Советская, д. 47','53407427-08ac-47bb-86da-3821e376c4ae','Респ. Марий Эл, р-н. Оршанский, пгт. Оршанка, ул. Советская, д. 47','53407427-08ac-47bb-86da-3821e376c4ae',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+03:00',true,NULL,'МО',false,NULL,'2024-09-29 09:49:42.973194') on conflict do nothing;
|
||||
INSERT INTO public.recruitment (id,idm_id,parent_id,"version",created_at,updated_at,"schema",military_code,shortname,fullname,dns,email,phone,address,address_id,postal_address,postal_address_id,nsi_department_id,nsi_organization_id,oktmo,org_ogrn,dep_ogrn,epgu_id,kpp,inn,okato,division_type,tns_department_id,enabled,timezone,reports_enabled,region_id,subpoena_series_code,hidden,region_code,ts) VALUES
|
||||
('b08c1d90-915a-4bb4-a6c4-f44e2af9e63d'::uuid,'6ed8b34f-d049-4b7f-8d1b-b99a1852236b','bb7aa36f-446e-4262-a609-28694ca2e398',1,'2024-09-29 09:49:42.976162','2024-09-29 09:49:42.976162','Department','08486120','ВК Медедевского и Килемарского района Республики Марий Эл','Военный комиссариат Медедевского и Килемарского района Республики Марий Эл','','','','Респ. Марий Эл, р-н. Медведевский, пгт. Медведево, ул. Шумелева, д. 14','0f872398-5f7f-4d42-a17e-1dda2faf974c','Респ. Марий Эл, р-н. Медведевский, пгт. Медведево, ул. Шумелева, д. 14','0f872398-5f7f-4d42-a17e-1dda2faf974c',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+03:00',true,NULL,'ММ',false,NULL,'2024-09-29 09:49:42.975837'),
|
||||
('8667f0ec-4ca3-4668-8846-8b665cebda8d'::uuid,'fc10523f-af31-4f6b-b0e2-00799758f634','bb7aa36f-446e-4262-a609-28694ca2e398',1,'2024-09-29 09:49:42.978625','2024-09-29 09:49:42.978625','Department','08485971','ВК города Козьмодемьянск, Горномарийского и Юринского районов Республики Марий Эл','Военный комиссариат города Козьмодемьянск, Горномарийского и Юринского районов Республики Марий Эл','','','','Респ. Марий Эл, г. Козьмодемьянск, ул. Гагарина, д. 54','dbc24888-8544-4ad2-85a3-03b2d490cdd6','Респ. Марий Эл, г. Козьмодемьянск, ул. Гагарина, д. 54','dbc24888-8544-4ad2-85a3-03b2d490cdd6',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+03:00',true,NULL,'',false,NULL,'2024-09-29 09:49:42.978311'),
|
||||
('a933e951-88c0-421d-a291-33fa4cea36fc'::uuid,'1ff99d4f-7418-46bc-9c60-61a0e4ec77bd','bb7aa36f-446e-4262-a609-28694ca2e398',2,'2024-09-29 09:49:42.981338','2024-09-29 09:49:42.981338','Department','08486166','ВК Моркинского района Республики Марий Эл','Военный комиссариат Моркинского района Республики Марий Эл','','','','Респ. Марий Эл, р-н. Моркинский, пгт. Морки, ул. Пушкина, д. 16','199b74ce-00a6-4fbd-a681-f60db2754db7','Респ. Марий Эл, р-н. Моркинский, пгт. Морки, ул. Пушкина, д. 16','199b74ce-00a6-4fbd-a681-f60db2754db7',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+03:00',true,NULL,'ММ',false,'12','2024-09-29 09:49:42.98099'),
|
||||
('58684643-1498-446e-bd62-8883d17f72bd'::uuid,'9a4640f6-143a-7642-51bd-d2b5ac5e9d1e','b00de68d-2e09-4776-9b48-1566a7222dca',3,'2024-09-29 09:49:42.983939','2024-09-29 09:49:42.983939','Organization','96199409','ВК Вятска','Военный комиссариат Вятска Тест','','','','',NULL,'Респ. Удмуртская, р-н. Каракулинский, с/п. Вятское','71e8456a-acf1-432d-80ee-def9d7123fab',NULL,NULL,'',NULL,NULL,NULL,'','3333333333',NULL,NULL,'',true,'+01:30',false,'b00de68d-2e09-4776-9b48-1566a7222dca','ВЯ',false,'18','2024-09-29 09:49:42.983526'),
|
||||
('6693233b-7893-43b5-80f5-08b282c35156'::uuid,'1cf09194-0f3b-4f2c-a14f-03604d68ff8f','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.986828','2024-09-29 09:49:42.986828','Department','08470969','ВК Добринского района Липецкой области','Военный комиссариат Добринского района Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, р-н. Добринский, п. Добринка, ул. Корнева, д. 9','635c92bc-ab19-4617-9e53-0deae43b850a',NULL,NULL,'42612422','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'4c04ea3a-577f-4cbb-998c-c3a57137461b',true,'+03:00',true,NULL,'ЛД',false,'48','2024-09-29 09:49:42.986397'),
|
||||
('b9c6bc65-f4be-4b7e-842b-1c4d90f0c07f'::uuid,'52b4ee14-5af8-c029-26c2-80faba9e967d','b00de68d-2e09-4776-9b48-1566a7222dca',3,'2024-09-29 09:49:42.989945','2024-09-29 09:49:42.989945','Organization','23422332','Вторая организация','Вторая организация','','','','',NULL,'Респ. Татарстан, г. Казань, ул. Юлиуса Фучика, д. 64, корп. 2, кв. 1','f81f8017-27b8-4994-9f17-e61d1684a55b',NULL,NULL,'',NULL,NULL,NULL,'','3423445434',NULL,NULL,'',true,'+00:00',true,'b00de68d-2e09-4776-9b48-1566a7222dca','АА',false,'50','2024-09-29 09:49:42.989499'),
|
||||
('46c0431c-6d5e-469c-9b89-2f0ed33c2cef'::uuid,'9c459101-fa10-4468-acbb-ce34df064aa1','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.992844','2024-09-29 09:49:42.992844','Department','08471041','ВК Добровского района Липецкой области','Военный комиссариат Добровского района Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, р-н. Добровский, с. Доброе, ул. Советской Армии, д. 2','1de813ab-7a54-4791-8163-bdb3812f4368',NULL,NULL,'42615416','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'726dd93c-9e9d-40d4-91e3-3b9dd03c1cbe',true,'+03:00',true,NULL,'ЛД',false,'48','2024-09-29 09:49:42.992492'),
|
||||
('4e4c712e-f3bb-4f2f-8cf1-6e1c9bda2677'::uuid,'5ea50fa7-0b85-4a27-8293-dbd36162cb9a','52b4ee14-5af8-c029-26c2-80faba9e967d',2,'2024-09-29 09:49:42.995541','2024-09-29 09:49:42.995541','Department','34523323','Второе подразделение','Второе подразделение','','','','',NULL,'Респ. Татарстан, г. Казань, ул. Юлиуса Фучика, д. 64, корп. 2, кв. 1','f81f8017-27b8-4994-9f17-e61d1684a55b',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+01:00',true,NULL,'АА',false,'31','2024-09-29 09:49:42.995194'),
|
||||
('4da4fafb-f3ba-4f18-8140-54fffd552d59'::uuid,'a2d517d4-a6c3-4cb8-8d9b-3c8d15a7007c','2137685f-0683-4131-82d8-983222114184',1,'2024-09-29 09:49:42.998227','2024-09-29 09:49:42.998227','Department','08471503','ВК Тербунского и Воловского районов Липецкой области','Военный комиссариат Тербунского и Воловского районов Липецкой области','',NULL,NULL,'',NULL,'обл. Липецкая, р-н. Тербунский, с. Тербуны, ул. Ленина, д. 59','2bcf7e99-6f01-4920-851c-0a3b2ce4e637',NULL,NULL,'42645458','1024800835311','1024800835311',NULL,'482501001','4825011699','42000000000',NULL,'73679f37-b808-4937-ba57-6703ed798d11',true,'+03:00',true,NULL,'ЛТ',false,'48','2024-09-29 09:49:42.997899'),
|
||||
('d740fa3c-bb0a-42d7-9ba6-347fc7b57e4a'::uuid,'4c062d4a-3f77-c850-6388-dde909e3946b','58ef9cdc-8a9d-429e-89a5-1c49e2684a98',2,'2024-09-29 09:49:43.050417','2024-09-29 09:49:43.050417','Organization','54645334','АВвыфафв','АВфвафв','','','','',NULL,'обл. Свердловская, г. Ивдель, ул. 50 лет Октября, снт. Москвич','dd070b86-ee86-4fd7-bea9-178d8f0ab4cc',NULL,NULL,'24214321412',NULL,NULL,NULL,'213412321','5234543223',NULL,NULL,'',true,'+01:34',true,'58ef9cdc-8a9d-429e-89a5-1c49e2684a98','ВА',false,'36','2024-09-29 09:49:43.000637') on conflict do nothing;
|
||||
INSERT INTO public.recruitment (id,idm_id,parent_id,"version",created_at,updated_at,"schema",military_code,shortname,fullname,dns,email,phone,address,address_id,postal_address,postal_address_id,nsi_department_id,nsi_organization_id,oktmo,org_ogrn,dep_ogrn,epgu_id,kpp,inn,okato,division_type,tns_department_id,enabled,timezone,reports_enabled,region_id,subpoena_series_code,hidden,region_code,ts) VALUES
|
||||
('dfe9ce08-7f82-4d59-a21d-65c1a9f1ed3b'::uuid,'bacac23b-477f-4c26-8973-d83f0ca387fb','84bc45ab-c032-410e-9dc5-07e92719ede4',1,'2024-09-29 09:49:43.055669','2024-09-29 09:49:43.055669','Department','08444050','ВК города Корсаков и Корсаковского района Сахалинской области','Военный комиссариат города Корсаков и Корсаковского района Сахалинской области','',NULL,NULL,'',NULL,'обл. Сахалинская, р-н. Корсаковский, г. Корсаков, ул. Окружная, зд. 58','ec66984a-c184-4dae-a2ca-8daac8c925f5',NULL,NULL,'64716000','1026500540659','1026500540659',NULL,'650101001','6501027156','64000000000',NULL,'3a9683ce-e82c-4154-ab52-3cd9e0caaa36',true,'+11:00',true,NULL,'СК',false,'65','2024-09-29 09:49:43.054909'),
|
||||
('9c09e210-6dd9-4bc3-a8ad-f3dd4d1cc70a'::uuid,'82518cee-d3ce-40fd-a5b4-3e12647afc45','84bc45ab-c032-410e-9dc5-07e92719ede4',1,'2024-09-29 09:49:43.060245','2024-09-29 09:49:43.060245','Department','08444392','ВК города Александровск-Сахалинский, Александровск-Сахалинского и Тымовского районов Сахалинской области','Военный комиссариат города Александровск-Сахалинский, Александровск-Сахалинского и Тымовского районов Сахалинской области','',NULL,NULL,'',NULL,'обл. Сахалинская, р-н. Тымовский, пгт. Тымовское, ул. Харитонова, д. 19','72156f5a-44b1-4c06-84e4-4fe5b7616e59',NULL,NULL,'64750000','1026500540659','1026500540659',NULL,'650101001','6501027156','64000000000',NULL,'d1a06c53-0dad-41b1-ac02-258eb45fa28b',true,'+11:00',true,NULL,'СА',false,'65','2024-09-29 09:49:43.059666'),
|
||||
('4dcebf08-40b2-4ba0-8fe8-700d67cdc5b2'::uuid,'22c64b79-f8e4-41e7-a2f3-1aa9df424fd9','092d6963-287c-454e-8d73-8e09ebee972e',1,'2024-09-29 09:49:43.064228','2024-09-29 09:49:43.064228','Department','08476819','ВК Рыбновского района Рязанской области','Военный комиссариат Рыбновского района Рязанской области','',NULL,NULL,'',NULL,'обл. Рязанская, р-н. Рыбновский, г. Рыбное, ул. Советской Армии','06d6380c-4f90-4c89-93d1-979a98e9ace7',NULL,NULL,'61627101','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'57761889-e0ba-4def-94ed-15b134a87ca1',true,'+03:00',true,NULL,'РР',false,'62','2024-09-29 09:49:43.063521'),
|
||||
('3e77b04b-168d-4f27-a4b4-dce4ac71f394'::uuid,'27f7b3c0-a222-45e0-896f-58bdf4341a41','092d6963-287c-454e-8d73-8e09ebee972e',1,'2024-09-29 09:49:43.069449','2024-09-29 09:49:43.069449','Department','08476529','ВК города Михайлов, Михайловского и Захаровского районов Рязанской области','Военный комиссариат города Михайлов, Михайловского и Захаровского районов Рязанской области','',NULL,NULL,'',NULL,'обл. Рязанская, р-н. Михайловский, г. Михайлов, пл. Ленина','e37d3b48-a980-42ce-869a-e3abbf438798',NULL,NULL,'61617101','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'2c66c5ea-4d7a-464e-9279-f9af1cf4258d',true,'+03:00',true,NULL,'РМ',false,'62','2024-09-29 09:49:43.068624'),
|
||||
('e7eaf26b-e0b6-4b1f-8a8b-c7f4ec26fb90'::uuid,'370bc761-ae40-46f1-b4d8-974317b5ceb6','092d6963-287c-454e-8d73-8e09ebee972e',1,'2024-09-29 09:49:43.07467','2024-09-29 09:49:43.07467','Department','08476438','ВК города Касимов и Касимовского района Рязанской области','Военный комиссариат города Касимов и Касимовского района Рязанской области','',NULL,NULL,'',NULL,'обл. Рязанская, г. Касимов, ул. Карла Маркса, д. 7','78996d8c-9f40-4798-9f40-63e74e80a8b0',NULL,NULL,'61705000','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'954a9df0-531f-47f7-aaa0-e0ddfd64c880',true,'+03:00',true,NULL,'РК',false,'62','2024-09-29 09:49:43.074076'),
|
||||
('d05d4f2f-168f-48c8-8817-f6403654a614'::uuid,'d1efbe15-744e-8521-5b8e-7ac604e4379b','b00de68d-2e09-4776-9b48-1566a7222dca',3,'2024-09-29 09:49:43.07826','2024-09-29 09:49:43.07826','Organization','23344455','Тестовая Организация','Тестовая Организация','','','','',NULL,'г. Москва','0c5b2444-70a0-4932-980c-b4dc0d3f02b5',NULL,NULL,'',NULL,NULL,NULL,'','2222222222',NULL,NULL,'',true,'+01:30',true,'b00de68d-2e09-4776-9b48-1566a7222dca','МО',false,'46','2024-09-29 09:49:43.077776'),
|
||||
('2386a304-73a2-40ce-b3ec-f02d688f3b20'::uuid,'37c187fe-4f37-45e6-9246-07148112367c','092d6963-287c-454e-8d73-8e09ebee972e',1,'2024-09-29 09:49:43.082578','2024-09-29 09:49:43.082578','Department','08476794','ВК Пронского и Старожиловского районов Рязанской области','Военный комиссариат Пронского и Старожиловского районов Рязанской области','',NULL,NULL,'',NULL,'обл. Рязанская, р-н. Пронский, рп. Пронск, ул. Первомайская, д. 25','ae784d87-e52a-416a-9d30-8ff52396a3de',NULL,NULL,'61625151','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'0bab4262-c2f1-4140-9ffd-4e326d17f900',true,'+03:00',true,NULL,'РП',false,'62','2024-09-29 09:49:43.081734'),
|
||||
('4ac5c009-5dc4-4ed3-a2ae-ec3a583d8ec0'::uuid,'dad6c101-34be-45c3-8173-57190cb69dfb','092d6963-287c-454e-8d73-8e09ebee972e',1,'2024-09-29 09:49:43.086295','2024-09-29 09:49:43.086295','Department','08476860','ВК Ряжского и Александро-Невского районов Рязанской области','Военный комиссариат Ряжского и Александро-Невского районов Рязанской области','',NULL,NULL,'',NULL,'обл. Рязанская, р-н. Ряжский, г. Ряжск, ул. Высотная, д. 1А','ee4e1a93-68b0-4d52-98ff-ce41870c762d',NULL,NULL,'61630101','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'95431672-0829-4532-b888-7dfd37f89be5',true,'+03:00',true,NULL,'РР',false,'62','2024-09-29 09:49:43.085829'),
|
||||
('aa6f0546-fc5d-4c51-a22d-27a8ce0041f3'::uuid,'f6a7fb8b-379f-4802-bf00-73f9c493825f','092d6963-287c-454e-8d73-8e09ebee972e',1,'2024-09-29 09:49:43.089197','2024-09-29 09:49:43.089197','Department','08476920','ВК города Сасово, Ермишинского, Кадомского, Сасовского и Пителинского районов Рязанской области','Военный комиссариат города Сасово, Ермишинского, Кадомского, Сасовского и Пителинского районов Рязанской области','',NULL,NULL,'',NULL,'обл. Рязанская, г. Сасово, ул. Ленина, д. 67','e472eeb4-9784-458e-a8b0-4c186ab48cc9',NULL,NULL,'61710000','1026201271337','1026201271337',NULL,'602701001','6231026092','61000000000',NULL,'881b2f73-b939-4796-98f6-8dd16fa937ad',true,'+03:00',true,NULL,'РС',false,'62','2024-09-29 09:49:43.08885'),
|
||||
('8000b421-4a1a-4db4-97f7-e01daaa93f42'::uuid,'0e10678c-f272-41c3-94dd-c15830321f9a','bb7aa36f-446e-4262-a609-28694ca2e398',3,'2024-09-29 09:49:43.092122','2024-09-29 09:49:43.092122','Department','08486189','ВК Новоторъяльского района Республики Марий Эл','Военный комиссариат Новоторъяльского района Республики Марий Эл','','','','Респ. Марий Эл, р-н. Новоторъяльский, пгт. Новый Торъял, ул. Советская, д. 11','e709b7cf-5e4b-4034-84f0-c59408137b61','Респ. Марий Эл, р-н. Новоторъяльский, пгт. Новый Торъял, ул. Советская, д. 11','e709b7cf-5e4b-4034-84f0-c59408137b61',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+03:00',true,NULL,'МН',false,'12','2024-09-29 09:49:43.091659') on conflict do nothing;
|
||||
INSERT INTO public.recruitment (id,idm_id,parent_id,"version",created_at,updated_at,"schema",military_code,shortname,fullname,dns,email,phone,address,address_id,postal_address,postal_address_id,nsi_department_id,nsi_organization_id,oktmo,org_ogrn,dep_ogrn,epgu_id,kpp,inn,okato,division_type,tns_department_id,enabled,timezone,reports_enabled,region_id,subpoena_series_code,hidden,region_code,ts) VALUES
|
||||
('ce800cef-2d23-43e3-974f-6b79de3270ae'::uuid,'fe655d90-893a-31f7-ff8b-9ccef8af0f83','30a01af9-a871-411a-90e3-d81592bb074f',2,'2024-09-29 09:49:43.150363','2024-09-29 09:49:43.150363','Organization','00000001','Администрация городского округа Щёлково Московской области','Администрация городского округа Щёлково Московской области','','','1111111111','обл. Московская, г. Щёлково, гск. Центральный','ca9ef592-d8d5-4cea-88f5-7d1823ba3fc9','обл. Московская, г. Щёлково, гск. Центральный','ca9ef592-d8d5-4cea-88f5-7d1823ba3fc9',NULL,NULL,'',NULL,NULL,NULL,'','2376709786',NULL,NULL,'',true,'+03:00',true,'30a01af9-a871-411a-90e3-d81592bb074f','МЩ',false,'50','2024-09-29 09:49:43.094485'),
|
||||
('3b767267-c2ef-468c-9e67-114ec4105832'::uuid,'e079ea79-50f1-4af4-beea-1b7648e86ce9','fe655d90-893a-31f7-ff8b-9ccef8af0f83',1,'2024-09-29 09:49:43.1562','2024-09-29 09:49:43.1562','Department','08474818','ВК городских округов Щелково Фрязино Звездный городок и Лосино-Петровского городского округа Московской области','ВК городских округов Щелково Фрязино Звездный городок и Лосино-Петровского городского округа Московской области','','','','обл. Московская, г. Щёлково, ул. Центральная','a94b46de-09e5-4292-80e1-db2e49797b00','обл. Московская, г. Щёлково, ул. Центральная','a94b46de-09e5-4292-80e1-db2e49797b00',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',true,'+03:00',true,NULL,'МЩ',false,'50','2024-09-29 09:49:43.155505') on conflict do nothing;
|
||||
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0007" author="hairullin">
|
||||
<comment>insert values into "security".org_unit</comment>
|
||||
<sql>
|
||||
INSERT INTO "security".org_unit (id,"name",code,parent_id,removed) VALUES
|
||||
('20f455d2-2908-4a86-8ab5-2e500f2f5544','Министерство обороны','f03fc8c0-2ce7-4121-a306-f82d65ea029d',NULL,false),
|
||||
('e00feef8-7b8a-47c2-9a16-f0f7dc877f56','Восточный военный округ','b23f384f-b114-4003-9277-2eaa2d9ae180',NULL,false),
|
||||
('72cd6795-0303-4894-82ad-911bc259d87e','Московский военный округ','30a01af9-a871-411a-90e3-d81592bb074f',NULL,false),
|
||||
('d29346a7-dc0f-452d-859f-9bd3a83c219c','Ленинградский военный округ','25633423-52e6-45bb-9d54-7f85b74a3f7d',NULL,false),
|
||||
('826c2187-7761-48ff-9399-25d1cc2a9297','Центральный военный округ','58ef9cdc-8a9d-429e-89a5-1c49e2684a98',NULL,false),
|
||||
('a7b1f5f2-e43f-44da-92c6-6f394f53ec95','Южный военный округ','b00de68d-2e09-4776-9b48-1566a7222dca',NULL,false),
|
||||
('fb2a5e9b-5c86-4c6f-bea0-c4501d466549','Тестовый комиссариат 2','83779471-c29f-c2eb-0e70-7846af31d10e',NULL,false),
|
||||
('521ce853-5cec-4d2c-8aa5-8f73e5ac3376','FDfsafd','31b88ed6-263e-225d-0787-74f7ef25f5f6',NULL,false),
|
||||
('30de0a5c-a8df-4591-9bdc-52bfe5abb31d','Военный комиссариат Вятска Тест','5055a985-c97c-f5dc-2158-ff5862bfe4cf',NULL,false) on conflict do nothing;
|
||||
INSERT INTO "security".org_unit (id,"name",code,parent_id,removed) VALUES
|
||||
('f8010c28-ec1b-415f-9546-f1b58e36279e','Тестовая организация Тест Второй','8edec280-3143-4d45-b702-ad5e91ef0e52',NULL,false),
|
||||
('ba28c023-72f4-4ef5-b209-631f72f9488e','Военный комиссариат городских округов Курильский и Северо-Курильский Сахалинской области','ce08e909-5a14-480f-b931-bff172872ac6',NULL,false),
|
||||
('4d3daef5-a63d-417c-8235-97c2b772a182','Военный комиссариат городского округа Южно-Курильский Сахалинской области','6da64c78-6705-4567-9f5f-5ade5822d92f',NULL,false),
|
||||
('a3188467-3169-4b4e-847c-ffcca71c4440','Военный комиссариат города Долинск и Долинского района Сахалинской области','110686b2-4a01-4976-885b-d26a2980f53a',NULL,false),
|
||||
('a67c6e12-b1fe-406b-b080-6b518324d6ea','Военный комиссариат города Невельск и Невельского района Сахалинской области','98d428b3-502e-42b6-a29e-a469f894ac16',NULL,false),
|
||||
('bb80fa73-9e50-491c-98c1-1869d752bba7','Военный комиссариат Краснинского района Липецкой области','8127c345-3fc1-4864-9d6e-cf34e69c494c',NULL,false),
|
||||
('e6c40dc8-0065-42c2-8c50-87714b3a0f7c','Военный комиссариат Лебедянского района Липецкой области','b2238b19-8598-4dfa-bb49-0de95136e344',NULL,false),
|
||||
('cef595ce-c5af-44bb-9711-b0b7fd5b2df4','Тестовый муниципальный комиссариат 2','54a95ecd-1530-424c-8da1-882622b2df83',NULL,false),
|
||||
('3a36fc6d-e2d4-414b-a995-e6c8bff78b77','Военный комиссариат города Холмск и Холмского района Сахалинской области','67dacb06-d1f7-4c0e-9891-32863353cae9',NULL,false),
|
||||
('659ed98b-9868-4168-adff-35e9e1bd9b0b','Военный комиссариат города Поронайск, Макаровского, Поронайского и Смирныховского районов Сахалинской области','24b7ba55-9757-45d9-9c5e-5ca3e8c9c2d0',NULL,false) on conflict do nothing;
|
||||
INSERT INTO "security".org_unit (id,"name",code,parent_id,removed) VALUES
|
||||
('8a1f8307-76c9-4923-a0fe-88bc6a563fcb','АУВафцыва','20d82cbf-d520-48ce-a02a-540ce3838087',NULL,false),
|
||||
('6fabcb61-584f-401d-85f6-79a49e3d8f61','Военный комиссариат Измалковского района Липецкой области','52e97a4c-f68c-489a-a923-fabb9ef574dd',NULL,false),
|
||||
('08f29c2e-0682-4179-a8f1-21a278c22d26','Военный комиссариат Долгоруковского района Липецкой области','94a9f485-eab9-4158-a1bf-330d23e29ae2',NULL,false),
|
||||
('c93d2dc2-7741-4ca7-9690-14c764a77bf0','Военный комиссариат Задонского района Липецкой области','f4e38f22-d974-412b-8a34-b1933ca865a9',NULL,false),
|
||||
('d01db5cc-086b-4609-9aad-2c6397c4dd96','Военный комиссариат города Данков, Данковского и Лев-Толстовского района Липецкой области','2545944e-5252-4a6f-bcb2-8a4adf720e9b',NULL,false),
|
||||
('939dd496-542a-45f4-91e0-90c331d85f5f','Военный комиссариат Хлевенского района Липецкой области','3a56b060-20ee-4b62-9d96-4c6bf4928039',NULL,false),
|
||||
('fd142737-1a6a-466f-a318-b1412b184b3d','Военный комиссариат Шиловского и Путятинского районов Рязанской области','79f6c236-3ee8-40ff-bc10-40077420e82e',NULL,false),
|
||||
('50439548-a88f-4e49-93a1-ce29c1eb9b9a','Военный комиссариат Ухоловского, Сапожковского и Сараевского районов Рязанской области','86fc6ed6-1d82-4536-8066-c9ff2ca68639',NULL,false),
|
||||
('908c5c7a-2942-4083-acbf-3a03c739b860','Военный комиссариат города Шацк, Шацкого и Чучковского районов Рязанской области','e22cfafc-b8b1-47fd-b9f4-b9015734d578',NULL,false),
|
||||
('928411d1-b6c2-40ea-a3df-4cad7aec98a5','Военный комиссариат Московского и Железнодорожного районов города Рязань Рязанской области','2ca66dd6-6688-45c9-bb7e-988c7e92d34a',NULL,false) on conflict do nothing;
|
||||
INSERT INTO "security".org_unit (id,"name",code,parent_id,removed) VALUES
|
||||
('da5a8694-eae5-4da1-81b9-54ac3ac178f2','Военный комиссариат Клепиковского района Рязанской области','55727f17-6ab4-4d51-ad32-ba8e916acf49',NULL,false),
|
||||
('9b83cc97-0439-458e-bc45-08315eb4d9b8','Военный комиссариат Рязанского и Спасского районов Рязанской области','6562ddb0-3f0c-4e43-bf0c-a834421cd4db',NULL,false),
|
||||
('cbc0917a-3052-41ea-a97e-f482b2c81b2d','Военный комиссариат города Скопин, Скопинского и Милославского районов Рязанской области','f59afe6d-c166-4196-a489-6d17f02fc05e',NULL,false),
|
||||
('b2e6bca2-d7eb-4654-8aef-d5c529e1c899','Военный комиссариат Сахалинской области','84bc45ab-c032-410e-9dc5-07e92719ede4',NULL,false),
|
||||
('3cab3b8a-15f2-4c69-a3be-e7485717baa2','Тестовый комиссариат 1','e8f52736-3997-4e3a-c9e4-5bfca6eddc89',NULL,false),
|
||||
('67db7b5b-0892-4908-bd20-864f932e80f9','Главное организационно-мобилизационное управление','5d8e4e2b-37d7-44a8-accb-45e87b62aa2d',NULL,false),
|
||||
('6e1017e2-1e38-481f-85c2-e828247f2b79','Восьмое управление ГШ ВС РФ','553b9449-6460-48c4-88d4-f18283abc4a7',NULL,false),
|
||||
('69865d28-3f69-4047-8d4d-9469a6c33d5f','Военный комиссариат Октябрьского и Советского районов города Рязань Рязанской области','6139de3b-2378-496f-9fca-7df7dab90832',NULL,false),
|
||||
('77df47ff-f9d1-47f6-89c5-dc214b91a2a2','Военный комиссариат Липецкой области','2137685f-0683-4131-82d8-983222114184',NULL,false),
|
||||
('38392eea-e14b-48b5-a0a1-2cff65bcb396','Военный комиссариат Рязанской области','092d6963-287c-454e-8d73-8e09ebee972e',NULL,false) on conflict do nothing;
|
||||
INSERT INTO "security".org_unit (id,"name",code,parent_id,removed) VALUES
|
||||
('1cb021ac-4335-40d4-987c-7c7648d104be','Военный комиссариат города Оха и Охинского района Сахалинской области','5eadc746-674d-4ba0-95d6-414d3469c82b',NULL,false),
|
||||
('2330352b-59ff-4b3f-b534-196fb5b20f9a','ВК Одинцовского городского округа городских округов Краснознаменск и Власиха Московской области','3b71b6ff-3eec-4cca-fed0-055bb0c163cc',NULL,false),
|
||||
('4b2365ea-b799-48d4-ab00-b6f6dac5b952','тест','bce5663e-5fe1-94a7-40f9-71d0490459da',NULL,false),
|
||||
('4e36849b-6652-483d-aecf-a3d9e18e42b9','Военный комиссариат Кораблинского района Рязанской области','0fe2bdf0-afbb-402d-93da-67e511799afa',NULL,false),
|
||||
('8bd65d2b-630c-4513-964b-d70b48726bc5','Военный комиссариат города Липецк Липецкой области','9703f108-761a-467a-aad3-89617e5539ed',NULL,false),
|
||||
('2caa5eae-b6c8-4943-8b8b-428dc9c6cb4d','Военный комиссариат города Грязи и Грязинского района Липецкой области','b5209c2c-67f6-4b6d-9617-8370aa9907a8',NULL,false),
|
||||
('b00a1841-f444-4fb4-827a-a4e1075eac01','Военный комиссариат города Углегорск, Томаринского и Углегорского районов Сахалинской области','121d7da8-5f40-4e79-900a-ddba5a62f8aa',NULL,false),
|
||||
('0b6eaee2-e52c-4d79-ab97-921a98007539','НЕ трогать оргу Андреева','731b87ec-91e7-cf82-afcc-b2967439f7ae',NULL,false),
|
||||
('fb0ec464-70e8-421b-bb20-8a12bf5780c4','Военный комиссариат Чаплыгинского района Липецкой области','4b0309d6-f28a-49db-8950-5ffebd917e1e',NULL,false),
|
||||
('610d1eee-a270-4f35-b8aa-df017e102b5c','Муниципального Военный Комиссариат Вятска','10b67909-b154-45e3-8eef-7f0fac9abb5d',NULL,false) on conflict do nothing;
|
||||
INSERT INTO "security".org_unit (id,"name",code,parent_id,removed) VALUES
|
||||
('f7fadde2-de94-4386-926a-48f539b14564','Военный комиссариат города Елец и Елецкого района Липецкой области','b042e073-e4ff-4873-b33e-4d44d17ec72d',NULL,false),
|
||||
('1c213331-711b-4263-8275-a0e099e0f78d','Военный комиссариат Анивского района Сахалинской области','cff66da8-2be0-4839-bd8e-332b1a150031',NULL,false),
|
||||
('7e17cb21-4dfb-4f66-8996-1f87e78f8533','Военный комиссариат города Южно-Сахалинск Сахалинской области','2966d239-5241-4acb-9b4f-707ba75f44d5',NULL,false),
|
||||
('dde8fd00-3648-49ed-a40e-c7caa58cab8d','Военный комиссариат Ногликского района Сахалинской области','eba7fd7d-e3da-49a7-8e65-8fc85e47190e',NULL,false),
|
||||
('1eabf1d8-3202-4359-b6be-dd045afbfa40','Военный комиссариат Липецкого района Липецкой области','70a19cf0-203a-4d04-a1c5-62c811c5ae66',NULL,false),
|
||||
('e4671f49-8155-447a-a35c-67cb6468803a','Военный комиссариат Усманского района Липецкой области','70b872b5-79de-4ef6-b5f3-11ecc68906bc',NULL,false),
|
||||
('618c4e20-c2b1-4783-bd35-3d5f897e5b83','Тестовый муниципальный комиссариат 1','00148448-3ad9-4e0d-b9d2-c5e81a05bcf6',NULL,false),
|
||||
('0b713936-42c9-4e40-bde3-e941220b81de','Военный комиссариат Звениговского района Республики Марий Эл','34c8685e-f08a-4877-afb1-a0589800a21c',NULL,false),
|
||||
('dbe21bb3-0416-4682-844a-07132e896a4b','Тестовая организация','fa005a7c-f833-0727-1924-990584ca6fee',NULL,false),
|
||||
('674eb255-c2a6-45e7-8395-46118f95cb9f','Военный комиссариат Становлянского района Липецкой области','786b4e73-42dd-4c36-968e-8cce5d9debc6',NULL,false) on conflict do nothing;
|
||||
INSERT INTO "security".org_unit (id,"name",code,parent_id,removed) VALUES
|
||||
('78a69506-f876-4549-add0-dd9b95e4cde9','Тестовый муниципальный комиссариат 3','5584b973-f5c0-4aee-ae5a-0b0d0444ad1b',NULL,false),
|
||||
('7aaab069-b993-469c-9cdc-d05b48e01da2','Тестовый муниципальный комиссариат 4','d49f28d4-0eca-4fd7-b68c-a0a693223de0',NULL,false),
|
||||
('58e31fcf-567c-4b4c-8bc7-eb5fb9676f08','тестт','6daa4999-df84-4469-bcc7-0f875affd41a',NULL,false),
|
||||
('e2683ce5-7de8-43b8-9ff3-2a2dc23a4e7c','Военный комиссариат республики Мари Эл','bb7aa36f-446e-4262-a609-28694ca2e398',NULL,false),
|
||||
('0068b57d-1272-467d-8cfd-fb3edb9ce430','Военный комиссариат Сернурского района Республики Марий Эл','6f60bde2-33f8-4b33-be9f-cd57a6e041c4',NULL,false),
|
||||
('1ac66d8e-29ad-4cab-93fc-cced8d8b94b6','Военный комиссариат города Йошкар-Ола Республики Марий Эл','55eae374-9bb5-4295-9e3a-5fbcdaba870d',NULL,false),
|
||||
('efdbd421-c2b7-4d4a-a2b0-9a377595b060','Военный комиссариат Мари-Турекского и Параньгинского районов Республики Марий Эл','30ce4b57-17ca-4b01-b685-1303ce22e3f2',NULL,false),
|
||||
('44cbc7da-0243-4ec1-a3e0-604599501502','Военный комиссариат Куженерского района Республики Марий Эл','d5dd717e-d2f4-4e93-860a-1bb1a97beb46',NULL,false),
|
||||
('10653db1-856c-4f9b-b624-55bd2345380b','Военный комиссариат города Волжск и Волжского района Республики Марий Эл','2befcbb4-7eb3-4a77-a3cb-f7f0eb0fab2e',NULL,false),
|
||||
('9e0d94ef-2c1f-4335-9279-497357dfe550','Военный комиссариат Советского района Республики Марий Эл','0ce35443-78f6-473a-97f2-e1f2d5ba7a4e',NULL,false) on conflict do nothing;
|
||||
INSERT INTO "security".org_unit (id,"name",code,parent_id,removed) VALUES
|
||||
('51f57f8b-b2ef-4409-89cd-55b544c1dfcd','Военный комиссариат Оршанского района Республики Марий Эл','ac702380-5836-4bed-b846-a8c15b241a84',NULL,false),
|
||||
('b08c1d90-915a-4bb4-a6c4-f44e2af9e63d','Военный комиссариат Медедевского и Килемарского района Республики Марий Эл','6ed8b34f-d049-4b7f-8d1b-b99a1852236b',NULL,false),
|
||||
('8667f0ec-4ca3-4668-8846-8b665cebda8d','Военный комиссариат города Козьмодемьянск, Горномарийского и Юринского районов Республики Марий Эл','fc10523f-af31-4f6b-b0e2-00799758f634',NULL,false),
|
||||
('a933e951-88c0-421d-a291-33fa4cea36fc','Военный комиссариат Моркинского района Республики Марий Эл','1ff99d4f-7418-46bc-9c60-61a0e4ec77bd',NULL,false),
|
||||
('58684643-1498-446e-bd62-8883d17f72bd','Военный комиссариат Вятска Тест','9a4640f6-143a-7642-51bd-d2b5ac5e9d1e',NULL,false),
|
||||
('6693233b-7893-43b5-80f5-08b282c35156','Военный комиссариат Добринского района Липецкой области','1cf09194-0f3b-4f2c-a14f-03604d68ff8f',NULL,false),
|
||||
('b9c6bc65-f4be-4b7e-842b-1c4d90f0c07f','Вторая организация','52b4ee14-5af8-c029-26c2-80faba9e967d',NULL,false),
|
||||
('46c0431c-6d5e-469c-9b89-2f0ed33c2cef','Военный комиссариат Добровского района Липецкой области','9c459101-fa10-4468-acbb-ce34df064aa1',NULL,false),
|
||||
('4e4c712e-f3bb-4f2f-8cf1-6e1c9bda2677','Второе подразделение','5ea50fa7-0b85-4a27-8293-dbd36162cb9a',NULL,false),
|
||||
('4da4fafb-f3ba-4f18-8140-54fffd552d59','Военный комиссариат Тербунского и Воловского районов Липецкой области','a2d517d4-a6c3-4cb8-8d9b-3c8d15a7007c',NULL,false) on conflict do nothing;
|
||||
INSERT INTO "security".org_unit (id,"name",code,parent_id,removed) VALUES
|
||||
('d740fa3c-bb0a-42d7-9ba6-347fc7b57e4a','АВфвафв','4c062d4a-3f77-c850-6388-dde909e3946b',NULL,false),
|
||||
('dfe9ce08-7f82-4d59-a21d-65c1a9f1ed3b','Военный комиссариат города Корсаков и Корсаковского района Сахалинской области','bacac23b-477f-4c26-8973-d83f0ca387fb',NULL,false),
|
||||
('9c09e210-6dd9-4bc3-a8ad-f3dd4d1cc70a','Военный комиссариат города Александровск-Сахалинский, Александровск-Сахалинского и Тымовского районов Сахалинской области','82518cee-d3ce-40fd-a5b4-3e12647afc45',NULL,false),
|
||||
('4dcebf08-40b2-4ba0-8fe8-700d67cdc5b2','Военный комиссариат Рыбновского района Рязанской области','22c64b79-f8e4-41e7-a2f3-1aa9df424fd9',NULL,false),
|
||||
('3e77b04b-168d-4f27-a4b4-dce4ac71f394','Военный комиссариат города Михайлов, Михайловского и Захаровского районов Рязанской области','27f7b3c0-a222-45e0-896f-58bdf4341a41',NULL,false),
|
||||
('e7eaf26b-e0b6-4b1f-8a8b-c7f4ec26fb90','Военный комиссариат города Касимов и Касимовского района Рязанской области','370bc761-ae40-46f1-b4d8-974317b5ceb6',NULL,false),
|
||||
('d05d4f2f-168f-48c8-8817-f6403654a614','Тестовая Организация','d1efbe15-744e-8521-5b8e-7ac604e4379b',NULL,false),
|
||||
('2386a304-73a2-40ce-b3ec-f02d688f3b20','Военный комиссариат Пронского и Старожиловского районов Рязанской области','37c187fe-4f37-45e6-9246-07148112367c',NULL,false),
|
||||
('4ac5c009-5dc4-4ed3-a2ae-ec3a583d8ec0','Военный комиссариат Ряжского и Александро-Невского районов Рязанской области','dad6c101-34be-45c3-8173-57190cb69dfb',NULL,false),
|
||||
('aa6f0546-fc5d-4c51-a22d-27a8ce0041f3','Военный комиссариат города Сасово, Ермишинского, Кадомского, Сасовского и Пителинского районов Рязанской области','f6a7fb8b-379f-4802-bf00-73f9c493825f',NULL,false) on conflict do nothing;
|
||||
INSERT INTO "security".org_unit (id,"name",code,parent_id,removed) VALUES
|
||||
('8000b421-4a1a-4db4-97f7-e01daaa93f42','Военный комиссариат Новоторъяльского района Республики Марий Эл','0e10678c-f272-41c3-94dd-c15830321f9a',NULL,false),
|
||||
('ce800cef-2d23-43e3-974f-6b79de3270ae','Администрация городского округа Щёлково Московской области','fe655d90-893a-31f7-ff8b-9ccef8af0f83',NULL,false),
|
||||
('3b767267-c2ef-468c-9e67-114ec4105832','ВК городских округов Щелково Фрязино Звездный городок и Лосино-Петровского городского округа Московской области','e079ea79-50f1-4af4-beea-1b7648e86ce9',NULL,false) on conflict do nothing;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0008" author="hairullin">
|
||||
<comment>insert values into "security".org_unit_additional_info</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS security.org_unit_additional_info
|
||||
(
|
||||
id character(36) COLLATE pg_catalog."default" NOT NULL,
|
||||
schema character varying(1000) COLLATE pg_catalog."default" NOT NULL,
|
||||
CONSTRAINT pk_org_unit_additional_info PRIMARY KEY (id)
|
||||
)
|
||||
TABLESPACE pg_default;
|
||||
ALTER TABLE IF EXISTS security.org_unit_additional_info
|
||||
OWNER to ervu;
|
||||
GRANT ALL ON TABLE security.org_unit_additional_info TO ervu;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0009" author="hairullin">
|
||||
<comment>insert values into "security".org_unit_additional_info</comment>
|
||||
<sql>
|
||||
INSERT INTO "security".org_unit_additional_info (id,"schema") VALUES
|
||||
('20f455d2-2908-4a86-8ab5-2e500f2f5544','Ministry'),
|
||||
('e00feef8-7b8a-47c2-9a16-f0f7dc877f56','Region'),
|
||||
('72cd6795-0303-4894-82ad-911bc259d87e','Region'),
|
||||
('d29346a7-dc0f-452d-859f-9bd3a83c219c','Region'),
|
||||
('826c2187-7761-48ff-9399-25d1cc2a9297','Region'),
|
||||
('a7b1f5f2-e43f-44da-92c6-6f394f53ec95','Region'),
|
||||
('fb2a5e9b-5c86-4c6f-bea0-c4501d466549','Organization'),
|
||||
('521ce853-5cec-4d2c-8aa5-8f73e5ac3376','Organization'),
|
||||
('30de0a5c-a8df-4591-9bdc-52bfe5abb31d','Organization'),
|
||||
('f8010c28-ec1b-415f-9546-f1b58e36279e','Department') on conflict do nothing;
|
||||
INSERT INTO "security".org_unit_additional_info (id,"schema") VALUES
|
||||
('ba28c023-72f4-4ef5-b209-631f72f9488e','Department'),
|
||||
('4d3daef5-a63d-417c-8235-97c2b772a182','Department'),
|
||||
('a3188467-3169-4b4e-847c-ffcca71c4440','Department'),
|
||||
('a67c6e12-b1fe-406b-b080-6b518324d6ea','Department'),
|
||||
('bb80fa73-9e50-491c-98c1-1869d752bba7','Department'),
|
||||
('e6c40dc8-0065-42c2-8c50-87714b3a0f7c','Department'),
|
||||
('cef595ce-c5af-44bb-9711-b0b7fd5b2df4','Department'),
|
||||
('3a36fc6d-e2d4-414b-a995-e6c8bff78b77','Department'),
|
||||
('659ed98b-9868-4168-adff-35e9e1bd9b0b','Department'),
|
||||
('8a1f8307-76c9-4923-a0fe-88bc6a563fcb','Department') on conflict do nothing;
|
||||
INSERT INTO "security".org_unit_additional_info (id,"schema") VALUES
|
||||
('6fabcb61-584f-401d-85f6-79a49e3d8f61','Department'),
|
||||
('08f29c2e-0682-4179-a8f1-21a278c22d26','Department'),
|
||||
('c93d2dc2-7741-4ca7-9690-14c764a77bf0','Department'),
|
||||
('d01db5cc-086b-4609-9aad-2c6397c4dd96','Department'),
|
||||
('939dd496-542a-45f4-91e0-90c331d85f5f','Department'),
|
||||
('fd142737-1a6a-466f-a318-b1412b184b3d','Department'),
|
||||
('50439548-a88f-4e49-93a1-ce29c1eb9b9a','Department'),
|
||||
('908c5c7a-2942-4083-acbf-3a03c739b860','Department'),
|
||||
('928411d1-b6c2-40ea-a3df-4cad7aec98a5','Department'),
|
||||
('da5a8694-eae5-4da1-81b9-54ac3ac178f2','Department') on conflict do nothing;
|
||||
INSERT INTO "security".org_unit_additional_info (id,"schema") VALUES
|
||||
('9b83cc97-0439-458e-bc45-08315eb4d9b8','Department'),
|
||||
('cbc0917a-3052-41ea-a97e-f482b2c81b2d','Department'),
|
||||
('b2e6bca2-d7eb-4654-8aef-d5c529e1c899','Organization'),
|
||||
('3cab3b8a-15f2-4c69-a3be-e7485717baa2','Organization'),
|
||||
('67db7b5b-0892-4908-bd20-864f932e80f9','Organization'),
|
||||
('6e1017e2-1e38-481f-85c2-e828247f2b79','Organization'),
|
||||
('69865d28-3f69-4047-8d4d-9469a6c33d5f','Department'),
|
||||
('77df47ff-f9d1-47f6-89c5-dc214b91a2a2','Organization'),
|
||||
('38392eea-e14b-48b5-a0a1-2cff65bcb396','Organization'),
|
||||
('1cb021ac-4335-40d4-987c-7c7648d104be','Department') on conflict do nothing;
|
||||
INSERT INTO "security".org_unit_additional_info (id,"schema") VALUES
|
||||
('2330352b-59ff-4b3f-b534-196fb5b20f9a','Organization'),
|
||||
('4b2365ea-b799-48d4-ab00-b6f6dac5b952','Organization'),
|
||||
('4e36849b-6652-483d-aecf-a3d9e18e42b9','Department'),
|
||||
('8bd65d2b-630c-4513-964b-d70b48726bc5','Department'),
|
||||
('2caa5eae-b6c8-4943-8b8b-428dc9c6cb4d','Department'),
|
||||
('b00a1841-f444-4fb4-827a-a4e1075eac01','Department'),
|
||||
('0b6eaee2-e52c-4d79-ab97-921a98007539','Organization'),
|
||||
('fb0ec464-70e8-421b-bb20-8a12bf5780c4','Department'),
|
||||
('610d1eee-a270-4f35-b8aa-df017e102b5c','Department'),
|
||||
('f7fadde2-de94-4386-926a-48f539b14564','Department') on conflict do nothing;
|
||||
INSERT INTO "security".org_unit_additional_info (id,"schema") VALUES
|
||||
('1c213331-711b-4263-8275-a0e099e0f78d','Department'),
|
||||
('7e17cb21-4dfb-4f66-8996-1f87e78f8533','Department'),
|
||||
('dde8fd00-3648-49ed-a40e-c7caa58cab8d','Department'),
|
||||
('1eabf1d8-3202-4359-b6be-dd045afbfa40','Department'),
|
||||
('e4671f49-8155-447a-a35c-67cb6468803a','Department'),
|
||||
('618c4e20-c2b1-4783-bd35-3d5f897e5b83','Department'),
|
||||
('0b713936-42c9-4e40-bde3-e941220b81de','Department'),
|
||||
('dbe21bb3-0416-4682-844a-07132e896a4b','Organization'),
|
||||
('674eb255-c2a6-45e7-8395-46118f95cb9f','Department'),
|
||||
('78a69506-f876-4549-add0-dd9b95e4cde9','Department') on conflict do nothing;
|
||||
INSERT INTO "security".org_unit_additional_info (id,"schema") VALUES
|
||||
('7aaab069-b993-469c-9cdc-d05b48e01da2','Department'),
|
||||
('58e31fcf-567c-4b4c-8bc7-eb5fb9676f08','Department'),
|
||||
('e2683ce5-7de8-43b8-9ff3-2a2dc23a4e7c','Organization'),
|
||||
('0068b57d-1272-467d-8cfd-fb3edb9ce430','Department'),
|
||||
('1ac66d8e-29ad-4cab-93fc-cced8d8b94b6','Department'),
|
||||
('efdbd421-c2b7-4d4a-a2b0-9a377595b060','Department'),
|
||||
('44cbc7da-0243-4ec1-a3e0-604599501502','Department'),
|
||||
('10653db1-856c-4f9b-b624-55bd2345380b','Department'),
|
||||
('9e0d94ef-2c1f-4335-9279-497357dfe550','Department'),
|
||||
('51f57f8b-b2ef-4409-89cd-55b544c1dfcd','Department') on conflict do nothing;
|
||||
INSERT INTO "security".org_unit_additional_info (id,"schema") VALUES
|
||||
('b08c1d90-915a-4bb4-a6c4-f44e2af9e63d','Department'),
|
||||
('8667f0ec-4ca3-4668-8846-8b665cebda8d','Department'),
|
||||
('a933e951-88c0-421d-a291-33fa4cea36fc','Department'),
|
||||
('58684643-1498-446e-bd62-8883d17f72bd','Organization'),
|
||||
('6693233b-7893-43b5-80f5-08b282c35156','Department'),
|
||||
('b9c6bc65-f4be-4b7e-842b-1c4d90f0c07f','Organization'),
|
||||
('46c0431c-6d5e-469c-9b89-2f0ed33c2cef','Department'),
|
||||
('4e4c712e-f3bb-4f2f-8cf1-6e1c9bda2677','Department'),
|
||||
('4da4fafb-f3ba-4f18-8140-54fffd552d59','Department'),
|
||||
('d740fa3c-bb0a-42d7-9ba6-347fc7b57e4a','Organization') on conflict do nothing;
|
||||
INSERT INTO "security".org_unit_additional_info (id,"schema") VALUES
|
||||
('dfe9ce08-7f82-4d59-a21d-65c1a9f1ed3b','Department'),
|
||||
('9c09e210-6dd9-4bc3-a8ad-f3dd4d1cc70a','Department'),
|
||||
('4dcebf08-40b2-4ba0-8fe8-700d67cdc5b2','Department'),
|
||||
('3e77b04b-168d-4f27-a4b4-dce4ac71f394','Department'),
|
||||
('e7eaf26b-e0b6-4b1f-8a8b-c7f4ec26fb90','Department'),
|
||||
('d05d4f2f-168f-48c8-8817-f6403654a614','Organization'),
|
||||
('2386a304-73a2-40ce-b3ec-f02d688f3b20','Department'),
|
||||
('4ac5c009-5dc4-4ed3-a2ae-ec3a583d8ec0','Department'),
|
||||
('aa6f0546-fc5d-4c51-a22d-27a8ce0041f3','Department'),
|
||||
('8000b421-4a1a-4db4-97f7-e01daaa93f42','Department') on conflict do nothing;
|
||||
INSERT INTO "security".org_unit_additional_info (id,"schema") VALUES
|
||||
('ce800cef-2d23-43e3-974f-6b79de3270ae','Organization'),
|
||||
('3b767267-c2ef-468c-9e67-114ec4105832','Department') on conflict do nothing;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0010" author="hairullin">
|
||||
<comment>insert values into "security".user_role</comment>
|
||||
<sql>
|
||||
INSERT INTO "security".user_role (user_role_id,"name",created,updated) VALUES
|
||||
('17c97647-f53c-400f-a700-ad349eeee0c3','Ответственный за ЗИ','2024-10-09 16:39:06+03','2024-10-09 16:39:06+03'),
|
||||
('68a81927-259d-4e2a-84d7-c565a9d0f943','Администратор ПОИБ','2024-10-09 16:39:06+03','2024-10-09 16:39:06+03') on conflict do nothing;
|
||||
INSERT INTO "security".user_role (user_role_id,"name",created,updated) VALUES
|
||||
('726dc966-6832-4f5c-b867-2797259d5104','Ответственный за ЗИ СВК','2024-10-09 16:39:06+03','2024-10-09 16:39:06+03'),
|
||||
('65b50a78-4f68-4bd9-9836-4fb3e2fb2c6a','Управления параметрами информационной безопасности','2024-10-09 16:39:06+03','2024-10-09 16:39:06+03'),
|
||||
('cc1ac346-71bf-4fa7-9300-78730a1bed08','Список пользователей','2024-10-09 16:39:06+03','2024-10-09 16:39:06+03'),
|
||||
('720d8a2b-1b30-4002-9a44-8e531c86460c','Сотрудник ВК','2024-10-17 12:11:00+03','2024-10-17 12:11:00+03'),
|
||||
('30c92f56-439c-463d-829c-93bcbf6b64d1','Военный комиссар','2024-10-17 12:11:00+03','2024-10-18 18:07:50+03'),
|
||||
('422e6caf-4f53-4e0f-83f9-af4897cf75ef','Военком','2024-10-18 20:27:23+03','2024-10-18 20:27:23+03') on conflict do nothing;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0011" author="hairullin">
|
||||
<comment>insert values into "security".user_group</comment>
|
||||
<sql>
|
||||
INSERT INTO "security".user_group (user_group_id,"name",created,updated,access_level_id) VALUES
|
||||
('25d720ff-fa5e-41f2-bbe9-0db90187b0f4','Ответственный за ЗИ','2024-10-09 20:47:31+03','2024-10-09 20:47:31+03','a6bf4b31-6648-4095-b269-2a950b548a10'),
|
||||
('acf292b2-9b46-4bf2-9254-39696d26f02b','Ответственный за ЗИ СВК','2024-10-09 20:49:39+03','2024-10-09 20:49:39+03','a6bf4b31-6648-4095-b269-2a950b548a10'),
|
||||
('00fe3742-dbb3-4639-aabd-3a10050ecd9e','Администратор ПОИБ','2024-10-09 20:51:04+03','2024-10-09 20:51:04+03','a6bf4b31-6648-4095-b269-2a950b548a10'),
|
||||
('6428cb6d-2949-4570-85b5-4b81e33b19ff','Сотрудник ВК','2024-10-17 12:15:42+03','2024-10-17 12:15:42+03','a6bf4b31-6648-4095-b269-2a950b548a10') on conflict do nothing;
|
||||
INSERT INTO "security".user_group (user_group_id,"name",created,updated,access_level_id) VALUES
|
||||
('0c61996f-c1db-483e-8456-5a5a9dc6dcdd','Военный комиссар','2024-10-17 12:15:30+03','2024-10-18 18:08:04+03','a6bf4b31-6648-4095-b269-2a950b548a10') on conflict do nothing;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0012" author="hairullin">
|
||||
<comment>insert values into link_user_group_user_role</comment>
|
||||
<sql>
|
||||
INSERT INTO "security".link_user_group_user_role (link_user_group_user_role_id,user_group_id,user_role_id,created) VALUES
|
||||
('bac491b1-ac1a-45eb-b2ae-e30b3db3ba65','22ee608b-dd9d-4633-906d-7c4efca231a0','68a81927-259d-4e2a-84d7-c565a9d0f943','2024-10-09 19:54:18.511239'),
|
||||
('e53640e7-4a56-4d68-8061-b4e3d4ec33c2','22ee608b-dd9d-4633-906d-7c4efca231a0','17c97647-f53c-400f-a700-ad349eeee0c3','2024-10-09 19:54:18.511239'),
|
||||
('69639956-38ff-4fc7-aee5-a6785fee3eae','22ee608b-dd9d-4633-906d-7c4efca231a0','726dc966-6832-4f5c-b867-2797259d5104','2024-10-09 19:54:18.511239'),
|
||||
('6b5dfc30-7a04-4d89-874d-02a549f51182','22ee608b-dd9d-4633-906d-7c4efca231a0','cc1ac346-71bf-4fa7-9300-78730a1bed08','2024-10-09 19:54:18.511239'),
|
||||
('91e65fc5-1691-4df3-99a7-2e7f93d779f8','22ee608b-dd9d-4633-906d-7c4efca231a0','65b50a78-4f68-4bd9-9836-4fb3e2fb2c6a','2024-10-09 19:54:18.511239'),
|
||||
('94d28392-6914-45ce-a090-690daa404f9d','22ee608b-dd9d-4633-906d-7c4efca231a0','767ae8cf-af01-44d4-86ef-fcb143373407','2024-10-09 19:54:18.511239') on conflict do nothing;
|
||||
INSERT INTO "security".link_user_group_user_role (link_user_group_user_role_id,user_group_id,user_role_id,created) VALUES
|
||||
('74611b2a-3641-4baf-899c-f69b46e56978','22ee608b-dd9d-4633-906d-7c4efca231a0','32f9413b-619a-4e4b-85f9-4c4699267b37','2024-10-09 19:54:18.511239'),
|
||||
('2f23c82b-3017-44ee-9e7f-b7b3efc88779','25d720ff-fa5e-41f2-bbe9-0db90187b0f4','17c97647-f53c-400f-a700-ad349eeee0c3','2024-10-09 20:47:31.439075'),
|
||||
('bc02b290-064c-4a86-9dd9-5611b0295045','25d720ff-fa5e-41f2-bbe9-0db90187b0f4','767ae8cf-af01-44d4-86ef-fcb143373407','2024-10-09 20:47:31.439075'),
|
||||
('10059011-1f42-4580-b92b-5d78c61d9f61','acf292b2-9b46-4bf2-9254-39696d26f02b','726dc966-6832-4f5c-b867-2797259d5104','2024-10-09 20:49:38.630003'),
|
||||
('c3374413-f190-48dc-b194-e6a1ae4355ae','acf292b2-9b46-4bf2-9254-39696d26f02b','767ae8cf-af01-44d4-86ef-fcb143373407','2024-10-09 20:49:38.630003'),
|
||||
('189018bf-9301-4818-8821-545328de6012','00fe3742-dbb3-4639-aabd-3a10050ecd9e','68a81927-259d-4e2a-84d7-c565a9d0f943','2024-10-09 20:51:03.650021'),
|
||||
('ce69bef0-5324-4c16-b151-cfc7b473ad7c','00fe3742-dbb3-4639-aabd-3a10050ecd9e','767ae8cf-af01-44d4-86ef-fcb143373407','2024-10-09 20:51:03.650021'),
|
||||
('aedec67b-7bac-4b96-8682-a6e2a1865b62','0c61996f-c1db-483e-8456-5a5a9dc6dcdd','30c92f56-439c-463d-829c-93bcbf6b64d1','2024-10-17 09:15:30.396222'),
|
||||
('a155dcc0-1c7a-440e-ae69-384da3628824','6428cb6d-2949-4570-85b5-4b81e33b19ff','720d8a2b-1b30-4002-9a44-8e531c86460c','2024-10-17 09:15:41.72115') on conflict do nothing;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0013" author="hairullin">
|
||||
<comment>insert values into "security".user_account</comment>
|
||||
<sql>
|
||||
INSERT INTO "security".user_account (user_account_id,email,first_name,last_name,middle_name,created,updated,"locked",org_unit_id,username,phone,email_confirmed,user_source,source_name) VALUES
|
||||
('67ed8a30-2596-4dad-a782-756c7dfc4c72','petrova@mail.ru','Анна','Петрова','Сергеевна','2024-10-17 13:51:05.996629+03','2024-10-17 15:42:39+03',false,'0068b57d-1272-467d-8cfd-fb3edb9ce430','petrova','9788554411',true,'LOCAL',NULL),
|
||||
('408ff49a-4004-43b5-b040-3ca4ae363d03','sidorov@mail.ru','Сидор','Сидоров','Сидорович','2024-10-17 15:49:45.512511+03','2024-10-17 15:50:58+03',false,'20f455d2-2908-4a86-8ab5-2e500f2f5544','sidorov',NULL,true,'LOCAL',NULL),
|
||||
('62a03ff4-4b62-435c-a2ff-f7dbe7df2a6d','semenov@mail.ru','Семен','Семенов','Семенович','2024-10-18 19:18:20.872589+03','2024-10-18 19:18:20.872589+03',false,'0068b57d-1272-467d-8cfd-fb3edb9ce430','semenov',NULL,true,'LOCAL',NULL),
|
||||
('4caa6156-3cfb-4ea5-aa42-d3ff6f10ff8c','ivanov@mail.ru','Иван','Иванов','Иванович','2024-10-17 13:50:04.067612+03','2024-10-17 15:46:34+03',false,'0068b57d-1272-467d-8cfd-fb3edb9ce430','ivanov','9172010203',true,'LOCAL',NULL) on conflict do nothing;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0014" author="hairullin">
|
||||
<comment>insert values into "security".simple_credentials</comment>
|
||||
<sql>
|
||||
INSERT INTO "security".simple_credentials (user_account_id,"password",password_expires,password_updated) VALUES
|
||||
('67ed8a30-2596-4dad-a782-756c7dfc4c72','$2a$11$bNNQ/5bLA5HMpJkjCt.4J.M37RR59tSjs/JJVwq6PVBFfGpF6MweO',NULL,'2024-10-17 10:51:05.996629'),
|
||||
('4caa6156-3cfb-4ea5-aa42-d3ff6f10ff8c','$2a$11$Fv1Pvx74a5lfVwtRVzoX2enm8fmXjN3ykUL6qMcSpC96C22X9qU/2',NULL,'2024-10-17 10:50:04.067612'),
|
||||
('408ff49a-4004-43b5-b040-3ca4ae363d03','$2a$11$xWAtGkq2VVcdd8c9GNFxn.JNyfts4./Q7QNgG1M75NTYj3OOufWhO',NULL,'2024-10-17 12:49:45.512511'),
|
||||
('62a03ff4-4b62-435c-a2ff-f7dbe7df2a6d','$2a$11$j/zVSO0ntFJe6q01798zl.xssDsJw4/w9mLpx72fQKHZ0hhxMeQD2',NULL,'2024-10-18 16:18:20.872589') on conflict do nothing;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0015" author="hairullin">
|
||||
<comment>insert values into "security".link_user_account_user_group</comment>
|
||||
<sql>
|
||||
INSERT INTO "security".link_user_account_user_group (link_user_account_user_group_id,user_account_id,user_group_id,created) VALUES
|
||||
('05b7e162-4e0f-4aeb-95dd-331d18416f67','4caa6156-3cfb-4ea5-aa42-d3ff6f10ff8c','acf292b2-9b46-4bf2-9254-39696d26f02b','2024-10-17 10:50:04.067612'),
|
||||
('d471f557-2816-4cab-874e-ff00fc93a3ed','4caa6156-3cfb-4ea5-aa42-d3ff6f10ff8c','0c61996f-c1db-483e-8456-5a5a9dc6dcdd','2024-10-17 10:50:04.067612'),
|
||||
('7357e22b-078c-473f-8aae-17c6b8fb8991','67ed8a30-2596-4dad-a782-756c7dfc4c72','6428cb6d-2949-4570-85b5-4b81e33b19ff','2024-10-17 10:51:05.996629'),
|
||||
('bb585230-93f9-4af5-8b7a-19a41303bce8','67ed8a30-2596-4dad-a782-756c7dfc4c72','25d720ff-fa5e-41f2-bbe9-0db90187b0f4','2024-10-17 12:42:38.639522') on conflict do nothing;
|
||||
INSERT INTO "security".link_user_account_user_group (link_user_account_user_group_id,user_account_id,user_group_id,created) VALUES
|
||||
('d5db495e-a051-4ed2-ba9e-1a6e7bba79d2','408ff49a-4004-43b5-b040-3ca4ae363d03','0c61996f-c1db-483e-8456-5a5a9dc6dcdd','2024-10-17 12:49:45.512511'),
|
||||
('092dea94-44a9-4872-9ee0-350c74fa449b','408ff49a-4004-43b5-b040-3ca4ae363d03','00fe3742-dbb3-4639-aabd-3a10050ecd9e','2024-10-17 12:50:58.22643'),
|
||||
('7c81cde4-6f72-42e0-be92-c4bb79cdd4e9','62a03ff4-4b62-435c-a2ff-f7dbe7df2a6d','6428cb6d-2949-4570-85b5-4b81e33b19ff','2024-10-18 16:18:20.872589'),
|
||||
('f3d7f57e-58ea-4509-8d58-fb0fd4600ecc','62a03ff4-4b62-435c-a2ff-f7dbe7df2a6d','25d720ff-fa5e-41f2-bbe9-0db90187b0f4','2024-10-18 16:18:20.872589') on conflict do nothing;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
|
||||
|
||||
</databaseChangeLog>
|
||||
10
backend/src/main/resources/config/v_1.0/changelog-1.0.xml
Normal file
10
backend/src/main/resources/config/v_1.0/changelog-1.0.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<databaseChangeLog
|
||||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
|
||||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
|
||||
|
||||
<include file="20241120-SUPPORT-8722_create_db.xml" relativeToChangelogFile="true"/>
|
||||
|
||||
</databaseChangeLog>
|
||||
66
distribution/pom.xml
Normal file
66
distribution/pom.xml
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>ru.micord.ervu</groupId>
|
||||
<artifactId>account-applications</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<groupId>ru.micord.ervu.account_applications</groupId>
|
||||
<artifactId>distribution</artifactId>
|
||||
<packaging>ear</packaging>
|
||||
|
||||
<properties>
|
||||
<backendContext>/${project.parent.artifactId}</backendContext>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>ru.micord.ervu.account_applications</groupId>
|
||||
<artifactId>backend</artifactId>
|
||||
<type>war</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.micord.ervu.account_applications</groupId>
|
||||
<artifactId>frontend</artifactId>
|
||||
<type>war</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-ear-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<configuration>
|
||||
<modules>
|
||||
<webModule>
|
||||
<groupId>ru.micord.ervu.account_applications</groupId>
|
||||
<artifactId>frontend</artifactId>
|
||||
<contextRoot>/</contextRoot>
|
||||
<bundleFileName>frontend.war</bundleFileName>
|
||||
</webModule>
|
||||
<webModule>
|
||||
<groupId>ru.micord.ervu.account_applications</groupId>
|
||||
<artifactId>backend</artifactId>
|
||||
<contextRoot>${backendContext}</contextRoot>
|
||||
<bundleFileName>${project.parent.artifactId}.war</bundleFileName>
|
||||
</webModule>
|
||||
</modules>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<finalName>${project.parent.artifactId}</finalName>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>enable-version-in-url</id>
|
||||
<properties>
|
||||
<backendContext>/${project.parent.artifactId}-${project.version}</backendContext>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
71
frontend/angular.json
Normal file
71
frontend/angular.json
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
{
|
||||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
||||
"version": 1,
|
||||
"newProjectRoot": "projects",
|
||||
"projects": {
|
||||
"webbpm-frontend": {
|
||||
"root": "",
|
||||
"sourceRoot": "src",
|
||||
"projectType": "application",
|
||||
"architect": {
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:browser",
|
||||
"options": {
|
||||
"outputPath": "dist",
|
||||
"index": "src/index.html",
|
||||
"main": "src/ts/main.ts",
|
||||
"tsConfig": "src/tsconfig.json",
|
||||
"polyfills": "src/ts/polyfills.ts",
|
||||
"assets": [
|
||||
"src/resources"
|
||||
],
|
||||
"styles": [
|
||||
],
|
||||
"scripts": [
|
||||
"node_modules/jquery/dist/jquery.min.js",
|
||||
"node_modules/moment/min/moment-with-locales.js",
|
||||
"node_modules/moment-timezone/builds/moment-timezone-with-data.min.js",
|
||||
"node_modules/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js",
|
||||
"node_modules/selectize/dist/js/standalone/selectize.min.js",
|
||||
"node_modules/downloadjs/download.min.js"
|
||||
]
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"optimization": true,
|
||||
"outputHashing": "all",
|
||||
"sourceMap": false,
|
||||
"extractCss": true,
|
||||
"namedChunks": false,
|
||||
"aot": true,
|
||||
"extractLicenses": true,
|
||||
"vendorChunk": false,
|
||||
"buildOptimizer": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"serve": {
|
||||
"builder": "@angular-devkit/build-angular:dev-server",
|
||||
"options": {
|
||||
"browserTarget": "webbpm-frontend:build"
|
||||
},
|
||||
"configurations": {}
|
||||
},
|
||||
"extract-i18n": {
|
||||
"builder": "@angular-devkit/build-angular:extract-i18n",
|
||||
"options": {
|
||||
"browserTarget": "webbpm-frontend:build"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"builder": "@angular-devkit/build-angular:tslint",
|
||||
"options": {
|
||||
"tsConfig": [],
|
||||
"exclude": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"defaultProject": "webbpm-frontend"
|
||||
}
|
||||
10
frontend/bs-config.json
Normal file
10
frontend/bs-config.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"port": 8000,
|
||||
"open": false,
|
||||
"files": [
|
||||
"./**/*.{html,htm,css,js}"
|
||||
],
|
||||
"server": {
|
||||
"baseDir": "./"
|
||||
}
|
||||
}
|
||||
23
frontend/index.html
Normal file
23
frontend/index.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>account_applications</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<link rel="icon" type="image/png" href="src/resources/img/logo.png"/>
|
||||
<link rel="stylesheet" href="src/resources/css/style.css"/>
|
||||
|
||||
<script src="node_modules/core-js/client/shim.min.js"></script>
|
||||
<script src="node_modules/zone.js/dist/zone.js"></script>
|
||||
<script src="node_modules/reflect-metadata/Reflect.js"></script>
|
||||
<script src="node_modules/systemjs/dist/system.src.js"></script>
|
||||
<script src="systemjs.config.js"></script>
|
||||
<script>
|
||||
System.import('webbpm').catch(function (err) {
|
||||
console.error(err);
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body webbpm class="webbpm account-applications">
|
||||
<div class="loader"></div>
|
||||
</body>
|
||||
</html>
|
||||
11
frontend/index.webpack.html
Normal file
11
frontend/index.webpack.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>account_applications</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<link rel="icon" type="image/png" href="src/resources/img/logo.png"/>
|
||||
</head>
|
||||
<body webbpm class="webbpm account-applications">
|
||||
<div class="loader"></div>
|
||||
</body>
|
||||
</html>
|
||||
15
frontend/node_modules/.bin/JSONStream
generated
vendored
Normal file
15
frontend/node_modules/.bin/JSONStream
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../JSONStream/bin.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../JSONStream/bin.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
||||
17
frontend/node_modules/.bin/JSONStream.cmd
generated
vendored
Normal file
17
frontend/node_modules/.bin/JSONStream.cmd
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@ECHO off
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
)
|
||||
|
||||
"%_prog%" "%dp0%\..\JSONStream\bin.js" %*
|
||||
ENDLOCAL
|
||||
EXIT /b %errorlevel%
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
18
frontend/node_modules/.bin/JSONStream.ps1
generated
vendored
Normal file
18
frontend/node_modules/.bin/JSONStream.ps1
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
$ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
& "$basedir/node$exe" "$basedir/../JSONStream/bin.js" $args
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
& "node$exe" "$basedir/../JSONStream/bin.js" $args
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
exit $ret
|
||||
15
frontend/node_modules/.bin/acorn
generated
vendored
Normal file
15
frontend/node_modules/.bin/acorn
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../acorn/bin/acorn" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../acorn/bin/acorn" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
||||
17
frontend/node_modules/.bin/acorn.cmd
generated
vendored
Normal file
17
frontend/node_modules/.bin/acorn.cmd
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@ECHO off
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
)
|
||||
|
||||
"%_prog%" "%dp0%\..\acorn\bin\acorn" %*
|
||||
ENDLOCAL
|
||||
EXIT /b %errorlevel%
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
18
frontend/node_modules/.bin/acorn.ps1
generated
vendored
Normal file
18
frontend/node_modules/.bin/acorn.ps1
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
$ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
& "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
& "node$exe" "$basedir/../acorn/bin/acorn" $args
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
exit $ret
|
||||
15
frontend/node_modules/.bin/atob
generated
vendored
Normal file
15
frontend/node_modules/.bin/atob
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../atob/bin/atob.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../atob/bin/atob.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
||||
17
frontend/node_modules/.bin/atob.cmd
generated
vendored
Normal file
17
frontend/node_modules/.bin/atob.cmd
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@ECHO off
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
)
|
||||
|
||||
"%_prog%" "%dp0%\..\atob\bin\atob.js" %*
|
||||
ENDLOCAL
|
||||
EXIT /b %errorlevel%
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
18
frontend/node_modules/.bin/atob.ps1
generated
vendored
Normal file
18
frontend/node_modules/.bin/atob.ps1
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
$ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
& "$basedir/node$exe" "$basedir/../atob/bin/atob.js" $args
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
& "node$exe" "$basedir/../atob/bin/atob.js" $args
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
exit $ret
|
||||
15
frontend/node_modules/.bin/browser-sync
generated
vendored
Normal file
15
frontend/node_modules/.bin/browser-sync
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../browser-sync/dist/bin.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../browser-sync/dist/bin.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
||||
17
frontend/node_modules/.bin/browser-sync.cmd
generated
vendored
Normal file
17
frontend/node_modules/.bin/browser-sync.cmd
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@ECHO off
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
)
|
||||
|
||||
"%_prog%" "%dp0%\..\browser-sync\dist\bin.js" %*
|
||||
ENDLOCAL
|
||||
EXIT /b %errorlevel%
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
18
frontend/node_modules/.bin/browser-sync.ps1
generated
vendored
Normal file
18
frontend/node_modules/.bin/browser-sync.ps1
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
$ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
& "$basedir/node$exe" "$basedir/../browser-sync/dist/bin.js" $args
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
& "node$exe" "$basedir/../browser-sync/dist/bin.js" $args
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
exit $ret
|
||||
15
frontend/node_modules/.bin/browserslist
generated
vendored
Normal file
15
frontend/node_modules/.bin/browserslist
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../browserslist/cli.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../browserslist/cli.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
||||
17
frontend/node_modules/.bin/browserslist.cmd
generated
vendored
Normal file
17
frontend/node_modules/.bin/browserslist.cmd
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@ECHO off
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
)
|
||||
|
||||
"%_prog%" "%dp0%\..\browserslist\cli.js" %*
|
||||
ENDLOCAL
|
||||
EXIT /b %errorlevel%
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
18
frontend/node_modules/.bin/browserslist.ps1
generated
vendored
Normal file
18
frontend/node_modules/.bin/browserslist.ps1
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
$ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
& "$basedir/node$exe" "$basedir/../browserslist/cli.js" $args
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
& "node$exe" "$basedir/../browserslist/cli.js" $args
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
exit $ret
|
||||
15
frontend/node_modules/.bin/build-optimizer
generated
vendored
Normal file
15
frontend/node_modules/.bin/build-optimizer
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../@angular-devkit/build-optimizer/src/build-optimizer/cli.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../@angular-devkit/build-optimizer/src/build-optimizer/cli.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
||||
17
frontend/node_modules/.bin/build-optimizer.cmd
generated
vendored
Normal file
17
frontend/node_modules/.bin/build-optimizer.cmd
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@ECHO off
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
)
|
||||
|
||||
"%_prog%" "%dp0%\..\@angular-devkit\build-optimizer\src\build-optimizer\cli.js" %*
|
||||
ENDLOCAL
|
||||
EXIT /b %errorlevel%
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
18
frontend/node_modules/.bin/build-optimizer.ps1
generated
vendored
Normal file
18
frontend/node_modules/.bin/build-optimizer.ps1
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
$ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
& "$basedir/node$exe" "$basedir/../@angular-devkit/build-optimizer/src/build-optimizer/cli.js" $args
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
& "node$exe" "$basedir/../@angular-devkit/build-optimizer/src/build-optimizer/cli.js" $args
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
exit $ret
|
||||
15
frontend/node_modules/.bin/cross-env
generated
vendored
Normal file
15
frontend/node_modules/.bin/cross-env
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../cross-env/dist/bin/cross-env.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../cross-env/dist/bin/cross-env.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
||||
15
frontend/node_modules/.bin/cross-env-shell
generated
vendored
Normal file
15
frontend/node_modules/.bin/cross-env-shell
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../cross-env/dist/bin/cross-env-shell.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../cross-env/dist/bin/cross-env-shell.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
||||
17
frontend/node_modules/.bin/cross-env-shell.cmd
generated
vendored
Normal file
17
frontend/node_modules/.bin/cross-env-shell.cmd
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@ECHO off
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
)
|
||||
|
||||
"%_prog%" "%dp0%\..\cross-env\dist\bin\cross-env-shell.js" %*
|
||||
ENDLOCAL
|
||||
EXIT /b %errorlevel%
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
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