diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/DefaultCatalog.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/DefaultCatalog.java
deleted file mode 100644
index b79c6e1..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/DefaultCatalog.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-
-import java.util.Arrays;
-import java.util.List;
-
-import org.jooq.Constants;
-import org.jooq.Schema;
-import org.jooq.impl.CatalogImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class DefaultCatalog extends CatalogImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of DEFAULT_CATALOG
- */
- public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog();
-
- /**
- * The schema public.
- */
- public final Public PUBLIC = Public.PUBLIC;
-
- /**
- * No further instances allowed
- */
- private DefaultCatalog() {
- super("");
- }
-
- @Override
- public final List getSchemas() {
- return Arrays.asList(
- Public.PUBLIC
- );
- }
-
- /**
- * A reference to the 3.19 minor release of the code generator. If this
- * doesn't compile, it's because the runtime library uses an older minor
- * release, namely: 3.19. You can turn off the generation of this reference
- * by specifying /configuration/generator/generate/jooqVersionReference
- */
- private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_19;
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/Domains.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/Domains.java
deleted file mode 100644
index 2277fee..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/Domains.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_;
-
-
-import org.jooq.Domain;
-import org.jooq.Schema;
-import org.jooq.impl.DSL;
-import org.jooq.impl.Internal;
-import org.jooq.impl.LazySchema;
-import org.jooq.impl.SQLDataType;
-
-
-/**
- * Convenience access to all Domains in public.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Domains {
-
- /**
- * The domain public.gender_domain.
- */
- public static final Domain GENDER_DOMAIN = Internal.createDomain(
- schema()
- , DSL.name("gender_domain")
- , SQLDataType.VARCHAR
- , Internal.createCheck(null, null, "CHECK (((VALUE)::text = ANY (ARRAY[('MALE'::character varying)::text, ('FEMALE'::character varying)::text])))")
- );
-
- private static final Schema schema() {
- return new LazySchema(DSL.name("public"), DSL.comment(""), () -> Public.PUBLIC);
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/Keys.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/Keys.java
deleted file mode 100644
index 42eb9d4..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/Keys.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.tables.FlywaySchemaHistory;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Foiv;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Notification;
-import ervu_secret.ervu_secret.db_beans.public_.tables.NotificationItem;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Recruitment;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Recruits;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Region;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Restriction;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocument;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentItem;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentItemHistory;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentStatus;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SendDictionary;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Subpoena;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaAppearance;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaExport;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaHistory;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaReason;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaSendInfo;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaStatus;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SummonList;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.FlywaySchemaHistoryRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.FoivRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.NotificationItemRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.NotificationRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.RecruitmentRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.RecruitsRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.RegionRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.RestrictionDocumentItemHistoryRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.RestrictionDocumentItemRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.RestrictionDocumentRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.RestrictionDocumentStatusRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.RestrictionRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.SendDictionaryRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.SubpoenaAppearanceRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.SubpoenaExportRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.SubpoenaHistoryRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.SubpoenaReasonRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.SubpoenaRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.SubpoenaSendInfoRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.SubpoenaStatusRecord;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.SummonListRecord;
-
-import org.jooq.ForeignKey;
-import org.jooq.TableField;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.Internal;
-
-
-/**
- * A class modelling foreign key relationships and constraints of tables in
- * public.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Keys {
-
- // -------------------------------------------------------------------------
- // UNIQUE and PRIMARY KEY definitions
- // -------------------------------------------------------------------------
-
- public static final UniqueKey FLYWAY_SCHEMA_HISTORY_PK = Internal.createUniqueKey(FlywaySchemaHistory.FLYWAY_SCHEMA_HISTORY, DSL.name("flyway_schema_history_pk"), new TableField[] { FlywaySchemaHistory.FLYWAY_SCHEMA_HISTORY.INSTALLED_RANK }, true);
- public static final UniqueKey FOIV_PKEY = Internal.createUniqueKey(Foiv.FOIV, DSL.name("foiv_pkey"), new TableField[] { Foiv.FOIV.CODE }, true);
- public static final UniqueKey NOTIFICATION_PKEY = Internal.createUniqueKey(Notification.NOTIFICATION, DSL.name("notification_pkey"), new TableField[] { Notification.NOTIFICATION.CODE }, true);
- public static final UniqueKey NOTIFICATION_ITEM_PKEY = Internal.createUniqueKey(NotificationItem.NOTIFICATION_ITEM, DSL.name("notification_item_pkey"), new TableField[] { NotificationItem.NOTIFICATION_ITEM.ID }, true);
- public static final UniqueKey RECRUITMENT_IDM_ID_KEY = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("recruitment_idm_id_key"), new TableField[] { Recruitment.RECRUITMENT.IDM_ID }, true);
- public static final UniqueKey RECRUITMENT_PKEY = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("recruitment_pkey"), new TableField[] { Recruitment.RECRUITMENT.ID }, true);
- public static final UniqueKey RECRUITS_PKEY = Internal.createUniqueKey(Recruits.RECRUITS, DSL.name("recruits_pkey"), new TableField[] { Recruits.RECRUITS.ID }, true);
- public static final UniqueKey REGION_IDM_ID_KEY = Internal.createUniqueKey(Region.REGION, DSL.name("region_idm_id_key"), new TableField[] { Region.REGION.IDM_ID }, true);
- public static final UniqueKey REGION_PKEY = Internal.createUniqueKey(Region.REGION, DSL.name("region_pkey"), new TableField[] { Region.REGION.ID }, true);
- public static final UniqueKey IDX_RESTRICTION_CODE = Internal.createUniqueKey(Restriction.RESTRICTION, DSL.name("idx_restriction_code"), new TableField[] { Restriction.RESTRICTION.CODE }, true);
- public static final UniqueKey RESTRICTION_PKEY = Internal.createUniqueKey(Restriction.RESTRICTION, DSL.name("restriction_pkey"), new TableField[] { Restriction.RESTRICTION.ID }, true);
- public static final UniqueKey RESTRICTION_DOCUMENT_PKEY = Internal.createUniqueKey(RestrictionDocument.RESTRICTION_DOCUMENT, DSL.name("restriction_document_pkey"), new TableField[] { RestrictionDocument.RESTRICTION_DOCUMENT.ID }, true);
- public static final UniqueKey RESTRICTION_DOCUMENT_ITEM_PKEY = Internal.createUniqueKey(RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM, DSL.name("restriction_document_item_pkey"), new TableField[] { RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM.ID }, true);
- public static final UniqueKey RESTRICTION_DOCUMENT_ITEM_HISTORY_PKEY = Internal.createUniqueKey(RestrictionDocumentItemHistory.RESTRICTION_DOCUMENT_ITEM_HISTORY, DSL.name("restriction_document_item_history_pkey"), new TableField[] { RestrictionDocumentItemHistory.RESTRICTION_DOCUMENT_ITEM_HISTORY.ID }, true);
- public static final UniqueKey RESTRICTION_DOCUMENT_STATUS_PKEY = Internal.createUniqueKey(RestrictionDocumentStatus.RESTRICTION_DOCUMENT_STATUS, DSL.name("restriction_document_status_pkey"), new TableField[] { RestrictionDocumentStatus.RESTRICTION_DOCUMENT_STATUS.ID }, true);
- public static final UniqueKey DELIVERY_DIRECTION_PKEY = Internal.createUniqueKey(SendDictionary.SEND_DICTIONARY, DSL.name("delivery_direction_pkey"), new TableField[] { SendDictionary.SEND_DICTIONARY.ID }, true);
- public static final UniqueKey IDX_DELIVERY_DIRECTION_CODE = Internal.createUniqueKey(SendDictionary.SEND_DICTIONARY, DSL.name("idx_delivery_direction_code"), new TableField[] { SendDictionary.SEND_DICTIONARY.CODE }, true);
- public static final UniqueKey SUBPOENA_PKEY = Internal.createUniqueKey(Subpoena.SUBPOENA, DSL.name("subpoena_pkey"), new TableField[] { Subpoena.SUBPOENA.ID }, true);
- public static final UniqueKey SUBPOENA_APPEARANCE_PKEY = Internal.createUniqueKey(SubpoenaAppearance.SUBPOENA_APPEARANCE, DSL.name("subpoena_appearance_pkey"), new TableField[] { SubpoenaAppearance.SUBPOENA_APPEARANCE.ID }, true);
- public static final UniqueKey SUBPOENA_EXPORT_PKEY = Internal.createUniqueKey(SubpoenaExport.SUBPOENA_EXPORT, DSL.name("subpoena_export_pkey"), new TableField[] { SubpoenaExport.SUBPOENA_EXPORT.ID }, true);
- public static final UniqueKey SUBPOENA_HISTORY_PKEY = Internal.createUniqueKey(SubpoenaHistory.SUBPOENA_HISTORY, DSL.name("subpoena_history_pkey"), new TableField[] { SubpoenaHistory.SUBPOENA_HISTORY.ID }, true);
- public static final UniqueKey IDX_SUBPOENA_REASON_CODE = Internal.createUniqueKey(SubpoenaReason.SUBPOENA_REASON, DSL.name("idx_subpoena_reason_code"), new TableField[] { SubpoenaReason.SUBPOENA_REASON.CODE }, true);
- public static final UniqueKey SUBPOENA_REASON_PKEY = Internal.createUniqueKey(SubpoenaReason.SUBPOENA_REASON, DSL.name("subpoena_reason_pkey"), new TableField[] { SubpoenaReason.SUBPOENA_REASON.ID }, true);
- public static final UniqueKey SUBPOENA_SEND_INFO_PKEY = Internal.createUniqueKey(SubpoenaSendInfo.SUBPOENA_SEND_INFO, DSL.name("subpoena_send_info_pkey"), new TableField[] { SubpoenaSendInfo.SUBPOENA_SEND_INFO.ID }, true);
- public static final UniqueKey IDX_SUBPOENA_STATUS_CODE = Internal.createUniqueKey(SubpoenaStatus.SUBPOENA_STATUS, DSL.name("idx_subpoena_status_code"), new TableField[] { SubpoenaStatus.SUBPOENA_STATUS.CODE }, true);
- public static final UniqueKey SUBPOENA_STATUS_PKEY = Internal.createUniqueKey(SubpoenaStatus.SUBPOENA_STATUS, DSL.name("subpoena_status_pkey"), new TableField[] { SubpoenaStatus.SUBPOENA_STATUS.ID }, true);
- public static final UniqueKey SUMMON_LIST_PKEY = Internal.createUniqueKey(SummonList.SUMMON_LIST, DSL.name("summon_list_pkey"), new TableField[] { SummonList.SUMMON_LIST.ID }, true);
-
- // -------------------------------------------------------------------------
- // FOREIGN KEY definitions
- // -------------------------------------------------------------------------
-
- public static final ForeignKey NOTIFICATION_ITEM__NOTIFICATION_ITEM_FOIV_CODE_FKEY = Internal.createForeignKey(NotificationItem.NOTIFICATION_ITEM, DSL.name("notification_item_foiv_code_fkey"), new TableField[] { NotificationItem.NOTIFICATION_ITEM.FOIV_CODE }, Keys.FOIV_PKEY, new TableField[] { Foiv.FOIV.CODE }, true);
- public static final ForeignKey NOTIFICATION_ITEM__NOTIFICATION_ITEM_NOTIFICATION_CODE_FKEY = Internal.createForeignKey(NotificationItem.NOTIFICATION_ITEM, DSL.name("notification_item_notification_code_fkey"), new TableField[] { NotificationItem.NOTIFICATION_ITEM.NOTIFICATION_CODE }, Keys.NOTIFICATION_PKEY, new TableField[] { Notification.NOTIFICATION.CODE }, true);
- public static final ForeignKey NOTIFICATION_ITEM__NOTIFICATION_ITEM_RESTRICTION_DOCUMENT_ITEM_ID_FKEY = Internal.createForeignKey(NotificationItem.NOTIFICATION_ITEM, DSL.name("notification_item_restriction_document_item_id_fkey"), new TableField[] { NotificationItem.NOTIFICATION_ITEM.RESTRICTION_DOCUMENT_ITEM_ID }, Keys.RESTRICTION_DOCUMENT_ITEM_PKEY, new TableField[] { RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM.ID }, true);
- public static final ForeignKey RESTRICTION_DOCUMENT__FK_SUBPOENA = Internal.createForeignKey(RestrictionDocument.RESTRICTION_DOCUMENT, DSL.name("fk_subpoena"), new TableField[] { RestrictionDocument.RESTRICTION_DOCUMENT.SUBPOENA_ID }, Keys.SUBPOENA_PKEY, new TableField[] { Subpoena.SUBPOENA.ID }, true);
- public static final ForeignKey RESTRICTION_DOCUMENT_ITEM__FK_RESCTRICIONS = Internal.createForeignKey(RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM, DSL.name("fk_resctricions"), new TableField[] { RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM.RESTRICTION_ID }, Keys.RESTRICTION_PKEY, new TableField[] { Restriction.RESTRICTION.ID }, true);
- public static final ForeignKey RESTRICTION_DOCUMENT_ITEM__FK_RESTRICTION_DOCUMENT = Internal.createForeignKey(RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM, DSL.name("fk_restriction_document"), new TableField[] { RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM.RESTRICTION_DOCUMENT_CREATE_ID }, Keys.RESTRICTION_DOCUMENT_PKEY, new TableField[] { RestrictionDocument.RESTRICTION_DOCUMENT.ID }, true);
- public static final ForeignKey RESTRICTION_DOCUMENT_ITEM__RESTRICTION_DOCUMENT_ITEM_FOIV_CODE_FKEY = Internal.createForeignKey(RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM, DSL.name("restriction_document_item_foiv_code_fkey"), new TableField[] { RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM.FOIV_CODE }, Keys.FOIV_PKEY, new TableField[] { Foiv.FOIV.CODE }, true);
- public static final ForeignKey RESTRICTION_DOCUMENT_ITEM__RESTRICTION_DOCUMENT_ITEM_RESTRICTION_DOCUMENT_CANCEL_ID_FKEY = Internal.createForeignKey(RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM, DSL.name("restriction_document_item_restriction_document_cancel_id_fkey"), new TableField[] { RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM.RESTRICTION_DOCUMENT_CANCEL_ID }, Keys.RESTRICTION_DOCUMENT_PKEY, new TableField[] { RestrictionDocument.RESTRICTION_DOCUMENT.ID }, true);
- public static final ForeignKey SUBPOENA__SUBPOENA_REASON_ID_FKEY = Internal.createForeignKey(Subpoena.SUBPOENA, DSL.name("subpoena_reason_id_fkey"), new TableField[] { Subpoena.SUBPOENA.REASON_ID }, Keys.SUBPOENA_REASON_PKEY, new TableField[] { SubpoenaReason.SUBPOENA_REASON.ID }, true);
- public static final ForeignKey SUBPOENA__SUBPOENA_STATUS_ID_FKEY = Internal.createForeignKey(Subpoena.SUBPOENA, DSL.name("subpoena_status_id_fkey"), new TableField[] { Subpoena.SUBPOENA.STATUS_ID }, Keys.SUBPOENA_STATUS_PKEY, new TableField[] { SubpoenaStatus.SUBPOENA_STATUS.ID }, true);
- public static final ForeignKey SUBPOENA_APPEARANCE__SUBPOENA_APPEARANCE_SUBPOENA_ID_FKEY = Internal.createForeignKey(SubpoenaAppearance.SUBPOENA_APPEARANCE, DSL.name("subpoena_appearance_subpoena_id_fkey"), new TableField[] { SubpoenaAppearance.SUBPOENA_APPEARANCE.SUBPOENA_ID }, Keys.SUBPOENA_PKEY, new TableField[] { Subpoena.SUBPOENA.ID }, true);
- public static final ForeignKey SUBPOENA_HISTORY__SUBPOENA_HISTORY_STATUS_ID_FKEY = Internal.createForeignKey(SubpoenaHistory.SUBPOENA_HISTORY, DSL.name("subpoena_history_status_id_fkey"), new TableField[] { SubpoenaHistory.SUBPOENA_HISTORY.STATUS_ID }, Keys.SUBPOENA_STATUS_PKEY, new TableField[] { SubpoenaStatus.SUBPOENA_STATUS.ID }, true);
- public static final ForeignKey SUBPOENA_HISTORY__SUBPOENA_HISTORY_SUBPOENA_ID_FKEY = Internal.createForeignKey(SubpoenaHistory.SUBPOENA_HISTORY, DSL.name("subpoena_history_subpoena_id_fkey"), new TableField[] { SubpoenaHistory.SUBPOENA_HISTORY.SUBPOENA_ID }, Keys.SUBPOENA_PKEY, new TableField[] { Subpoena.SUBPOENA.ID }, true);
- public static final ForeignKey SUBPOENA_SEND_INFO__FK_SUBPOENA = Internal.createForeignKey(SubpoenaSendInfo.SUBPOENA_SEND_INFO, DSL.name("fk_subpoena"), new TableField[] { SubpoenaSendInfo.SUBPOENA_SEND_INFO.SUBPOENA_ID }, Keys.SUBPOENA_PKEY, new TableField[] { Subpoena.SUBPOENA.ID }, true);
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/Public.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/Public.java
deleted file mode 100644
index 87b7947..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/Public.java
+++ /dev/null
@@ -1,203 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_;
-
-
-import ervu_secret.ervu_secret.db_beans.DefaultCatalog;
-import ervu_secret.ervu_secret.db_beans.public_.tables.FlywaySchemaHistory;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Foiv;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Notification;
-import ervu_secret.ervu_secret.db_beans.public_.tables.NotificationItem;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Recruitment;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Recruits;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Region;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Restriction;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocument;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentItem;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentItemHistory;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentStatus;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SendDictionary;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Subpoena;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaAppearance;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaExport;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaHistory;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaReason;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaSendInfo;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaStatus;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SummonList;
-
-import java.util.Arrays;
-import java.util.List;
-
-import org.jooq.Catalog;
-import org.jooq.Domain;
-import org.jooq.Table;
-import org.jooq.impl.SchemaImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Public extends SchemaImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of public
- */
- public static final Public PUBLIC = new Public();
-
- /**
- * The table public.flyway_schema_history.
- */
- public final FlywaySchemaHistory FLYWAY_SCHEMA_HISTORY = FlywaySchemaHistory.FLYWAY_SCHEMA_HISTORY;
-
- /**
- * The table public.foiv.
- */
- public final Foiv FOIV = Foiv.FOIV;
-
- /**
- * The table public.notification.
- */
- public final Notification NOTIFICATION = Notification.NOTIFICATION;
-
- /**
- * The table public.notification_item.
- */
- public final NotificationItem NOTIFICATION_ITEM = NotificationItem.NOTIFICATION_ITEM;
-
- /**
- * The table public.recruitment.
- */
- public final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
-
- /**
- * The table public.recruits.
- */
- public final Recruits RECRUITS = Recruits.RECRUITS;
-
- /**
- * The table public.region.
- */
- public final Region REGION = Region.REGION;
-
- /**
- * The table public.restriction.
- */
- public final Restriction RESTRICTION = Restriction.RESTRICTION;
-
- /**
- * The table public.restriction_document.
- */
- public final RestrictionDocument RESTRICTION_DOCUMENT = RestrictionDocument.RESTRICTION_DOCUMENT;
-
- /**
- * The table public.restriction_document_item.
- */
- public final RestrictionDocumentItem RESTRICTION_DOCUMENT_ITEM = RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM;
-
- /**
- * The table public.restriction_document_item_history.
- */
- public final RestrictionDocumentItemHistory RESTRICTION_DOCUMENT_ITEM_HISTORY = RestrictionDocumentItemHistory.RESTRICTION_DOCUMENT_ITEM_HISTORY;
-
- /**
- * The table public.restriction_document_status.
- */
- public final RestrictionDocumentStatus RESTRICTION_DOCUMENT_STATUS = RestrictionDocumentStatus.RESTRICTION_DOCUMENT_STATUS;
-
- /**
- * The table public.send_dictionary.
- */
- public final SendDictionary SEND_DICTIONARY = SendDictionary.SEND_DICTIONARY;
-
- /**
- * The table public.subpoena.
- */
- public final Subpoena SUBPOENA = Subpoena.SUBPOENA;
-
- /**
- * The table public.subpoena_appearance.
- */
- public final SubpoenaAppearance SUBPOENA_APPEARANCE = SubpoenaAppearance.SUBPOENA_APPEARANCE;
-
- /**
- * The table public.subpoena_export.
- */
- public final SubpoenaExport SUBPOENA_EXPORT = SubpoenaExport.SUBPOENA_EXPORT;
-
- /**
- * The table public.subpoena_history.
- */
- public final SubpoenaHistory SUBPOENA_HISTORY = SubpoenaHistory.SUBPOENA_HISTORY;
-
- /**
- * The table public.subpoena_reason.
- */
- public final SubpoenaReason SUBPOENA_REASON = SubpoenaReason.SUBPOENA_REASON;
-
- /**
- * The table public.subpoena_send_info.
- */
- public final SubpoenaSendInfo SUBPOENA_SEND_INFO = SubpoenaSendInfo.SUBPOENA_SEND_INFO;
-
- /**
- * The table public.subpoena_status.
- */
- public final SubpoenaStatus SUBPOENA_STATUS = SubpoenaStatus.SUBPOENA_STATUS;
-
- /**
- * The table public.summon_list.
- */
- public final SummonList SUMMON_LIST = SummonList.SUMMON_LIST;
-
- /**
- * No further instances allowed
- */
- private Public() {
- super("public", null);
- }
-
-
- @Override
- public Catalog getCatalog() {
- return DefaultCatalog.DEFAULT_CATALOG;
- }
-
- @Override
- public final List> getDomains() {
- return Arrays.asList(
- Domains.GENDER_DOMAIN
- );
- }
-
- @Override
- public final List> getTables() {
- return Arrays.asList(
- FlywaySchemaHistory.FLYWAY_SCHEMA_HISTORY,
- Foiv.FOIV,
- Notification.NOTIFICATION,
- NotificationItem.NOTIFICATION_ITEM,
- Recruitment.RECRUITMENT,
- Recruits.RECRUITS,
- Region.REGION,
- Restriction.RESTRICTION,
- RestrictionDocument.RESTRICTION_DOCUMENT,
- RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM,
- RestrictionDocumentItemHistory.RESTRICTION_DOCUMENT_ITEM_HISTORY,
- RestrictionDocumentStatus.RESTRICTION_DOCUMENT_STATUS,
- SendDictionary.SEND_DICTIONARY,
- Subpoena.SUBPOENA,
- SubpoenaAppearance.SUBPOENA_APPEARANCE,
- SubpoenaExport.SUBPOENA_EXPORT,
- SubpoenaHistory.SUBPOENA_HISTORY,
- SubpoenaReason.SUBPOENA_REASON,
- SubpoenaSendInfo.SUBPOENA_SEND_INFO,
- SubpoenaStatus.SUBPOENA_STATUS,
- SummonList.SUMMON_LIST
- );
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/Routines.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/Routines.java
deleted file mode 100644
index e68cf5b..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/Routines.java
+++ /dev/null
@@ -1,285 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.routines.UuidGenerateV1;
-import ervu_secret.ervu_secret.db_beans.public_.routines.UuidGenerateV1mc;
-import ervu_secret.ervu_secret.db_beans.public_.routines.UuidGenerateV3;
-import ervu_secret.ervu_secret.db_beans.public_.routines.UuidGenerateV4;
-import ervu_secret.ervu_secret.db_beans.public_.routines.UuidGenerateV5;
-import ervu_secret.ervu_secret.db_beans.public_.routines.UuidNil;
-import ervu_secret.ervu_secret.db_beans.public_.routines.UuidNsDns;
-import ervu_secret.ervu_secret.db_beans.public_.routines.UuidNsOid;
-import ervu_secret.ervu_secret.db_beans.public_.routines.UuidNsUrl;
-import ervu_secret.ervu_secret.db_beans.public_.routines.UuidNsX500;
-
-import java.util.UUID;
-
-import org.jooq.Configuration;
-import org.jooq.Field;
-
-
-/**
- * Convenience access to all stored procedures and functions in public.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Routines {
-
- /**
- * Call public.uuid_generate_v1
- */
- public static UUID uuidGenerateV1(
- Configuration configuration
- ) {
- UuidGenerateV1 f = new UuidGenerateV1();
-
- f.execute(configuration);
- return f.getReturnValue();
- }
-
- /**
- * Get public.uuid_generate_v1 as a field.
- */
- public static Field uuidGenerateV1() {
- UuidGenerateV1 f = new UuidGenerateV1();
-
- return f.asField();
- }
-
- /**
- * Call public.uuid_generate_v1mc
- */
- public static UUID uuidGenerateV1mc(
- Configuration configuration
- ) {
- UuidGenerateV1mc f = new UuidGenerateV1mc();
-
- f.execute(configuration);
- return f.getReturnValue();
- }
-
- /**
- * Get public.uuid_generate_v1mc as a field.
- */
- public static Field uuidGenerateV1mc() {
- UuidGenerateV1mc f = new UuidGenerateV1mc();
-
- return f.asField();
- }
-
- /**
- * Call public.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 public.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 public.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 public.uuid_generate_v4
- */
- public static UUID uuidGenerateV4(
- Configuration configuration
- ) {
- UuidGenerateV4 f = new UuidGenerateV4();
-
- f.execute(configuration);
- return f.getReturnValue();
- }
-
- /**
- * Get public.uuid_generate_v4 as a field.
- */
- public static Field uuidGenerateV4() {
- UuidGenerateV4 f = new UuidGenerateV4();
-
- return f.asField();
- }
-
- /**
- * Call public.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 public.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 public.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 public.uuid_nil
- */
- public static UUID uuidNil(
- Configuration configuration
- ) {
- UuidNil f = new UuidNil();
-
- f.execute(configuration);
- return f.getReturnValue();
- }
-
- /**
- * Get public.uuid_nil as a field.
- */
- public static Field uuidNil() {
- UuidNil f = new UuidNil();
-
- return f.asField();
- }
-
- /**
- * Call public.uuid_ns_dns
- */
- public static UUID uuidNsDns(
- Configuration configuration
- ) {
- UuidNsDns f = new UuidNsDns();
-
- f.execute(configuration);
- return f.getReturnValue();
- }
-
- /**
- * Get public.uuid_ns_dns as a field.
- */
- public static Field uuidNsDns() {
- UuidNsDns f = new UuidNsDns();
-
- return f.asField();
- }
-
- /**
- * Call public.uuid_ns_oid
- */
- public static UUID uuidNsOid(
- Configuration configuration
- ) {
- UuidNsOid f = new UuidNsOid();
-
- f.execute(configuration);
- return f.getReturnValue();
- }
-
- /**
- * Get public.uuid_ns_oid as a field.
- */
- public static Field uuidNsOid() {
- UuidNsOid f = new UuidNsOid();
-
- return f.asField();
- }
-
- /**
- * Call public.uuid_ns_url
- */
- public static UUID uuidNsUrl(
- Configuration configuration
- ) {
- UuidNsUrl f = new UuidNsUrl();
-
- f.execute(configuration);
- return f.getReturnValue();
- }
-
- /**
- * Get public.uuid_ns_url as a field.
- */
- public static Field uuidNsUrl() {
- UuidNsUrl f = new UuidNsUrl();
-
- return f.asField();
- }
-
- /**
- * Call public.uuid_ns_x500
- */
- public static UUID uuidNsX500(
- Configuration configuration
- ) {
- UuidNsX500 f = new UuidNsX500();
-
- f.execute(configuration);
- return f.getReturnValue();
- }
-
- /**
- * Get public.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_secret/ervu_secret/db_beans/public_/Tables.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/Tables.java
deleted file mode 100644
index d5e50e7..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/Tables.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.tables.FlywaySchemaHistory;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Foiv;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Notification;
-import ervu_secret.ervu_secret.db_beans.public_.tables.NotificationItem;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Recruitment;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Recruits;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Region;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Restriction;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocument;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentItem;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentItemHistory;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentStatus;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SendDictionary;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Subpoena;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaAppearance;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaExport;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaHistory;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaReason;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaSendInfo;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaStatus;
-import ervu_secret.ervu_secret.db_beans.public_.tables.SummonList;
-
-
-/**
- * Convenience access to all tables in public.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Tables {
-
- /**
- * The table public.flyway_schema_history.
- */
- public static final FlywaySchemaHistory FLYWAY_SCHEMA_HISTORY = FlywaySchemaHistory.FLYWAY_SCHEMA_HISTORY;
-
- /**
- * The table public.foiv.
- */
- public static final Foiv FOIV = Foiv.FOIV;
-
- /**
- * The table public.notification.
- */
- public static final Notification NOTIFICATION = Notification.NOTIFICATION;
-
- /**
- * The table public.notification_item.
- */
- public static final NotificationItem NOTIFICATION_ITEM = NotificationItem.NOTIFICATION_ITEM;
-
- /**
- * The table public.recruitment.
- */
- public static final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
-
- /**
- * The table public.recruits.
- */
- public static final Recruits RECRUITS = Recruits.RECRUITS;
-
- /**
- * The table public.region.
- */
- public static final Region REGION = Region.REGION;
-
- /**
- * The table public.restriction.
- */
- public static final Restriction RESTRICTION = Restriction.RESTRICTION;
-
- /**
- * The table public.restriction_document.
- */
- public static final RestrictionDocument RESTRICTION_DOCUMENT = RestrictionDocument.RESTRICTION_DOCUMENT;
-
- /**
- * The table public.restriction_document_item.
- */
- public static final RestrictionDocumentItem RESTRICTION_DOCUMENT_ITEM = RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM;
-
- /**
- * The table public.restriction_document_item_history.
- */
- public static final RestrictionDocumentItemHistory RESTRICTION_DOCUMENT_ITEM_HISTORY = RestrictionDocumentItemHistory.RESTRICTION_DOCUMENT_ITEM_HISTORY;
-
- /**
- * The table public.restriction_document_status.
- */
- public static final RestrictionDocumentStatus RESTRICTION_DOCUMENT_STATUS = RestrictionDocumentStatus.RESTRICTION_DOCUMENT_STATUS;
-
- /**
- * The table public.send_dictionary.
- */
- public static final SendDictionary SEND_DICTIONARY = SendDictionary.SEND_DICTIONARY;
-
- /**
- * The table public.subpoena.
- */
- public static final Subpoena SUBPOENA = Subpoena.SUBPOENA;
-
- /**
- * The table public.subpoena_appearance.
- */
- public static final SubpoenaAppearance SUBPOENA_APPEARANCE = SubpoenaAppearance.SUBPOENA_APPEARANCE;
-
- /**
- * The table public.subpoena_export.
- */
- public static final SubpoenaExport SUBPOENA_EXPORT = SubpoenaExport.SUBPOENA_EXPORT;
-
- /**
- * The table public.subpoena_history.
- */
- public static final SubpoenaHistory SUBPOENA_HISTORY = SubpoenaHistory.SUBPOENA_HISTORY;
-
- /**
- * The table public.subpoena_reason.
- */
- public static final SubpoenaReason SUBPOENA_REASON = SubpoenaReason.SUBPOENA_REASON;
-
- /**
- * The table public.subpoena_send_info.
- */
- public static final SubpoenaSendInfo SUBPOENA_SEND_INFO = SubpoenaSendInfo.SUBPOENA_SEND_INFO;
-
- /**
- * The table public.subpoena_status.
- */
- public static final SubpoenaStatus SUBPOENA_STATUS = SubpoenaStatus.SUBPOENA_STATUS;
-
- /**
- * The table public.summon_list.
- */
- public static final SummonList SUMMON_LIST = SummonList.SUMMON_LIST;
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV1.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV1.java
deleted file mode 100644
index 8c9aa41..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV1.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.routines;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-
-import java.util.UUID;
-
-import org.jooq.Parameter;
-import org.jooq.impl.AbstractRoutine;
-import org.jooq.impl.Internal;
-import org.jooq.impl.SQLDataType;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class UuidGenerateV1 extends AbstractRoutine {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The parameter public.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", Public.PUBLIC, SQLDataType.UUID);
-
- setReturnParameter(RETURN_VALUE);
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV1mc.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV1mc.java
deleted file mode 100644
index 0c9d766..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV1mc.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.routines;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-
-import java.util.UUID;
-
-import org.jooq.Parameter;
-import org.jooq.impl.AbstractRoutine;
-import org.jooq.impl.Internal;
-import org.jooq.impl.SQLDataType;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class UuidGenerateV1mc extends AbstractRoutine {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The parameter public.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", Public.PUBLIC, SQLDataType.UUID);
-
- setReturnParameter(RETURN_VALUE);
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV3.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV3.java
deleted file mode 100644
index 7d8935a..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV3.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.routines;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-
-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 public.uuid_generate_v3.RETURN_VALUE.
- */
- public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
-
- /**
- * The parameter public.uuid_generate_v3.namespace.
- */
- public static final Parameter NAMESPACE = Internal.createParameter("namespace", SQLDataType.UUID, false, false);
-
- /**
- * The parameter public.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", Public.PUBLIC, 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_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV4.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV4.java
deleted file mode 100644
index 217d8f2..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV4.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.routines;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-
-import java.util.UUID;
-
-import org.jooq.Parameter;
-import org.jooq.impl.AbstractRoutine;
-import org.jooq.impl.Internal;
-import org.jooq.impl.SQLDataType;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class UuidGenerateV4 extends AbstractRoutine {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The parameter public.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", Public.PUBLIC, SQLDataType.UUID);
-
- setReturnParameter(RETURN_VALUE);
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV5.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV5.java
deleted file mode 100644
index a40e2bb..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidGenerateV5.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.routines;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-
-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 public.uuid_generate_v5.RETURN_VALUE.
- */
- public static final Parameter RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
-
- /**
- * The parameter public.uuid_generate_v5.namespace.
- */
- public static final Parameter NAMESPACE = Internal.createParameter("namespace", SQLDataType.UUID, false, false);
-
- /**
- * The parameter public.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", Public.PUBLIC, 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_secret/ervu_secret/db_beans/public_/routines/UuidNil.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidNil.java
deleted file mode 100644
index af2f928..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidNil.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.routines;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-
-import java.util.UUID;
-
-import org.jooq.Parameter;
-import org.jooq.impl.AbstractRoutine;
-import org.jooq.impl.Internal;
-import org.jooq.impl.SQLDataType;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class UuidNil extends AbstractRoutine {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The parameter public.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", Public.PUBLIC, SQLDataType.UUID);
-
- setReturnParameter(RETURN_VALUE);
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidNsDns.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidNsDns.java
deleted file mode 100644
index 30c0511..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidNsDns.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.routines;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-
-import java.util.UUID;
-
-import org.jooq.Parameter;
-import org.jooq.impl.AbstractRoutine;
-import org.jooq.impl.Internal;
-import org.jooq.impl.SQLDataType;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class UuidNsDns extends AbstractRoutine {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The parameter public.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", Public.PUBLIC, SQLDataType.UUID);
-
- setReturnParameter(RETURN_VALUE);
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidNsOid.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidNsOid.java
deleted file mode 100644
index 46f5550..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidNsOid.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.routines;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-
-import java.util.UUID;
-
-import org.jooq.Parameter;
-import org.jooq.impl.AbstractRoutine;
-import org.jooq.impl.Internal;
-import org.jooq.impl.SQLDataType;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class UuidNsOid extends AbstractRoutine {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The parameter public.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", Public.PUBLIC, SQLDataType.UUID);
-
- setReturnParameter(RETURN_VALUE);
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidNsUrl.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidNsUrl.java
deleted file mode 100644
index 75492ec..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidNsUrl.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.routines;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-
-import java.util.UUID;
-
-import org.jooq.Parameter;
-import org.jooq.impl.AbstractRoutine;
-import org.jooq.impl.Internal;
-import org.jooq.impl.SQLDataType;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class UuidNsUrl extends AbstractRoutine {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The parameter public.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", Public.PUBLIC, SQLDataType.UUID);
-
- setReturnParameter(RETURN_VALUE);
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidNsX500.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidNsX500.java
deleted file mode 100644
index 69e1812..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/routines/UuidNsX500.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.routines;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-
-import java.util.UUID;
-
-import org.jooq.Parameter;
-import org.jooq.impl.AbstractRoutine;
-import org.jooq.impl.Internal;
-import org.jooq.impl.SQLDataType;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class UuidNsX500 extends AbstractRoutine {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The parameter public.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", Public.PUBLIC, SQLDataType.UUID);
-
- setReturnParameter(RETURN_VALUE);
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/FlywaySchemaHistory.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/FlywaySchemaHistory.java
deleted file mode 100644
index eda9492..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/FlywaySchemaHistory.java
+++ /dev/null
@@ -1,266 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.tables;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Keys;
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.FlywaySchemaHistoryRecord;
-
-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 FlywaySchemaHistory extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of public.flyway_schema_history
- */
- public static final FlywaySchemaHistory FLYWAY_SCHEMA_HISTORY = new FlywaySchemaHistory();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return FlywaySchemaHistoryRecord.class;
- }
-
- /**
- * The column public.flyway_schema_history.installed_rank.
- */
- public final TableField INSTALLED_RANK = createField(DSL.name("installed_rank"), SQLDataType.INTEGER.nullable(false), this, "");
-
- /**
- * The column public.flyway_schema_history.version.
- */
- public final TableField VERSION = createField(DSL.name("version"), SQLDataType.VARCHAR(50), this, "");
-
- /**
- * The column public.flyway_schema_history.description.
- */
- public final TableField DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(200).nullable(false), this, "");
-
- /**
- * The column public.flyway_schema_history.type.
- */
- public final TableField TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR(20).nullable(false), this, "");
-
- /**
- * The column public.flyway_schema_history.script.
- */
- public final TableField SCRIPT = createField(DSL.name("script"), SQLDataType.VARCHAR(1000).nullable(false), this, "");
-
- /**
- * The column public.flyway_schema_history.checksum.
- */
- public final TableField CHECKSUM = createField(DSL.name("checksum"), SQLDataType.INTEGER, this, "");
-
- /**
- * The column public.flyway_schema_history.installed_by.
- */
- public final TableField INSTALLED_BY = createField(DSL.name("installed_by"), SQLDataType.VARCHAR(100).nullable(false), this, "");
-
- /**
- * The column public.flyway_schema_history.installed_on.
- */
- public final TableField INSTALLED_ON = createField(DSL.name("installed_on"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
-
- /**
- * The column public.flyway_schema_history.execution_time.
- */
- public final TableField EXECUTION_TIME = createField(DSL.name("execution_time"), SQLDataType.INTEGER.nullable(false), this, "");
-
- /**
- * The column public.flyway_schema_history.success.
- */
- public final TableField SUCCESS = createField(DSL.name("success"), SQLDataType.BOOLEAN.nullable(false), this, "");
-
- private FlywaySchemaHistory(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
- }
-
- private FlywaySchemaHistory(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
- }
-
- /**
- * Create an aliased public.flyway_schema_history table
- * reference
- */
- public FlywaySchemaHistory(String alias) {
- this(DSL.name(alias), FLYWAY_SCHEMA_HISTORY);
- }
-
- /**
- * Create an aliased public.flyway_schema_history table
- * reference
- */
- public FlywaySchemaHistory(Name alias) {
- this(alias, FLYWAY_SCHEMA_HISTORY);
- }
-
- /**
- * Create a public.flyway_schema_history table reference
- */
- public FlywaySchemaHistory() {
- this(DSL.name("flyway_schema_history"), null);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Public.PUBLIC;
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.FLYWAY_SCHEMA_HISTORY_PK;
- }
-
- @Override
- public FlywaySchemaHistory as(String alias) {
- return new FlywaySchemaHistory(DSL.name(alias), this);
- }
-
- @Override
- public FlywaySchemaHistory as(Name alias) {
- return new FlywaySchemaHistory(alias, this);
- }
-
- @Override
- public FlywaySchemaHistory as(Table> alias) {
- return new FlywaySchemaHistory(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public FlywaySchemaHistory rename(String name) {
- return new FlywaySchemaHistory(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public FlywaySchemaHistory rename(Name name) {
- return new FlywaySchemaHistory(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public FlywaySchemaHistory rename(Table> name) {
- return new FlywaySchemaHistory(name.getQualifiedName(), null);
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public FlywaySchemaHistory where(Condition condition) {
- return new FlywaySchemaHistory(getQualifiedName(), aliased() ? this : null, null, condition);
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public FlywaySchemaHistory where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public FlywaySchemaHistory where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public FlywaySchemaHistory where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public FlywaySchemaHistory where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public FlywaySchemaHistory where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public FlywaySchemaHistory where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public FlywaySchemaHistory where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public FlywaySchemaHistory whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public FlywaySchemaHistory whereNotExists(Select> select) {
- return where(DSL.notExists(select));
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Foiv.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Foiv.java
deleted file mode 100644
index 8a5f91e..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Foiv.java
+++ /dev/null
@@ -1,286 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.tables;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Keys;
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-import ervu_secret.ervu_secret.db_beans.public_.tables.NotificationItem.NotificationItemPath;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentItem.RestrictionDocumentItemPath;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.FoivRecord;
-
-import java.util.Collection;
-
-import org.jooq.Condition;
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.InverseForeignKey;
-import org.jooq.Name;
-import org.jooq.Path;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.Record;
-import org.jooq.SQL;
-import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Foiv extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of public.foiv
- */
- public static final Foiv FOIV = new Foiv();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return FoivRecord.class;
- }
-
- /**
- * The column public.foiv.code.
- */
- public final TableField CODE = createField(DSL.name("code"), SQLDataType.BIGINT.nullable(false), this, "");
-
- /**
- * The column public.foiv.name.
- */
- public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, "");
-
- private Foiv(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
- }
-
- private Foiv(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
- }
-
- /**
- * Create an aliased public.foiv table reference
- */
- public Foiv(String alias) {
- this(DSL.name(alias), FOIV);
- }
-
- /**
- * Create an aliased public.foiv table reference
- */
- public Foiv(Name alias) {
- this(alias, FOIV);
- }
-
- /**
- * Create a public.foiv table reference
- */
- public Foiv() {
- this(DSL.name("foiv"), null);
- }
-
- public Foiv(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
- super(path, childPath, parentPath, FOIV);
- }
-
- /**
- * A subtype implementing {@link Path} for simplified path-based joins.
- */
- public static class FoivPath extends Foiv implements Path {
- public FoivPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
- super(path, childPath, parentPath);
- }
- private FoivPath(Name alias, Table aliased) {
- super(alias, aliased);
- }
-
- @Override
- public FoivPath as(String alias) {
- return new FoivPath(DSL.name(alias), this);
- }
-
- @Override
- public FoivPath as(Name alias) {
- return new FoivPath(alias, this);
- }
-
- @Override
- public FoivPath as(Table> alias) {
- return new FoivPath(alias.getQualifiedName(), this);
- }
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Public.PUBLIC;
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.FOIV_PKEY;
- }
-
- private transient NotificationItemPath _notificationItem;
-
- /**
- * Get the implicit to-many join path to the
- * public.notification_item table
- */
- public NotificationItemPath notificationItem() {
- if (_notificationItem == null)
- _notificationItem = new NotificationItemPath(this, null, Keys.NOTIFICATION_ITEM__NOTIFICATION_ITEM_FOIV_CODE_FKEY.getInverseKey());
-
- return _notificationItem;
- }
-
- private transient RestrictionDocumentItemPath _restrictionDocumentItem;
-
- /**
- * Get the implicit to-many join path to the
- * public.restriction_document_item table
- */
- public RestrictionDocumentItemPath restrictionDocumentItem() {
- if (_restrictionDocumentItem == null)
- _restrictionDocumentItem = new RestrictionDocumentItemPath(this, null, Keys.RESTRICTION_DOCUMENT_ITEM__RESTRICTION_DOCUMENT_ITEM_FOIV_CODE_FKEY.getInverseKey());
-
- return _restrictionDocumentItem;
- }
-
- @Override
- public Foiv as(String alias) {
- return new Foiv(DSL.name(alias), this);
- }
-
- @Override
- public Foiv as(Name alias) {
- return new Foiv(alias, this);
- }
-
- @Override
- public Foiv as(Table> alias) {
- return new Foiv(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Foiv rename(String name) {
- return new Foiv(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Foiv rename(Name name) {
- return new Foiv(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Foiv rename(Table> name) {
- return new Foiv(name.getQualifiedName(), null);
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Foiv where(Condition condition) {
- return new Foiv(getQualifiedName(), aliased() ? this : null, null, condition);
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Foiv where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Foiv where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Foiv where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Foiv where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Foiv where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Foiv where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Foiv where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Foiv whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Foiv whereNotExists(Select> select) {
- return where(DSL.notExists(select));
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Notification.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Notification.java
deleted file mode 100644
index d18d44c..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Notification.java
+++ /dev/null
@@ -1,272 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.tables;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Keys;
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-import ervu_secret.ervu_secret.db_beans.public_.tables.NotificationItem.NotificationItemPath;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.NotificationRecord;
-
-import java.util.Collection;
-
-import org.jooq.Condition;
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.InverseForeignKey;
-import org.jooq.Name;
-import org.jooq.Path;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.Record;
-import org.jooq.SQL;
-import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Notification extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of public.notification
- */
- public static final Notification NOTIFICATION = new Notification();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return NotificationRecord.class;
- }
-
- /**
- * The column public.notification.code.
- */
- public final TableField CODE = createField(DSL.name("code"), SQLDataType.BIGINT.nullable(false), this, "");
-
- /**
- * The column public.notification.name.
- */
- public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, "");
-
- private Notification(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
- }
-
- private Notification(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
- }
-
- /**
- * Create an aliased public.notification table reference
- */
- public Notification(String alias) {
- this(DSL.name(alias), NOTIFICATION);
- }
-
- /**
- * Create an aliased public.notification table reference
- */
- public Notification(Name alias) {
- this(alias, NOTIFICATION);
- }
-
- /**
- * Create a public.notification table reference
- */
- public Notification() {
- this(DSL.name("notification"), null);
- }
-
- public Notification(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
- super(path, childPath, parentPath, NOTIFICATION);
- }
-
- /**
- * A subtype implementing {@link Path} for simplified path-based joins.
- */
- public static class NotificationPath extends Notification implements Path {
- public NotificationPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
- super(path, childPath, parentPath);
- }
- private NotificationPath(Name alias, Table aliased) {
- super(alias, aliased);
- }
-
- @Override
- public NotificationPath as(String alias) {
- return new NotificationPath(DSL.name(alias), this);
- }
-
- @Override
- public NotificationPath as(Name alias) {
- return new NotificationPath(alias, this);
- }
-
- @Override
- public NotificationPath as(Table> alias) {
- return new NotificationPath(alias.getQualifiedName(), this);
- }
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Public.PUBLIC;
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.NOTIFICATION_PKEY;
- }
-
- private transient NotificationItemPath _notificationItem;
-
- /**
- * Get the implicit to-many join path to the
- * public.notification_item table
- */
- public NotificationItemPath notificationItem() {
- if (_notificationItem == null)
- _notificationItem = new NotificationItemPath(this, null, Keys.NOTIFICATION_ITEM__NOTIFICATION_ITEM_NOTIFICATION_CODE_FKEY.getInverseKey());
-
- return _notificationItem;
- }
-
- @Override
- public Notification as(String alias) {
- return new Notification(DSL.name(alias), this);
- }
-
- @Override
- public Notification as(Name alias) {
- return new Notification(alias, this);
- }
-
- @Override
- public Notification as(Table> alias) {
- return new Notification(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Notification rename(String name) {
- return new Notification(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Notification rename(Name name) {
- return new Notification(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Notification rename(Table> name) {
- return new Notification(name.getQualifiedName(), null);
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Notification where(Condition condition) {
- return new Notification(getQualifiedName(), aliased() ? this : null, null, condition);
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Notification where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Notification where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Notification where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Notification where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Notification where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Notification where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Notification where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Notification whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Notification whereNotExists(Select> select) {
- return where(DSL.notExists(select));
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/NotificationItem.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/NotificationItem.java
deleted file mode 100644
index 3d9aec4..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/NotificationItem.java
+++ /dev/null
@@ -1,344 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.tables;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Keys;
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Foiv.FoivPath;
-import ervu_secret.ervu_secret.db_beans.public_.tables.Notification.NotificationPath;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentItem.RestrictionDocumentItemPath;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.NotificationItemRecord;
-
-import java.sql.Timestamp;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.List;
-import java.util.UUID;
-
-import org.jooq.Condition;
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.InverseForeignKey;
-import org.jooq.JSONB;
-import org.jooq.Name;
-import org.jooq.Path;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.Record;
-import org.jooq.SQL;
-import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class NotificationItem extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of public.notification_item
- */
- public static final NotificationItem NOTIFICATION_ITEM = new NotificationItem();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return NotificationItemRecord.class;
- }
-
- /**
- * The column public.notification_item.id.
- */
- public final TableField ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
-
- /**
- * The column public.notification_item.notification_code.
- */
- public final TableField NOTIFICATION_CODE = createField(DSL.name("notification_code"), SQLDataType.BIGINT, this, "");
-
- /**
- * The column
- * public.notification_item.restriction_document_item_id.
- */
- public final TableField RESTRICTION_DOCUMENT_ITEM_ID = createField(DSL.name("restriction_document_item_id"), SQLDataType.UUID, this, "");
-
- /**
- * The column public.notification_item.foiv_code.
- */
- public final TableField FOIV_CODE = createField(DSL.name("foiv_code"), SQLDataType.BIGINT, this, "");
-
- /**
- * The column public.notification_item.send_date.
- */
- public final TableField SEND_DATE = createField(DSL.name("send_date"), SQLDataType.TIMESTAMP(0), this, "");
-
- /**
- * The column public.notification_item.extra_info.
- */
- public final TableField EXTRA_INFO = createField(DSL.name("extra_info"), SQLDataType.JSONB, this, "");
-
- /**
- * The column public.notification_item.created_at.
- */
- public final TableField CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
-
- /**
- * The column public.notification_item.updated_at.
- */
- public final TableField UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0), this, "");
-
- /**
- * The column public.notification_item.cancelled_at.
- */
- public final TableField CANCELLED_AT = createField(DSL.name("cancelled_at"), SQLDataType.TIMESTAMP(0), this, "");
-
- private NotificationItem(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
- }
-
- private NotificationItem(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
- }
-
- /**
- * Create an aliased public.notification_item table reference
- */
- public NotificationItem(String alias) {
- this(DSL.name(alias), NOTIFICATION_ITEM);
- }
-
- /**
- * Create an aliased public.notification_item table reference
- */
- public NotificationItem(Name alias) {
- this(alias, NOTIFICATION_ITEM);
- }
-
- /**
- * Create a public.notification_item table reference
- */
- public NotificationItem() {
- this(DSL.name("notification_item"), null);
- }
-
- public NotificationItem(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
- super(path, childPath, parentPath, NOTIFICATION_ITEM);
- }
-
- /**
- * A subtype implementing {@link Path} for simplified path-based joins.
- */
- public static class NotificationItemPath extends NotificationItem implements Path {
- public NotificationItemPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
- super(path, childPath, parentPath);
- }
- private NotificationItemPath(Name alias, Table aliased) {
- super(alias, aliased);
- }
-
- @Override
- public NotificationItemPath as(String alias) {
- return new NotificationItemPath(DSL.name(alias), this);
- }
-
- @Override
- public NotificationItemPath as(Name alias) {
- return new NotificationItemPath(alias, this);
- }
-
- @Override
- public NotificationItemPath as(Table> alias) {
- return new NotificationItemPath(alias.getQualifiedName(), this);
- }
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Public.PUBLIC;
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.NOTIFICATION_ITEM_PKEY;
- }
-
- @Override
- public List> getReferences() {
- return Arrays.asList(Keys.NOTIFICATION_ITEM__NOTIFICATION_ITEM_NOTIFICATION_CODE_FKEY, Keys.NOTIFICATION_ITEM__NOTIFICATION_ITEM_RESTRICTION_DOCUMENT_ITEM_ID_FKEY, Keys.NOTIFICATION_ITEM__NOTIFICATION_ITEM_FOIV_CODE_FKEY);
- }
-
- private transient NotificationPath _notification;
-
- /**
- * Get the implicit join path to the public.notification table.
- */
- public NotificationPath notification() {
- if (_notification == null)
- _notification = new NotificationPath(this, Keys.NOTIFICATION_ITEM__NOTIFICATION_ITEM_NOTIFICATION_CODE_FKEY, null);
-
- return _notification;
- }
-
- private transient RestrictionDocumentItemPath _restrictionDocumentItem;
-
- /**
- * Get the implicit join path to the
- * public.restriction_document_item table.
- */
- public RestrictionDocumentItemPath restrictionDocumentItem() {
- if (_restrictionDocumentItem == null)
- _restrictionDocumentItem = new RestrictionDocumentItemPath(this, Keys.NOTIFICATION_ITEM__NOTIFICATION_ITEM_RESTRICTION_DOCUMENT_ITEM_ID_FKEY, null);
-
- return _restrictionDocumentItem;
- }
-
- private transient FoivPath _foiv;
-
- /**
- * Get the implicit join path to the public.foiv table.
- */
- public FoivPath foiv() {
- if (_foiv == null)
- _foiv = new FoivPath(this, Keys.NOTIFICATION_ITEM__NOTIFICATION_ITEM_FOIV_CODE_FKEY, null);
-
- return _foiv;
- }
-
- @Override
- public NotificationItem as(String alias) {
- return new NotificationItem(DSL.name(alias), this);
- }
-
- @Override
- public NotificationItem as(Name alias) {
- return new NotificationItem(alias, this);
- }
-
- @Override
- public NotificationItem as(Table> alias) {
- return new NotificationItem(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public NotificationItem rename(String name) {
- return new NotificationItem(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public NotificationItem rename(Name name) {
- return new NotificationItem(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public NotificationItem rename(Table> name) {
- return new NotificationItem(name.getQualifiedName(), null);
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public NotificationItem where(Condition condition) {
- return new NotificationItem(getQualifiedName(), aliased() ? this : null, null, condition);
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public NotificationItem where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public NotificationItem where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public NotificationItem where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public NotificationItem where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public NotificationItem where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public NotificationItem where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public NotificationItem where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public NotificationItem whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public NotificationItem whereNotExists(Select> select) {
- return where(DSL.notExists(select));
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Recruitment.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Recruitment.java
deleted file mode 100644
index a76385f..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Recruitment.java
+++ /dev/null
@@ -1,392 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.tables;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Keys;
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.RecruitmentRecord;
-
-import java.sql.Timestamp;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.List;
-import java.util.UUID;
-
-import org.jooq.Condition;
-import org.jooq.Field;
-import org.jooq.Name;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.SQL;
-import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Recruitment extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of public.recruitment
- */
- public static final Recruitment RECRUITMENT = new Recruitment();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return RecruitmentRecord.class;
- }
-
- /**
- * The column public.recruitment.id.
- */
- public final TableField ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
-
- /**
- * The column public.recruitment.idm_id.
- */
- public final TableField IDM_ID = createField(DSL.name("idm_id"), SQLDataType.VARCHAR(256), this, "");
-
- /**
- * The column public.recruitment.parent_id.
- */
- public final TableField PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.VARCHAR, this, "");
-
- /**
- * The column public.recruitment.version.
- */
- public final TableField VERSION = createField(DSL.name("version"), SQLDataType.INTEGER, this, "");
-
- /**
- * The column public.recruitment.created_at.
- */
- public final TableField CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
-
- /**
- * The column public.recruitment.updated_at.
- */
- public final TableField UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
-
- /**
- * The column public.recruitment.schema.
- */
- public final TableField SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(64).nullable(false), this, "");
-
- /**
- * The column public.recruitment.military_code.
- */
- public final TableField MILITARY_CODE = createField(DSL.name("military_code"), SQLDataType.VARCHAR(16), this, "");
-
- /**
- * The column public.recruitment.shortname.
- */
- public final TableField SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR.nullable(false), this, "");
-
- /**
- * The column public.recruitment.fullname.
- */
- public final TableField FULLNAME = createField(DSL.name("fullname"), SQLDataType.VARCHAR.nullable(false), this, "");
-
- /**
- * The column public.recruitment.dns.
- */
- public final TableField DNS = createField(DSL.name("dns"), SQLDataType.VARCHAR(64), this, "");
-
- /**
- * The column public.recruitment.email.
- */
- public final TableField EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(255), this, "");
-
- /**
- * The column public.recruitment.phone.
- */
- public final TableField PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(24), this, "");
-
- /**
- * The column public.recruitment.address.
- */
- public final TableField ADDRESS = createField(DSL.name("address"), SQLDataType.VARCHAR, this, "");
-
- /**
- * The column public.recruitment.address_id.
- */
- public final TableField ADDRESS_ID = createField(DSL.name("address_id"), SQLDataType.VARCHAR, this, "");
-
- /**
- * The column public.recruitment.postal_address.
- */
- public final TableField POSTAL_ADDRESS = createField(DSL.name("postal_address"), SQLDataType.VARCHAR, this, "");
-
- /**
- * The column public.recruitment.postal_address_id.
- */
- public final TableField POSTAL_ADDRESS_ID = createField(DSL.name("postal_address_id"), SQLDataType.VARCHAR, this, "");
-
- /**
- * The column public.recruitment.nsi_department_id.
- */
- public final TableField NSI_DEPARTMENT_ID = createField(DSL.name("nsi_department_id"), SQLDataType.VARCHAR, this, "");
-
- /**
- * The column public.recruitment.nsi_organization_id.
- */
- public final TableField NSI_ORGANIZATION_ID = createField(DSL.name("nsi_organization_id"), SQLDataType.VARCHAR, this, "");
-
- /**
- * The column public.recruitment.oktmo.
- */
- public final TableField OKTMO = createField(DSL.name("oktmo"), SQLDataType.VARCHAR, this, "");
-
- /**
- * The column public.recruitment.org_ogrn.
- */
- public final TableField ORG_OGRN = createField(DSL.name("org_ogrn"), SQLDataType.VARCHAR, this, "");
-
- /**
- * The column public.recruitment.dep_ogrn.
- */
- public final TableField DEP_OGRN = createField(DSL.name("dep_ogrn"), SQLDataType.VARCHAR, this, "");
-
- /**
- * The column public.recruitment.epgu_id.
- */
- public final TableField EPGU_ID = createField(DSL.name("epgu_id"), SQLDataType.VARCHAR, this, "");
-
- /**
- * The column public.recruitment.kpp.
- */
- public final TableField KPP = createField(DSL.name("kpp"), SQLDataType.VARCHAR(64), this, "");
-
- /**
- * The column public.recruitment.inn.
- */
- public final TableField INN = createField(DSL.name("inn"), SQLDataType.VARCHAR(64), this, "");
-
- /**
- * The column public.recruitment.okato.
- */
- public final TableField OKATO = createField(DSL.name("okato"), SQLDataType.VARCHAR(64), this, "");
-
- /**
- * The column public.recruitment.division_type.
- */
- public final TableField DIVISION_TYPE = createField(DSL.name("division_type"), SQLDataType.VARCHAR(64), this, "");
-
- /**
- * The column public.recruitment.tns_department_id.
- */
- public final TableField TNS_DEPARTMENT_ID = createField(DSL.name("tns_department_id"), SQLDataType.VARCHAR, this, "");
-
- /**
- * The column public.recruitment.enabled.
- */
- public final TableField ENABLED = createField(DSL.name("enabled"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "");
-
- /**
- * The column public.recruitment.timezone.
- */
- public final TableField TIMEZONE = createField(DSL.name("timezone"), SQLDataType.VARCHAR(64), this, "");
-
- /**
- * The column public.recruitment.reports_enabled.
- */
- public final TableField REPORTS_ENABLED = createField(DSL.name("reports_enabled"), SQLDataType.BOOLEAN, this, "");
-
- /**
- * The column public.recruitment.region_id.
- */
- public final TableField REGION_ID = createField(DSL.name("region_id"), SQLDataType.VARCHAR, this, "");
-
- /**
- * The column public.recruitment.series.
- */
- public final TableField SERIES = createField(DSL.name("series"), SQLDataType.VARCHAR(64), this, "");
-
- /**
- * The column public.recruitment.hidden.
- */
- public final TableField HIDDEN = createField(DSL.name("hidden"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
-
- private Recruitment(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
- }
-
- private Recruitment(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
- }
-
- /**
- * Create an aliased public.recruitment table reference
- */
- public Recruitment(String alias) {
- this(DSL.name(alias), RECRUITMENT);
- }
-
- /**
- * Create an aliased public.recruitment table reference
- */
- public Recruitment(Name alias) {
- this(alias, RECRUITMENT);
- }
-
- /**
- * Create a public.recruitment table reference
- */
- public Recruitment() {
- this(DSL.name("recruitment"), null);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Public.PUBLIC;
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.RECRUITMENT_PKEY;
- }
-
- @Override
- public List> getUniqueKeys() {
- return Arrays.asList(Keys.RECRUITMENT_IDM_ID_KEY);
- }
-
- @Override
- public Recruitment as(String alias) {
- return new Recruitment(DSL.name(alias), this);
- }
-
- @Override
- public Recruitment as(Name alias) {
- return new Recruitment(alias, this);
- }
-
- @Override
- public Recruitment as(Table> alias) {
- return new Recruitment(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Recruitment rename(String name) {
- return new Recruitment(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Recruitment rename(Name name) {
- return new Recruitment(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Recruitment rename(Table> name) {
- return new Recruitment(name.getQualifiedName(), null);
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Recruitment where(Condition condition) {
- return new Recruitment(getQualifiedName(), aliased() ? this : null, null, condition);
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Recruitment where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Recruitment where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Recruitment where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Recruitment where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Recruitment where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Recruitment where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Recruitment where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Recruitment whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Recruitment whereNotExists(Select> select) {
- return where(DSL.notExists(select));
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Recruits.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Recruits.java
deleted file mode 100644
index c90420c..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Recruits.java
+++ /dev/null
@@ -1,303 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.tables;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Domains;
-import ervu_secret.ervu_secret.db_beans.public_.Keys;
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.RecruitsRecord;
-
-import java.sql.Date;
-import java.sql.Timestamp;
-import java.util.Collection;
-import java.util.UUID;
-
-import org.jooq.Condition;
-import org.jooq.Field;
-import org.jooq.JSONB;
-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 Recruits extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of public.recruits
- */
- public static final Recruits RECRUITS = new Recruits();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return RecruitsRecord.class;
- }
-
- /**
- * The column public.recruits.id.
- */
- public final TableField ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false), this, "");
-
- /**
- * The column public.recruits.full_name.
- */
- public final TableField FULL_NAME = createField(DSL.name("full_name"), SQLDataType.VARCHAR(256).nullable(false), this, "");
-
- /**
- * The column public.recruits.last_name.
- */
- public final TableField LAST_NAME = createField(DSL.name("last_name"), SQLDataType.VARCHAR(64).nullable(false), this, "");
-
- /**
- * The column public.recruits.first_name.
- */
- public final TableField FIRST_NAME = createField(DSL.name("first_name"), SQLDataType.VARCHAR(64).nullable(false), this, "");
-
- /**
- * The column public.recruits.middle_name.
- */
- public final TableField MIDDLE_NAME = createField(DSL.name("middle_name"), SQLDataType.VARCHAR(64), this, "");
-
- /**
- * The column public.recruits.gender.
- */
- public final TableField GENDER = createField(DSL.name("gender"), Domains.GENDER_DOMAIN.getDataType().nullable(false), this, "");
-
- /**
- * The column public.recruits.birth_date.
- */
- public final TableField BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE.nullable(false), this, "");
-
- /**
- * The column public.recruits.snils.
- */
- public final TableField SNILS = createField(DSL.name("snils"), SQLDataType.VARCHAR(36), this, "");
-
- /**
- * The column public.recruits.inn.
- */
- public final TableField INN = createField(DSL.name("inn"), SQLDataType.VARCHAR(128), this, "");
-
- /**
- * The column public.recruits.system_pgs_status.
- */
- public final TableField SYSTEM_PGS_STATUS = createField(DSL.name("system_pgs_status"), SQLDataType.VARCHAR(10), this, "");
-
- /**
- * The column public.recruits.system_id_ern.
- */
- public final TableField SYSTEM_ID_ERN = createField(DSL.name("system_id_ern"), SQLDataType.VARCHAR(256), this, "");
-
- /**
- * The column public.recruits.current_recruitment_id.
- */
- public final TableField CURRENT_RECRUITMENT_ID = createField(DSL.name("current_recruitment_id"), SQLDataType.UUID, this, "");
-
- /**
- * The column public.recruits.target_recruitment_id.
- */
- public final TableField TARGET_RECRUITMENT_ID = createField(DSL.name("target_recruitment_id"), SQLDataType.UUID, this, "");
-
- /**
- * The column public.recruits.created_at.
- */
- public final TableField CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
-
- /**
- * The column public.recruits.updated_at.
- */
- public final TableField UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0), this, "");
-
- /**
- * The column public.recruits.system_doc_id.
- */
- public final TableField SYSTEM_DOC_ID = createField(DSL.name("system_doc_id"), SQLDataType.VARCHAR(256), this, "");
-
- /**
- * The column public.recruits.address.
- */
- public final TableField ADDRESS = createField(DSL.name("address"), SQLDataType.JSONB, this, "");
-
- private Recruits(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
- }
-
- private Recruits(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
- }
-
- /**
- * Create an aliased public.recruits table reference
- */
- public Recruits(String alias) {
- this(DSL.name(alias), RECRUITS);
- }
-
- /**
- * Create an aliased public.recruits table reference
- */
- public Recruits(Name alias) {
- this(alias, RECRUITS);
- }
-
- /**
- * Create a public.recruits table reference
- */
- public Recruits() {
- this(DSL.name("recruits"), null);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Public.PUBLIC;
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.RECRUITS_PKEY;
- }
-
- @Override
- public Recruits as(String alias) {
- return new Recruits(DSL.name(alias), this);
- }
-
- @Override
- public Recruits as(Name alias) {
- return new Recruits(alias, this);
- }
-
- @Override
- public Recruits as(Table> alias) {
- return new Recruits(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Recruits rename(String name) {
- return new Recruits(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Recruits rename(Name name) {
- return new Recruits(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Recruits rename(Table> name) {
- return new Recruits(name.getQualifiedName(), null);
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Recruits where(Condition condition) {
- return new Recruits(getQualifiedName(), aliased() ? this : null, null, condition);
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Recruits where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Recruits where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Recruits where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Recruits where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Recruits where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Recruits where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Recruits where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Recruits whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Recruits whereNotExists(Select> select) {
- return where(DSL.notExists(select));
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Region.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Region.java
deleted file mode 100644
index bb97275..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Region.java
+++ /dev/null
@@ -1,287 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.tables;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Keys;
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.RegionRecord;
-
-import java.sql.Timestamp;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.List;
-import java.util.UUID;
-
-import org.jooq.Condition;
-import org.jooq.Field;
-import org.jooq.Name;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.SQL;
-import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Region extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of public.region
- */
- public static final Region REGION = new Region();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return RegionRecord.class;
- }
-
- /**
- * The column public.region.id.
- */
- public final TableField ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
-
- /**
- * The column public.region.idm_id.
- */
- public final TableField IDM_ID = createField(DSL.name("idm_id"), SQLDataType.VARCHAR(256), this, "");
-
- /**
- * The column public.region.version.
- */
- public final TableField VERSION = createField(DSL.name("version"), SQLDataType.INTEGER, this, "");
-
- /**
- * The column public.region.created_at.
- */
- public final TableField CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
-
- /**
- * The column public.region.updated_at.
- */
- public final TableField UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
-
- /**
- * The column public.region.name.
- */
- public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR, this, "");
-
- /**
- * The column public.region.shortname.
- */
- public final TableField SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR.nullable(false), this, "");
-
- /**
- * The column public.region.fullname.
- */
- public final TableField FULLNAME = createField(DSL.name("fullname"), SQLDataType.VARCHAR.nullable(false), this, "");
-
- /**
- * The column public.region.timezone.
- */
- public final TableField TIMEZONE = createField(DSL.name("timezone"), SQLDataType.VARCHAR(128), this, "");
-
- /**
- * The column public.region.code.
- */
- public final TableField CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(4), this, "");
-
- /**
- * The column public.region.oktmo.
- */
- public final TableField OKTMO = createField(DSL.name("oktmo"), SQLDataType.VARCHAR(64), this, "");
-
- /**
- * The column public.region.enabled.
- */
- public final TableField ENABLED = createField(DSL.name("enabled"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "");
-
- /**
- * The column public.region.hidden.
- */
- public final TableField HIDDEN = createField(DSL.name("hidden"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
-
- private Region(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
- }
-
- private Region(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
- }
-
- /**
- * Create an aliased public.region table reference
- */
- public Region(String alias) {
- this(DSL.name(alias), REGION);
- }
-
- /**
- * Create an aliased public.region table reference
- */
- public Region(Name alias) {
- this(alias, REGION);
- }
-
- /**
- * Create a public.region table reference
- */
- public Region() {
- this(DSL.name("region"), null);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Public.PUBLIC;
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.REGION_PKEY;
- }
-
- @Override
- public List> getUniqueKeys() {
- return Arrays.asList(Keys.REGION_IDM_ID_KEY);
- }
-
- @Override
- public Region as(String alias) {
- return new Region(DSL.name(alias), this);
- }
-
- @Override
- public Region as(Name alias) {
- return new Region(alias, this);
- }
-
- @Override
- public Region as(Table> alias) {
- return new Region(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Region rename(String name) {
- return new Region(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Region rename(Name name) {
- return new Region(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public Region rename(Table> name) {
- return new Region(name.getQualifiedName(), null);
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Region where(Condition condition) {
- return new Region(getQualifiedName(), aliased() ? this : null, null, condition);
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Region where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Region where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Region where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Region where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Region where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Region where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public Region where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Region whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public Region whereNotExists(Select> select) {
- return where(DSL.notExists(select));
- }
-}
diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Restriction.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Restriction.java
deleted file mode 100644
index 806ab79..0000000
--- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Restriction.java
+++ /dev/null
@@ -1,285 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package ervu_secret.ervu_secret.db_beans.public_.tables;
-
-
-import ervu_secret.ervu_secret.db_beans.public_.Keys;
-import ervu_secret.ervu_secret.db_beans.public_.Public;
-import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentItem.RestrictionDocumentItemPath;
-import ervu_secret.ervu_secret.db_beans.public_.tables.records.RestrictionRecord;
-
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.List;
-import java.util.UUID;
-
-import org.jooq.Condition;
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.InverseForeignKey;
-import org.jooq.Name;
-import org.jooq.Path;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.Record;
-import org.jooq.SQL;
-import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Restriction extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of public.restriction
- */
- public static final Restriction RESTRICTION = new Restriction();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return RestrictionRecord.class;
- }
-
- /**
- * The column public.restriction.id.
- */
- public final TableField ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
-
- /**
- * The column