diff --git a/.gitignore b/.gitignore
index de62d73..2d92414 100644
--- a/.gitignore
+++ b/.gitignore
@@ -60,6 +60,7 @@ frontend/src/ts/**/*.js.map
frontend/src/ts/**/*.ngsummary.json
frontend/src/ts/aot*/
frontend/src/ts/generated*/
+frontend/src/resources/css/*.ngstyle.js
npm-debug.log
#Sublime project files
diff --git a/backend/pom.xml b/backend/pom.xml
index 933bf03..445ef16 100644
--- a/backend/pom.xml
+++ b/backend/pom.xml
@@ -5,16 +5,12 @@
ru.micord.ervu
dashboard
- 1.8.0-SNAPSHOT
+ 1.8.0
ru.micord.ervu.dashboard
backend
war
-
- org.springframework.security
- spring-security-jwt
-
io.jsonwebtoken
jjwt-api
@@ -24,6 +20,11 @@
jjwt-impl
runtime
+
+ io.jsonwebtoken
+ jjwt-jackson
+ runtime
+
ru.micord.ervu.dashboard
resources
@@ -238,7 +239,7 @@
- ${parent.artifactId}
+ ${project.parent.artifactId}
maven-compiler-plugin
diff --git a/backend/src/main/java/AppConfig.java b/backend/src/main/java/AppConfig.java
index 4a54514..5619902 100644
--- a/backend/src/main/java/AppConfig.java
+++ b/backend/src/main/java/AppConfig.java
@@ -42,7 +42,8 @@ import org.springframework.web.servlet.config.annotation.EnableWebMvc;
"component.addresses",
"gen",
"ru.cg",
- "ru.micord"
+ "ru.micord",
+ "ervu_dashboard"
}, excludeFilters = {
@ComponentScan.Filter(type = FilterType.REGEX, pattern = "security.WebSecurityConfig"),
@ComponentScan.Filter(type = FilterType.REGEX, pattern = "ru.cg.webbpm.modules.database.impl.DatabaseConfiguration"),
diff --git a/backend/src/main/java/ervu_dashboard/SecurityWebAppInitializer.java b/backend/src/main/java/ervu_dashboard/SecurityWebAppInitializer.java
new file mode 100644
index 0000000..ae4c0d1
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/SecurityWebAppInitializer.java
@@ -0,0 +1,6 @@
+package ervu_dashboard;
+
+import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer;
+
+public class SecurityWebAppInitializer extends AbstractSecurityWebApplicationInitializer {
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/DefaultCatalog.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/DefaultCatalog.java
new file mode 100644
index 0000000..f5b95dc
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/DefaultCatalog.java
@@ -0,0 +1,112 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.MainDashboard;
+import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
+import ervu_dashboard.ervu_dashboard.db_beans.ratings.Ratings;
+import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.RecruitmentCampaign;
+import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
+import ervu_dashboard.ervu_dashboard.db_beans.space.Space;
+import ervu_dashboard.ervu_dashboard.db_beans.total_registered.TotalRegistered;
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.jooq.Constants;
+import org.jooq.Schema;
+import org.jooq.impl.CatalogImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class DefaultCatalog extends CatalogImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of DEFAULT_CATALOG
+ */
+ public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog();
+
+ /**
+ * The schema appeals.
+ */
+ public final Appeals APPEALS = Appeals.APPEALS;
+
+ /**
+ * The schema ervu_dashboard.
+ */
+ public final ErvuDashboard ERVU_DASHBOARD = ErvuDashboard.ERVU_DASHBOARD;
+
+ /**
+ * The schema main_dashboard.
+ */
+ public final MainDashboard MAIN_DASHBOARD = MainDashboard.MAIN_DASHBOARD;
+
+ /**
+ * The schema public.
+ */
+ public final Public PUBLIC = Public.PUBLIC;
+
+ /**
+ * The schema ratings.
+ */
+ public final Ratings RATINGS = Ratings.RATINGS;
+
+ /**
+ * The schema recruitment_campaign.
+ */
+ public final RecruitmentCampaign RECRUITMENT_CAMPAIGN = RecruitmentCampaign.RECRUITMENT_CAMPAIGN;
+
+ /**
+ * The schema security.
+ */
+ public final Security SECURITY = Security.SECURITY;
+
+ /**
+ * The schema space.
+ */
+ public final Space SPACE = Space.SPACE;
+
+ /**
+ * The schema total_registered.
+ */
+ public final TotalRegistered TOTAL_REGISTERED = TotalRegistered.TOTAL_REGISTERED;
+
+ /**
+ * No further instances allowed
+ */
+ private DefaultCatalog() {
+ super("");
+ }
+
+ @Override
+ public final List getSchemas() {
+ return Arrays.asList(
+ Appeals.APPEALS,
+ ErvuDashboard.ERVU_DASHBOARD,
+ MainDashboard.MAIN_DASHBOARD,
+ Public.PUBLIC,
+ Ratings.RATINGS,
+ RecruitmentCampaign.RECRUITMENT_CAMPAIGN,
+ Security.SECURITY,
+ Space.SPACE,
+ TotalRegistered.TOTAL_REGISTERED
+ );
+ }
+
+ /**
+ * A reference to the 3.19 minor release of the code generator. If this
+ * doesn't compile, it's because the runtime library uses an older minor
+ * release, namely: 3.19. You can turn off the generation of this reference
+ * by specifying /configuration/generator/generate/jooqVersionReference
+ */
+ private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_19;
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/Appeals.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/Appeals.java
new file mode 100644
index 0000000..17bf989
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/Appeals.java
@@ -0,0 +1,76 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.appeals;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.DefaultCatalog;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReviewRating;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.TopicAppeal;
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.jooq.Catalog;
+import org.jooq.Table;
+import org.jooq.impl.SchemaImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Appeals extends SchemaImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of appeals
+ */
+ public static final Appeals APPEALS = new Appeals();
+
+ /**
+ * Основной профиль уровень РФ
+ */
+ public final MainProfile MAIN_PROFILE = MainProfile.MAIN_PROFILE;
+
+ /**
+ * Причины обжалования уровень РФ
+ */
+ public final ReasonsAppeal REASONS_APPEAL = ReasonsAppeal.REASONS_APPEAL;
+
+ /**
+ * Рейтинг рассмотрения жалоб уровень РФ
+ */
+ public final ReviewRating REVIEW_RATING = ReviewRating.REVIEW_RATING;
+
+ /**
+ * Тема обжалования уровень РФ
+ */
+ public final TopicAppeal TOPIC_APPEAL = TopicAppeal.TOPIC_APPEAL;
+
+ /**
+ * No further instances allowed
+ */
+ private Appeals() {
+ super("appeals", null);
+ }
+
+
+ @Override
+ public Catalog getCatalog() {
+ return DefaultCatalog.DEFAULT_CATALOG;
+ }
+
+ @Override
+ public final List> getTables() {
+ return Arrays.asList(
+ MainProfile.MAIN_PROFILE,
+ ReasonsAppeal.REASONS_APPEAL,
+ ReviewRating.REVIEW_RATING,
+ TopicAppeal.TOPIC_APPEAL
+ );
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/Keys.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/Keys.java
new file mode 100644
index 0000000..0ea9ff9
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/Keys.java
@@ -0,0 +1,51 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.appeals;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReviewRating;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.TopicAppeal;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.MainProfileRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReasonsAppealRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReviewRatingRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.TopicAppealRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PubRecruitmentRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Region;
+import ervu_dashboard.ervu_dashboard.db_beans.space.tables.records.RegionRecord;
+
+import org.jooq.ForeignKey;
+import org.jooq.TableField;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.Internal;
+
+
+/**
+ * A class modelling foreign key relationships and constraints of tables in
+ * appeals.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Keys {
+
+ // -------------------------------------------------------------------------
+ // UNIQUE and PRIMARY KEY definitions
+ // -------------------------------------------------------------------------
+
+ public static final UniqueKey PK_MAIN_PROFILE = Internal.createUniqueKey(MainProfile.MAIN_PROFILE, DSL.name("pk_main_profile"), new TableField[] { MainProfile.MAIN_PROFILE.ID_MAIN_PROFILE }, true);
+ public static final UniqueKey PK_REASONS_APPEAL = Internal.createUniqueKey(ReasonsAppeal.REASONS_APPEAL, DSL.name("pk_reasons_appeal"), new TableField[] { ReasonsAppeal.REASONS_APPEAL.ID_REASONS_APPEAL }, true);
+ public static final UniqueKey PK_REVIEW_RATING = Internal.createUniqueKey(ReviewRating.REVIEW_RATING, DSL.name("pk_review_rating"), new TableField[] { ReviewRating.REVIEW_RATING.ID_REVIEW_RATING }, true);
+ public static final UniqueKey PK_TOPIC_APPEAL = Internal.createUniqueKey(TopicAppeal.TOPIC_APPEAL, DSL.name("pk_topic_appeal"), new TableField[] { TopicAppeal.TOPIC_APPEAL.ID_TOPIC_APPEAL }, true);
+
+ // -------------------------------------------------------------------------
+ // FOREIGN KEY definitions
+ // -------------------------------------------------------------------------
+
+ public static final ForeignKey MAIN_PROFILE__MAIN_PROFILE_FK1 = Internal.createForeignKey(MainProfile.MAIN_PROFILE, DSL.name("main_profile_fk1"), new TableField[] { MainProfile.MAIN_PROFILE.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys.PUB_RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
+ public static final ForeignKey REASONS_APPEAL__REASONS_APPEAL_FK1 = Internal.createForeignKey(ReasonsAppeal.REASONS_APPEAL, DSL.name("reasons_appeal_fk1"), new TableField[] { ReasonsAppeal.REASONS_APPEAL.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys.PUB_RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
+ public static final ForeignKey REVIEW_RATING__FK_REGION = Internal.createForeignKey(ReviewRating.REVIEW_RATING, DSL.name("fk_region"), new TableField[] { ReviewRating.REVIEW_RATING.ID_REGION }, ervu_dashboard.ervu_dashboard.db_beans.space.Keys.PK_REGION, new TableField[] { Region.REGION.ID_REGION }, true);
+ public static final ForeignKey TOPIC_APPEAL__TOPIC_APPEAL_FK1 = Internal.createForeignKey(TopicAppeal.TOPIC_APPEAL, DSL.name("topic_appeal_fk1"), new TableField[] { TopicAppeal.TOPIC_APPEAL.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys.PUB_RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/Tables.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/Tables.java
new file mode 100644
index 0000000..c7cc777
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/Tables.java
@@ -0,0 +1,38 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.appeals;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReviewRating;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.TopicAppeal;
+
+
+/**
+ * Convenience access to all tables in appeals.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Tables {
+
+ /**
+ * Основной профиль уровень РФ
+ */
+ public static final MainProfile MAIN_PROFILE = MainProfile.MAIN_PROFILE;
+
+ /**
+ * Причины обжалования уровень РФ
+ */
+ public static final ReasonsAppeal REASONS_APPEAL = ReasonsAppeal.REASONS_APPEAL;
+
+ /**
+ * Рейтинг рассмотрения жалоб уровень РФ
+ */
+ public static final ReviewRating REVIEW_RATING = ReviewRating.REVIEW_RATING;
+
+ /**
+ * Тема обжалования уровень РФ
+ */
+ public static final TopicAppeal TOPIC_APPEAL = TopicAppeal.TOPIC_APPEAL;
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/MainProfile.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/MainProfile.java
new file mode 100644
index 0000000..21b3af9
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/MainProfile.java
@@ -0,0 +1,316 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.MainProfileRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment.PubRecruitmentPath;
+
+import java.sql.Date;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.List;
+
+import org.jooq.Condition;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.InverseForeignKey;
+import org.jooq.Name;
+import org.jooq.Path;
+import org.jooq.PlainSQL;
+import org.jooq.QueryPart;
+import org.jooq.Record;
+import org.jooq.SQL;
+import org.jooq.Schema;
+import org.jooq.Select;
+import org.jooq.Stringly;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * Основной профиль уровень РФ
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class MainProfile extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of appeals.main_profile
+ */
+ public static final MainProfile MAIN_PROFILE = new MainProfile();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return MainProfileRecord.class;
+ }
+
+ /**
+ * The column appeals.main_profile.id_main_profile.
+ */
+ public final TableField ID_MAIN_PROFILE = createField(DSL.name("id_main_profile"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
+
+ /**
+ * The column appeals.main_profile.gender. Пол
+ */
+ public final TableField GENDER = createField(DSL.name("gender"), SQLDataType.CLOB, this, "Пол");
+
+ /**
+ * The column appeals.main_profile.age. Возраст
+ */
+ public final TableField AGE = createField(DSL.name("age"), SQLDataType.CLOB, this, "Возраст");
+
+ /**
+ * The column appeals.main_profile.child_min_18. Дети до 18 лет
+ */
+ public final TableField CHILD_MIN_18 = createField(DSL.name("child_min_18"), SQLDataType.CLOB, this, "Дети до 18 лет");
+
+ /**
+ * The column appeals.main_profile.education. Образование
+ */
+ public final TableField EDUCATION = createField(DSL.name("education"), SQLDataType.CLOB, this, "Образование");
+
+ /**
+ * The column appeals.main_profile.employment. Занятость
+ */
+ public final TableField EMPLOYMENT = createField(DSL.name("employment"), SQLDataType.CLOB, this, "Занятость");
+
+ /**
+ * The column appeals.main_profile.recording_date. Дата записи
+ */
+ public final TableField RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
+
+ /**
+ * The column appeals.main_profile.recruitment_id.
+ */
+ public final TableField RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36), this, "");
+
+ private MainProfile(Name alias, Table aliased) {
+ this(alias, aliased, (Field>[]) null, null);
+ }
+
+ private MainProfile(Name alias, Table aliased, Field>[] parameters, Condition where) {
+ super(alias, null, aliased, parameters, DSL.comment("Основной профиль уровень РФ"), TableOptions.table(), where);
+ }
+
+ /**
+ * Create an aliased appeals.main_profile table reference
+ */
+ public MainProfile(String alias) {
+ this(DSL.name(alias), MAIN_PROFILE);
+ }
+
+ /**
+ * Create an aliased appeals.main_profile table reference
+ */
+ public MainProfile(Name alias) {
+ this(alias, MAIN_PROFILE);
+ }
+
+ /**
+ * Create a appeals.main_profile table reference
+ */
+ public MainProfile() {
+ this(DSL.name("main_profile"), null);
+ }
+
+ public MainProfile(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, MAIN_PROFILE);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class MainProfilePath extends MainProfile implements Path {
+ public MainProfilePath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private MainProfilePath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public MainProfilePath as(String alias) {
+ return new MainProfilePath(DSL.name(alias), this);
+ }
+
+ @Override
+ public MainProfilePath as(Name alias) {
+ return new MainProfilePath(alias, this);
+ }
+
+ @Override
+ public MainProfilePath as(Table> alias) {
+ return new MainProfilePath(alias.getQualifiedName(), this);
+ }
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Appeals.APPEALS;
+ }
+
+ @Override
+ public Identity getIdentity() {
+ return (Identity) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.PK_MAIN_PROFILE;
+ }
+
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.MAIN_PROFILE__MAIN_PROFILE_FK1);
+ }
+
+ private transient PubRecruitmentPath _pubRecruitment;
+
+ /**
+ * Get the implicit join path to the
+ * ervu_dashboard.pub_recruitment table.
+ */
+ public PubRecruitmentPath pubRecruitment() {
+ if (_pubRecruitment == null)
+ _pubRecruitment = new PubRecruitmentPath(this, Keys.MAIN_PROFILE__MAIN_PROFILE_FK1, null);
+
+ return _pubRecruitment;
+ }
+
+ @Override
+ public MainProfile as(String alias) {
+ return new MainProfile(DSL.name(alias), this);
+ }
+
+ @Override
+ public MainProfile as(Name alias) {
+ return new MainProfile(alias, this);
+ }
+
+ @Override
+ public MainProfile as(Table> alias) {
+ return new MainProfile(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public MainProfile rename(String name) {
+ return new MainProfile(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public MainProfile rename(Name name) {
+ return new MainProfile(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public MainProfile rename(Table> name) {
+ return new MainProfile(name.getQualifiedName(), null);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public MainProfile where(Condition condition) {
+ return new MainProfile(getQualifiedName(), aliased() ? this : null, null, condition);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public MainProfile where(Collection extends Condition> conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public MainProfile where(Condition... conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public MainProfile where(Field condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public MainProfile where(SQL condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public MainProfile where(@Stringly.SQL String condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public MainProfile where(@Stringly.SQL String condition, Object... binds) {
+ return where(DSL.condition(condition, binds));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public MainProfile where(@Stringly.SQL String condition, QueryPart... parts) {
+ return where(DSL.condition(condition, parts));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public MainProfile whereExists(Select> select) {
+ return where(DSL.exists(select));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public MainProfile whereNotExists(Select> select) {
+ return where(DSL.notExists(select));
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/ReasonsAppeal.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/ReasonsAppeal.java
new file mode 100644
index 0000000..90ee08f
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/ReasonsAppeal.java
@@ -0,0 +1,332 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReasonsAppealRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment.PubRecruitmentPath;
+
+import java.math.BigDecimal;
+import java.sql.Date;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.List;
+
+import org.jooq.Condition;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.InverseForeignKey;
+import org.jooq.Name;
+import org.jooq.Path;
+import org.jooq.PlainSQL;
+import org.jooq.QueryPart;
+import org.jooq.Record;
+import org.jooq.SQL;
+import org.jooq.Schema;
+import org.jooq.Select;
+import org.jooq.Stringly;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * Причины обжалования уровень РФ
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class ReasonsAppeal extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of appeals.reasons_appeal
+ */
+ public static final ReasonsAppeal REASONS_APPEAL = new ReasonsAppeal();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return ReasonsAppealRecord.class;
+ }
+
+ /**
+ * The column appeals.reasons_appeal.id_reasons_appeal.
+ */
+ public final TableField ID_REASONS_APPEAL = createField(DSL.name("id_reasons_appeal"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
+
+ /**
+ * The column appeals.reasons_appeal.appeal. Обжалования
+ */
+ public final TableField APPEAL = createField(DSL.name("appeal"), SQLDataType.NUMERIC, this, "Обжалования");
+
+ /**
+ * The column appeals.reasons_appeal.incorrect_inf.
+ * Некорректные сведения
+ */
+ public final TableField INCORRECT_INF = createField(DSL.name("incorrect_inf"), SQLDataType.NUMERIC, this, "Некорректные сведения");
+
+ /**
+ * The column appeals.reasons_appeal.no_data. Нет данных
+ */
+ public final TableField NO_DATA = createField(DSL.name("no_data"), SQLDataType.NUMERIC, this, "Нет данных");
+
+ /**
+ * The column appeals.reasons_appeal.other. Прочее
+ */
+ public final TableField OTHER = createField(DSL.name("other"), SQLDataType.NUMERIC, this, "Прочее");
+
+ /**
+ * The column appeals.reasons_appeal.recording_date. Дата
+ * записи
+ */
+ public final TableField RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
+
+ /**
+ * The column appeals.reasons_appeal.incorrect_inf_percent.
+ * Некорректные сведения в процентах
+ */
+ public final TableField INCORRECT_INF_PERCENT = createField(DSL.name("incorrect_inf_percent"), SQLDataType.NUMERIC, this, "Некорректные сведения в процентах");
+
+ /**
+ * The column appeals.reasons_appeal.no_data_percent. Нет
+ * данных в процентах
+ */
+ public final TableField NO_DATA_PERCENT = createField(DSL.name("no_data_percent"), SQLDataType.NUMERIC, this, "Нет данных в процентах");
+
+ /**
+ * The column appeals.reasons_appeal.other_percent. Прочее в
+ * процентах
+ */
+ public final TableField OTHER_PERCENT = createField(DSL.name("other_percent"), SQLDataType.NUMERIC, this, "Прочее в процентах");
+
+ /**
+ * The column appeals.reasons_appeal.recruitment_id.
+ */
+ public final TableField RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36), this, "");
+
+ private ReasonsAppeal(Name alias, Table aliased) {
+ this(alias, aliased, (Field>[]) null, null);
+ }
+
+ private ReasonsAppeal(Name alias, Table aliased, Field>[] parameters, Condition where) {
+ super(alias, null, aliased, parameters, DSL.comment("Причины обжалования уровень РФ"), TableOptions.table(), where);
+ }
+
+ /**
+ * Create an aliased appeals.reasons_appeal table reference
+ */
+ public ReasonsAppeal(String alias) {
+ this(DSL.name(alias), REASONS_APPEAL);
+ }
+
+ /**
+ * Create an aliased appeals.reasons_appeal table reference
+ */
+ public ReasonsAppeal(Name alias) {
+ this(alias, REASONS_APPEAL);
+ }
+
+ /**
+ * Create a appeals.reasons_appeal table reference
+ */
+ public ReasonsAppeal() {
+ this(DSL.name("reasons_appeal"), null);
+ }
+
+ public ReasonsAppeal(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, REASONS_APPEAL);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class ReasonsAppealPath extends ReasonsAppeal implements Path {
+ public ReasonsAppealPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private ReasonsAppealPath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public ReasonsAppealPath as(String alias) {
+ return new ReasonsAppealPath(DSL.name(alias), this);
+ }
+
+ @Override
+ public ReasonsAppealPath as(Name alias) {
+ return new ReasonsAppealPath(alias, this);
+ }
+
+ @Override
+ public ReasonsAppealPath as(Table> alias) {
+ return new ReasonsAppealPath(alias.getQualifiedName(), this);
+ }
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Appeals.APPEALS;
+ }
+
+ @Override
+ public Identity getIdentity() {
+ return (Identity) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.PK_REASONS_APPEAL;
+ }
+
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.REASONS_APPEAL__REASONS_APPEAL_FK1);
+ }
+
+ private transient PubRecruitmentPath _pubRecruitment;
+
+ /**
+ * Get the implicit join path to the
+ * ervu_dashboard.pub_recruitment table.
+ */
+ public PubRecruitmentPath pubRecruitment() {
+ if (_pubRecruitment == null)
+ _pubRecruitment = new PubRecruitmentPath(this, Keys.REASONS_APPEAL__REASONS_APPEAL_FK1, null);
+
+ return _pubRecruitment;
+ }
+
+ @Override
+ public ReasonsAppeal as(String alias) {
+ return new ReasonsAppeal(DSL.name(alias), this);
+ }
+
+ @Override
+ public ReasonsAppeal as(Name alias) {
+ return new ReasonsAppeal(alias, this);
+ }
+
+ @Override
+ public ReasonsAppeal as(Table> alias) {
+ return new ReasonsAppeal(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public ReasonsAppeal rename(String name) {
+ return new ReasonsAppeal(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public ReasonsAppeal rename(Name name) {
+ return new ReasonsAppeal(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public ReasonsAppeal rename(Table> name) {
+ return new ReasonsAppeal(name.getQualifiedName(), null);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public ReasonsAppeal where(Condition condition) {
+ return new ReasonsAppeal(getQualifiedName(), aliased() ? this : null, null, condition);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public ReasonsAppeal where(Collection extends Condition> conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public ReasonsAppeal where(Condition... conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public ReasonsAppeal where(Field condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public ReasonsAppeal where(SQL condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public ReasonsAppeal where(@Stringly.SQL String condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public ReasonsAppeal where(@Stringly.SQL String condition, Object... binds) {
+ return where(DSL.condition(condition, binds));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public ReasonsAppeal where(@Stringly.SQL String condition, QueryPart... parts) {
+ return where(DSL.condition(condition, parts));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public ReasonsAppeal whereExists(Select> select) {
+ return where(DSL.exists(select));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public ReasonsAppeal whereNotExists(Select> select) {
+ return where(DSL.notExists(select));
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/ReviewRating.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/ReviewRating.java
new file mode 100644
index 0000000..41f19d1
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/ReviewRating.java
@@ -0,0 +1,309 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReviewRatingRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Region.RegionPath;
+
+import java.math.BigDecimal;
+import java.sql.Date;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.List;
+import java.util.UUID;
+
+import org.jooq.Condition;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.InverseForeignKey;
+import org.jooq.Name;
+import org.jooq.Path;
+import org.jooq.PlainSQL;
+import org.jooq.QueryPart;
+import org.jooq.Record;
+import org.jooq.SQL;
+import org.jooq.Schema;
+import org.jooq.Select;
+import org.jooq.Stringly;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * Рейтинг рассмотрения жалоб уровень РФ
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class ReviewRating extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of appeals.review_rating
+ */
+ public static final ReviewRating REVIEW_RATING = new ReviewRating();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return ReviewRatingRecord.class;
+ }
+
+ /**
+ * The column appeals.review_rating.id_review_rating.
+ */
+ public final TableField ID_REVIEW_RATING = createField(DSL.name("id_review_rating"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
+
+ /**
+ * The column appeals.review_rating.speed. Скорость
+ * рассмотрения
+ */
+ public final TableField SPEED = createField(DSL.name("speed"), SQLDataType.NUMERIC, this, "Скорость рассмотрения");
+
+ /**
+ * The column appeals.review_rating.rating. Оценка
+ * удовлетворенности
+ */
+ public final TableField RATING = createField(DSL.name("rating"), SQLDataType.NUMERIC, this, "Оценка удовлетворенности");
+
+ /**
+ * The column appeals.review_rating.recording_date. Дата записи
+ */
+ public final TableField RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
+
+ /**
+ * The column appeals.review_rating.id_region.
+ */
+ public final TableField ID_REGION = createField(DSL.name("id_region"), SQLDataType.BIGINT, this, "");
+
+ /**
+ * The column appeals.review_rating.recruitment_id.
+ */
+ public final TableField RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
+
+ private ReviewRating(Name alias, Table aliased) {
+ this(alias, aliased, (Field>[]) null, null);
+ }
+
+ private ReviewRating(Name alias, Table aliased, Field>[] parameters, Condition where) {
+ super(alias, null, aliased, parameters, DSL.comment("Рейтинг рассмотрения жалоб уровень РФ"), TableOptions.table(), where);
+ }
+
+ /**
+ * Create an aliased appeals.review_rating table reference
+ */
+ public ReviewRating(String alias) {
+ this(DSL.name(alias), REVIEW_RATING);
+ }
+
+ /**
+ * Create an aliased appeals.review_rating table reference
+ */
+ public ReviewRating(Name alias) {
+ this(alias, REVIEW_RATING);
+ }
+
+ /**
+ * Create a appeals.review_rating table reference
+ */
+ public ReviewRating() {
+ this(DSL.name("review_rating"), null);
+ }
+
+ public ReviewRating(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, REVIEW_RATING);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class ReviewRatingPath extends ReviewRating implements Path {
+ public ReviewRatingPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private ReviewRatingPath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public ReviewRatingPath as(String alias) {
+ return new ReviewRatingPath(DSL.name(alias), this);
+ }
+
+ @Override
+ public ReviewRatingPath as(Name alias) {
+ return new ReviewRatingPath(alias, this);
+ }
+
+ @Override
+ public ReviewRatingPath as(Table> alias) {
+ return new ReviewRatingPath(alias.getQualifiedName(), this);
+ }
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Appeals.APPEALS;
+ }
+
+ @Override
+ public Identity getIdentity() {
+ return (Identity) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.PK_REVIEW_RATING;
+ }
+
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.REVIEW_RATING__FK_REGION);
+ }
+
+ private transient RegionPath _region;
+
+ /**
+ * Get the implicit join path to the space.region table.
+ */
+ public RegionPath region() {
+ if (_region == null)
+ _region = new RegionPath(this, Keys.REVIEW_RATING__FK_REGION, null);
+
+ return _region;
+ }
+
+ @Override
+ public ReviewRating as(String alias) {
+ return new ReviewRating(DSL.name(alias), this);
+ }
+
+ @Override
+ public ReviewRating as(Name alias) {
+ return new ReviewRating(alias, this);
+ }
+
+ @Override
+ public ReviewRating as(Table> alias) {
+ return new ReviewRating(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public ReviewRating rename(String name) {
+ return new ReviewRating(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public ReviewRating rename(Name name) {
+ return new ReviewRating(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public ReviewRating rename(Table> name) {
+ return new ReviewRating(name.getQualifiedName(), null);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public ReviewRating where(Condition condition) {
+ return new ReviewRating(getQualifiedName(), aliased() ? this : null, null, condition);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public ReviewRating where(Collection extends Condition> conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public ReviewRating where(Condition... conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public ReviewRating where(Field condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public ReviewRating where(SQL condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public ReviewRating where(@Stringly.SQL String condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public ReviewRating where(@Stringly.SQL String condition, Object... binds) {
+ return where(DSL.condition(condition, binds));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public ReviewRating where(@Stringly.SQL String condition, QueryPart... parts) {
+ return where(DSL.condition(condition, parts));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public ReviewRating whereExists(Select> select) {
+ return where(DSL.exists(select));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public ReviewRating whereNotExists(Select> select) {
+ return where(DSL.notExists(select));
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/TopicAppeal.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/TopicAppeal.java
new file mode 100644
index 0000000..fec1b6f
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/TopicAppeal.java
@@ -0,0 +1,340 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.TopicAppealRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment.PubRecruitmentPath;
+
+import java.math.BigDecimal;
+import java.sql.Date;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.List;
+
+import org.jooq.Condition;
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.InverseForeignKey;
+import org.jooq.Name;
+import org.jooq.Path;
+import org.jooq.PlainSQL;
+import org.jooq.QueryPart;
+import org.jooq.Record;
+import org.jooq.SQL;
+import org.jooq.Schema;
+import org.jooq.Select;
+import org.jooq.Stringly;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * Тема обжалования уровень РФ
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class TopicAppeal extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of appeals.topic_appeal
+ */
+ public static final TopicAppeal TOPIC_APPEAL = new TopicAppeal();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return TopicAppealRecord.class;
+ }
+
+ /**
+ * The column appeals.topic_appeal.id_topic_appeal.
+ */
+ public final TableField ID_TOPIC_APPEAL = createField(DSL.name("id_topic_appeal"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
+
+ /**
+ * The column appeals.topic_appeal.registration. Тема
+ * обжалования постановка на учет
+ */
+ public final TableField REGISTRATION = createField(DSL.name("registration"), SQLDataType.NUMERIC, this, "Тема обжалования постановка на учет");
+
+ /**
+ * The column appeals.topic_appeal.sabpoena. Тема обжалования
+ * повестки
+ */
+ public final TableField SABPOENA = createField(DSL.name("sabpoena"), SQLDataType.NUMERIC, this, "Тема обжалования повестки");
+
+ /**
+ * The column appeals.topic_appeal.appear. Тема обжалования
+ * явка
+ */
+ public final TableField APPEAR = createField(DSL.name("appear"), SQLDataType.NUMERIC, this, "Тема обжалования явка");
+
+ /**
+ * The column appeals.topic_appeal.temporary_measures. Тема
+ * обжалования временные меры
+ */
+ public final TableField TEMPORARY_MEASURES = createField(DSL.name("temporary_measures"), SQLDataType.NUMERIC, this, "Тема обжалования временные меры");
+
+ /**
+ * The column appeals.topic_appeal.recording_date. Дата записи
+ */
+ public final TableField RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
+
+ /**
+ * The column appeals.topic_appeal.registration_percent. Тема
+ * обжалования постановка на учет в процентах
+ */
+ public final TableField REGISTRATION_PERCENT = createField(DSL.name("registration_percent"), SQLDataType.NUMERIC, this, "Тема обжалования постановка на учет в процентах");
+
+ /**
+ * The column appeals.topic_appeal.sabpoena_percent. Тема
+ * обжалования повестки в процентах
+ */
+ public final TableField SABPOENA_PERCENT = createField(DSL.name("sabpoena_percent"), SQLDataType.NUMERIC, this, "Тема обжалования повестки в процентах");
+
+ /**
+ * The column appeals.topic_appeal.appear_percent. Тема
+ * обжалования явка в процентах
+ */
+ public final TableField APPEAR_PERCENT = createField(DSL.name("appear_percent"), SQLDataType.NUMERIC, this, "Тема обжалования явка в процентах");
+
+ /**
+ * The column appeals.topic_appeal.temporary_measures_percent.
+ * Тема обжалования временные меры в процентах
+ */
+ public final TableField TEMPORARY_MEASURES_PERCENT = createField(DSL.name("temporary_measures_percent"), SQLDataType.NUMERIC, this, "Тема обжалования временные меры в процентах");
+
+ /**
+ * The column appeals.topic_appeal.recruitment_id.
+ */
+ public final TableField RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36), this, "");
+
+ private TopicAppeal(Name alias, Table aliased) {
+ this(alias, aliased, (Field>[]) null, null);
+ }
+
+ private TopicAppeal(Name alias, Table aliased, Field>[] parameters, Condition where) {
+ super(alias, null, aliased, parameters, DSL.comment("Тема обжалования уровень РФ"), TableOptions.table(), where);
+ }
+
+ /**
+ * Create an aliased appeals.topic_appeal table reference
+ */
+ public TopicAppeal(String alias) {
+ this(DSL.name(alias), TOPIC_APPEAL);
+ }
+
+ /**
+ * Create an aliased appeals.topic_appeal table reference
+ */
+ public TopicAppeal(Name alias) {
+ this(alias, TOPIC_APPEAL);
+ }
+
+ /**
+ * Create a appeals.topic_appeal table reference
+ */
+ public TopicAppeal() {
+ this(DSL.name("topic_appeal"), null);
+ }
+
+ public TopicAppeal(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, TOPIC_APPEAL);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class TopicAppealPath extends TopicAppeal implements Path {
+ public TopicAppealPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private TopicAppealPath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public TopicAppealPath as(String alias) {
+ return new TopicAppealPath(DSL.name(alias), this);
+ }
+
+ @Override
+ public TopicAppealPath as(Name alias) {
+ return new TopicAppealPath(alias, this);
+ }
+
+ @Override
+ public TopicAppealPath as(Table> alias) {
+ return new TopicAppealPath(alias.getQualifiedName(), this);
+ }
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Appeals.APPEALS;
+ }
+
+ @Override
+ public Identity getIdentity() {
+ return (Identity) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.PK_TOPIC_APPEAL;
+ }
+
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.TOPIC_APPEAL__TOPIC_APPEAL_FK1);
+ }
+
+ private transient PubRecruitmentPath _pubRecruitment;
+
+ /**
+ * Get the implicit join path to the
+ * ervu_dashboard.pub_recruitment table.
+ */
+ public PubRecruitmentPath pubRecruitment() {
+ if (_pubRecruitment == null)
+ _pubRecruitment = new PubRecruitmentPath(this, Keys.TOPIC_APPEAL__TOPIC_APPEAL_FK1, null);
+
+ return _pubRecruitment;
+ }
+
+ @Override
+ public TopicAppeal as(String alias) {
+ return new TopicAppeal(DSL.name(alias), this);
+ }
+
+ @Override
+ public TopicAppeal as(Name alias) {
+ return new TopicAppeal(alias, this);
+ }
+
+ @Override
+ public TopicAppeal as(Table> alias) {
+ return new TopicAppeal(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TopicAppeal rename(String name) {
+ return new TopicAppeal(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TopicAppeal rename(Name name) {
+ return new TopicAppeal(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TopicAppeal rename(Table> name) {
+ return new TopicAppeal(name.getQualifiedName(), null);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public TopicAppeal where(Condition condition) {
+ return new TopicAppeal(getQualifiedName(), aliased() ? this : null, null, condition);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public TopicAppeal where(Collection extends Condition> conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public TopicAppeal where(Condition... conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public TopicAppeal where(Field condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public TopicAppeal where(SQL condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public TopicAppeal where(@Stringly.SQL String condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public TopicAppeal where(@Stringly.SQL String condition, Object... binds) {
+ return where(DSL.condition(condition, binds));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public TopicAppeal where(@Stringly.SQL String condition, QueryPart... parts) {
+ return where(DSL.condition(condition, parts));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public TopicAppeal whereExists(Select> select) {
+ return where(DSL.exists(select));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public TopicAppeal whereNotExists(Select> select) {
+ return where(DSL.notExists(select));
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/records/MainProfileRecord.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/records/MainProfileRecord.java
new file mode 100644
index 0000000..590e276
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/records/MainProfileRecord.java
@@ -0,0 +1,171 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile;
+
+import java.sql.Date;
+
+import org.jooq.Record1;
+import org.jooq.impl.UpdatableRecordImpl;
+
+
+/**
+ * Основной профиль уровень РФ
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class MainProfileRecord extends UpdatableRecordImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Setter for appeals.main_profile.id_main_profile.
+ */
+ public void setIdMainProfile(Long value) {
+ set(0, value);
+ }
+
+ /**
+ * Getter for appeals.main_profile.id_main_profile.
+ */
+ public Long getIdMainProfile() {
+ return (Long) get(0);
+ }
+
+ /**
+ * Setter for appeals.main_profile.gender. Пол
+ */
+ public void setGender(String value) {
+ set(1, value);
+ }
+
+ /**
+ * Getter for appeals.main_profile.gender. Пол
+ */
+ public String getGender() {
+ return (String) get(1);
+ }
+
+ /**
+ * Setter for appeals.main_profile.age. Возраст
+ */
+ public void setAge(String value) {
+ set(2, value);
+ }
+
+ /**
+ * Getter for appeals.main_profile.age. Возраст
+ */
+ public String getAge() {
+ return (String) get(2);
+ }
+
+ /**
+ * Setter for appeals.main_profile.child_min_18. Дети до 18 лет
+ */
+ public void setChildMin_18(String value) {
+ set(3, value);
+ }
+
+ /**
+ * Getter for appeals.main_profile.child_min_18. Дети до 18 лет
+ */
+ public String getChildMin_18() {
+ return (String) get(3);
+ }
+
+ /**
+ * Setter for appeals.main_profile.education. Образование
+ */
+ public void setEducation(String value) {
+ set(4, value);
+ }
+
+ /**
+ * Getter for appeals.main_profile.education. Образование
+ */
+ public String getEducation() {
+ return (String) get(4);
+ }
+
+ /**
+ * Setter for appeals.main_profile.employment. Занятость
+ */
+ public void setEmployment(String value) {
+ set(5, value);
+ }
+
+ /**
+ * Getter for appeals.main_profile.employment. Занятость
+ */
+ public String getEmployment() {
+ return (String) get(5);
+ }
+
+ /**
+ * Setter for appeals.main_profile.recording_date. Дата записи
+ */
+ public void setRecordingDate(Date value) {
+ set(6, value);
+ }
+
+ /**
+ * Getter for appeals.main_profile.recording_date. Дата записи
+ */
+ public Date getRecordingDate() {
+ return (Date) get(6);
+ }
+
+ /**
+ * Setter for appeals.main_profile.recruitment_id.
+ */
+ public void setRecruitmentId(String value) {
+ set(7, value);
+ }
+
+ /**
+ * Getter for appeals.main_profile.recruitment_id.
+ */
+ public String getRecruitmentId() {
+ return (String) get(7);
+ }
+
+ // -------------------------------------------------------------------------
+ // Primary key information
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Record1 key() {
+ return (Record1) super.key();
+ }
+
+ // -------------------------------------------------------------------------
+ // Constructors
+ // -------------------------------------------------------------------------
+
+ /**
+ * Create a detached MainProfileRecord
+ */
+ public MainProfileRecord() {
+ super(MainProfile.MAIN_PROFILE);
+ }
+
+ /**
+ * Create a detached, initialised MainProfileRecord
+ */
+ public MainProfileRecord(Long idMainProfile, String gender, String age, String childMin_18, String education, String employment, Date recordingDate, String recruitmentId) {
+ super(MainProfile.MAIN_PROFILE);
+
+ setIdMainProfile(idMainProfile);
+ setGender(gender);
+ setAge(age);
+ setChildMin_18(childMin_18);
+ setEducation(education);
+ setEmployment(employment);
+ setRecordingDate(recordingDate);
+ setRecruitmentId(recruitmentId);
+ resetChangedOnNotNull();
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/records/ReasonsAppealRecord.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/records/ReasonsAppealRecord.java
new file mode 100644
index 0000000..7abcd68
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/records/ReasonsAppealRecord.java
@@ -0,0 +1,212 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal;
+
+import java.math.BigDecimal;
+import java.sql.Date;
+
+import org.jooq.Record1;
+import org.jooq.impl.UpdatableRecordImpl;
+
+
+/**
+ * Причины обжалования уровень РФ
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class ReasonsAppealRecord extends UpdatableRecordImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Setter for appeals.reasons_appeal.id_reasons_appeal.
+ */
+ public void setIdReasonsAppeal(Long value) {
+ set(0, value);
+ }
+
+ /**
+ * Getter for appeals.reasons_appeal.id_reasons_appeal.
+ */
+ public Long getIdReasonsAppeal() {
+ return (Long) get(0);
+ }
+
+ /**
+ * Setter for appeals.reasons_appeal.appeal. Обжалования
+ */
+ public void setAppeal(BigDecimal value) {
+ set(1, value);
+ }
+
+ /**
+ * Getter for appeals.reasons_appeal.appeal. Обжалования
+ */
+ public BigDecimal getAppeal() {
+ return (BigDecimal) get(1);
+ }
+
+ /**
+ * Setter for appeals.reasons_appeal.incorrect_inf.
+ * Некорректные сведения
+ */
+ public void setIncorrectInf(BigDecimal value) {
+ set(2, value);
+ }
+
+ /**
+ * Getter for appeals.reasons_appeal.incorrect_inf.
+ * Некорректные сведения
+ */
+ public BigDecimal getIncorrectInf() {
+ return (BigDecimal) get(2);
+ }
+
+ /**
+ * Setter for appeals.reasons_appeal.no_data. Нет данных
+ */
+ public void setNoData(BigDecimal value) {
+ set(3, value);
+ }
+
+ /**
+ * Getter for appeals.reasons_appeal.no_data. Нет данных
+ */
+ public BigDecimal getNoData() {
+ return (BigDecimal) get(3);
+ }
+
+ /**
+ * Setter for appeals.reasons_appeal.other. Прочее
+ */
+ public void setOther(BigDecimal value) {
+ set(4, value);
+ }
+
+ /**
+ * Getter for appeals.reasons_appeal.other. Прочее
+ */
+ public BigDecimal getOther() {
+ return (BigDecimal) get(4);
+ }
+
+ /**
+ * Setter for appeals.reasons_appeal.recording_date. Дата
+ * записи
+ */
+ public void setRecordingDate(Date value) {
+ set(5, value);
+ }
+
+ /**
+ * Getter for appeals.reasons_appeal.recording_date. Дата
+ * записи
+ */
+ public Date getRecordingDate() {
+ return (Date) get(5);
+ }
+
+ /**
+ * Setter for appeals.reasons_appeal.incorrect_inf_percent.
+ * Некорректные сведения в процентах
+ */
+ public void setIncorrectInfPercent(BigDecimal value) {
+ set(6, value);
+ }
+
+ /**
+ * Getter for appeals.reasons_appeal.incorrect_inf_percent.
+ * Некорректные сведения в процентах
+ */
+ public BigDecimal getIncorrectInfPercent() {
+ return (BigDecimal) get(6);
+ }
+
+ /**
+ * Setter for appeals.reasons_appeal.no_data_percent. Нет
+ * данных в процентах
+ */
+ public void setNoDataPercent(BigDecimal value) {
+ set(7, value);
+ }
+
+ /**
+ * Getter for appeals.reasons_appeal.no_data_percent. Нет
+ * данных в процентах
+ */
+ public BigDecimal getNoDataPercent() {
+ return (BigDecimal) get(7);
+ }
+
+ /**
+ * Setter for appeals.reasons_appeal.other_percent. Прочее в
+ * процентах
+ */
+ public void setOtherPercent(BigDecimal value) {
+ set(8, value);
+ }
+
+ /**
+ * Getter for appeals.reasons_appeal.other_percent. Прочее в
+ * процентах
+ */
+ public BigDecimal getOtherPercent() {
+ return (BigDecimal) get(8);
+ }
+
+ /**
+ * Setter for appeals.reasons_appeal.recruitment_id.
+ */
+ public void setRecruitmentId(String value) {
+ set(9, value);
+ }
+
+ /**
+ * Getter for appeals.reasons_appeal.recruitment_id.
+ */
+ public String getRecruitmentId() {
+ return (String) get(9);
+ }
+
+ // -------------------------------------------------------------------------
+ // Primary key information
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Record1 key() {
+ return (Record1) super.key();
+ }
+
+ // -------------------------------------------------------------------------
+ // Constructors
+ // -------------------------------------------------------------------------
+
+ /**
+ * Create a detached ReasonsAppealRecord
+ */
+ public ReasonsAppealRecord() {
+ super(ReasonsAppeal.REASONS_APPEAL);
+ }
+
+ /**
+ * Create a detached, initialised ReasonsAppealRecord
+ */
+ public ReasonsAppealRecord(Long idReasonsAppeal, BigDecimal appeal, BigDecimal incorrectInf, BigDecimal noData, BigDecimal other, Date recordingDate, BigDecimal incorrectInfPercent, BigDecimal noDataPercent, BigDecimal otherPercent, String recruitmentId) {
+ super(ReasonsAppeal.REASONS_APPEAL);
+
+ setIdReasonsAppeal(idReasonsAppeal);
+ setAppeal(appeal);
+ setIncorrectInf(incorrectInf);
+ setNoData(noData);
+ setOther(other);
+ setRecordingDate(recordingDate);
+ setIncorrectInfPercent(incorrectInfPercent);
+ setNoDataPercent(noDataPercent);
+ setOtherPercent(otherPercent);
+ setRecruitmentId(recruitmentId);
+ resetChangedOnNotNull();
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/records/ReviewRatingRecord.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/records/ReviewRatingRecord.java
new file mode 100644
index 0000000..d51faea
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/records/ReviewRatingRecord.java
@@ -0,0 +1,147 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReviewRating;
+
+import java.math.BigDecimal;
+import java.sql.Date;
+import java.util.UUID;
+
+import org.jooq.Record1;
+import org.jooq.impl.UpdatableRecordImpl;
+
+
+/**
+ * Рейтинг рассмотрения жалоб уровень РФ
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class ReviewRatingRecord extends UpdatableRecordImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Setter for appeals.review_rating.id_review_rating.
+ */
+ public void setIdReviewRating(Long value) {
+ set(0, value);
+ }
+
+ /**
+ * Getter for appeals.review_rating.id_review_rating.
+ */
+ public Long getIdReviewRating() {
+ return (Long) get(0);
+ }
+
+ /**
+ * Setter for appeals.review_rating.speed. Скорость
+ * рассмотрения
+ */
+ public void setSpeed(BigDecimal value) {
+ set(1, value);
+ }
+
+ /**
+ * Getter for appeals.review_rating.speed. Скорость
+ * рассмотрения
+ */
+ public BigDecimal getSpeed() {
+ return (BigDecimal) get(1);
+ }
+
+ /**
+ * Setter for appeals.review_rating.rating. Оценка
+ * удовлетворенности
+ */
+ public void setRating(BigDecimal value) {
+ set(2, value);
+ }
+
+ /**
+ * Getter for appeals.review_rating.rating. Оценка
+ * удовлетворенности
+ */
+ public BigDecimal getRating() {
+ return (BigDecimal) get(2);
+ }
+
+ /**
+ * Setter for appeals.review_rating.recording_date. Дата записи
+ */
+ public void setRecordingDate(Date value) {
+ set(3, value);
+ }
+
+ /**
+ * Getter for appeals.review_rating.recording_date. Дата записи
+ */
+ public Date getRecordingDate() {
+ return (Date) get(3);
+ }
+
+ /**
+ * Setter for appeals.review_rating.id_region.
+ */
+ public void setIdRegion(Long value) {
+ set(4, value);
+ }
+
+ /**
+ * Getter for appeals.review_rating.id_region.
+ */
+ public Long getIdRegion() {
+ return (Long) get(4);
+ }
+
+ /**
+ * Setter for appeals.review_rating.recruitment_id.
+ */
+ public void setRecruitmentId(UUID value) {
+ set(5, value);
+ }
+
+ /**
+ * Getter for appeals.review_rating.recruitment_id.
+ */
+ public UUID getRecruitmentId() {
+ return (UUID) get(5);
+ }
+
+ // -------------------------------------------------------------------------
+ // Primary key information
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Record1 key() {
+ return (Record1) super.key();
+ }
+
+ // -------------------------------------------------------------------------
+ // Constructors
+ // -------------------------------------------------------------------------
+
+ /**
+ * Create a detached ReviewRatingRecord
+ */
+ public ReviewRatingRecord() {
+ super(ReviewRating.REVIEW_RATING);
+ }
+
+ /**
+ * Create a detached, initialised ReviewRatingRecord
+ */
+ public ReviewRatingRecord(Long idReviewRating, BigDecimal speed, BigDecimal rating, Date recordingDate, Long idRegion, UUID recruitmentId) {
+ super(ReviewRating.REVIEW_RATING);
+
+ setIdReviewRating(idReviewRating);
+ setSpeed(speed);
+ setRating(rating);
+ setRecordingDate(recordingDate);
+ setIdRegion(idRegion);
+ setRecruitmentId(recruitmentId);
+ resetChangedOnNotNull();
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/records/TopicAppealRecord.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/records/TopicAppealRecord.java
new file mode 100644
index 0000000..fc50c10
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/records/TopicAppealRecord.java
@@ -0,0 +1,233 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.TopicAppeal;
+
+import java.math.BigDecimal;
+import java.sql.Date;
+
+import org.jooq.Record1;
+import org.jooq.impl.UpdatableRecordImpl;
+
+
+/**
+ * Тема обжалования уровень РФ
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class TopicAppealRecord extends UpdatableRecordImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Setter for appeals.topic_appeal.id_topic_appeal.
+ */
+ public void setIdTopicAppeal(Long value) {
+ set(0, value);
+ }
+
+ /**
+ * Getter for appeals.topic_appeal.id_topic_appeal.
+ */
+ public Long getIdTopicAppeal() {
+ return (Long) get(0);
+ }
+
+ /**
+ * Setter for appeals.topic_appeal.registration. Тема
+ * обжалования постановка на учет
+ */
+ public void setRegistration(BigDecimal value) {
+ set(1, value);
+ }
+
+ /**
+ * Getter for appeals.topic_appeal.registration. Тема
+ * обжалования постановка на учет
+ */
+ public BigDecimal getRegistration() {
+ return (BigDecimal) get(1);
+ }
+
+ /**
+ * Setter for appeals.topic_appeal.sabpoena. Тема обжалования
+ * повестки
+ */
+ public void setSabpoena(BigDecimal value) {
+ set(2, value);
+ }
+
+ /**
+ * Getter for appeals.topic_appeal.sabpoena. Тема обжалования
+ * повестки
+ */
+ public BigDecimal getSabpoena() {
+ return (BigDecimal) get(2);
+ }
+
+ /**
+ * Setter for appeals.topic_appeal.appear. Тема обжалования
+ * явка
+ */
+ public void setAppear(BigDecimal value) {
+ set(3, value);
+ }
+
+ /**
+ * Getter for appeals.topic_appeal.appear. Тема обжалования
+ * явка
+ */
+ public BigDecimal getAppear() {
+ return (BigDecimal) get(3);
+ }
+
+ /**
+ * Setter for appeals.topic_appeal.temporary_measures. Тема
+ * обжалования временные меры
+ */
+ public void setTemporaryMeasures(BigDecimal value) {
+ set(4, value);
+ }
+
+ /**
+ * Getter for appeals.topic_appeal.temporary_measures. Тема
+ * обжалования временные меры
+ */
+ public BigDecimal getTemporaryMeasures() {
+ return (BigDecimal) get(4);
+ }
+
+ /**
+ * Setter for appeals.topic_appeal.recording_date. Дата записи
+ */
+ public void setRecordingDate(Date value) {
+ set(5, value);
+ }
+
+ /**
+ * Getter for appeals.topic_appeal.recording_date. Дата записи
+ */
+ public Date getRecordingDate() {
+ return (Date) get(5);
+ }
+
+ /**
+ * Setter for appeals.topic_appeal.registration_percent. Тема
+ * обжалования постановка на учет в процентах
+ */
+ public void setRegistrationPercent(BigDecimal value) {
+ set(6, value);
+ }
+
+ /**
+ * Getter for appeals.topic_appeal.registration_percent. Тема
+ * обжалования постановка на учет в процентах
+ */
+ public BigDecimal getRegistrationPercent() {
+ return (BigDecimal) get(6);
+ }
+
+ /**
+ * Setter for appeals.topic_appeal.sabpoena_percent. Тема
+ * обжалования повестки в процентах
+ */
+ public void setSabpoenaPercent(BigDecimal value) {
+ set(7, value);
+ }
+
+ /**
+ * Getter for appeals.topic_appeal.sabpoena_percent. Тема
+ * обжалования повестки в процентах
+ */
+ public BigDecimal getSabpoenaPercent() {
+ return (BigDecimal) get(7);
+ }
+
+ /**
+ * Setter for appeals.topic_appeal.appear_percent. Тема
+ * обжалования явка в процентах
+ */
+ public void setAppearPercent(BigDecimal value) {
+ set(8, value);
+ }
+
+ /**
+ * Getter for appeals.topic_appeal.appear_percent. Тема
+ * обжалования явка в процентах
+ */
+ public BigDecimal getAppearPercent() {
+ return (BigDecimal) get(8);
+ }
+
+ /**
+ * Setter for appeals.topic_appeal.temporary_measures_percent.
+ * Тема обжалования временные меры в процентах
+ */
+ public void setTemporaryMeasuresPercent(BigDecimal value) {
+ set(9, value);
+ }
+
+ /**
+ * Getter for appeals.topic_appeal.temporary_measures_percent.
+ * Тема обжалования временные меры в процентах
+ */
+ public BigDecimal getTemporaryMeasuresPercent() {
+ return (BigDecimal) get(9);
+ }
+
+ /**
+ * Setter for appeals.topic_appeal.recruitment_id.
+ */
+ public void setRecruitmentId(String value) {
+ set(10, value);
+ }
+
+ /**
+ * Getter for appeals.topic_appeal.recruitment_id.
+ */
+ public String getRecruitmentId() {
+ return (String) get(10);
+ }
+
+ // -------------------------------------------------------------------------
+ // Primary key information
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Record1 key() {
+ return (Record1) super.key();
+ }
+
+ // -------------------------------------------------------------------------
+ // Constructors
+ // -------------------------------------------------------------------------
+
+ /**
+ * Create a detached TopicAppealRecord
+ */
+ public TopicAppealRecord() {
+ super(TopicAppeal.TOPIC_APPEAL);
+ }
+
+ /**
+ * Create a detached, initialised TopicAppealRecord
+ */
+ public TopicAppealRecord(Long idTopicAppeal, BigDecimal registration, BigDecimal sabpoena, BigDecimal appear, BigDecimal temporaryMeasures, Date recordingDate, BigDecimal registrationPercent, BigDecimal sabpoenaPercent, BigDecimal appearPercent, BigDecimal temporaryMeasuresPercent, String recruitmentId) {
+ super(TopicAppeal.TOPIC_APPEAL);
+
+ setIdTopicAppeal(idTopicAppeal);
+ setRegistration(registration);
+ setSabpoena(sabpoena);
+ setAppear(appear);
+ setTemporaryMeasures(temporaryMeasures);
+ setRecordingDate(recordingDate);
+ setRegistrationPercent(registrationPercent);
+ setSabpoenaPercent(sabpoenaPercent);
+ setAppearPercent(appearPercent);
+ setTemporaryMeasuresPercent(temporaryMeasuresPercent);
+ setRecruitmentId(recruitmentId);
+ resetChangedOnNotNull();
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/ErvuDashboard.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/ErvuDashboard.java
new file mode 100644
index 0000000..3590f2d
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/ErvuDashboard.java
@@ -0,0 +1,210 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.DefaultCatalog;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizen;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenChild;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenGuardianship;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenSpouse;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizenship;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenshipForeign;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangelog;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Decision;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Deputy;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disease;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.DriversLicence;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.MedicalAuthorities;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Passport;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Prosecution;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Punishment;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.TemporaryMeasures;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Work;
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.jooq.Catalog;
+import org.jooq.Table;
+import org.jooq.impl.SchemaImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class ErvuDashboard extends SchemaImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of ervu_dashboard
+ */
+ public static final ErvuDashboard ERVU_DASHBOARD = new ErvuDashboard();
+
+ /**
+ * The table ervu_dashboard.citizen.
+ */
+ public final Citizen CITIZEN = Citizen.CITIZEN;
+
+ /**
+ * сведения о детях гражданина
+ */
+ public final CitizenChild CITIZEN_CHILD = CitizenChild.CITIZEN_CHILD;
+
+ /**
+ * сведения о лице, опекаемом или находящемся на попечении
+ */
+ public final CitizenGuardianship CITIZEN_GUARDIANSHIP = CitizenGuardianship.CITIZEN_GUARDIANSHIP;
+
+ /**
+ * сведения о супруге (бывшей/ем супруге) гражданина
+ */
+ public final CitizenSpouse CITIZEN_SPOUSE = CitizenSpouse.CITIZEN_SPOUSE;
+
+ /**
+ * сведения о гражданстве РФ
+ */
+ public final Citizenship CITIZENSHIP = Citizenship.CITIZENSHIP;
+
+ /**
+ * сведения об иностранном гражданстве
+ */
+ public final CitizenshipForeign CITIZENSHIP_FOREIGN = CitizenshipForeign.CITIZENSHIP_FOREIGN;
+
+ /**
+ * The table ervu_dashboard.databasechangelog.
+ */
+ public final Databasechangelog DATABASECHANGELOG = Databasechangelog.DATABASECHANGELOG;
+
+ /**
+ * The table ervu_dashboard.databasechangeloglock.
+ */
+ public final Databasechangeloglock DATABASECHANGELOGLOCK = Databasechangeloglock.DATABASECHANGELOGLOCK;
+
+ /**
+ * The table ervu_dashboard.decision.
+ */
+ public final Decision DECISION = Decision.DECISION;
+
+ /**
+ * сведения о гражданах, избранных депутатами/зарегистрированных кандидатами
+ * на участие в выборах
+ */
+ public final Deputy DEPUTY = Deputy.DEPUTY;
+
+ /**
+ * сведения об инвалидности/недееспособности/ограниченной дееспособности
+ */
+ public final Disability DISABILITY = Disability.DISABILITY;
+
+ /**
+ * сведения о заболеваниях гражданина
+ */
+ public final Disease DISEASE = Disease.DISEASE;
+
+ /**
+ * удостоверение водительское/тракториста-машиниста
+ */
+ public final DriversLicence DRIVERS_LICENCE = DriversLicence.DRIVERS_LICENCE;
+
+ /**
+ * сведения о гражданах, стоящих на учете в ПНД/по ВИЧ
+ */
+ public final MedicalAuthorities MEDICAL_AUTHORITIES = MedicalAuthorities.MEDICAL_AUTHORITIES;
+
+ /**
+ * сведения о паспорте
+ */
+ public final Passport PASSPORT = Passport.PASSPORT;
+
+ /**
+ * сведения об имуществе
+ */
+ public final Property PROPERTY = Property.PROPERTY;
+
+ /**
+ * сведения об уголовном преследовании
+ */
+ public final Prosecution PROSECUTION = Prosecution.PROSECUTION;
+
+ /**
+ * The table ervu_dashboard.pub_recruitment.
+ */
+ public final PubRecruitment PUB_RECRUITMENT = PubRecruitment.PUB_RECRUITMENT;
+
+ /**
+ * сведения об уголовном преследовании и вынесенном приговоре
+ */
+ public final Punishment PUNISHMENT = Punishment.PUNISHMENT;
+
+ /**
+ * The table ervu_dashboard.recruitment.
+ */
+ public final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
+
+ /**
+ * сведения о направлении повестки военного комиссариата
+ */
+ public final Subpoena SUBPOENA = Subpoena.SUBPOENA;
+
+ /**
+ * The table ervu_dashboard.temporary_measures.
+ */
+ public final TemporaryMeasures TEMPORARY_MEASURES = TemporaryMeasures.TEMPORARY_MEASURES;
+
+ /**
+ * сведения об имуществе
+ */
+ public final Work WORK = Work.WORK;
+
+ /**
+ * No further instances allowed
+ */
+ private ErvuDashboard() {
+ super("ervu_dashboard", null);
+ }
+
+
+ @Override
+ public Catalog getCatalog() {
+ return DefaultCatalog.DEFAULT_CATALOG;
+ }
+
+ @Override
+ public final List> getTables() {
+ return Arrays.asList(
+ Citizen.CITIZEN,
+ CitizenChild.CITIZEN_CHILD,
+ CitizenGuardianship.CITIZEN_GUARDIANSHIP,
+ CitizenSpouse.CITIZEN_SPOUSE,
+ Citizenship.CITIZENSHIP,
+ CitizenshipForeign.CITIZENSHIP_FOREIGN,
+ Databasechangelog.DATABASECHANGELOG,
+ Databasechangeloglock.DATABASECHANGELOGLOCK,
+ Decision.DECISION,
+ Deputy.DEPUTY,
+ Disability.DISABILITY,
+ Disease.DISEASE,
+ DriversLicence.DRIVERS_LICENCE,
+ MedicalAuthorities.MEDICAL_AUTHORITIES,
+ Passport.PASSPORT,
+ Property.PROPERTY,
+ Prosecution.PROSECUTION,
+ PubRecruitment.PUB_RECRUITMENT,
+ Punishment.PUNISHMENT,
+ Recruitment.RECRUITMENT,
+ Subpoena.SUBPOENA,
+ TemporaryMeasures.TEMPORARY_MEASURES,
+ Work.WORK
+ );
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/Keys.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/Keys.java
new file mode 100644
index 0000000..b201094
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/Keys.java
@@ -0,0 +1,92 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizen;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenChild;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenGuardianship;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenSpouse;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizenship;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenshipForeign;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Decision;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Deputy;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disease;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.DriversLicence;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.MedicalAuthorities;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Passport;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Prosecution;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Punishment;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.TemporaryMeasures;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Work;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenChildRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenGuardianshipRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenSpouseRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenshipForeignRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenshipRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DatabasechangeloglockRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DecisionRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DeputyRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DisabilityRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DiseaseRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DriversLicenceRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.MedicalAuthoritiesRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PassportRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PropertyRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.ProsecutionRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PubRecruitmentRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PunishmentRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.RecruitmentRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.SubpoenaRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.TemporaryMeasuresRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.WorkRecord;
+
+import org.jooq.TableField;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.Internal;
+
+
+/**
+ * A class modelling foreign key relationships and constraints of tables in
+ * ervu_dashboard.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Keys {
+
+ // -------------------------------------------------------------------------
+ // UNIQUE and PRIMARY KEY definitions
+ // -------------------------------------------------------------------------
+
+ public static final UniqueKey CITIZEN_PKEY = Internal.createUniqueKey(Citizen.CITIZEN, DSL.name("citizen_pkey"), new TableField[] { Citizen.CITIZEN.RECRUIT_ID }, true);
+ public static final UniqueKey PK_CITIZEN_CHILD = Internal.createUniqueKey(CitizenChild.CITIZEN_CHILD, DSL.name("pk_citizen_child"), new TableField[] { CitizenChild.CITIZEN_CHILD.CITIZEN_CHILD_ID }, true);
+ public static final UniqueKey PK_CITIZEN_GUARDIANSHIP = Internal.createUniqueKey(CitizenGuardianship.CITIZEN_GUARDIANSHIP, DSL.name("pk_citizen_guardianship"), new TableField[] { CitizenGuardianship.CITIZEN_GUARDIANSHIP.CITIZEN_GUARDIANSHIP_ID }, true);
+ public static final UniqueKey PK_CITIZEN_SPOUSE = Internal.createUniqueKey(CitizenSpouse.CITIZEN_SPOUSE, DSL.name("pk_citizen_spouse"), new TableField[] { CitizenSpouse.CITIZEN_SPOUSE.CITIZEN_SPOUSE_ID }, true);
+ public static final UniqueKey PK_CITIZENSHIP = Internal.createUniqueKey(Citizenship.CITIZENSHIP, DSL.name("pk_citizenship"), new TableField[] { Citizenship.CITIZENSHIP.CITIZENSHIP_ID }, true);
+ public static final UniqueKey PK_CITIZENSHIP_FOREIGN = Internal.createUniqueKey(CitizenshipForeign.CITIZENSHIP_FOREIGN, DSL.name("pk_citizenship_foreign"), new TableField[] { CitizenshipForeign.CITIZENSHIP_FOREIGN.CITIZENSHIP_FOREIGN_ID }, true);
+ public static final UniqueKey DATABASECHANGELOGLOCK_PKEY = Internal.createUniqueKey(Databasechangeloglock.DATABASECHANGELOGLOCK, DSL.name("databasechangeloglock_pkey"), new TableField[] { Databasechangeloglock.DATABASECHANGELOGLOCK.ID }, true);
+ public static final UniqueKey DECISION_PKEY = Internal.createUniqueKey(Decision.DECISION, DSL.name("decision_pkey"), new TableField[] { Decision.DECISION.DECISION_ID }, true);
+ public static final UniqueKey PK_DEPUTY = Internal.createUniqueKey(Deputy.DEPUTY, DSL.name("pk_deputy"), new TableField[] { Deputy.DEPUTY.DEPUTY_ID }, true);
+ public static final UniqueKey PK_DISABILITY = Internal.createUniqueKey(Disability.DISABILITY, DSL.name("pk_disability"), new TableField[] { Disability.DISABILITY.DISABILITY_ID }, true);
+ public static final UniqueKey PK_DISEASE = Internal.createUniqueKey(Disease.DISEASE, DSL.name("pk_disease"), new TableField[] { Disease.DISEASE.DISEASE_ID }, true);
+ public static final UniqueKey PK_DRIVERS_LICENCE = Internal.createUniqueKey(DriversLicence.DRIVERS_LICENCE, DSL.name("pk_drivers_licence"), new TableField[] { DriversLicence.DRIVERS_LICENCE.DRIVERS_LICENCE_ID }, true);
+ public static final UniqueKey PK_MEDICAL_AUTHORITIES = Internal.createUniqueKey(MedicalAuthorities.MEDICAL_AUTHORITIES, DSL.name("pk_medical_authorities"), new TableField[] { MedicalAuthorities.MEDICAL_AUTHORITIES.MEDICAL_AUTHORITIES_ID }, true);
+ public static final UniqueKey PK_PASSPORT = Internal.createUniqueKey(Passport.PASSPORT, DSL.name("pk_passport"), new TableField[] { Passport.PASSPORT.PASSPORT_ID }, true);
+ public static final UniqueKey PK_PROPERTY = Internal.createUniqueKey(Property.PROPERTY, DSL.name("pk_property"), new TableField[] { Property.PROPERTY.PROPERTY_ID }, true);
+ public static final UniqueKey PK_PROSECUTION = Internal.createUniqueKey(Prosecution.PROSECUTION, DSL.name("pk_prosecution"), new TableField[] { Prosecution.PROSECUTION.PROSECUTION_ID }, true);
+ public static final UniqueKey PUB_RECRUITMENT_PKEY = Internal.createUniqueKey(PubRecruitment.PUB_RECRUITMENT, DSL.name("pub_recruitment_pkey"), new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
+ public static final UniqueKey RECRUITMENT_IDM_ID_KEY = Internal.createUniqueKey(PubRecruitment.PUB_RECRUITMENT, DSL.name("recruitment_idm_id_key"), new TableField[] { PubRecruitment.PUB_RECRUITMENT.IDM_ID }, true);
+ public static final UniqueKey PK_PUNISHMENT = Internal.createUniqueKey(Punishment.PUNISHMENT, DSL.name("pk_punishment"), new TableField[] { Punishment.PUNISHMENT.PUNISHMENT_ID }, true);
+ public static final UniqueKey RECRUITMENT_PKEY = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("recruitment_pkey"), new TableField[] { Recruitment.RECRUITMENT.ID }, true);
+ public static final UniqueKey SUBPOENA_PKEY = Internal.createUniqueKey(Subpoena.SUBPOENA, DSL.name("subpoena_pkey"), new TableField[] { Subpoena.SUBPOENA.SUB_ID }, true);
+ public static final UniqueKey TEMPORARY_MEASURES_PKEY = Internal.createUniqueKey(TemporaryMeasures.TEMPORARY_MEASURES, DSL.name("temporary_measures_pkey"), new TableField[] { TemporaryMeasures.TEMPORARY_MEASURES.TEMPORARY_MEASURES_ID }, true);
+ public static final UniqueKey PK_WORK = Internal.createUniqueKey(Work.WORK, DSL.name("pk_work"), new TableField[] { Work.WORK.WORK_ID }, true);
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/Routines.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/Routines.java
new file mode 100644
index 0000000..ff9915f
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/Routines.java
@@ -0,0 +1,285 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV1;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV1mc;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV3;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV4;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV5;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNil;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNsDns;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNsOid;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNsUrl;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNsX500;
+
+import java.util.UUID;
+
+import org.jooq.Configuration;
+import org.jooq.Field;
+
+
+/**
+ * Convenience access to all stored procedures and functions in ervu_dashboard.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Routines {
+
+ /**
+ * Call ervu_dashboard.uuid_generate_v1
+ */
+ public static UUID uuidGenerateV1(
+ Configuration configuration
+ ) {
+ UuidGenerateV1 f = new UuidGenerateV1();
+
+ f.execute(configuration);
+ return f.getReturnValue();
+ }
+
+ /**
+ * Get ervu_dashboard.uuid_generate_v1 as a field.
+ */
+ public static Field uuidGenerateV1() {
+ UuidGenerateV1 f = new UuidGenerateV1();
+
+ return f.asField();
+ }
+
+ /**
+ * Call ervu_dashboard.uuid_generate_v1mc
+ */
+ public static UUID uuidGenerateV1mc(
+ Configuration configuration
+ ) {
+ UuidGenerateV1mc f = new UuidGenerateV1mc();
+
+ f.execute(configuration);
+ return f.getReturnValue();
+ }
+
+ /**
+ * Get ervu_dashboard.uuid_generate_v1mc as a field.
+ */
+ public static Field uuidGenerateV1mc() {
+ UuidGenerateV1mc f = new UuidGenerateV1mc();
+
+ return f.asField();
+ }
+
+ /**
+ * Call ervu_dashboard.uuid_generate_v3
+ */
+ 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 ervu_dashboard.uuid_generate_v3 as a field.
+ */
+ public static Field uuidGenerateV3(
+ UUID namespace
+ , String name
+ ) {
+ UuidGenerateV3 f = new UuidGenerateV3();
+ f.setNamespace(namespace);
+ f.setName_(name);
+
+ return f.asField();
+ }
+
+ /**
+ * Get ervu_dashboard.uuid_generate_v3 as a field.
+ */
+ public static Field uuidGenerateV3(
+ Field namespace
+ , Field name
+ ) {
+ UuidGenerateV3 f = new UuidGenerateV3();
+ f.setNamespace(namespace);
+ f.setName_(name);
+
+ return f.asField();
+ }
+
+ /**
+ * Call ervu_dashboard.uuid_generate_v4
+ */
+ public static UUID uuidGenerateV4(
+ Configuration configuration
+ ) {
+ UuidGenerateV4 f = new UuidGenerateV4();
+
+ f.execute(configuration);
+ return f.getReturnValue();
+ }
+
+ /**
+ * Get ervu_dashboard.uuid_generate_v4 as a field.
+ */
+ public static Field uuidGenerateV4() {
+ UuidGenerateV4 f = new UuidGenerateV4();
+
+ return f.asField();
+ }
+
+ /**
+ * Call ervu_dashboard.uuid_generate_v5
+ */
+ 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 ervu_dashboard.uuid_generate_v5 as a field.
+ */
+ public static Field uuidGenerateV5(
+ UUID namespace
+ , String name
+ ) {
+ UuidGenerateV5 f = new UuidGenerateV5();
+ f.setNamespace(namespace);
+ f.setName_(name);
+
+ return f.asField();
+ }
+
+ /**
+ * Get ervu_dashboard.uuid_generate_v5 as a field.
+ */
+ public static Field uuidGenerateV5(
+ Field namespace
+ , Field name
+ ) {
+ UuidGenerateV5 f = new UuidGenerateV5();
+ f.setNamespace(namespace);
+ f.setName_(name);
+
+ return f.asField();
+ }
+
+ /**
+ * Call ervu_dashboard.uuid_nil
+ */
+ public static UUID uuidNil(
+ Configuration configuration
+ ) {
+ UuidNil f = new UuidNil();
+
+ f.execute(configuration);
+ return f.getReturnValue();
+ }
+
+ /**
+ * Get ervu_dashboard.uuid_nil as a field.
+ */
+ public static Field uuidNil() {
+ UuidNil f = new UuidNil();
+
+ return f.asField();
+ }
+
+ /**
+ * Call ervu_dashboard.uuid_ns_dns
+ */
+ public static UUID uuidNsDns(
+ Configuration configuration
+ ) {
+ UuidNsDns f = new UuidNsDns();
+
+ f.execute(configuration);
+ return f.getReturnValue();
+ }
+
+ /**
+ * Get ervu_dashboard.uuid_ns_dns as a field.
+ */
+ public static Field uuidNsDns() {
+ UuidNsDns f = new UuidNsDns();
+
+ return f.asField();
+ }
+
+ /**
+ * Call ervu_dashboard.uuid_ns_oid
+ */
+ public static UUID uuidNsOid(
+ Configuration configuration
+ ) {
+ UuidNsOid f = new UuidNsOid();
+
+ f.execute(configuration);
+ return f.getReturnValue();
+ }
+
+ /**
+ * Get ervu_dashboard.uuid_ns_oid as a field.
+ */
+ public static Field uuidNsOid() {
+ UuidNsOid f = new UuidNsOid();
+
+ return f.asField();
+ }
+
+ /**
+ * Call ervu_dashboard.uuid_ns_url
+ */
+ public static UUID uuidNsUrl(
+ Configuration configuration
+ ) {
+ UuidNsUrl f = new UuidNsUrl();
+
+ f.execute(configuration);
+ return f.getReturnValue();
+ }
+
+ /**
+ * Get ervu_dashboard.uuid_ns_url as a field.
+ */
+ public static Field uuidNsUrl() {
+ UuidNsUrl f = new UuidNsUrl();
+
+ return f.asField();
+ }
+
+ /**
+ * Call ervu_dashboard.uuid_ns_x500
+ */
+ public static UUID uuidNsX500(
+ Configuration configuration
+ ) {
+ UuidNsX500 f = new UuidNsX500();
+
+ f.execute(configuration);
+ return f.getReturnValue();
+ }
+
+ /**
+ * Get ervu_dashboard.uuid_ns_x500 as a field.
+ */
+ public static Field uuidNsX500() {
+ UuidNsX500 f = new UuidNsX500();
+
+ return f.asField();
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/Tables.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/Tables.java
new file mode 100644
index 0000000..5472f66
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/Tables.java
@@ -0,0 +1,153 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizen;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenChild;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenGuardianship;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenSpouse;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizenship;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenshipForeign;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangelog;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Decision;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Deputy;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disease;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.DriversLicence;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.MedicalAuthorities;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Passport;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Prosecution;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Punishment;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.TemporaryMeasures;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Work;
+
+
+/**
+ * Convenience access to all tables in ervu_dashboard.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Tables {
+
+ /**
+ * The table ervu_dashboard.citizen.
+ */
+ public static final Citizen CITIZEN = Citizen.CITIZEN;
+
+ /**
+ * сведения о детях гражданина
+ */
+ public static final CitizenChild CITIZEN_CHILD = CitizenChild.CITIZEN_CHILD;
+
+ /**
+ * сведения о лице, опекаемом или находящемся на попечении
+ */
+ public static final CitizenGuardianship CITIZEN_GUARDIANSHIP = CitizenGuardianship.CITIZEN_GUARDIANSHIP;
+
+ /**
+ * сведения о супруге (бывшей/ем супруге) гражданина
+ */
+ public static final CitizenSpouse CITIZEN_SPOUSE = CitizenSpouse.CITIZEN_SPOUSE;
+
+ /**
+ * сведения о гражданстве РФ
+ */
+ public static final Citizenship CITIZENSHIP = Citizenship.CITIZENSHIP;
+
+ /**
+ * сведения об иностранном гражданстве
+ */
+ public static final CitizenshipForeign CITIZENSHIP_FOREIGN = CitizenshipForeign.CITIZENSHIP_FOREIGN;
+
+ /**
+ * The table ervu_dashboard.databasechangelog.
+ */
+ public static final Databasechangelog DATABASECHANGELOG = Databasechangelog.DATABASECHANGELOG;
+
+ /**
+ * The table ervu_dashboard.databasechangeloglock.
+ */
+ public static final Databasechangeloglock DATABASECHANGELOGLOCK = Databasechangeloglock.DATABASECHANGELOGLOCK;
+
+ /**
+ * The table ervu_dashboard.decision.
+ */
+ public static final Decision DECISION = Decision.DECISION;
+
+ /**
+ * сведения о гражданах, избранных депутатами/зарегистрированных кандидатами
+ * на участие в выборах
+ */
+ public static final Deputy DEPUTY = Deputy.DEPUTY;
+
+ /**
+ * сведения об инвалидности/недееспособности/ограниченной дееспособности
+ */
+ public static final Disability DISABILITY = Disability.DISABILITY;
+
+ /**
+ * сведения о заболеваниях гражданина
+ */
+ public static final Disease DISEASE = Disease.DISEASE;
+
+ /**
+ * удостоверение водительское/тракториста-машиниста
+ */
+ public static final DriversLicence DRIVERS_LICENCE = DriversLicence.DRIVERS_LICENCE;
+
+ /**
+ * сведения о гражданах, стоящих на учете в ПНД/по ВИЧ
+ */
+ public static final MedicalAuthorities MEDICAL_AUTHORITIES = MedicalAuthorities.MEDICAL_AUTHORITIES;
+
+ /**
+ * сведения о паспорте
+ */
+ public static final Passport PASSPORT = Passport.PASSPORT;
+
+ /**
+ * сведения об имуществе
+ */
+ public static final Property PROPERTY = Property.PROPERTY;
+
+ /**
+ * сведения об уголовном преследовании
+ */
+ public static final Prosecution PROSECUTION = Prosecution.PROSECUTION;
+
+ /**
+ * The table ervu_dashboard.pub_recruitment.
+ */
+ public static final PubRecruitment PUB_RECRUITMENT = PubRecruitment.PUB_RECRUITMENT;
+
+ /**
+ * сведения об уголовном преследовании и вынесенном приговоре
+ */
+ public static final Punishment PUNISHMENT = Punishment.PUNISHMENT;
+
+ /**
+ * The table ervu_dashboard.recruitment.
+ */
+ public static final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
+
+ /**
+ * сведения о направлении повестки военного комиссариата
+ */
+ public static final Subpoena SUBPOENA = Subpoena.SUBPOENA;
+
+ /**
+ * The table ervu_dashboard.temporary_measures.
+ */
+ public static final TemporaryMeasures TEMPORARY_MEASURES = TemporaryMeasures.TEMPORARY_MEASURES;
+
+ /**
+ * сведения об имуществе
+ */
+ public static final Work WORK = Work.WORK;
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV1.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV1.java
new file mode 100644
index 0000000..4e866c3
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV1.java
@@ -0,0 +1,38 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+
+import java.util.UUID;
+
+import org.jooq.Parameter;
+import org.jooq.impl.AbstractRoutine;
+import org.jooq.impl.Internal;
+import org.jooq.impl.SQLDataType;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UuidGenerateV1 extends AbstractRoutine {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The parameter ervu_dashboard.uuid_generate_v1.RETURN_VALUE.
+ */
+ public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
+
+ /**
+ * Create a new routine call instance
+ */
+ public UuidGenerateV1() {
+ super("uuid_generate_v1", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
+
+ setReturnParameter(RETURN_VALUE);
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV1mc.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV1mc.java
new file mode 100644
index 0000000..b6f6833
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV1mc.java
@@ -0,0 +1,39 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+
+import java.util.UUID;
+
+import org.jooq.Parameter;
+import org.jooq.impl.AbstractRoutine;
+import org.jooq.impl.Internal;
+import org.jooq.impl.SQLDataType;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UuidGenerateV1mc extends AbstractRoutine {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The parameter
+ * ervu_dashboard.uuid_generate_v1mc.RETURN_VALUE.
+ */
+ public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
+
+ /**
+ * Create a new routine call instance
+ */
+ public UuidGenerateV1mc() {
+ super("uuid_generate_v1mc", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
+
+ setReturnParameter(RETURN_VALUE);
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV3.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV3.java
new file mode 100644
index 0000000..4dad69f
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV3.java
@@ -0,0 +1,81 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+
+import java.util.UUID;
+
+import org.jooq.Field;
+import org.jooq.Parameter;
+import org.jooq.impl.AbstractRoutine;
+import org.jooq.impl.Internal;
+import org.jooq.impl.SQLDataType;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UuidGenerateV3 extends AbstractRoutine {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The parameter ervu_dashboard.uuid_generate_v3.RETURN_VALUE.
+ */
+ public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
+
+ /**
+ * The parameter ervu_dashboard.uuid_generate_v3.namespace.
+ */
+ public static final Parameter NAMESPACE = Internal.createParameter("namespace", SQLDataType.UUID, false, false);
+
+ /**
+ * The parameter ervu_dashboard.uuid_generate_v3.name.
+ */
+ public static final Parameter NAME = Internal.createParameter("name", SQLDataType.CLOB, false, false);
+
+ /**
+ * Create a new routine call instance
+ */
+ public UuidGenerateV3() {
+ super("uuid_generate_v3", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
+
+ setReturnParameter(RETURN_VALUE);
+ addInParameter(NAMESPACE);
+ addInParameter(NAME);
+ }
+
+ /**
+ * Set the namespace parameter IN value to the routine
+ */
+ public void setNamespace(UUID value) {
+ setValue(NAMESPACE, value);
+ }
+
+ /**
+ * Set the namespace parameter to the function to be used with
+ * a {@link org.jooq.Select} statement
+ */
+ public void setNamespace(Field field) {
+ setField(NAMESPACE, field);
+ }
+
+ /**
+ * Set the name parameter IN value to the routine
+ */
+ public void setName_(String value) {
+ setValue(NAME, value);
+ }
+
+ /**
+ * Set the name parameter to the function to be used with a
+ * {@link org.jooq.Select} statement
+ */
+ public void setName_(Field field) {
+ setField(NAME, field);
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV4.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV4.java
new file mode 100644
index 0000000..4374257
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV4.java
@@ -0,0 +1,38 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+
+import java.util.UUID;
+
+import org.jooq.Parameter;
+import org.jooq.impl.AbstractRoutine;
+import org.jooq.impl.Internal;
+import org.jooq.impl.SQLDataType;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UuidGenerateV4 extends AbstractRoutine {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The parameter ervu_dashboard.uuid_generate_v4.RETURN_VALUE.
+ */
+ public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
+
+ /**
+ * Create a new routine call instance
+ */
+ public UuidGenerateV4() {
+ super("uuid_generate_v4", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
+
+ setReturnParameter(RETURN_VALUE);
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV5.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV5.java
new file mode 100644
index 0000000..4abd149
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidGenerateV5.java
@@ -0,0 +1,81 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+
+import java.util.UUID;
+
+import org.jooq.Field;
+import org.jooq.Parameter;
+import org.jooq.impl.AbstractRoutine;
+import org.jooq.impl.Internal;
+import org.jooq.impl.SQLDataType;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UuidGenerateV5 extends AbstractRoutine {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The parameter ervu_dashboard.uuid_generate_v5.RETURN_VALUE.
+ */
+ public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
+
+ /**
+ * The parameter ervu_dashboard.uuid_generate_v5.namespace.
+ */
+ public static final Parameter NAMESPACE = Internal.createParameter("namespace", SQLDataType.UUID, false, false);
+
+ /**
+ * The parameter ervu_dashboard.uuid_generate_v5.name.
+ */
+ public static final Parameter NAME = Internal.createParameter("name", SQLDataType.CLOB, false, false);
+
+ /**
+ * Create a new routine call instance
+ */
+ public UuidGenerateV5() {
+ super("uuid_generate_v5", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
+
+ setReturnParameter(RETURN_VALUE);
+ addInParameter(NAMESPACE);
+ addInParameter(NAME);
+ }
+
+ /**
+ * Set the namespace parameter IN value to the routine
+ */
+ public void setNamespace(UUID value) {
+ setValue(NAMESPACE, value);
+ }
+
+ /**
+ * Set the namespace parameter to the function to be used with
+ * a {@link org.jooq.Select} statement
+ */
+ public void setNamespace(Field field) {
+ setField(NAMESPACE, field);
+ }
+
+ /**
+ * Set the name parameter IN value to the routine
+ */
+ public void setName_(String value) {
+ setValue(NAME, value);
+ }
+
+ /**
+ * Set the name parameter to the function to be used with a
+ * {@link org.jooq.Select} statement
+ */
+ public void setName_(Field field) {
+ setField(NAME, field);
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNil.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNil.java
new file mode 100644
index 0000000..fa7a18f
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNil.java
@@ -0,0 +1,38 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+
+import java.util.UUID;
+
+import org.jooq.Parameter;
+import org.jooq.impl.AbstractRoutine;
+import org.jooq.impl.Internal;
+import org.jooq.impl.SQLDataType;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UuidNil extends AbstractRoutine {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The parameter ervu_dashboard.uuid_nil.RETURN_VALUE.
+ */
+ public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
+
+ /**
+ * Create a new routine call instance
+ */
+ public UuidNil() {
+ super("uuid_nil", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
+
+ setReturnParameter(RETURN_VALUE);
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNsDns.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNsDns.java
new file mode 100644
index 0000000..39c88c0
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNsDns.java
@@ -0,0 +1,38 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+
+import java.util.UUID;
+
+import org.jooq.Parameter;
+import org.jooq.impl.AbstractRoutine;
+import org.jooq.impl.Internal;
+import org.jooq.impl.SQLDataType;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UuidNsDns extends AbstractRoutine {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The parameter ervu_dashboard.uuid_ns_dns.RETURN_VALUE.
+ */
+ public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
+
+ /**
+ * Create a new routine call instance
+ */
+ public UuidNsDns() {
+ super("uuid_ns_dns", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
+
+ setReturnParameter(RETURN_VALUE);
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNsOid.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNsOid.java
new file mode 100644
index 0000000..60cf391
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNsOid.java
@@ -0,0 +1,38 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+
+import java.util.UUID;
+
+import org.jooq.Parameter;
+import org.jooq.impl.AbstractRoutine;
+import org.jooq.impl.Internal;
+import org.jooq.impl.SQLDataType;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UuidNsOid extends AbstractRoutine {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The parameter ervu_dashboard.uuid_ns_oid.RETURN_VALUE.
+ */
+ public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
+
+ /**
+ * Create a new routine call instance
+ */
+ public UuidNsOid() {
+ super("uuid_ns_oid", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
+
+ setReturnParameter(RETURN_VALUE);
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNsUrl.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNsUrl.java
new file mode 100644
index 0000000..b43757f
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNsUrl.java
@@ -0,0 +1,38 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+
+import java.util.UUID;
+
+import org.jooq.Parameter;
+import org.jooq.impl.AbstractRoutine;
+import org.jooq.impl.Internal;
+import org.jooq.impl.SQLDataType;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UuidNsUrl extends AbstractRoutine {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The parameter ervu_dashboard.uuid_ns_url.RETURN_VALUE.
+ */
+ public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
+
+ /**
+ * Create a new routine call instance
+ */
+ public UuidNsUrl() {
+ super("uuid_ns_url", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
+
+ setReturnParameter(RETURN_VALUE);
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNsX500.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNsX500.java
new file mode 100644
index 0000000..ad2accb
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/routines/UuidNsX500.java
@@ -0,0 +1,38 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+
+import java.util.UUID;
+
+import org.jooq.Parameter;
+import org.jooq.impl.AbstractRoutine;
+import org.jooq.impl.Internal;
+import org.jooq.impl.SQLDataType;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class UuidNsX500 extends AbstractRoutine {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The parameter ervu_dashboard.uuid_ns_x500.RETURN_VALUE.
+ */
+ public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
+
+ /**
+ * Create a new routine call instance
+ */
+ public UuidNsX500() {
+ super("uuid_ns_x500", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
+
+ setReturnParameter(RETURN_VALUE);
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Citizen.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Citizen.java
new file mode 100644
index 0000000..c757b5e
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Citizen.java
@@ -0,0 +1,441 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenRecord;
+
+import java.math.BigDecimal;
+import java.sql.Date;
+import java.util.Collection;
+import java.util.UUID;
+
+import org.jooq.Condition;
+import org.jooq.Field;
+import org.jooq.Name;
+import org.jooq.PlainSQL;
+import org.jooq.QueryPart;
+import org.jooq.SQL;
+import org.jooq.Schema;
+import org.jooq.Select;
+import org.jooq.Stringly;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Citizen extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of ervu_dashboard.citizen
+ */
+ public static final Citizen CITIZEN = new Citizen();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return CitizenRecord.class;
+ }
+
+ /**
+ * The column ervu_dashboard.citizen.residence. Адрес места
+ * жительства
+ */
+ public final TableField RESIDENCE = createField(DSL.name("residence"), SQLDataType.VARCHAR, this, "Адрес места жительства");
+
+ /**
+ * The column ervu_dashboard.citizen.is_registered. Сведения о
+ * воинском учёте
+ */
+ public final TableField IS_REGISTERED = createField(DSL.name("is_registered"), SQLDataType.VARCHAR, this, "Сведения о воинском учёте");
+
+ /**
+ * The column ervu_dashboard.citizen.passport_series. Серия
+ * паспорта
+ */
+ public final TableField PASSPORT_SERIES = createField(DSL.name("passport_series"), SQLDataType.VARCHAR, this, "Серия паспорта");
+
+ /**
+ * The column ervu_dashboard.citizen.passport_number. Номер
+ * паспорта
+ */
+ public final TableField PASSPORT_NUMBER = createField(DSL.name("passport_number"), SQLDataType.VARCHAR, this, "Номер паспорта");
+
+ /**
+ * The column ervu_dashboard.citizen.phone. Телефон
+ */
+ public final TableField PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR, this, "Телефон");
+
+ /**
+ * The column ervu_dashboard.citizen.medical_requirements.
+ * Медицинские сведения
+ */
+ public final TableField MEDICAL_REQUIREMENTS = createField(DSL.name("medical_requirements"), SQLDataType.VARCHAR, this, "Медицинские сведения");
+
+ /**
+ * The column ervu_dashboard.citizen.deferment_liberation.
+ * Наличие отсрочки или освобождения от военной службы
+ */
+ public final TableField DEFERMENT_LIBERATION = createField(DSL.name("deferment_liberation"), SQLDataType.VARCHAR, this, "Наличие отсрочки или освобождения от военной службы");
+
+ /**
+ * The column ervu_dashboard.citizen.gender. Пол
+ */
+ public final TableField GENDER = createField(DSL.name("gender"), SQLDataType.VARCHAR, this, "Пол");
+
+ /**
+ * The column ervu_dashboard.citizen.marital_status. Семейное
+ * положение
+ */
+ public final TableField MARITAL_STATUS = createField(DSL.name("marital_status"), SQLDataType.VARCHAR, this, "Семейное положение");
+
+ /**
+ * The column ervu_dashboard.citizen.education. Образование
+ */
+ public final TableField EDUCATION = createField(DSL.name("education"), SQLDataType.VARCHAR, this, "Образование");
+
+ /**
+ * The column ervu_dashboard.citizen.employment. Занятость
+ */
+ public final TableField EMPLOYMENT = createField(DSL.name("employment"), SQLDataType.VARCHAR, this, "Занятость");
+
+ /**
+ * The column ervu_dashboard.citizen.reason_registration.
+ * Причина постановки на учёт
+ */
+ public final TableField REASON_REGISTRATION = createField(DSL.name("reason_registration"), SQLDataType.VARCHAR, this, "Причина постановки на учёт");
+
+ /**
+ * The column ervu_dashboard.citizen.driver_license.
+ * Водительское удостоверение
+ */
+ public final TableField DRIVER_LICENSE = createField(DSL.name("driver_license"), SQLDataType.VARCHAR, this, "Водительское удостоверение");
+
+ /**
+ * The column ervu_dashboard.citizen.disability_group. Группа
+ * инвалидности
+ */
+ public final TableField DISABILITY_GROUP = createField(DSL.name("disability_group"), SQLDataType.VARCHAR, this, "Группа инвалидности");
+
+ /**
+ * The column
+ * ervu_dashboard.citizen.dispensary_registration_code. Код
+ * диспансерного учета
+ */
+ public final TableField DISPENSARY_REGISTRATION_CODE = createField(DSL.name("dispensary_registration_code"), SQLDataType.VARCHAR, this, "Код диспансерного учета");
+
+ /**
+ * The column ervu_dashboard.citizen.region_birth. Регион места
+ * рождения
+ */
+ public final TableField REGION_BIRTH = createField(DSL.name("region_birth"), SQLDataType.VARCHAR, this, "Регион места рождения");
+
+ /**
+ * The column ervu_dashboard.citizen.city_birth. Город места
+ * рождения
+ */
+ public final TableField CITY_BIRTH = createField(DSL.name("city_birth"), SQLDataType.VARCHAR, this, "Город места рождения");
+
+ /**
+ * The column ervu_dashboard.citizen.right_deferment. Имеет
+ * право на отсрочку
+ */
+ public final TableField RIGHT_DEFERMENT = createField(DSL.name("right_deferment"), SQLDataType.BOOLEAN, this, "Имеет право на отсрочку");
+
+ /**
+ * The column ervu_dashboard.citizen.took_break. Воспользовался
+ * отсрочкой
+ */
+ public final TableField TOOK_BREAK = createField(DSL.name("took_break"), SQLDataType.BOOLEAN, this, "Воспользовался отсрочкой");
+
+ /**
+ * The column ervu_dashboard.citizen.medic. Является медиком
+ */
+ public final TableField MEDIC = createField(DSL.name("medic"), SQLDataType.BOOLEAN, this, "Является медиком");
+
+ /**
+ * The column ervu_dashboard.citizen.sports_category. Имеет
+ * спортивный разряд/звание
+ */
+ public final TableField SPORTS_CATEGORY = createField(DSL.name("sports_category"), SQLDataType.BOOLEAN, this, "Имеет спортивный разряд/звание");
+
+ /**
+ * The column ervu_dashboard.citizen.tractor_license. Имеет
+ * удостоверение тракториста
+ */
+ public final TableField TRACTOR_LICENSE = createField(DSL.name("tractor_license"), SQLDataType.BOOLEAN, this, "Имеет удостоверение тракториста");
+
+ /**
+ * The column ervu_dashboard.citizen.is_wanted. Находится в
+ * розыске
+ */
+ public final TableField IS_WANTED = createField(DSL.name("is_wanted"), SQLDataType.BOOLEAN, this, "Находится в розыске");
+
+ /**
+ * The column ervu_dashboard.citizen.is_in_prison. Находится в
+ * местах лишения свободы
+ */
+ public final TableField IS_IN_PRISON = createField(DSL.name("is_in_prison"), SQLDataType.BOOLEAN, this, "Находится в местах лишения свободы");
+
+ /**
+ * The column ervu_dashboard.citizen.acquired_citizenship.
+ * Получивший гражданство
+ */
+ public final TableField ACQUIRED_CITIZENSHIP = createField(DSL.name("acquired_citizenship"), SQLDataType.BOOLEAN, this, "Получивший гражданство");
+
+ /**
+ * The column ervu_dashboard.citizen.urgent_service. Признак
+ * критерия срочной службы
+ */
+ public final TableField URGENT_SERVICE = createField(DSL.name("urgent_service"), SQLDataType.BOOLEAN, this, "Признак критерия срочной службы");
+
+ /**
+ * The column ervu_dashboard.citizen.contract_service. Признак
+ * критерия контрактной службы
+ */
+ public final TableField CONTRACT_SERVICE = createField(DSL.name("contract_service"), SQLDataType.BOOLEAN, this, "Признак критерия контрактной службы");
+
+ /**
+ * The column ervu_dashboard.citizen.mobilization. Признак
+ * критерия службы по мобмлизации
+ */
+ public final TableField MOBILIZATION = createField(DSL.name("mobilization"), SQLDataType.BOOLEAN, this, "Признак критерия службы по мобмлизации");
+
+ /**
+ * The column ervu_dashboard.citizen.full_name.
+ */
+ public final TableField FULL_NAME = createField(DSL.name("full_name"), SQLDataType.VARCHAR, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen.last_name.
+ */
+ public final TableField LAST_NAME = createField(DSL.name("last_name"), SQLDataType.VARCHAR, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen.first_name.
+ */
+ public final TableField FIRST_NAME = createField(DSL.name("first_name"), SQLDataType.VARCHAR, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen.middle_name.
+ */
+ public final TableField MIDDLE_NAME = createField(DSL.name("middle_name"), SQLDataType.VARCHAR, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen.age.
+ */
+ public final TableField AGE = createField(DSL.name("age"), SQLDataType.NUMERIC, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen.birth_place.
+ */
+ public final TableField BIRTH_PLACE = createField(DSL.name("birth_place"), SQLDataType.VARCHAR, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen.number_children.
+ */
+ public final TableField NUMBER_CHILDREN = createField(DSL.name("number_children"), SQLDataType.NUMERIC, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen.birth_date.
+ */
+ public final TableField BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen.recruit_id. id рекрута из
+ * БД ЕРВУ
+ */
+ public final TableField RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "id рекрута из БД ЕРВУ");
+
+ /**
+ * The column ervu_dashboard.citizen.recruitment_id.
+ */
+ public final TableField RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen.issue_date.
+ */
+ public final TableField ISSUE_DATE = createField(DSL.name("issue_date"), SQLDataType.DATE, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen.number_children_18_old.
+ */
+ public final TableField NUMBER_CHILDREN_18_OLD = createField(DSL.name("number_children_18_old"), SQLDataType.NUMERIC, this, "");
+
+ private Citizen(Name alias, Table aliased) {
+ this(alias, aliased, (Field>[]) null, null);
+ }
+
+ private Citizen(Name alias, Table aliased, Field>[] parameters, Condition where) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.citizen table reference
+ */
+ public Citizen(String alias) {
+ this(DSL.name(alias), CITIZEN);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.citizen table reference
+ */
+ public Citizen(Name alias) {
+ this(alias, CITIZEN);
+ }
+
+ /**
+ * Create a ervu_dashboard.citizen table reference
+ */
+ public Citizen() {
+ this(DSL.name("citizen"), null);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.CITIZEN_PKEY;
+ }
+
+ @Override
+ public Citizen as(String alias) {
+ return new Citizen(DSL.name(alias), this);
+ }
+
+ @Override
+ public Citizen as(Name alias) {
+ return new Citizen(alias, this);
+ }
+
+ @Override
+ public Citizen as(Table> alias) {
+ return new Citizen(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Citizen rename(String name) {
+ return new Citizen(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Citizen rename(Name name) {
+ return new Citizen(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Citizen rename(Table> name) {
+ return new Citizen(name.getQualifiedName(), null);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Citizen where(Condition condition) {
+ return new Citizen(getQualifiedName(), aliased() ? this : null, null, condition);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Citizen where(Collection extends Condition> conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Citizen where(Condition... conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Citizen where(Field condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Citizen where(SQL condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Citizen where(@Stringly.SQL String condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Citizen where(@Stringly.SQL String condition, Object... binds) {
+ return where(DSL.condition(condition, binds));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Citizen where(@Stringly.SQL String condition, QueryPart... parts) {
+ return where(DSL.condition(condition, parts));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Citizen whereExists(Select> select) {
+ return where(DSL.exists(select));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Citizen whereNotExists(Select> select) {
+ return where(DSL.notExists(select));
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/CitizenChild.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/CitizenChild.java
new file mode 100644
index 0000000..d08e1d2
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/CitizenChild.java
@@ -0,0 +1,267 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenChildRecord;
+
+import java.sql.Date;
+import java.util.Collection;
+import java.util.UUID;
+
+import org.jooq.Condition;
+import org.jooq.Field;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.PlainSQL;
+import org.jooq.QueryPart;
+import org.jooq.SQL;
+import org.jooq.Schema;
+import org.jooq.Select;
+import org.jooq.Stringly;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * сведения о детях гражданина
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class CitizenChild extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of ervu_dashboard.citizen_child
+ */
+ public static final CitizenChild CITIZEN_CHILD = new CitizenChild();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return CitizenChildRecord.class;
+ }
+
+ /**
+ * The column ervu_dashboard.citizen_child.citizen_child_id.
+ */
+ public final TableField CITIZEN_CHILD_ID = createField(DSL.name("citizen_child_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
+
+ /**
+ * The column ervu_dashboard.citizen_child.recruit_id. ссылка
+ * на гражданина (citizen)
+ */
+ public final TableField RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
+
+ /**
+ * The column ervu_dashboard.citizen_child.kinship_type. тип
+ * родственной связи: сын/дочь
+ */
+ public final TableField KINSHIP_TYPE = createField(DSL.name("kinship_type"), SQLDataType.VARCHAR(50), this, "тип родственной связи: сын/дочь");
+
+ /**
+ * The column ervu_dashboard.citizen_child.full_name. ФИО
+ */
+ public final TableField FULL_NAME = createField(DSL.name("full_name"), SQLDataType.VARCHAR, this, "ФИО");
+
+ /**
+ * The column ervu_dashboard.citizen_child.birth_date.
+ */
+ public final TableField BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen_child.birth_az_number.
+ * номер актовой записи о рождении
+ */
+ public final TableField BIRTH_AZ_NUMBER = createField(DSL.name("birth_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о рождении");
+
+ /**
+ * The column