diff --git a/backend/pom.xml b/backend/pom.xml
index 19aa758..ab32ca0 100644
--- a/backend/pom.xml
+++ b/backend/pom.xml
@@ -5,16 +5,12 @@
ru.micord.ervu
dashboard
- 1.0.0-SNAPSHOT
+ 1.5.0-SNAPSHOT
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
@@ -53,7 +54,6 @@
org.slf4j
slf4j-api
- provided
org.springframework
@@ -130,6 +130,7 @@
ru.cg.webbpm.modules.database
database-impl
+ compile
ru.cg.webbpm.modules.jndi
@@ -208,18 +209,6 @@
org.apache.tika
tika-core
-
- org.bouncycastle
- bcprov-jdk15on
-
-
- org.bouncycastle
- bcpkix-jdk15on
-
-
- org.mnode.ical4j
- ical4j
-
net.javacrumbs.shedlock
shedlock-spring
@@ -232,6 +221,22 @@
ru.cg.webbpm.packages.base
backend
+
+ org.apache.logging.log4j
+ log4j-slf4j2-impl
+
+
+ org.apache.logging.log4j
+ log4j-core
+
+
+ org.apache.logging.log4j
+ log4j-jul
+
+
+ org.apache.logging.log4j
+ log4j-web
+
${parent.artifactId}
diff --git a/backend/src/main/java/AppConfig.java b/backend/src/main/java/AppConfig.java
index ccd3330..f88d493 100644
--- a/backend/src/main/java/AppConfig.java
+++ b/backend/src/main/java/AppConfig.java
@@ -34,9 +34,11 @@ 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 = "security.WebSecurityConfig"),
+ @ComponentScan.Filter(type = FilterType.REGEX, pattern = "ru.cg.webbpm.modules.database.impl.DatabaseConfiguration"),
})
@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableWebMvc
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
index ea9d1b7..f5b95dc 100644
--- 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
@@ -5,6 +5,7 @@ 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;
@@ -39,6 +40,11 @@ public class DefaultCatalog extends CatalogImpl {
*/
public final Appeals APPEALS = Appeals.APPEALS;
+ /**
+ * The schema ervu_dashboard.
+ */
+ public final ErvuDashboard ERVU_DASHBOARD = ErvuDashboard.ERVU_DASHBOARD;
+
/**
* The schema main_dashboard.
*/
@@ -85,6 +91,7 @@ public class DefaultCatalog extends CatalogImpl {
public final List getSchemas() {
return Arrays.asList(
Appeals.APPEALS,
+ ErvuDashboard.ERVU_DASHBOARD,
MainDashboard.MAIN_DASHBOARD,
Public.PUBLIC,
Ratings.RATINGS,
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
index e04e95a..16d90a8 100644
--- 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
@@ -12,8 +12,8 @@ import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.MainProfile
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReasonsAppealRecord;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReviewRatingRecord;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.TopicAppealRecord;
-import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
-import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.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;
@@ -44,9 +44,9 @@ public class Keys {
// 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.public_.Keys.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.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
+ 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 REVIEW_RATING__REVIEW_RATING_FK1 = Internal.createForeignKey(ReviewRating.REVIEW_RATING, DSL.name("review_rating_fk1"), new TableField[] { ReviewRating.REVIEW_RATING.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
- public static final ForeignKey TOPIC_APPEAL__TOPIC_APPEAL_FK1 = Internal.createForeignKey(TopicAppeal.TOPIC_APPEAL, DSL.name("topic_appeal_fk1"), new TableField[] { TopicAppeal.TOPIC_APPEAL.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
+ public static final ForeignKey REVIEW_RATING__REVIEW_RATING_FK1 = Internal.createForeignKey(ReviewRating.REVIEW_RATING, DSL.name("review_rating_fk1"), new TableField[] { ReviewRating.REVIEW_RATING.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys.PUB_RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, 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/MainProfile.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/appeals/tables/MainProfile.java
index 6345042..21b3af9 100644
--- 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
@@ -7,13 +7,12 @@ package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.MainProfileRecord;
-import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
+import 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 java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
@@ -97,7 +96,7 @@ public class MainProfile extends TableImpl {
/**
* The column appeals.main_profile.recruitment_id.
*/
- public final TableField RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
+ 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);
@@ -182,8 +181,8 @@ public class MainProfile extends TableImpl {
private transient PubRecruitmentPath _pubRecruitment;
/**
- * Get the implicit join path to the public.pub_recruitment
- * table.
+ * Get the implicit join path to the
+ * ervu_dashboard.pub_recruitment table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
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
index a6f9e0a..90ee08f 100644
--- 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
@@ -7,14 +7,13 @@ package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReasonsAppealRecord;
-import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
+import 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 java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
@@ -113,7 +112,7 @@ public class ReasonsAppeal extends TableImpl {
/**
* The column appeals.reasons_appeal.recruitment_id.
*/
- public final TableField RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
+ 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);
@@ -198,8 +197,8 @@ public class ReasonsAppeal extends TableImpl {
private transient PubRecruitmentPath _pubRecruitment;
/**
- * Get the implicit join path to the public.pub_recruitment
- * table.
+ * Get the implicit join path to the
+ * ervu_dashboard.pub_recruitment table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
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
index 6768665..cc24a8e 100644
--- 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
@@ -7,7 +7,7 @@ package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReviewRatingRecord;
-import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Region.RegionPath;
import java.math.BigDecimal;
@@ -15,7 +15,6 @@ 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;
@@ -91,7 +90,7 @@ public class ReviewRating extends TableImpl {
/**
* The column appeals.review_rating.recruitment_id.
*/
- public final TableField RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
+ public final TableField RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36), this, "");
private ReviewRating(Name alias, Table aliased) {
this(alias, aliased, (Field>[]) null, null);
@@ -188,8 +187,8 @@ public class ReviewRating extends TableImpl {
private transient PubRecruitmentPath _pubRecruitment;
/**
- * Get the implicit join path to the public.pub_recruitment
- * table.
+ * Get the implicit join path to the
+ * ervu_dashboard.pub_recruitment table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
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
index cdedef0..fec1b6f 100644
--- 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
@@ -7,14 +7,13 @@ package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.TopicAppealRecord;
-import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
+import 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 java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
@@ -121,7 +120,7 @@ public class TopicAppeal extends TableImpl {
/**
* The column appeals.topic_appeal.recruitment_id.
*/
- public final TableField RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
+ 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);
@@ -206,8 +205,8 @@ public class TopicAppeal extends TableImpl {
private transient PubRecruitmentPath _pubRecruitment;
/**
- * Get the implicit join path to the public.pub_recruitment
- * table.
+ * Get the implicit join path to the
+ * ervu_dashboard.pub_recruitment table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
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
index 12e6a9a..590e276 100644
--- 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
@@ -7,7 +7,6 @@ package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile;
import java.sql.Date;
-import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
@@ -122,15 +121,15 @@ public class MainProfileRecord extends UpdatableRecordImpl {
/**
* Setter for appeals.main_profile.recruitment_id.
*/
- public void setRecruitmentId(UUID value) {
+ public void setRecruitmentId(String value) {
set(7, value);
}
/**
* Getter for appeals.main_profile.recruitment_id.
*/
- public UUID getRecruitmentId() {
- return (UUID) get(7);
+ public String getRecruitmentId() {
+ return (String) get(7);
}
// -------------------------------------------------------------------------
@@ -156,7 +155,7 @@ public class MainProfileRecord extends UpdatableRecordImpl {
/**
* Create a detached, initialised MainProfileRecord
*/
- public MainProfileRecord(Long idMainProfile, String gender, String age, String childMin_18, String education, String employment, Date recordingDate, UUID recruitmentId) {
+ 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);
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
index 6d177b6..7abcd68 100644
--- 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
@@ -8,7 +8,6 @@ import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal;
import java.math.BigDecimal;
import java.sql.Date;
-import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
@@ -161,15 +160,15 @@ public class ReasonsAppealRecord extends UpdatableRecordImplappeals.reasons_appeal.recruitment_id.
*/
- public void setRecruitmentId(UUID value) {
+ public void setRecruitmentId(String value) {
set(9, value);
}
/**
* Getter for appeals.reasons_appeal.recruitment_id.
*/
- public UUID getRecruitmentId() {
- return (UUID) get(9);
+ public String getRecruitmentId() {
+ return (String) get(9);
}
// -------------------------------------------------------------------------
@@ -195,7 +194,7 @@ public class ReasonsAppealRecord extends UpdatableRecordImpl
/**
* Setter for appeals.review_rating.recruitment_id.
*/
- public void setRecruitmentId(UUID value) {
+ public void setRecruitmentId(String value) {
set(5, value);
}
/**
* Getter for appeals.review_rating.recruitment_id.
*/
- public UUID getRecruitmentId() {
- return (UUID) get(5);
+ public String getRecruitmentId() {
+ return (String) get(5);
}
// -------------------------------------------------------------------------
@@ -133,7 +132,7 @@ public class ReviewRatingRecord extends UpdatableRecordImpl
/**
* Create a detached, initialised ReviewRatingRecord
*/
- public ReviewRatingRecord(Long idReviewRating, BigDecimal speed, BigDecimal rating, Date recordingDate, Long idRegion, UUID recruitmentId) {
+ public ReviewRatingRecord(Long idReviewRating, BigDecimal speed, BigDecimal rating, Date recordingDate, Long idRegion, String recruitmentId) {
super(ReviewRating.REVIEW_RATING);
setIdReviewRating(idReviewRating);
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
index 677c11a..fc50c10 100644
--- 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
@@ -8,7 +8,6 @@ import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.TopicAppeal;
import java.math.BigDecimal;
import java.sql.Date;
-import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
@@ -181,15 +180,15 @@ public class TopicAppealRecord extends UpdatableRecordImpl {
/**
* Setter for appeals.topic_appeal.recruitment_id.
*/
- public void setRecruitmentId(UUID value) {
+ public void setRecruitmentId(String value) {
set(10, value);
}
/**
* Getter for appeals.topic_appeal.recruitment_id.
*/
- public UUID getRecruitmentId() {
- return (UUID) get(10);
+ public String getRecruitmentId() {
+ return (String) get(10);
}
// -------------------------------------------------------------------------
@@ -215,7 +214,7 @@ public class TopicAppealRecord extends UpdatableRecordImpl {
/**
* Create a detached, initialised TopicAppealRecord
*/
- public TopicAppealRecord(Long idTopicAppeal, BigDecimal registration, BigDecimal sabpoena, BigDecimal appear, BigDecimal temporaryMeasures, Date recordingDate, BigDecimal registrationPercent, BigDecimal sabpoenaPercent, BigDecimal appearPercent, BigDecimal temporaryMeasuresPercent, UUID recruitmentId) {
+ 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);
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..ec3afd3
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/ErvuDashboard.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.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.Databasechangelog;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
+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.Property;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
+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 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;
+
+ /**
+ * The table ervu_dashboard.databasechangelog.
+ */
+ public final Databasechangelog DATABASECHANGELOG = Databasechangelog.DATABASECHANGELOG;
+
+ /**
+ * The table ervu_dashboard.databasechangeloglock.
+ */
+ public final Databasechangeloglock DATABASECHANGELOGLOCK = Databasechangeloglock.DATABASECHANGELOGLOCK;
+
+ /**
+ * сведения об инвалидности/недееспособности/ограниченной дееспособности
+ */
+ 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 Property PROPERTY = Property.PROPERTY;
+
+ /**
+ * The table ervu_dashboard.pub_recruitment.
+ */
+ public final PubRecruitment PUB_RECRUITMENT = PubRecruitment.PUB_RECRUITMENT;
+
+ /**
+ * The table ervu_dashboard.recruitment.
+ */
+ public final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
+
+ /**
+ * The table ervu_dashboard.subpoena.
+ */
+ public final Subpoena SUBPOENA = Subpoena.SUBPOENA;
+
+ /**
+ * The table ervu_dashboard.temporary_measures.
+ */
+ public final TemporaryMeasures TEMPORARY_MEASURES = TemporaryMeasures.TEMPORARY_MEASURES;
+
+ /**
+ * 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,
+ Databasechangelog.DATABASECHANGELOG,
+ Databasechangeloglock.DATABASECHANGELOGLOCK,
+ Disability.DISABILITY,
+ Disease.DISEASE,
+ DriversLicence.DRIVERS_LICENCE,
+ MedicalAuthorities.MEDICAL_AUTHORITIES,
+ Property.PROPERTY,
+ PubRecruitment.PUB_RECRUITMENT,
+ Recruitment.RECRUITMENT,
+ Subpoena.SUBPOENA,
+ TemporaryMeasures.TEMPORARY_MEASURES
+ );
+ }
+}
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..55bf1a9
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/Keys.java
@@ -0,0 +1,68 @@
+/*
+ * 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.Databasechangeloglock;
+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.Property;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
+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.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.DatabasechangeloglockRecord;
+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.PropertyRecord;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PubRecruitmentRecord;
+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 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 DATABASECHANGELOGLOCK_PKEY = Internal.createUniqueKey(Databasechangeloglock.DATABASECHANGELOGLOCK, DSL.name("databasechangeloglock_pkey"), new TableField[] { Databasechangeloglock.DATABASECHANGELOGLOCK.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_PROPERTY = Internal.createUniqueKey(Property.PROPERTY, DSL.name("pk_property"), new TableField[] { Property.PROPERTY.PROPERTY_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 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.SUBPOENA_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);
+}
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..b08f69c
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/Tables.java
@@ -0,0 +1,104 @@
+/*
+ * 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.Databasechangelog;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
+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.Property;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
+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;
+
+
+/**
+ * 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;
+
+ /**
+ * The table ervu_dashboard.databasechangelog.
+ */
+ public static final Databasechangelog DATABASECHANGELOG = Databasechangelog.DATABASECHANGELOG;
+
+ /**
+ * The table ervu_dashboard.databasechangeloglock.
+ */
+ public static final Databasechangeloglock DATABASECHANGELOGLOCK = Databasechangeloglock.DATABASECHANGELOGLOCK;
+
+ /**
+ * сведения об инвалидности/недееспособности/ограниченной дееспособности
+ */
+ 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 Property PROPERTY = Property.PROPERTY;
+
+ /**
+ * The table ervu_dashboard.pub_recruitment.
+ */
+ public static final PubRecruitment PUB_RECRUITMENT = PubRecruitment.PUB_RECRUITMENT;
+
+ /**
+ * The table ervu_dashboard.recruitment.
+ */
+ public static final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
+
+ /**
+ * The table ervu_dashboard.subpoena.
+ */
+ public static final Subpoena SUBPOENA = Subpoena.SUBPOENA;
+
+ /**
+ * The table ervu_dashboard.temporary_measures.
+ */
+ public static final TemporaryMeasures TEMPORARY_MEASURES = TemporaryMeasures.TEMPORARY_MEASURES;
+}
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..9d6cb5f
--- /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.CHAR(36), 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 ervu_dashboard.citizen_child.death_date.
+ */
+ public final TableField DEATH_DATE = createField(DSL.name("death_date"), SQLDataType.DATE, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen_child.death_az_number.
+ * номер актовой записи о смерти
+ */
+ public final TableField DEATH_AZ_NUMBER = createField(DSL.name("death_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о смерти");
+
+ private CitizenChild(Name alias, Table aliased) {
+ this(alias, aliased, (Field>[]) null, null);
+ }
+
+ private CitizenChild(Name alias, Table aliased, Field>[] parameters, Condition where) {
+ super(alias, null, aliased, parameters, DSL.comment("сведения о детях гражданина"), TableOptions.table(), where);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.citizen_child table
+ * reference
+ */
+ public CitizenChild(String alias) {
+ this(DSL.name(alias), CITIZEN_CHILD);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.citizen_child table
+ * reference
+ */
+ public CitizenChild(Name alias) {
+ this(alias, CITIZEN_CHILD);
+ }
+
+ /**
+ * Create a ervu_dashboard.citizen_child table reference
+ */
+ public CitizenChild() {
+ this(DSL.name("citizen_child"), null);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
+ }
+
+ @Override
+ public Identity getIdentity() {
+ return (Identity) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.PK_CITIZEN_CHILD;
+ }
+
+ @Override
+ public CitizenChild as(String alias) {
+ return new CitizenChild(DSL.name(alias), this);
+ }
+
+ @Override
+ public CitizenChild as(Name alias) {
+ return new CitizenChild(alias, this);
+ }
+
+ @Override
+ public CitizenChild as(Table> alias) {
+ return new CitizenChild(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public CitizenChild rename(String name) {
+ return new CitizenChild(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public CitizenChild rename(Name name) {
+ return new CitizenChild(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public CitizenChild rename(Table> name) {
+ return new CitizenChild(name.getQualifiedName(), null);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenChild where(Condition condition) {
+ return new CitizenChild(getQualifiedName(), aliased() ? this : null, null, condition);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenChild where(Collection extends Condition> conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenChild where(Condition... conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenChild where(Field condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public CitizenChild where(SQL condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public CitizenChild where(@Stringly.SQL String condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public CitizenChild where(@Stringly.SQL String condition, Object... binds) {
+ return where(DSL.condition(condition, binds));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public CitizenChild where(@Stringly.SQL String condition, QueryPart... parts) {
+ return where(DSL.condition(condition, parts));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenChild whereExists(Select> select) {
+ return where(DSL.exists(select));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenChild whereNotExists(Select> select) {
+ return where(DSL.notExists(select));
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/CitizenGuardianship.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/CitizenGuardianship.java
new file mode 100644
index 0000000..29313d0
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/CitizenGuardianship.java
@@ -0,0 +1,252 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenGuardianshipRecord;
+
+import java.sql.Date;
+import java.util.Collection;
+import java.util.UUID;
+
+import org.jooq.Condition;
+import org.jooq.Field;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.PlainSQL;
+import org.jooq.QueryPart;
+import org.jooq.SQL;
+import org.jooq.Schema;
+import org.jooq.Select;
+import org.jooq.Stringly;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * сведения о лице, опекаемом или находящемся на попечении
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class CitizenGuardianship extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of
+ * ervu_dashboard.citizen_guardianship
+ */
+ public static final CitizenGuardianship CITIZEN_GUARDIANSHIP = new CitizenGuardianship();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return CitizenGuardianshipRecord.class;
+ }
+
+ /**
+ * The column
+ * ervu_dashboard.citizen_guardianship.citizen_guardianship_id.
+ */
+ public final TableField CITIZEN_GUARDIANSHIP_ID = createField(DSL.name("citizen_guardianship_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
+
+ /**
+ * The column ervu_dashboard.citizen_guardianship.recruit_id.
+ * ссылка на гражданина (citizen)
+ */
+ public final TableField RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
+
+ /**
+ * The column ervu_dashboard.citizen_guardianship.full_name.
+ * ФИО
+ */
+ public final TableField FULL_NAME = createField(DSL.name("full_name"), SQLDataType.VARCHAR, this, "ФИО");
+
+ /**
+ * The column ervu_dashboard.citizen_guardianship.birth_date.
+ */
+ public final TableField BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen_guardianship.snils.
+ */
+ public final TableField SNILS = createField(DSL.name("snils"), SQLDataType.VARCHAR(50), this, "");
+
+ private CitizenGuardianship(Name alias, Table aliased) {
+ this(alias, aliased, (Field>[]) null, null);
+ }
+
+ private CitizenGuardianship(Name alias, Table aliased, Field>[] parameters, Condition where) {
+ super(alias, null, aliased, parameters, DSL.comment("сведения о лице, опекаемом или находящемся на попечении"), TableOptions.table(), where);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.citizen_guardianship table
+ * reference
+ */
+ public CitizenGuardianship(String alias) {
+ this(DSL.name(alias), CITIZEN_GUARDIANSHIP);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.citizen_guardianship table
+ * reference
+ */
+ public CitizenGuardianship(Name alias) {
+ this(alias, CITIZEN_GUARDIANSHIP);
+ }
+
+ /**
+ * Create a ervu_dashboard.citizen_guardianship table reference
+ */
+ public CitizenGuardianship() {
+ this(DSL.name("citizen_guardianship"), null);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
+ }
+
+ @Override
+ public Identity getIdentity() {
+ return (Identity) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.PK_CITIZEN_GUARDIANSHIP;
+ }
+
+ @Override
+ public CitizenGuardianship as(String alias) {
+ return new CitizenGuardianship(DSL.name(alias), this);
+ }
+
+ @Override
+ public CitizenGuardianship as(Name alias) {
+ return new CitizenGuardianship(alias, this);
+ }
+
+ @Override
+ public CitizenGuardianship as(Table> alias) {
+ return new CitizenGuardianship(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public CitizenGuardianship rename(String name) {
+ return new CitizenGuardianship(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public CitizenGuardianship rename(Name name) {
+ return new CitizenGuardianship(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public CitizenGuardianship rename(Table> name) {
+ return new CitizenGuardianship(name.getQualifiedName(), null);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenGuardianship where(Condition condition) {
+ return new CitizenGuardianship(getQualifiedName(), aliased() ? this : null, null, condition);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenGuardianship where(Collection extends Condition> conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenGuardianship where(Condition... conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenGuardianship where(Field condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public CitizenGuardianship where(SQL condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public CitizenGuardianship where(@Stringly.SQL String condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public CitizenGuardianship where(@Stringly.SQL String condition, Object... binds) {
+ return where(DSL.condition(condition, binds));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public CitizenGuardianship where(@Stringly.SQL String condition, QueryPart... parts) {
+ return where(DSL.condition(condition, parts));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenGuardianship whereExists(Select> select) {
+ return where(DSL.exists(select));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenGuardianship whereNotExists(Select> select) {
+ return where(DSL.notExists(select));
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/CitizenSpouse.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/CitizenSpouse.java
new file mode 100644
index 0000000..74920c7
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/CitizenSpouse.java
@@ -0,0 +1,290 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenSpouseRecord;
+
+import java.sql.Date;
+import java.util.Collection;
+import java.util.UUID;
+
+import org.jooq.Condition;
+import org.jooq.Field;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.PlainSQL;
+import org.jooq.QueryPart;
+import org.jooq.SQL;
+import org.jooq.Schema;
+import org.jooq.Select;
+import org.jooq.Stringly;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * сведения о супруге (бывшей/ем супруге) гражданина
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class CitizenSpouse extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of ervu_dashboard.citizen_spouse
+ */
+ public static final CitizenSpouse CITIZEN_SPOUSE = new CitizenSpouse();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return CitizenSpouseRecord.class;
+ }
+
+ /**
+ * The column ervu_dashboard.citizen_spouse.citizen_spouse_id.
+ */
+ public final TableField CITIZEN_SPOUSE_ID = createField(DSL.name("citizen_spouse_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
+
+ /**
+ * The column ervu_dashboard.citizen_spouse.recruit_id. ссылка
+ * на гражданина (citizen)
+ */
+ public final TableField RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
+
+ /**
+ * The column ervu_dashboard.citizen_spouse.kinship_type. тип
+ * родственной связи: супруг/бывший супруг
+ */
+ public final TableField KINSHIP_TYPE = createField(DSL.name("kinship_type"), SQLDataType.VARCHAR(50), this, "тип родственной связи: супруг/бывший супруг");
+
+ /**
+ * The column ervu_dashboard.citizen_spouse.full_name. ФИО
+ */
+ public final TableField FULL_NAME = createField(DSL.name("full_name"), SQLDataType.VARCHAR, this, "ФИО");
+
+ /**
+ * The column ervu_dashboard.citizen_spouse.birth_date.
+ */
+ public final TableField BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen_spouse.death_az_number.
+ * номер актовой записи о смерти
+ */
+ public final TableField DEATH_AZ_NUMBER = createField(DSL.name("death_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о смерти");
+
+ /**
+ * The column ervu_dashboard.citizen_spouse.death_date.
+ */
+ public final TableField DEATH_DATE = createField(DSL.name("death_date"), SQLDataType.DATE, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen_spouse.marriage_az_number.
+ * номер актовой записи о браке
+ */
+ public final TableField MARRIAGE_AZ_NUMBER = createField(DSL.name("marriage_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о браке");
+
+ /**
+ * The column ervu_dashboard.citizen_spouse.marriage_date.
+ */
+ public final TableField MARRIAGE_DATE = createField(DSL.name("marriage_date"), SQLDataType.DATE, this, "");
+
+ /**
+ * The column ervu_dashboard.citizen_spouse.divorce_az_number.
+ * номер актовой записи о расторжении брака
+ */
+ public final TableField DIVORCE_AZ_NUMBER = createField(DSL.name("divorce_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о расторжении брака");
+
+ /**
+ * The column ervu_dashboard.citizen_spouse.divorce_date.
+ */
+ public final TableField DIVORCE_DATE = createField(DSL.name("divorce_date"), SQLDataType.DATE, this, "");
+
+ /**
+ * The column
+ * ervu_dashboard.citizen_spouse.information_excluded. сведения
+ * о супруге исключены
+ */
+ public final TableField INFORMATION_EXCLUDED = createField(DSL.name("information_excluded"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "сведения о супруге исключены");
+
+ private CitizenSpouse(Name alias, Table aliased) {
+ this(alias, aliased, (Field>[]) null, null);
+ }
+
+ private CitizenSpouse(Name alias, Table aliased, Field>[] parameters, Condition where) {
+ super(alias, null, aliased, parameters, DSL.comment("сведения о супруге (бывшей/ем супруге) гражданина"), TableOptions.table(), where);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.citizen_spouse table
+ * reference
+ */
+ public CitizenSpouse(String alias) {
+ this(DSL.name(alias), CITIZEN_SPOUSE);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.citizen_spouse table
+ * reference
+ */
+ public CitizenSpouse(Name alias) {
+ this(alias, CITIZEN_SPOUSE);
+ }
+
+ /**
+ * Create a ervu_dashboard.citizen_spouse table reference
+ */
+ public CitizenSpouse() {
+ this(DSL.name("citizen_spouse"), null);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
+ }
+
+ @Override
+ public Identity getIdentity() {
+ return (Identity) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.PK_CITIZEN_SPOUSE;
+ }
+
+ @Override
+ public CitizenSpouse as(String alias) {
+ return new CitizenSpouse(DSL.name(alias), this);
+ }
+
+ @Override
+ public CitizenSpouse as(Name alias) {
+ return new CitizenSpouse(alias, this);
+ }
+
+ @Override
+ public CitizenSpouse as(Table> alias) {
+ return new CitizenSpouse(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public CitizenSpouse rename(String name) {
+ return new CitizenSpouse(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public CitizenSpouse rename(Name name) {
+ return new CitizenSpouse(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public CitizenSpouse rename(Table> name) {
+ return new CitizenSpouse(name.getQualifiedName(), null);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenSpouse where(Condition condition) {
+ return new CitizenSpouse(getQualifiedName(), aliased() ? this : null, null, condition);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenSpouse where(Collection extends Condition> conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenSpouse where(Condition... conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenSpouse where(Field condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public CitizenSpouse where(SQL condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public CitizenSpouse where(@Stringly.SQL String condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public CitizenSpouse where(@Stringly.SQL String condition, Object... binds) {
+ return where(DSL.condition(condition, binds));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public CitizenSpouse where(@Stringly.SQL String condition, QueryPart... parts) {
+ return where(DSL.condition(condition, parts));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenSpouse whereExists(Select> select) {
+ return where(DSL.exists(select));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public CitizenSpouse whereNotExists(Select> select) {
+ return where(DSL.notExists(select));
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Databasechangelog.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Databasechangelog.java
new file mode 100644
index 0000000..3f1fbee
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Databasechangelog.java
@@ -0,0 +1,279 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DatabasechangelogRecord;
+
+import java.sql.Timestamp;
+import java.util.Collection;
+
+import org.jooq.Condition;
+import org.jooq.Field;
+import org.jooq.Name;
+import org.jooq.PlainSQL;
+import org.jooq.QueryPart;
+import org.jooq.SQL;
+import org.jooq.Schema;
+import org.jooq.Select;
+import org.jooq.Stringly;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Databasechangelog extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of ervu_dashboard.databasechangelog
+ */
+ public static final Databasechangelog DATABASECHANGELOG = new Databasechangelog();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return DatabasechangelogRecord.class;
+ }
+
+ /**
+ * The column ervu_dashboard.databasechangelog.id.
+ */
+ public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(255).nullable(false), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangelog.author.
+ */
+ public final TableField AUTHOR = createField(DSL.name("author"), SQLDataType.VARCHAR(255).nullable(false), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangelog.filename.
+ */
+ public final TableField FILENAME = createField(DSL.name("filename"), SQLDataType.VARCHAR(255).nullable(false), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangelog.dateexecuted.
+ */
+ public final TableField DATEEXECUTED = createField(DSL.name("dateexecuted"), SQLDataType.TIMESTAMP(0).nullable(false), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangelog.orderexecuted.
+ */
+ public final TableField ORDEREXECUTED = createField(DSL.name("orderexecuted"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangelog.exectype.
+ */
+ public final TableField EXECTYPE = createField(DSL.name("exectype"), SQLDataType.VARCHAR(10).nullable(false), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangelog.md5sum.
+ */
+ public final TableField MD5SUM = createField(DSL.name("md5sum"), SQLDataType.VARCHAR(35), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangelog.description.
+ */
+ public final TableField DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(255), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangelog.comments.
+ */
+ public final TableField COMMENTS = createField(DSL.name("comments"), SQLDataType.VARCHAR(255), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangelog.tag.
+ */
+ public final TableField TAG = createField(DSL.name("tag"), SQLDataType.VARCHAR(255), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangelog.liquibase.
+ */
+ public final TableField LIQUIBASE = createField(DSL.name("liquibase"), SQLDataType.VARCHAR(20), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangelog.contexts.
+ */
+ public final TableField CONTEXTS = createField(DSL.name("contexts"), SQLDataType.VARCHAR(255), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangelog.labels.
+ */
+ public final TableField LABELS = createField(DSL.name("labels"), SQLDataType.VARCHAR(255), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangelog.deployment_id.
+ */
+ public final TableField DEPLOYMENT_ID = createField(DSL.name("deployment_id"), SQLDataType.VARCHAR(10), this, "");
+
+ private Databasechangelog(Name alias, Table aliased) {
+ this(alias, aliased, (Field>[]) null, null);
+ }
+
+ private Databasechangelog(Name alias, Table aliased, Field>[] parameters, Condition where) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.databasechangelog table
+ * reference
+ */
+ public Databasechangelog(String alias) {
+ this(DSL.name(alias), DATABASECHANGELOG);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.databasechangelog table
+ * reference
+ */
+ public Databasechangelog(Name alias) {
+ this(alias, DATABASECHANGELOG);
+ }
+
+ /**
+ * Create a ervu_dashboard.databasechangelog table reference
+ */
+ public Databasechangelog() {
+ this(DSL.name("databasechangelog"), null);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
+ }
+
+ @Override
+ public Databasechangelog as(String alias) {
+ return new Databasechangelog(DSL.name(alias), this);
+ }
+
+ @Override
+ public Databasechangelog as(Name alias) {
+ return new Databasechangelog(alias, this);
+ }
+
+ @Override
+ public Databasechangelog as(Table> alias) {
+ return new Databasechangelog(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Databasechangelog rename(String name) {
+ return new Databasechangelog(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Databasechangelog rename(Name name) {
+ return new Databasechangelog(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Databasechangelog rename(Table> name) {
+ return new Databasechangelog(name.getQualifiedName(), null);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Databasechangelog where(Condition condition) {
+ return new Databasechangelog(getQualifiedName(), aliased() ? this : null, null, condition);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Databasechangelog where(Collection extends Condition> conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Databasechangelog where(Condition... conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Databasechangelog where(Field condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Databasechangelog where(SQL condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Databasechangelog where(@Stringly.SQL String condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Databasechangelog where(@Stringly.SQL String condition, Object... binds) {
+ return where(DSL.condition(condition, binds));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Databasechangelog where(@Stringly.SQL String condition, QueryPart... parts) {
+ return where(DSL.condition(condition, parts));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Databasechangelog whereExists(Select> select) {
+ return where(DSL.exists(select));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Databasechangelog whereNotExists(Select> select) {
+ return where(DSL.notExists(select));
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Databasechangeloglock.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Databasechangeloglock.java
new file mode 100644
index 0000000..341bdbd
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Databasechangeloglock.java
@@ -0,0 +1,238 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DatabasechangeloglockRecord;
+
+import java.sql.Timestamp;
+import java.util.Collection;
+
+import org.jooq.Condition;
+import org.jooq.Field;
+import org.jooq.Name;
+import org.jooq.PlainSQL;
+import org.jooq.QueryPart;
+import org.jooq.SQL;
+import org.jooq.Schema;
+import org.jooq.Select;
+import org.jooq.Stringly;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Databasechangeloglock extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of
+ * ervu_dashboard.databasechangeloglock
+ */
+ public static final Databasechangeloglock DATABASECHANGELOGLOCK = new Databasechangeloglock();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return DatabasechangeloglockRecord.class;
+ }
+
+ /**
+ * The column ervu_dashboard.databasechangeloglock.id.
+ */
+ public final TableField ID = createField(DSL.name("id"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangeloglock.locked.
+ */
+ public final TableField LOCKED = createField(DSL.name("locked"), SQLDataType.BOOLEAN.nullable(false), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangeloglock.lockgranted.
+ */
+ public final TableField LOCKGRANTED = createField(DSL.name("lockgranted"), SQLDataType.TIMESTAMP(0), this, "");
+
+ /**
+ * The column ervu_dashboard.databasechangeloglock.lockedby.
+ */
+ public final TableField LOCKEDBY = createField(DSL.name("lockedby"), SQLDataType.VARCHAR(255), this, "");
+
+ private Databasechangeloglock(Name alias, Table aliased) {
+ this(alias, aliased, (Field>[]) null, null);
+ }
+
+ private Databasechangeloglock(Name alias, Table aliased, Field>[] parameters, Condition where) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.databasechangeloglock table
+ * reference
+ */
+ public Databasechangeloglock(String alias) {
+ this(DSL.name(alias), DATABASECHANGELOGLOCK);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.databasechangeloglock table
+ * reference
+ */
+ public Databasechangeloglock(Name alias) {
+ this(alias, DATABASECHANGELOGLOCK);
+ }
+
+ /**
+ * Create a ervu_dashboard.databasechangeloglock table
+ * reference
+ */
+ public Databasechangeloglock() {
+ this(DSL.name("databasechangeloglock"), null);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.DATABASECHANGELOGLOCK_PKEY;
+ }
+
+ @Override
+ public Databasechangeloglock as(String alias) {
+ return new Databasechangeloglock(DSL.name(alias), this);
+ }
+
+ @Override
+ public Databasechangeloglock as(Name alias) {
+ return new Databasechangeloglock(alias, this);
+ }
+
+ @Override
+ public Databasechangeloglock as(Table> alias) {
+ return new Databasechangeloglock(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Databasechangeloglock rename(String name) {
+ return new Databasechangeloglock(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Databasechangeloglock rename(Name name) {
+ return new Databasechangeloglock(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Databasechangeloglock rename(Table> name) {
+ return new Databasechangeloglock(name.getQualifiedName(), null);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Databasechangeloglock where(Condition condition) {
+ return new Databasechangeloglock(getQualifiedName(), aliased() ? this : null, null, condition);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Databasechangeloglock where(Collection extends Condition> conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Databasechangeloglock where(Condition... conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Databasechangeloglock where(Field condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Databasechangeloglock where(SQL condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Databasechangeloglock where(@Stringly.SQL String condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Databasechangeloglock where(@Stringly.SQL String condition, Object... binds) {
+ return where(DSL.condition(condition, binds));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Databasechangeloglock where(@Stringly.SQL String condition, QueryPart... parts) {
+ return where(DSL.condition(condition, parts));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Databasechangeloglock whereExists(Select> select) {
+ return where(DSL.exists(select));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Databasechangeloglock whereNotExists(Select> select) {
+ return where(DSL.notExists(select));
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Disability.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Disability.java
new file mode 100644
index 0000000..56bf49b
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Disability.java
@@ -0,0 +1,274 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DisabilityRecord;
+
+import java.sql.Date;
+import java.util.Collection;
+import java.util.UUID;
+
+import org.jooq.Condition;
+import org.jooq.Field;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.PlainSQL;
+import org.jooq.QueryPart;
+import org.jooq.SQL;
+import org.jooq.Schema;
+import org.jooq.Select;
+import org.jooq.Stringly;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * сведения об инвалидности/недееспособности/ограниченной дееспособности
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Disability extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of ervu_dashboard.disability
+ */
+ public static final Disability DISABILITY = new Disability();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return DisabilityRecord.class;
+ }
+
+ /**
+ * The column ervu_dashboard.disability.disability_id.
+ */
+ public final TableField DISABILITY_ID = createField(DSL.name("disability_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
+
+ /**
+ * The column ervu_dashboard.disability.recruit_id. ссылка на
+ * гражданина (citizen)
+ */
+ public final TableField RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
+
+ /**
+ * The column ervu_dashboard.disability.disability. сведения об
+ * инвалидности(true)/недееспособности(false)
+ */
+ public final TableField DISABILITY_ = createField(DSL.name("disability"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "сведения об инвалидности(true)/недееспособности(false)");
+
+ /**
+ * The column ervu_dashboard.disability.organization_name.
+ * наименование организации, установившей инвалидность/судебного органа
+ */
+ public final TableField ORGANIZATION_NAME = createField(DSL.name("organization_name"), SQLDataType.VARCHAR(300), this, "наименование организации, установившей инвалидность/судебного органа");
+
+ /**
+ * The column ervu_dashboard.disability.start_date. дата
+ * установления инвалидности/признания гражданина недееспособным
+ */
+ public final TableField START_DATE = createField(DSL.name("start_date"), SQLDataType.DATE, this, "дата установления инвалидности/признания гражданина недееспособным");
+
+ /**
+ * The column ervu_dashboard.disability.close_date. дата снятия
+ * инвалидности/отмены ограничения гражданина в дееспособности
+ */
+ public final TableField CLOSE_DATE = createField(DSL.name("close_date"), SQLDataType.DATE, this, "дата снятия инвалидности/отмены ограничения гражданина в дееспособности");
+
+ /**
+ * The column ervu_dashboard.disability.confirmation_date. дата
+ * подтверждения инвалидности
+ */
+ public final TableField CONFIRMATION_DATE = createField(DSL.name("confirmation_date"), SQLDataType.DATE, this, "дата подтверждения инвалидности");
+
+ /**
+ * The column ervu_dashboard.disability.re_examination_date.
+ * дата переосвидетельствования по инвалидности
+ */
+ public final TableField RE_EXAMINATION_DATE = createField(DSL.name("re_examination_date"), SQLDataType.DATE, this, "дата переосвидетельствования по инвалидности");
+
+ /**
+ * The column ervu_dashboard.disability.disability_group.
+ * группа инвалидности
+ */
+ public final TableField DISABILITY_GROUP = createField(DSL.name("disability_group"), SQLDataType.VARCHAR(30), this, "группа инвалидности");
+
+ private Disability(Name alias, Table aliased) {
+ this(alias, aliased, (Field>[]) null, null);
+ }
+
+ private Disability(Name alias, Table aliased, Field>[] parameters, Condition where) {
+ super(alias, null, aliased, parameters, DSL.comment("сведения об инвалидности/недееспособности/ограниченной дееспособности"), TableOptions.table(), where);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.disability table reference
+ */
+ public Disability(String alias) {
+ this(DSL.name(alias), DISABILITY);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.disability table reference
+ */
+ public Disability(Name alias) {
+ this(alias, DISABILITY);
+ }
+
+ /**
+ * Create a ervu_dashboard.disability table reference
+ */
+ public Disability() {
+ this(DSL.name("disability"), null);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
+ }
+
+ @Override
+ public Identity getIdentity() {
+ return (Identity) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.PK_DISABILITY;
+ }
+
+ @Override
+ public Disability as(String alias) {
+ return new Disability(DSL.name(alias), this);
+ }
+
+ @Override
+ public Disability as(Name alias) {
+ return new Disability(alias, this);
+ }
+
+ @Override
+ public Disability as(Table> alias) {
+ return new Disability(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Disability rename(String name) {
+ return new Disability(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Disability rename(Name name) {
+ return new Disability(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Disability rename(Table> name) {
+ return new Disability(name.getQualifiedName(), null);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Disability where(Condition condition) {
+ return new Disability(getQualifiedName(), aliased() ? this : null, null, condition);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Disability where(Collection extends Condition> conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Disability where(Condition... conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Disability where(Field condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Disability where(SQL condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Disability where(@Stringly.SQL String condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Disability where(@Stringly.SQL String condition, Object... binds) {
+ return where(DSL.condition(condition, binds));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Disability where(@Stringly.SQL String condition, QueryPart... parts) {
+ return where(DSL.condition(condition, parts));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Disability whereExists(Select> select) {
+ return where(DSL.exists(select));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Disability whereNotExists(Select> select) {
+ return where(DSL.notExists(select));
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Disease.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Disease.java
new file mode 100644
index 0000000..c396937
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/Disease.java
@@ -0,0 +1,255 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DiseaseRecord;
+
+import java.sql.Date;
+import java.util.Collection;
+import java.util.UUID;
+
+import org.jooq.Condition;
+import org.jooq.Field;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.PlainSQL;
+import org.jooq.QueryPart;
+import org.jooq.SQL;
+import org.jooq.Schema;
+import org.jooq.Select;
+import org.jooq.Stringly;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * сведения о заболеваниях гражданина
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class Disease extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of ervu_dashboard.disease
+ */
+ public static final Disease DISEASE = new Disease();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return DiseaseRecord.class;
+ }
+
+ /**
+ * The column ervu_dashboard.disease.disease_id.
+ */
+ public final TableField DISEASE_ID = createField(DSL.name("disease_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
+
+ /**
+ * The column ervu_dashboard.disease.recruit_id. ссылка на
+ * гражданина (citizen)
+ */
+ public final TableField RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
+
+ /**
+ * The column ervu_dashboard.disease.code. код заболевания
+ */
+ public final TableField CODE = createField(DSL.name("code"), SQLDataType.VARCHAR, this, "код заболевания");
+
+ /**
+ * The column ervu_dashboard.disease.name. наименование
+ * заболевания
+ */
+ public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR, this, "наименование заболевания");
+
+ /**
+ * The column ervu_dashboard.disease.reg_date. дата постановки
+ * диагноза
+ */
+ public final TableField REG_DATE = createField(DSL.name("reg_date"), SQLDataType.DATE, this, "дата постановки диагноза");
+
+ /**
+ * The column ervu_dashboard.disease.registered. поставлен на
+ * учет по заболеванию
+ */
+ public final TableField REGISTERED = createField(DSL.name("registered"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "поставлен на учет по заболеванию");
+
+ private Disease(Name alias, Table aliased) {
+ this(alias, aliased, (Field>[]) null, null);
+ }
+
+ private Disease(Name alias, Table aliased, Field>[] parameters, Condition where) {
+ super(alias, null, aliased, parameters, DSL.comment("сведения о заболеваниях гражданина"), TableOptions.table(), where);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.disease table reference
+ */
+ public Disease(String alias) {
+ this(DSL.name(alias), DISEASE);
+ }
+
+ /**
+ * Create an aliased ervu_dashboard.disease table reference
+ */
+ public Disease(Name alias) {
+ this(alias, DISEASE);
+ }
+
+ /**
+ * Create a ervu_dashboard.disease table reference
+ */
+ public Disease() {
+ this(DSL.name("disease"), null);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
+ }
+
+ @Override
+ public Identity getIdentity() {
+ return (Identity) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.PK_DISEASE;
+ }
+
+ @Override
+ public Disease as(String alias) {
+ return new Disease(DSL.name(alias), this);
+ }
+
+ @Override
+ public Disease as(Name alias) {
+ return new Disease(alias, this);
+ }
+
+ @Override
+ public Disease as(Table> alias) {
+ return new Disease(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Disease rename(String name) {
+ return new Disease(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Disease rename(Name name) {
+ return new Disease(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public Disease rename(Table> name) {
+ return new Disease(name.getQualifiedName(), null);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Disease where(Condition condition) {
+ return new Disease(getQualifiedName(), aliased() ? this : null, null, condition);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Disease where(Collection extends Condition> conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Disease where(Condition... conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Disease where(Field condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Disease where(SQL condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Disease where(@Stringly.SQL String condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Disease where(@Stringly.SQL String condition, Object... binds) {
+ return where(DSL.condition(condition, binds));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public Disease where(@Stringly.SQL String condition, QueryPart... parts) {
+ return where(DSL.condition(condition, parts));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Disease whereExists(Select> select) {
+ return where(DSL.exists(select));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public Disease whereNotExists(Select> select) {
+ return where(DSL.notExists(select));
+ }
+}
diff --git a/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/DriversLicence.java b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/DriversLicence.java
new file mode 100644
index 0000000..44df617
--- /dev/null
+++ b/backend/src/main/java/ervu_dashboard/ervu_dashboard/db_beans/ervu_dashboard/tables/DriversLicence.java
@@ -0,0 +1,295 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
+
+
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
+import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DriversLicenceRecord;
+
+import java.sql.Date;
+import java.util.Collection;
+import java.util.UUID;
+
+import org.jooq.Condition;
+import org.jooq.Field;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.PlainSQL;
+import org.jooq.QueryPart;
+import org.jooq.SQL;
+import org.jooq.Schema;
+import org.jooq.Select;
+import org.jooq.Stringly;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * удостоверение водительское/тракториста-машиниста
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class DriversLicence extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of