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 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 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 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 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 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 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 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 public.restriction.code. - */ - public final TableField CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(10), this, ""); - - /** - * The column public.restriction.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, ""); - - private Restriction(Name alias, Table aliased) { - this(alias, aliased, (Field[]) null, null); - } - - private Restriction(Name alias, Table aliased, Field[] parameters, Condition where) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); - } - - /** - * Create an aliased public.restriction table reference - */ - public Restriction(String alias) { - this(DSL.name(alias), RESTRICTION); - } - - /** - * Create an aliased public.restriction table reference - */ - public Restriction(Name alias) { - this(alias, RESTRICTION); - } - - /** - * Create a public.restriction table reference - */ - public Restriction() { - this(DSL.name("restriction"), null); - } - - public Restriction(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, RESTRICTION); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class RestrictionPath extends Restriction implements Path { - public RestrictionPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private RestrictionPath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public RestrictionPath as(String alias) { - return new RestrictionPath(DSL.name(alias), this); - } - - @Override - public RestrictionPath as(Name alias) { - return new RestrictionPath(alias, this); - } - - @Override - public RestrictionPath as(Table alias) { - return new RestrictionPath(alias.getQualifiedName(), this); - } - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.RESTRICTION_PKEY; - } - - @Override - public List> getUniqueKeys() { - return Arrays.asList(Keys.IDX_RESTRICTION_CODE); - } - - 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__FK_RESCTRICIONS.getInverseKey()); - - return _restrictionDocumentItem; - } - - @Override - public Restriction as(String alias) { - return new Restriction(DSL.name(alias), this); - } - - @Override - public Restriction as(Name alias) { - return new Restriction(alias, this); - } - - @Override - public Restriction as(Table alias) { - return new Restriction(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public Restriction rename(String name) { - return new Restriction(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public Restriction rename(Name name) { - return new Restriction(name, null); - } - - /** - * Rename this table - */ - @Override - public Restriction rename(Table name) { - return new Restriction(name.getQualifiedName(), null); - } - - /** - * Create an inline derived table from this table - */ - @Override - public Restriction where(Condition condition) { - return new Restriction(getQualifiedName(), aliased() ? this : null, null, condition); - } - - /** - * Create an inline derived table from this table - */ - @Override - public Restriction where(Collection conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public Restriction where(Condition... conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public Restriction where(Field condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public Restriction where(SQL condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public Restriction where(@Stringly.SQL String condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public Restriction where(@Stringly.SQL String condition, Object... binds) { - return where(DSL.condition(condition, binds)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public Restriction where(@Stringly.SQL String condition, QueryPart... parts) { - return where(DSL.condition(condition, parts)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public Restriction whereExists(Select select) { - return where(DSL.exists(select)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public Restriction whereNotExists(Select select) { - return where(DSL.notExists(select)); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/RestrictionDocument.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/RestrictionDocument.java deleted file mode 100644 index 10981c9..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/RestrictionDocument.java +++ /dev/null @@ -1,374 +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.Subpoena.SubpoenaPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.records.RestrictionDocumentRecord; - -import java.sql.Date; -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 RestrictionDocument extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.restriction_document - */ - public static final RestrictionDocument RESTRICTION_DOCUMENT = new RestrictionDocument(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return RestrictionDocumentRecord.class; - } - - /** - * The column public.restriction_document.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.restriction_document.subpoena_id. - */ - public final TableField SUBPOENA_ID = createField(DSL.name("subpoena_id"), SQLDataType.UUID.nullable(false), this, ""); - - /** - * The column public.restriction_document.created_at. - */ - public final TableField CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false), this, ""); - - /** - * The column public.restriction_document.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.restriction_document.vk_id. - */ - public final TableField VK_ID = createField(DSL.name("vk_id"), SQLDataType.UUID, this, ""); - - /** - * The column public.restriction_document.user_id. - */ - public final TableField USER_ID = createField(DSL.name("user_id"), SQLDataType.UUID, this, ""); - - /** - * The column public.restriction_document.user_name. - */ - public final TableField USER_NAME = createField(DSL.name("user_name"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.restriction_document.status. - */ - public final TableField STATUS = createField(DSL.name("status"), SQLDataType.VARCHAR(100), this, ""); - - /** - * The column public.restriction_document.decision_number. - */ - public final TableField DECISION_NUMBER = createField(DSL.name("decision_number"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.restriction_document.decision_date. - */ - public final TableField DECISION_DATE = createField(DSL.name("decision_date"), SQLDataType.DATE, this, ""); - - /** - * The column public.restriction_document.decision_reason. - */ - public final TableField DECISION_REASON = createField(DSL.name("decision_reason"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.restriction_document.extra_info. - */ - public final TableField EXTRA_INFO = createField(DSL.name("extra_info"), SQLDataType.JSONB, this, ""); - - /** - * The column public.restriction_document.type. - */ - public final TableField TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.restriction_document.recruitment_name. - */ - public final TableField RECRUITMENT_NAME = createField(DSL.name("recruitment_name"), SQLDataType.VARCHAR(255), this, ""); - - private RestrictionDocument(Name alias, Table aliased) { - this(alias, aliased, (Field[]) null, null); - } - - private RestrictionDocument(Name alias, Table aliased, Field[] parameters, Condition where) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); - } - - /** - * Create an aliased public.restriction_document table - * reference - */ - public RestrictionDocument(String alias) { - this(DSL.name(alias), RESTRICTION_DOCUMENT); - } - - /** - * Create an aliased public.restriction_document table - * reference - */ - public RestrictionDocument(Name alias) { - this(alias, RESTRICTION_DOCUMENT); - } - - /** - * Create a public.restriction_document table reference - */ - public RestrictionDocument() { - this(DSL.name("restriction_document"), null); - } - - public RestrictionDocument(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, RESTRICTION_DOCUMENT); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class RestrictionDocumentPath extends RestrictionDocument implements Path { - public RestrictionDocumentPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private RestrictionDocumentPath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public RestrictionDocumentPath as(String alias) { - return new RestrictionDocumentPath(DSL.name(alias), this); - } - - @Override - public RestrictionDocumentPath as(Name alias) { - return new RestrictionDocumentPath(alias, this); - } - - @Override - public RestrictionDocumentPath as(Table alias) { - return new RestrictionDocumentPath(alias.getQualifiedName(), this); - } - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.RESTRICTION_DOCUMENT_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.RESTRICTION_DOCUMENT__FK_SUBPOENA); - } - - private transient SubpoenaPath _subpoena; - - /** - * Get the implicit join path to the public.subpoena table. - */ - public SubpoenaPath subpoena() { - if (_subpoena == null) - _subpoena = new SubpoenaPath(this, Keys.RESTRICTION_DOCUMENT__FK_SUBPOENA, null); - - return _subpoena; - } - - private transient RestrictionDocumentItemPath _fkRestrictionDocument; - - /** - * Get the implicit to-many join path to the - * public.restriction_document_item table, via the - * fk_restriction_document key - */ - public RestrictionDocumentItemPath fkRestrictionDocument() { - if (_fkRestrictionDocument == null) - _fkRestrictionDocument = new RestrictionDocumentItemPath(this, null, Keys.RESTRICTION_DOCUMENT_ITEM__FK_RESTRICTION_DOCUMENT.getInverseKey()); - - return _fkRestrictionDocument; - } - - private transient RestrictionDocumentItemPath _restrictionDocumentItemRestrictionDocumentCancelIdFkey; - - /** - * Get the implicit to-many join path to the - * public.restriction_document_item table, via the - * restriction_document_item_restriction_document_cancel_id_fkey - * key - */ - public RestrictionDocumentItemPath restrictionDocumentItemRestrictionDocumentCancelIdFkey() { - if (_restrictionDocumentItemRestrictionDocumentCancelIdFkey == null) - _restrictionDocumentItemRestrictionDocumentCancelIdFkey = new RestrictionDocumentItemPath(this, null, Keys.RESTRICTION_DOCUMENT_ITEM__RESTRICTION_DOCUMENT_ITEM_RESTRICTION_DOCUMENT_CANCEL_ID_FKEY.getInverseKey()); - - return _restrictionDocumentItemRestrictionDocumentCancelIdFkey; - } - - @Override - public RestrictionDocument as(String alias) { - return new RestrictionDocument(DSL.name(alias), this); - } - - @Override - public RestrictionDocument as(Name alias) { - return new RestrictionDocument(alias, this); - } - - @Override - public RestrictionDocument as(Table alias) { - return new RestrictionDocument(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public RestrictionDocument rename(String name) { - return new RestrictionDocument(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public RestrictionDocument rename(Name name) { - return new RestrictionDocument(name, null); - } - - /** - * Rename this table - */ - @Override - public RestrictionDocument rename(Table name) { - return new RestrictionDocument(name.getQualifiedName(), null); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocument where(Condition condition) { - return new RestrictionDocument(getQualifiedName(), aliased() ? this : null, null, condition); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocument where(Collection conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocument where(Condition... conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocument where(Field condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocument where(SQL condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocument where(@Stringly.SQL String condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocument where(@Stringly.SQL String condition, Object... binds) { - return where(DSL.condition(condition, binds)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocument where(@Stringly.SQL String condition, QueryPart... parts) { - return where(DSL.condition(condition, parts)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocument whereExists(Select select) { - return where(DSL.exists(select)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocument whereNotExists(Select select) { - return where(DSL.notExists(select)); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/RestrictionDocumentItem.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/RestrictionDocumentItem.java deleted file mode 100644 index 5e98a89..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/RestrictionDocumentItem.java +++ /dev/null @@ -1,409 +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.NotificationItem.NotificationItemPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.Restriction.RestrictionPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocument.RestrictionDocumentPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.records.RestrictionDocumentItemRecord; - -import java.sql.Date; -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 RestrictionDocumentItem extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.restriction_document_item - */ - public static final RestrictionDocumentItem RESTRICTION_DOCUMENT_ITEM = new RestrictionDocumentItem(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return RestrictionDocumentItemRecord.class; - } - - /** - * The column public.restriction_document_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.restriction_document_item.restriction_document_create_id. - */ - public final TableField RESTRICTION_DOCUMENT_CREATE_ID = createField(DSL.name("restriction_document_create_id"), SQLDataType.UUID.nullable(false), this, ""); - - /** - * The column public.restriction_document_item.created_at. - */ - public final TableField CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false), this, ""); - - /** - * The column public.restriction_document_item.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.restriction_document_item.restriction_id. - */ - public final TableField RESTRICTION_ID = createField(DSL.name("restriction_id"), SQLDataType.UUID.nullable(false), this, ""); - - /** - * The column public.restriction_document_item.status_applied. - */ - public final TableField STATUS_APPLIED = createField(DSL.name("status_applied"), SQLDataType.VARCHAR(100), this, ""); - - /** - * The column public.restriction_document_item.status_text. - */ - public final TableField STATUS_TEXT = createField(DSL.name("status_text"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.restriction_document_item.applied_date. - */ - public final TableField APPLIED_DATE = createField(DSL.name("applied_date"), SQLDataType.DATE, this, ""); - - /** - * The column public.restriction_document_item.cancel_date. - */ - public final TableField CANCEL_DATE = createField(DSL.name("cancel_date"), SQLDataType.DATE, this, ""); - - /** - * The column public.restriction_document_item.extra_info. - */ - public final TableField EXTRA_INFO = createField(DSL.name("extra_info"), SQLDataType.JSONB, this, ""); - - /** - * The column public.restriction_document_item.applied_fact. - */ - public final TableField APPLIED_FACT = createField(DSL.name("applied_fact"), SQLDataType.BOOLEAN, this, ""); - - /** - * The column - * public.restriction_document_item.restriction_document_cancel_id. - */ - public final TableField RESTRICTION_DOCUMENT_CANCEL_ID = createField(DSL.name("restriction_document_cancel_id"), SQLDataType.UUID, this, ""); - - /** - * The column public.restriction_document_item.status_canceled. - */ - public final TableField STATUS_CANCELED = createField(DSL.name("status_canceled"), SQLDataType.VARCHAR(100), this, ""); - - /** - * The column public.restriction_document_item.foiv_code. - */ - public final TableField FOIV_CODE = createField(DSL.name("foiv_code"), SQLDataType.BIGINT, this, ""); - - /** - * The column - * public.restriction_document_item.human_readable_id. - */ - public final TableField HUMAN_READABLE_ID = createField(DSL.name("human_readable_id"), SQLDataType.VARCHAR(255), this, ""); - - private RestrictionDocumentItem(Name alias, Table aliased) { - this(alias, aliased, (Field[]) null, null); - } - - private RestrictionDocumentItem(Name alias, Table aliased, Field[] parameters, Condition where) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); - } - - /** - * Create an aliased public.restriction_document_item table - * reference - */ - public RestrictionDocumentItem(String alias) { - this(DSL.name(alias), RESTRICTION_DOCUMENT_ITEM); - } - - /** - * Create an aliased public.restriction_document_item table - * reference - */ - public RestrictionDocumentItem(Name alias) { - this(alias, RESTRICTION_DOCUMENT_ITEM); - } - - /** - * Create a public.restriction_document_item table reference - */ - public RestrictionDocumentItem() { - this(DSL.name("restriction_document_item"), null); - } - - public RestrictionDocumentItem(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, RESTRICTION_DOCUMENT_ITEM); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class RestrictionDocumentItemPath extends RestrictionDocumentItem implements Path { - public RestrictionDocumentItemPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private RestrictionDocumentItemPath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public RestrictionDocumentItemPath as(String alias) { - return new RestrictionDocumentItemPath(DSL.name(alias), this); - } - - @Override - public RestrictionDocumentItemPath as(Name alias) { - return new RestrictionDocumentItemPath(alias, this); - } - - @Override - public RestrictionDocumentItemPath as(Table alias) { - return new RestrictionDocumentItemPath(alias.getQualifiedName(), this); - } - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.RESTRICTION_DOCUMENT_ITEM_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.RESTRICTION_DOCUMENT_ITEM__FK_RESTRICTION_DOCUMENT, Keys.RESTRICTION_DOCUMENT_ITEM__FK_RESCTRICIONS, Keys.RESTRICTION_DOCUMENT_ITEM__RESTRICTION_DOCUMENT_ITEM_RESTRICTION_DOCUMENT_CANCEL_ID_FKEY, Keys.RESTRICTION_DOCUMENT_ITEM__RESTRICTION_DOCUMENT_ITEM_FOIV_CODE_FKEY); - } - - private transient RestrictionDocumentPath _fkRestrictionDocument; - - /** - * Get the implicit join path to the - * public.restriction_document table, via the - * fk_restriction_document key. - */ - public RestrictionDocumentPath fkRestrictionDocument() { - if (_fkRestrictionDocument == null) - _fkRestrictionDocument = new RestrictionDocumentPath(this, Keys.RESTRICTION_DOCUMENT_ITEM__FK_RESTRICTION_DOCUMENT, null); - - return _fkRestrictionDocument; - } - - private transient RestrictionPath _restriction; - - /** - * Get the implicit join path to the public.restriction table. - */ - public RestrictionPath restriction() { - if (_restriction == null) - _restriction = new RestrictionPath(this, Keys.RESTRICTION_DOCUMENT_ITEM__FK_RESCTRICIONS, null); - - return _restriction; - } - - private transient RestrictionDocumentPath _restrictionDocumentItemRestrictionDocumentCancelIdFkey; - - /** - * Get the implicit join path to the - * public.restriction_document table, via the - * restriction_document_item_restriction_document_cancel_id_fkey - * key. - */ - public RestrictionDocumentPath restrictionDocumentItemRestrictionDocumentCancelIdFkey() { - if (_restrictionDocumentItemRestrictionDocumentCancelIdFkey == null) - _restrictionDocumentItemRestrictionDocumentCancelIdFkey = new RestrictionDocumentPath(this, Keys.RESTRICTION_DOCUMENT_ITEM__RESTRICTION_DOCUMENT_ITEM_RESTRICTION_DOCUMENT_CANCEL_ID_FKEY, null); - - return _restrictionDocumentItemRestrictionDocumentCancelIdFkey; - } - - 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.RESTRICTION_DOCUMENT_ITEM__RESTRICTION_DOCUMENT_ITEM_FOIV_CODE_FKEY, null); - - return _foiv; - } - - 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_RESTRICTION_DOCUMENT_ITEM_ID_FKEY.getInverseKey()); - - return _notificationItem; - } - - @Override - public RestrictionDocumentItem as(String alias) { - return new RestrictionDocumentItem(DSL.name(alias), this); - } - - @Override - public RestrictionDocumentItem as(Name alias) { - return new RestrictionDocumentItem(alias, this); - } - - @Override - public RestrictionDocumentItem as(Table alias) { - return new RestrictionDocumentItem(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public RestrictionDocumentItem rename(String name) { - return new RestrictionDocumentItem(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public RestrictionDocumentItem rename(Name name) { - return new RestrictionDocumentItem(name, null); - } - - /** - * Rename this table - */ - @Override - public RestrictionDocumentItem rename(Table name) { - return new RestrictionDocumentItem(name.getQualifiedName(), null); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentItem where(Condition condition) { - return new RestrictionDocumentItem(getQualifiedName(), aliased() ? this : null, null, condition); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentItem where(Collection conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentItem where(Condition... conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentItem where(Field condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocumentItem where(SQL condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocumentItem where(@Stringly.SQL String condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocumentItem where(@Stringly.SQL String condition, Object... binds) { - return where(DSL.condition(condition, binds)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocumentItem where(@Stringly.SQL String condition, QueryPart... parts) { - return where(DSL.condition(condition, parts)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentItem whereExists(Select select) { - return where(DSL.exists(select)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentItem whereNotExists(Select select) { - return where(DSL.notExists(select)); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/RestrictionDocumentItemHistory.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/RestrictionDocumentItemHistory.java deleted file mode 100644 index 01b8207..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/RestrictionDocumentItemHistory.java +++ /dev/null @@ -1,322 +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.RestrictionDocumentItemHistoryRecord; - -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 RestrictionDocumentItemHistory extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of - * public.restriction_document_item_history - */ - public static final RestrictionDocumentItemHistory RESTRICTION_DOCUMENT_ITEM_HISTORY = new RestrictionDocumentItemHistory(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return RestrictionDocumentItemHistoryRecord.class; - } - - /** - * The column public.restriction_document_item_history.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.restriction_document_item_history.restriction_document_item_id. - */ - public final TableField RESTRICTION_DOCUMENT_ITEM_ID = createField(DSL.name("restriction_document_item_id"), SQLDataType.UUID.nullable(false), this, ""); - - /** - * The column - * public.restriction_document_item_history.date_time. - */ - public final TableField DATE_TIME = createField(DSL.name("date_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, ""); - - /** - * The column public.restriction_document_item_history.status. - */ - public final TableField STATUS = createField(DSL.name("status"), SQLDataType.VARCHAR(36).nullable(false), this, ""); - - /** - * The column - * public.restriction_document_item_history.foiv_code. - */ - public final TableField FOIV_CODE = createField(DSL.name("foiv_code"), SQLDataType.BIGINT.nullable(false), this, ""); - - /** - * The column - * public.restriction_document_item_history.recruit_id. - */ - public final TableField RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, ""); - - /** - * The column - * public.restriction_document_item_history.recruit_fio. - */ - public final TableField RECRUIT_FIO = createField(DSL.name("recruit_fio"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.restriction_document_item_history.id_ern. - */ - public final TableField ID_ERN = createField(DSL.name("id_ern"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.restriction_document_item_history.vk_id. - */ - public final TableField VK_ID = createField(DSL.name("vk_id"), SQLDataType.UUID.nullable(false), this, ""); - - /** - * The column public.restriction_document_item_history.vk_name. - */ - public final TableField VK_NAME = createField(DSL.name("vk_name"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.restriction_document_item_history.user_id. - */ - public final TableField USER_ID = createField(DSL.name("user_id"), SQLDataType.UUID, this, ""); - - /** - * The column - * public.restriction_document_item_history.user_name. - */ - public final TableField USER_NAME = createField(DSL.name("user_name"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column - * public.restriction_document_item_history.decision_number. - */ - public final TableField DECISION_NUMBER = createField(DSL.name("decision_number"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column - * public.restriction_document_item_history.decision_date. - */ - public final TableField DECISION_DATE = createField(DSL.name("decision_date"), SQLDataType.TIMESTAMP(0).nullable(false), this, ""); - - /** - * The column - * public.restriction_document_item_history.extra_info. - */ - public final TableField EXTRA_INFO = createField(DSL.name("extra_info"), SQLDataType.JSONB, this, ""); - - /** - * The column - * public.restriction_document_item_history.status_applied. - */ - public final TableField STATUS_APPLIED = createField(DSL.name("status_applied"), SQLDataType.VARCHAR(36), this, ""); - - /** - * The column - * public.restriction_document_item_history.status_canceled. - */ - public final TableField STATUS_CANCELED = createField(DSL.name("status_canceled"), SQLDataType.VARCHAR(36), this, ""); - - /** - * The column - * public.restriction_document_item_history.status_type. - */ - public final TableField STATUS_TYPE = createField(DSL.name("status_type"), SQLDataType.VARCHAR(36), this, ""); - - private RestrictionDocumentItemHistory(Name alias, Table aliased) { - this(alias, aliased, (Field[]) null, null); - } - - private RestrictionDocumentItemHistory(Name alias, Table aliased, Field[] parameters, Condition where) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); - } - - /** - * Create an aliased public.restriction_document_item_history - * table reference - */ - public RestrictionDocumentItemHistory(String alias) { - this(DSL.name(alias), RESTRICTION_DOCUMENT_ITEM_HISTORY); - } - - /** - * Create an aliased public.restriction_document_item_history - * table reference - */ - public RestrictionDocumentItemHistory(Name alias) { - this(alias, RESTRICTION_DOCUMENT_ITEM_HISTORY); - } - - /** - * Create a public.restriction_document_item_history table - * reference - */ - public RestrictionDocumentItemHistory() { - this(DSL.name("restriction_document_item_history"), null); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.RESTRICTION_DOCUMENT_ITEM_HISTORY_PKEY; - } - - @Override - public RestrictionDocumentItemHistory as(String alias) { - return new RestrictionDocumentItemHistory(DSL.name(alias), this); - } - - @Override - public RestrictionDocumentItemHistory as(Name alias) { - return new RestrictionDocumentItemHistory(alias, this); - } - - @Override - public RestrictionDocumentItemHistory as(Table alias) { - return new RestrictionDocumentItemHistory(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public RestrictionDocumentItemHistory rename(String name) { - return new RestrictionDocumentItemHistory(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public RestrictionDocumentItemHistory rename(Name name) { - return new RestrictionDocumentItemHistory(name, null); - } - - /** - * Rename this table - */ - @Override - public RestrictionDocumentItemHistory rename(Table name) { - return new RestrictionDocumentItemHistory(name.getQualifiedName(), null); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentItemHistory where(Condition condition) { - return new RestrictionDocumentItemHistory(getQualifiedName(), aliased() ? this : null, null, condition); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentItemHistory where(Collection conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentItemHistory where(Condition... conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentItemHistory where(Field condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocumentItemHistory where(SQL condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocumentItemHistory where(@Stringly.SQL String condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocumentItemHistory where(@Stringly.SQL String condition, Object... binds) { - return where(DSL.condition(condition, binds)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocumentItemHistory where(@Stringly.SQL String condition, QueryPart... parts) { - return where(DSL.condition(condition, parts)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentItemHistory whereExists(Select select) { - return where(DSL.exists(select)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentItemHistory whereNotExists(Select select) { - return where(DSL.notExists(select)); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/RestrictionDocumentStatus.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/RestrictionDocumentStatus.java deleted file mode 100644 index 1cc5f1f..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/RestrictionDocumentStatus.java +++ /dev/null @@ -1,231 +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.RestrictionDocumentStatusRecord; - -import java.util.Collection; -import java.util.UUID; - -import org.jooq.Condition; -import org.jooq.Field; -import org.jooq.Name; -import org.jooq.PlainSQL; -import org.jooq.QueryPart; -import org.jooq.SQL; -import org.jooq.Schema; -import org.jooq.Select; -import org.jooq.Stringly; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class RestrictionDocumentStatus extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.restriction_document_status - */ - public static final RestrictionDocumentStatus RESTRICTION_DOCUMENT_STATUS = new RestrictionDocumentStatus(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return RestrictionDocumentStatusRecord.class; - } - - /** - * The column public.restriction_document_status.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.restriction_document_status.code. - */ - public final TableField CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.restriction_document_status.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, ""); - - private RestrictionDocumentStatus(Name alias, Table aliased) { - this(alias, aliased, (Field[]) null, null); - } - - private RestrictionDocumentStatus(Name alias, Table aliased, Field[] parameters, Condition where) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); - } - - /** - * Create an aliased public.restriction_document_status table - * reference - */ - public RestrictionDocumentStatus(String alias) { - this(DSL.name(alias), RESTRICTION_DOCUMENT_STATUS); - } - - /** - * Create an aliased public.restriction_document_status table - * reference - */ - public RestrictionDocumentStatus(Name alias) { - this(alias, RESTRICTION_DOCUMENT_STATUS); - } - - /** - * Create a public.restriction_document_status table reference - */ - public RestrictionDocumentStatus() { - this(DSL.name("restriction_document_status"), null); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.RESTRICTION_DOCUMENT_STATUS_PKEY; - } - - @Override - public RestrictionDocumentStatus as(String alias) { - return new RestrictionDocumentStatus(DSL.name(alias), this); - } - - @Override - public RestrictionDocumentStatus as(Name alias) { - return new RestrictionDocumentStatus(alias, this); - } - - @Override - public RestrictionDocumentStatus as(Table alias) { - return new RestrictionDocumentStatus(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public RestrictionDocumentStatus rename(String name) { - return new RestrictionDocumentStatus(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public RestrictionDocumentStatus rename(Name name) { - return new RestrictionDocumentStatus(name, null); - } - - /** - * Rename this table - */ - @Override - public RestrictionDocumentStatus rename(Table name) { - return new RestrictionDocumentStatus(name.getQualifiedName(), null); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentStatus where(Condition condition) { - return new RestrictionDocumentStatus(getQualifiedName(), aliased() ? this : null, null, condition); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentStatus where(Collection conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentStatus where(Condition... conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentStatus where(Field condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocumentStatus where(SQL condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocumentStatus where(@Stringly.SQL String condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocumentStatus where(@Stringly.SQL String condition, Object... binds) { - return where(DSL.condition(condition, binds)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public RestrictionDocumentStatus where(@Stringly.SQL String condition, QueryPart... parts) { - return where(DSL.condition(condition, parts)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentStatus whereExists(Select select) { - return where(DSL.exists(select)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public RestrictionDocumentStatus whereNotExists(Select select) { - return where(DSL.notExists(select)); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SendDictionary.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SendDictionary.java deleted file mode 100644 index 9146169..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SendDictionary.java +++ /dev/null @@ -1,251 +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.SendDictionaryRecord; - -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 SendDictionary extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.send_dictionary - */ - public static final SendDictionary SEND_DICTIONARY = new SendDictionary(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SendDictionaryRecord.class; - } - - /** - * The column public.send_dictionary.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.send_dictionary.code. - */ - public final TableField CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.send_dictionary.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.send_dictionary.type. - */ - public final TableField TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR(10), this, ""); - - /** - * The column public.send_dictionary.hidden. - */ - public final TableField HIDDEN = createField(DSL.name("hidden"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, ""); - - /** - * The column public.send_dictionary.to_front. - */ - public final TableField TO_FRONT = createField(DSL.name("to_front"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, ""); - - private SendDictionary(Name alias, Table aliased) { - this(alias, aliased, (Field[]) null, null); - } - - private SendDictionary(Name alias, Table aliased, Field[] parameters, Condition where) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); - } - - /** - * Create an aliased public.send_dictionary table reference - */ - public SendDictionary(String alias) { - this(DSL.name(alias), SEND_DICTIONARY); - } - - /** - * Create an aliased public.send_dictionary table reference - */ - public SendDictionary(Name alias) { - this(alias, SEND_DICTIONARY); - } - - /** - * Create a public.send_dictionary table reference - */ - public SendDictionary() { - this(DSL.name("send_dictionary"), null); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.DELIVERY_DIRECTION_PKEY; - } - - @Override - public List> getUniqueKeys() { - return Arrays.asList(Keys.IDX_DELIVERY_DIRECTION_CODE); - } - - @Override - public SendDictionary as(String alias) { - return new SendDictionary(DSL.name(alias), this); - } - - @Override - public SendDictionary as(Name alias) { - return new SendDictionary(alias, this); - } - - @Override - public SendDictionary as(Table alias) { - return new SendDictionary(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SendDictionary rename(String name) { - return new SendDictionary(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SendDictionary rename(Name name) { - return new SendDictionary(name, null); - } - - /** - * Rename this table - */ - @Override - public SendDictionary rename(Table name) { - return new SendDictionary(name.getQualifiedName(), null); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SendDictionary where(Condition condition) { - return new SendDictionary(getQualifiedName(), aliased() ? this : null, null, condition); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SendDictionary where(Collection conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SendDictionary where(Condition... conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SendDictionary where(Field condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SendDictionary where(SQL condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SendDictionary where(@Stringly.SQL String condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SendDictionary where(@Stringly.SQL String condition, Object... binds) { - return where(DSL.condition(condition, binds)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SendDictionary where(@Stringly.SQL String condition, QueryPart... parts) { - return where(DSL.condition(condition, parts)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SendDictionary whereExists(Select select) { - return where(DSL.exists(select)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SendDictionary whereNotExists(Select select) { - return where(DSL.notExists(select)); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Subpoena.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Subpoena.java deleted file mode 100644 index f4c910a..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/Subpoena.java +++ /dev/null @@ -1,593 +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.RestrictionDocument.RestrictionDocumentPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaAppearance.SubpoenaAppearancePath; -import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaHistory.SubpoenaHistoryPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaReason.SubpoenaReasonPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaSendInfo.SubpoenaSendInfoPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaStatus.SubpoenaStatusPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.records.SubpoenaRecord; - -import java.sql.Date; -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 Subpoena extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.subpoena - */ - public static final Subpoena SUBPOENA = new Subpoena(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SubpoenaRecord.class; - } - - /** - * The column public.subpoena.series. - */ - public final TableField SERIES = createField(DSL.name("series"), SQLDataType.VARCHAR(16), this, ""); - - /** - * The column public.subpoena.number. - */ - public final TableField NUMBER = createField(DSL.name("number"), SQLDataType.VARCHAR(36).nullable(false), this, ""); - - /** - * The column public.subpoena.id_ern. - */ - public final TableField ID_ERN = createField(DSL.name("id_ern"), SQLDataType.VARCHAR(36), this, ""); - - /** - * The column public.subpoena.create_date. - */ - public final TableField CREATE_DATE = createField(DSL.name("create_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, ""); - - /** - * The column public.subpoena.visit_date. - */ - public final TableField VISIT_DATE = createField(DSL.name("visit_date"), SQLDataType.TIMESTAMP(0), this, ""); - - /** - * The column public.subpoena.send_date. - */ - public final TableField SEND_DATE = createField(DSL.name("send_date"), SQLDataType.TIMESTAMP(0), this, ""); - - /** - * The column public.subpoena.reason_cancelled. - */ - public final TableField REASON_CANCELLED = createField(DSL.name("reason_cancelled"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.subpoena.full_name_responsible_user. - */ - public final TableField FULL_NAME_RESPONSIBLE_USER = createField(DSL.name("full_name_responsible_user"), SQLDataType.VARCHAR(512), this, ""); - - /** - * The column public.subpoena.post_responsible_user. - */ - public final TableField POST_RESPONSIBLE_USER = createField(DSL.name("post_responsible_user"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.subpoena.sig_info. - */ - public final TableField SIG_INFO = createField(DSL.name("sig_info"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena.recruitment_code. - */ - public final TableField RECRUITMENT_CODE = createField(DSL.name("recruitment_code"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena.recruitment_address. - */ - public final TableField RECRUITMENT_ADDRESS = createField(DSL.name("recruitment_address"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena.last_name. - */ - public final TableField LAST_NAME = createField(DSL.name("last_name"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena.first_name. - */ - public final TableField FIRST_NAME = createField(DSL.name("first_name"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena.middle_name. - */ - public final TableField MIDDLE_NAME = createField(DSL.name("middle_name"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.subpoena.date_birth. - */ - public final TableField DATE_BIRTH = createField(DSL.name("date_birth"), SQLDataType.DATE, this, ""); - - /** - * The column public.subpoena.snils. - */ - public final TableField SNILS = createField(DSL.name("snils"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena.address_live. - */ - public final TableField ADDRESS_LIVE = createField(DSL.name("address_live"), SQLDataType.VARCHAR, this, ""); - - /** - * The column public.subpoena.address_current_reg. - */ - public final TableField ADDRESS_CURRENT_REG = createField(DSL.name("address_current_reg"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.subpoena.address_current. - */ - public final TableField ADDRESS_CURRENT = createField(DSL.name("address_current"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.subpoena.type_dul. - */ - public final TableField TYPE_DUL = createField(DSL.name("type_dul"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena.series_dul. - */ - public final TableField SERIES_DUL = createField(DSL.name("series_dul"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.subpoena.number_dul. - */ - public final TableField NUMBER_DUL = createField(DSL.name("number_dul"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena.issue_id_code_dul. - */ - public final TableField ISSUE_ID_CODE_DUL = createField(DSL.name("issue_id_code_dul"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.subpoena.issue_org_dul. - */ - public final TableField ISSUE_ORG_DUL = createField(DSL.name("issue_org_dul"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena.issue_date_dul. - */ - public final TableField ISSUE_DATE_DUL = createField(DSL.name("issue_date_dul"), SQLDataType.DATE, this, ""); - - /** - * The column public.subpoena.sig_s3url. - */ - public final TableField SIG_S3URL = createField(DSL.name("sig_s3url"), SQLDataType.VARCHAR(512), this, ""); - - /** - * The column public.subpoena.sig_name. - */ - public final TableField SIG_NAME = createField(DSL.name("sig_name"), SQLDataType.VARCHAR(256), this, ""); - - /** - * The column public.subpoena.sig. - */ - public final TableField SIG = createField(DSL.name("sig"), SQLDataType.VARCHAR(512), this, ""); - - /** - * The column public.subpoena.format. - */ - public final TableField FORMAT = createField(DSL.name("format"), SQLDataType.VARCHAR(10), this, ""); - - /** - * The column public.subpoena.digest. - */ - public final TableField DIGEST = createField(DSL.name("digest"), SQLDataType.VARCHAR(256), this, ""); - - /** - * The column public.subpoena.s3_url. - */ - public final TableField S3_URL = createField(DSL.name("s3_url"), SQLDataType.VARCHAR(512), this, ""); - - /** - * The column public.subpoena.s3_name. - */ - public final TableField S3_NAME = createField(DSL.name("s3_name"), SQLDataType.VARCHAR(256), this, ""); - - /** - * The column public.subpoena.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.subpoena.recruit_id. - */ - public final TableField RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID, this, ""); - - /** - * The column public.subpoena.status_change_date. - */ - public final TableField STATUS_CHANGE_DATE = createField(DSL.name("status_change_date"), SQLDataType.TIMESTAMP(0), this, ""); - - /** - * The column public.subpoena.department_id. - */ - public final TableField DEPARTMENT_ID = createField(DSL.name("department_id"), SQLDataType.UUID, this, ""); - - /** - * The column public.subpoena.recruitment_name. - */ - public final TableField RECRUITMENT_NAME = createField(DSL.name("recruitment_name"), SQLDataType.CLOB, this, ""); - - /** - * The column public.subpoena.track_number_postal_item. - */ - public final TableField TRACK_NUMBER_POSTAL_ITEM = createField(DSL.name("track_number_postal_item"), SQLDataType.VARCHAR(128), this, ""); - - /** - * The column public.subpoena.extra_info. - */ - public final TableField EXTRA_INFO = createField(DSL.name("extra_info"), SQLDataType.JSONB, this, ""); - - /** - * The column public.subpoena.status_id. - */ - public final TableField STATUS_ID = createField(DSL.name("status_id"), SQLDataType.UUID, this, ""); - - /** - * The column public.subpoena.reason_id. - */ - public final TableField REASON_ID = createField(DSL.name("reason_id"), SQLDataType.UUID, this, ""); - - /** - * The column public.subpoena.delivery_info. - */ - public final TableField DELIVERY_INFO = createField(DSL.name("delivery_info"), SQLDataType.JSONB, this, ""); - - /** - * The column public.subpoena.system_stages. - */ - public final TableField SYSTEM_STAGES = createField(DSL.name("system_stages"), SQLDataType.JSONB, this, ""); - - /** - * The column public.subpoena.automatic_service_subpoena. - */ - public final TableField AUTOMATIC_SERVICE_SUBPOENA = createField(DSL.name("automatic_service_subpoena"), SQLDataType.DATE, this, ""); - - /** - * The column public.subpoena.automatic_application_measures. - */ - public final TableField AUTOMATIC_APPLICATION_MEASURES = createField(DSL.name("automatic_application_measures"), SQLDataType.DATE, this, ""); - - /** - * The column public.subpoena.finish_date. - */ - public final TableField FINISH_DATE = createField(DSL.name("finish_date"), SQLDataType.DATE, this, ""); - - /** - * The column public.subpoena.summon_list_id. - */ - public final TableField SUMMON_LIST_ID = createField(DSL.name("summon_list_id"), SQLDataType.UUID, this, ""); - - /** - * The column public.subpoena.signer_name. - */ - public final TableField SIGNER_NAME = createField(DSL.name("signer_name"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.subpoena.human_readable_id. - */ - public final TableField HUMAN_READABLE_ID = createField(DSL.name("human_readable_id"), SQLDataType.VARCHAR(255), this, ""); - - private Subpoena(Name alias, Table aliased) { - this(alias, aliased, (Field[]) null, null); - } - - private Subpoena(Name alias, Table aliased, Field[] parameters, Condition where) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); - } - - /** - * Create an aliased public.subpoena table reference - */ - public Subpoena(String alias) { - this(DSL.name(alias), SUBPOENA); - } - - /** - * Create an aliased public.subpoena table reference - */ - public Subpoena(Name alias) { - this(alias, SUBPOENA); - } - - /** - * Create a public.subpoena table reference - */ - public Subpoena() { - this(DSL.name("subpoena"), null); - } - - public Subpoena(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, SUBPOENA); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class SubpoenaPath extends Subpoena implements Path { - public SubpoenaPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private SubpoenaPath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public SubpoenaPath as(String alias) { - return new SubpoenaPath(DSL.name(alias), this); - } - - @Override - public SubpoenaPath as(Name alias) { - return new SubpoenaPath(alias, this); - } - - @Override - public SubpoenaPath as(Table alias) { - return new SubpoenaPath(alias.getQualifiedName(), this); - } - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SUBPOENA_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.SUBPOENA__SUBPOENA_STATUS_ID_FKEY, Keys.SUBPOENA__SUBPOENA_REASON_ID_FKEY); - } - - private transient SubpoenaStatusPath _subpoenaStatus; - - /** - * Get the implicit join path to the public.subpoena_status - * table. - */ - public SubpoenaStatusPath subpoenaStatus() { - if (_subpoenaStatus == null) - _subpoenaStatus = new SubpoenaStatusPath(this, Keys.SUBPOENA__SUBPOENA_STATUS_ID_FKEY, null); - - return _subpoenaStatus; - } - - private transient SubpoenaReasonPath _subpoenaReason; - - /** - * Get the implicit join path to the public.subpoena_reason - * table. - */ - public SubpoenaReasonPath subpoenaReason() { - if (_subpoenaReason == null) - _subpoenaReason = new SubpoenaReasonPath(this, Keys.SUBPOENA__SUBPOENA_REASON_ID_FKEY, null); - - return _subpoenaReason; - } - - private transient RestrictionDocumentPath _restrictionDocument; - - /** - * Get the implicit to-many join path to the - * public.restriction_document table - */ - public RestrictionDocumentPath restrictionDocument() { - if (_restrictionDocument == null) - _restrictionDocument = new RestrictionDocumentPath(this, null, Keys.RESTRICTION_DOCUMENT__FK_SUBPOENA.getInverseKey()); - - return _restrictionDocument; - } - - private transient SubpoenaAppearancePath _subpoenaAppearance; - - /** - * Get the implicit to-many join path to the - * public.subpoena_appearance table - */ - public SubpoenaAppearancePath subpoenaAppearance() { - if (_subpoenaAppearance == null) - _subpoenaAppearance = new SubpoenaAppearancePath(this, null, Keys.SUBPOENA_APPEARANCE__SUBPOENA_APPEARANCE_SUBPOENA_ID_FKEY.getInverseKey()); - - return _subpoenaAppearance; - } - - private transient SubpoenaHistoryPath _subpoenaHistory; - - /** - * Get the implicit to-many join path to the - * public.subpoena_history table - */ - public SubpoenaHistoryPath subpoenaHistory() { - if (_subpoenaHistory == null) - _subpoenaHistory = new SubpoenaHistoryPath(this, null, Keys.SUBPOENA_HISTORY__SUBPOENA_HISTORY_SUBPOENA_ID_FKEY.getInverseKey()); - - return _subpoenaHistory; - } - - private transient SubpoenaSendInfoPath _subpoenaSendInfo; - - /** - * Get the implicit to-many join path to the - * public.subpoena_send_info table - */ - public SubpoenaSendInfoPath subpoenaSendInfo() { - if (_subpoenaSendInfo == null) - _subpoenaSendInfo = new SubpoenaSendInfoPath(this, null, Keys.SUBPOENA_SEND_INFO__FK_SUBPOENA.getInverseKey()); - - return _subpoenaSendInfo; - } - - @Override - public Subpoena as(String alias) { - return new Subpoena(DSL.name(alias), this); - } - - @Override - public Subpoena as(Name alias) { - return new Subpoena(alias, this); - } - - @Override - public Subpoena as(Table alias) { - return new Subpoena(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public Subpoena rename(String name) { - return new Subpoena(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public Subpoena rename(Name name) { - return new Subpoena(name, null); - } - - /** - * Rename this table - */ - @Override - public Subpoena rename(Table name) { - return new Subpoena(name.getQualifiedName(), null); - } - - /** - * Create an inline derived table from this table - */ - @Override - public Subpoena where(Condition condition) { - return new Subpoena(getQualifiedName(), aliased() ? this : null, null, condition); - } - - /** - * Create an inline derived table from this table - */ - @Override - public Subpoena where(Collection conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public Subpoena where(Condition... conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public Subpoena where(Field condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public Subpoena where(SQL condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public Subpoena where(@Stringly.SQL String condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public Subpoena where(@Stringly.SQL String condition, Object... binds) { - return where(DSL.condition(condition, binds)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public Subpoena where(@Stringly.SQL String condition, QueryPart... parts) { - return where(DSL.condition(condition, parts)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public Subpoena whereExists(Select select) { - return where(DSL.exists(select)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public Subpoena whereNotExists(Select select) { - return where(DSL.notExists(select)); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaAppearance.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaAppearance.java deleted file mode 100644 index bad85f3..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaAppearance.java +++ /dev/null @@ -1,307 +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.Subpoena.SubpoenaPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.records.SubpoenaAppearanceRecord; - -import java.sql.Date; -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 SubpoenaAppearance extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.subpoena_appearance - */ - public static final SubpoenaAppearance SUBPOENA_APPEARANCE = new SubpoenaAppearance(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SubpoenaAppearanceRecord.class; - } - - /** - * The column public.subpoena_appearance.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.subpoena_appearance.subpoena_id. - */ - public final TableField SUBPOENA_ID = createField(DSL.name("subpoena_id"), SQLDataType.UUID.nullable(false), this, ""); - - /** - * The column public.subpoena_appearance.fact_appearance. - */ - public final TableField FACT_APPEARANCE = createField(DSL.name("fact_appearance"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, ""); - - /** - * The column public.subpoena_appearance.date_appearance. - */ - public final TableField DATE_APPEARANCE = createField(DSL.name("date_appearance"), SQLDataType.DATE, this, ""); - - /** - * The column public.subpoena_appearance.nonappearance_info. - */ - public final TableField NONAPPEARANCE_INFO = createField(DSL.name("nonappearance_info"), SQLDataType.JSONB, this, ""); - - /** - * The column public.subpoena_appearance.created_date_time. - */ - public final TableField CREATED_DATE_TIME = createField(DSL.name("created_date_time"), SQLDataType.TIMESTAMP(0), this, ""); - - /** - * The column public.subpoena_appearance.change_date_time. - */ - public final TableField CHANGE_DATE_TIME = createField(DSL.name("change_date_time"), SQLDataType.TIMESTAMP(0), this, ""); - - private SubpoenaAppearance(Name alias, Table aliased) { - this(alias, aliased, (Field[]) null, null); - } - - private SubpoenaAppearance(Name alias, Table aliased, Field[] parameters, Condition where) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); - } - - /** - * Create an aliased public.subpoena_appearance table reference - */ - public SubpoenaAppearance(String alias) { - this(DSL.name(alias), SUBPOENA_APPEARANCE); - } - - /** - * Create an aliased public.subpoena_appearance table reference - */ - public SubpoenaAppearance(Name alias) { - this(alias, SUBPOENA_APPEARANCE); - } - - /** - * Create a public.subpoena_appearance table reference - */ - public SubpoenaAppearance() { - this(DSL.name("subpoena_appearance"), null); - } - - public SubpoenaAppearance(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, SUBPOENA_APPEARANCE); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class SubpoenaAppearancePath extends SubpoenaAppearance implements Path { - public SubpoenaAppearancePath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private SubpoenaAppearancePath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public SubpoenaAppearancePath as(String alias) { - return new SubpoenaAppearancePath(DSL.name(alias), this); - } - - @Override - public SubpoenaAppearancePath as(Name alias) { - return new SubpoenaAppearancePath(alias, this); - } - - @Override - public SubpoenaAppearancePath as(Table alias) { - return new SubpoenaAppearancePath(alias.getQualifiedName(), this); - } - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SUBPOENA_APPEARANCE_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.SUBPOENA_APPEARANCE__SUBPOENA_APPEARANCE_SUBPOENA_ID_FKEY); - } - - private transient SubpoenaPath _subpoena; - - /** - * Get the implicit join path to the public.subpoena table. - */ - public SubpoenaPath subpoena() { - if (_subpoena == null) - _subpoena = new SubpoenaPath(this, Keys.SUBPOENA_APPEARANCE__SUBPOENA_APPEARANCE_SUBPOENA_ID_FKEY, null); - - return _subpoena; - } - - @Override - public SubpoenaAppearance as(String alias) { - return new SubpoenaAppearance(DSL.name(alias), this); - } - - @Override - public SubpoenaAppearance as(Name alias) { - return new SubpoenaAppearance(alias, this); - } - - @Override - public SubpoenaAppearance as(Table alias) { - return new SubpoenaAppearance(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SubpoenaAppearance rename(String name) { - return new SubpoenaAppearance(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SubpoenaAppearance rename(Name name) { - return new SubpoenaAppearance(name, null); - } - - /** - * Rename this table - */ - @Override - public SubpoenaAppearance rename(Table name) { - return new SubpoenaAppearance(name.getQualifiedName(), null); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaAppearance where(Condition condition) { - return new SubpoenaAppearance(getQualifiedName(), aliased() ? this : null, null, condition); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaAppearance where(Collection conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaAppearance where(Condition... conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaAppearance where(Field condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaAppearance where(SQL condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaAppearance where(@Stringly.SQL String condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaAppearance where(@Stringly.SQL String condition, Object... binds) { - return where(DSL.condition(condition, binds)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaAppearance where(@Stringly.SQL String condition, QueryPart... parts) { - return where(DSL.condition(condition, parts)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaAppearance whereExists(Select select) { - return where(DSL.exists(select)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaAppearance whereNotExists(Select select) { - return where(DSL.notExists(select)); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaExport.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaExport.java deleted file mode 100644 index c12872f..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaExport.java +++ /dev/null @@ -1,251 +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.SubpoenaExportRecord; - -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 SubpoenaExport extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.subpoena_export - */ - public static final SubpoenaExport SUBPOENA_EXPORT = new SubpoenaExport(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SubpoenaExportRecord.class; - } - - /** - * The column public.subpoena_export.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.subpoena_export.department_id. - */ - public final TableField DEPARTMENT_ID = createField(DSL.name("department_id"), SQLDataType.UUID, this, ""); - - /** - * The column public.subpoena_export.system_create_date. - */ - public final TableField SYSTEM_CREATE_DATE = createField(DSL.name("system_create_date"), SQLDataType.TIMESTAMP(0).nullable(false), this, ""); - - /** - * The column public.subpoena_export.system_update_date. - */ - public final TableField SYSTEM_UPDATE_DATE = createField(DSL.name("system_update_date"), SQLDataType.TIMESTAMP(0), this, ""); - - /** - * The column public.subpoena_export.s3url. - */ - public final TableField S3URL = createField(DSL.name("s3url"), SQLDataType.VARCHAR, this, ""); - - /** - * The column public.subpoena_export.status. - */ - public final TableField STATUS = createField(DSL.name("status"), SQLDataType.BIGINT, this, ""); - - /** - * The column public.subpoena_export.extra_info. - */ - public final TableField EXTRA_INFO = createField(DSL.name("extra_info"), SQLDataType.JSONB, this, ""); - - private SubpoenaExport(Name alias, Table aliased) { - this(alias, aliased, (Field[]) null, null); - } - - private SubpoenaExport(Name alias, Table aliased, Field[] parameters, Condition where) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); - } - - /** - * Create an aliased public.subpoena_export table reference - */ - public SubpoenaExport(String alias) { - this(DSL.name(alias), SUBPOENA_EXPORT); - } - - /** - * Create an aliased public.subpoena_export table reference - */ - public SubpoenaExport(Name alias) { - this(alias, SUBPOENA_EXPORT); - } - - /** - * Create a public.subpoena_export table reference - */ - public SubpoenaExport() { - this(DSL.name("subpoena_export"), null); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SUBPOENA_EXPORT_PKEY; - } - - @Override - public SubpoenaExport as(String alias) { - return new SubpoenaExport(DSL.name(alias), this); - } - - @Override - public SubpoenaExport as(Name alias) { - return new SubpoenaExport(alias, this); - } - - @Override - public SubpoenaExport as(Table alias) { - return new SubpoenaExport(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SubpoenaExport rename(String name) { - return new SubpoenaExport(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SubpoenaExport rename(Name name) { - return new SubpoenaExport(name, null); - } - - /** - * Rename this table - */ - @Override - public SubpoenaExport rename(Table name) { - return new SubpoenaExport(name.getQualifiedName(), null); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaExport where(Condition condition) { - return new SubpoenaExport(getQualifiedName(), aliased() ? this : null, null, condition); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaExport where(Collection conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaExport where(Condition... conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaExport where(Field condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaExport where(SQL condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaExport where(@Stringly.SQL String condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaExport where(@Stringly.SQL String condition, Object... binds) { - return where(DSL.condition(condition, binds)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaExport where(@Stringly.SQL String condition, QueryPart... parts) { - return where(DSL.condition(condition, parts)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaExport whereExists(Select select) { - return where(DSL.exists(select)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaExport whereNotExists(Select select) { - return where(DSL.notExists(select)); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaHistory.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaHistory.java deleted file mode 100644 index 06cf79c..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaHistory.java +++ /dev/null @@ -1,325 +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.Subpoena.SubpoenaPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaStatus.SubpoenaStatusPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.records.SubpoenaHistoryRecord; - -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 SubpoenaHistory extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.subpoena_history - */ - public static final SubpoenaHistory SUBPOENA_HISTORY = new SubpoenaHistory(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SubpoenaHistoryRecord.class; - } - - /** - * The column public.subpoena_history.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.subpoena_history.date_time. - */ - public final TableField DATE_TIME = createField(DSL.name("date_time"), SQLDataType.TIMESTAMP(0).nullable(false), this, ""); - - /** - * The column public.subpoena_history.user_name. - */ - public final TableField USER_NAME = createField(DSL.name("user_name"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena_history.subpoena_id. - */ - public final TableField SUBPOENA_ID = createField(DSL.name("subpoena_id"), SQLDataType.UUID, this, ""); - - /** - * The column public.subpoena_history.user_id. - */ - public final TableField USER_ID = createField(DSL.name("user_id"), SQLDataType.VARCHAR(36), this, ""); - - /** - * The column public.subpoena_history.status_id. - */ - public final TableField STATUS_ID = createField(DSL.name("status_id"), SQLDataType.UUID, this, ""); - - /** - * The column public.subpoena_history.date_time_wtz. - */ - public final TableField DATE_TIME_WTZ = createField(DSL.name("date_time_wtz"), SQLDataType.TIMESTAMP(0), this, ""); - - /** - * The column public.subpoena_history.user_info. - */ - public final TableField USER_INFO = createField(DSL.name("user_info"), SQLDataType.JSONB, this, ""); - - private SubpoenaHistory(Name alias, Table aliased) { - this(alias, aliased, (Field[]) null, null); - } - - private SubpoenaHistory(Name alias, Table aliased, Field[] parameters, Condition where) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); - } - - /** - * Create an aliased public.subpoena_history table reference - */ - public SubpoenaHistory(String alias) { - this(DSL.name(alias), SUBPOENA_HISTORY); - } - - /** - * Create an aliased public.subpoena_history table reference - */ - public SubpoenaHistory(Name alias) { - this(alias, SUBPOENA_HISTORY); - } - - /** - * Create a public.subpoena_history table reference - */ - public SubpoenaHistory() { - this(DSL.name("subpoena_history"), null); - } - - public SubpoenaHistory(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, SUBPOENA_HISTORY); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class SubpoenaHistoryPath extends SubpoenaHistory implements Path { - public SubpoenaHistoryPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private SubpoenaHistoryPath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public SubpoenaHistoryPath as(String alias) { - return new SubpoenaHistoryPath(DSL.name(alias), this); - } - - @Override - public SubpoenaHistoryPath as(Name alias) { - return new SubpoenaHistoryPath(alias, this); - } - - @Override - public SubpoenaHistoryPath as(Table alias) { - return new SubpoenaHistoryPath(alias.getQualifiedName(), this); - } - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SUBPOENA_HISTORY_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.SUBPOENA_HISTORY__SUBPOENA_HISTORY_SUBPOENA_ID_FKEY, Keys.SUBPOENA_HISTORY__SUBPOENA_HISTORY_STATUS_ID_FKEY); - } - - private transient SubpoenaPath _subpoena; - - /** - * Get the implicit join path to the public.subpoena table. - */ - public SubpoenaPath subpoena() { - if (_subpoena == null) - _subpoena = new SubpoenaPath(this, Keys.SUBPOENA_HISTORY__SUBPOENA_HISTORY_SUBPOENA_ID_FKEY, null); - - return _subpoena; - } - - private transient SubpoenaStatusPath _subpoenaStatus; - - /** - * Get the implicit join path to the public.subpoena_status - * table. - */ - public SubpoenaStatusPath subpoenaStatus() { - if (_subpoenaStatus == null) - _subpoenaStatus = new SubpoenaStatusPath(this, Keys.SUBPOENA_HISTORY__SUBPOENA_HISTORY_STATUS_ID_FKEY, null); - - return _subpoenaStatus; - } - - @Override - public SubpoenaHistory as(String alias) { - return new SubpoenaHistory(DSL.name(alias), this); - } - - @Override - public SubpoenaHistory as(Name alias) { - return new SubpoenaHistory(alias, this); - } - - @Override - public SubpoenaHistory as(Table alias) { - return new SubpoenaHistory(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SubpoenaHistory rename(String name) { - return new SubpoenaHistory(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SubpoenaHistory rename(Name name) { - return new SubpoenaHistory(name, null); - } - - /** - * Rename this table - */ - @Override - public SubpoenaHistory rename(Table name) { - return new SubpoenaHistory(name.getQualifiedName(), null); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaHistory where(Condition condition) { - return new SubpoenaHistory(getQualifiedName(), aliased() ? this : null, null, condition); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaHistory where(Collection conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaHistory where(Condition... conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaHistory where(Field condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaHistory where(SQL condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaHistory where(@Stringly.SQL String condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaHistory where(@Stringly.SQL String condition, Object... binds) { - return where(DSL.condition(condition, binds)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaHistory where(@Stringly.SQL String condition, QueryPart... parts) { - return where(DSL.condition(condition, parts)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaHistory whereExists(Select select) { - return where(DSL.exists(select)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaHistory whereNotExists(Select select) { - return where(DSL.notExists(select)); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaReason.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaReason.java deleted file mode 100644 index b8550bd..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaReason.java +++ /dev/null @@ -1,290 +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.Subpoena.SubpoenaPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.records.SubpoenaReasonRecord; - -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 SubpoenaReason extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.subpoena_reason - */ - public static final SubpoenaReason SUBPOENA_REASON = new SubpoenaReason(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SubpoenaReasonRecord.class; - } - - /** - * The column public.subpoena_reason.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.subpoena_reason.code. - */ - public final TableField CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena_reason.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena_reason.type. - */ - public final TableField TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR(255), this, ""); - - private SubpoenaReason(Name alias, Table aliased) { - this(alias, aliased, (Field[]) null, null); - } - - private SubpoenaReason(Name alias, Table aliased, Field[] parameters, Condition where) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); - } - - /** - * Create an aliased public.subpoena_reason table reference - */ - public SubpoenaReason(String alias) { - this(DSL.name(alias), SUBPOENA_REASON); - } - - /** - * Create an aliased public.subpoena_reason table reference - */ - public SubpoenaReason(Name alias) { - this(alias, SUBPOENA_REASON); - } - - /** - * Create a public.subpoena_reason table reference - */ - public SubpoenaReason() { - this(DSL.name("subpoena_reason"), null); - } - - public SubpoenaReason(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, SUBPOENA_REASON); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class SubpoenaReasonPath extends SubpoenaReason implements Path { - public SubpoenaReasonPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private SubpoenaReasonPath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public SubpoenaReasonPath as(String alias) { - return new SubpoenaReasonPath(DSL.name(alias), this); - } - - @Override - public SubpoenaReasonPath as(Name alias) { - return new SubpoenaReasonPath(alias, this); - } - - @Override - public SubpoenaReasonPath as(Table alias) { - return new SubpoenaReasonPath(alias.getQualifiedName(), this); - } - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SUBPOENA_REASON_PKEY; - } - - @Override - public List> getUniqueKeys() { - return Arrays.asList(Keys.IDX_SUBPOENA_REASON_CODE); - } - - private transient SubpoenaPath _subpoena; - - /** - * Get the implicit to-many join path to the public.subpoena - * table - */ - public SubpoenaPath subpoena() { - if (_subpoena == null) - _subpoena = new SubpoenaPath(this, null, Keys.SUBPOENA__SUBPOENA_REASON_ID_FKEY.getInverseKey()); - - return _subpoena; - } - - @Override - public SubpoenaReason as(String alias) { - return new SubpoenaReason(DSL.name(alias), this); - } - - @Override - public SubpoenaReason as(Name alias) { - return new SubpoenaReason(alias, this); - } - - @Override - public SubpoenaReason as(Table alias) { - return new SubpoenaReason(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SubpoenaReason rename(String name) { - return new SubpoenaReason(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SubpoenaReason rename(Name name) { - return new SubpoenaReason(name, null); - } - - /** - * Rename this table - */ - @Override - public SubpoenaReason rename(Table name) { - return new SubpoenaReason(name.getQualifiedName(), null); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaReason where(Condition condition) { - return new SubpoenaReason(getQualifiedName(), aliased() ? this : null, null, condition); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaReason where(Collection conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaReason where(Condition... conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaReason where(Field condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaReason where(SQL condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaReason where(@Stringly.SQL String condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaReason where(@Stringly.SQL String condition, Object... binds) { - return where(DSL.condition(condition, binds)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaReason where(@Stringly.SQL String condition, QueryPart... parts) { - return where(DSL.condition(condition, parts)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaReason whereExists(Select select) { - return where(DSL.exists(select)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaReason whereNotExists(Select select) { - return where(DSL.notExists(select)); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaSendInfo.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaSendInfo.java deleted file mode 100644 index c32c113..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaSendInfo.java +++ /dev/null @@ -1,342 +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.Subpoena.SubpoenaPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.records.SubpoenaSendInfoRecord; - -import java.sql.Date; -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 SubpoenaSendInfo extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.subpoena_send_info - */ - public static final SubpoenaSendInfo SUBPOENA_SEND_INFO = new SubpoenaSendInfo(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SubpoenaSendInfoRecord.class; - } - - /** - * The column public.subpoena_send_info.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.subpoena_send_info.subpoena_id. - */ - public final TableField SUBPOENA_ID = createField(DSL.name("subpoena_id"), SQLDataType.UUID.nullable(false), this, ""); - - /** - * The column public.subpoena_send_info.send_code. - */ - public final TableField SEND_CODE = createField(DSL.name("send_code"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena_send_info.send_address. - */ - public final TableField SEND_ADDRESS = createField(DSL.name("send_address"), SQLDataType.JSONB.nullable(false), this, ""); - - /** - * The column public.subpoena_send_info.send_address_type. - */ - public final TableField SEND_ADDRESS_TYPE = createField(DSL.name("send_address_type"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena_send_info.send_date. - */ - public final TableField SEND_DATE = createField(DSL.name("send_date"), SQLDataType.TIMESTAMP(0), this, ""); - - /** - * The column public.subpoena_send_info.track_number. - */ - public final TableField TRACK_NUMBER = createField(DSL.name("track_number"), SQLDataType.VARCHAR(128), this, ""); - - /** - * The column public.subpoena_send_info.is_delivered. - */ - public final TableField IS_DELIVERED = createField(DSL.name("is_delivered"), SQLDataType.BOOLEAN, this, ""); - - /** - * The column public.subpoena_send_info.delivery_code. - */ - public final TableField DELIVERY_CODE = createField(DSL.name("delivery_code"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.subpoena_send_info.delivery_date. - */ - public final TableField DELIVERY_DATE = createField(DSL.name("delivery_date"), SQLDataType.TIMESTAMP(0), this, ""); - - /** - * The column public.subpoena_send_info.act_number. - */ - public final TableField ACT_NUMBER = createField(DSL.name("act_number"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.subpoena_send_info.act_date. - */ - public final TableField ACT_DATE = createField(DSL.name("act_date"), SQLDataType.DATE, this, ""); - - /** - * The column public.subpoena_send_info.delivery_fio. - */ - public final TableField DELIVERY_FIO = createField(DSL.name("delivery_fio"), SQLDataType.VARCHAR(255), this, ""); - - /** - * The column public.subpoena_send_info.auto_delivery. - */ - public final TableField AUTO_DELIVERY = createField(DSL.name("auto_delivery"), SQLDataType.BOOLEAN, this, ""); - - private SubpoenaSendInfo(Name alias, Table aliased) { - this(alias, aliased, (Field[]) null, null); - } - - private SubpoenaSendInfo(Name alias, Table aliased, Field[] parameters, Condition where) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); - } - - /** - * Create an aliased public.subpoena_send_info table reference - */ - public SubpoenaSendInfo(String alias) { - this(DSL.name(alias), SUBPOENA_SEND_INFO); - } - - /** - * Create an aliased public.subpoena_send_info table reference - */ - public SubpoenaSendInfo(Name alias) { - this(alias, SUBPOENA_SEND_INFO); - } - - /** - * Create a public.subpoena_send_info table reference - */ - public SubpoenaSendInfo() { - this(DSL.name("subpoena_send_info"), null); - } - - public SubpoenaSendInfo(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, SUBPOENA_SEND_INFO); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class SubpoenaSendInfoPath extends SubpoenaSendInfo implements Path { - public SubpoenaSendInfoPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private SubpoenaSendInfoPath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public SubpoenaSendInfoPath as(String alias) { - return new SubpoenaSendInfoPath(DSL.name(alias), this); - } - - @Override - public SubpoenaSendInfoPath as(Name alias) { - return new SubpoenaSendInfoPath(alias, this); - } - - @Override - public SubpoenaSendInfoPath as(Table alias) { - return new SubpoenaSendInfoPath(alias.getQualifiedName(), this); - } - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SUBPOENA_SEND_INFO_PKEY; - } - - @Override - public List> getReferences() { - return Arrays.asList(Keys.SUBPOENA_SEND_INFO__FK_SUBPOENA); - } - - private transient SubpoenaPath _subpoena; - - /** - * Get the implicit join path to the public.subpoena table. - */ - public SubpoenaPath subpoena() { - if (_subpoena == null) - _subpoena = new SubpoenaPath(this, Keys.SUBPOENA_SEND_INFO__FK_SUBPOENA, null); - - return _subpoena; - } - - @Override - public SubpoenaSendInfo as(String alias) { - return new SubpoenaSendInfo(DSL.name(alias), this); - } - - @Override - public SubpoenaSendInfo as(Name alias) { - return new SubpoenaSendInfo(alias, this); - } - - @Override - public SubpoenaSendInfo as(Table alias) { - return new SubpoenaSendInfo(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SubpoenaSendInfo rename(String name) { - return new SubpoenaSendInfo(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SubpoenaSendInfo rename(Name name) { - return new SubpoenaSendInfo(name, null); - } - - /** - * Rename this table - */ - @Override - public SubpoenaSendInfo rename(Table name) { - return new SubpoenaSendInfo(name.getQualifiedName(), null); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaSendInfo where(Condition condition) { - return new SubpoenaSendInfo(getQualifiedName(), aliased() ? this : null, null, condition); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaSendInfo where(Collection conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaSendInfo where(Condition... conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaSendInfo where(Field condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaSendInfo where(SQL condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaSendInfo where(@Stringly.SQL String condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaSendInfo where(@Stringly.SQL String condition, Object... binds) { - return where(DSL.condition(condition, binds)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaSendInfo where(@Stringly.SQL String condition, QueryPart... parts) { - return where(DSL.condition(condition, parts)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaSendInfo whereExists(Select select) { - return where(DSL.exists(select)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaSendInfo whereNotExists(Select select) { - return where(DSL.notExists(select)); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaStatus.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaStatus.java deleted file mode 100644 index 36e0de6..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SubpoenaStatus.java +++ /dev/null @@ -1,299 +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.Subpoena.SubpoenaPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaHistory.SubpoenaHistoryPath; -import ervu_secret.ervu_secret.db_beans.public_.tables.records.SubpoenaStatusRecord; - -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 SubpoenaStatus extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.subpoena_status - */ - public static final SubpoenaStatus SUBPOENA_STATUS = new SubpoenaStatus(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SubpoenaStatusRecord.class; - } - - /** - * The column public.subpoena_status.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.subpoena_status.code. - */ - public final TableField CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - /** - * The column public.subpoena_status.name. - */ - public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, ""); - - private SubpoenaStatus(Name alias, Table aliased) { - this(alias, aliased, (Field[]) null, null); - } - - private SubpoenaStatus(Name alias, Table aliased, Field[] parameters, Condition where) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); - } - - /** - * Create an aliased public.subpoena_status table reference - */ - public SubpoenaStatus(String alias) { - this(DSL.name(alias), SUBPOENA_STATUS); - } - - /** - * Create an aliased public.subpoena_status table reference - */ - public SubpoenaStatus(Name alias) { - this(alias, SUBPOENA_STATUS); - } - - /** - * Create a public.subpoena_status table reference - */ - public SubpoenaStatus() { - this(DSL.name("subpoena_status"), null); - } - - public SubpoenaStatus(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, SUBPOENA_STATUS); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class SubpoenaStatusPath extends SubpoenaStatus implements Path { - public SubpoenaStatusPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private SubpoenaStatusPath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public SubpoenaStatusPath as(String alias) { - return new SubpoenaStatusPath(DSL.name(alias), this); - } - - @Override - public SubpoenaStatusPath as(Name alias) { - return new SubpoenaStatusPath(alias, this); - } - - @Override - public SubpoenaStatusPath as(Table alias) { - return new SubpoenaStatusPath(alias.getQualifiedName(), this); - } - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SUBPOENA_STATUS_PKEY; - } - - @Override - public List> getUniqueKeys() { - return Arrays.asList(Keys.IDX_SUBPOENA_STATUS_CODE); - } - - private transient SubpoenaPath _subpoena; - - /** - * Get the implicit to-many join path to the public.subpoena - * table - */ - public SubpoenaPath subpoena() { - if (_subpoena == null) - _subpoena = new SubpoenaPath(this, null, Keys.SUBPOENA__SUBPOENA_STATUS_ID_FKEY.getInverseKey()); - - return _subpoena; - } - - private transient SubpoenaHistoryPath _subpoenaHistory; - - /** - * Get the implicit to-many join path to the - * public.subpoena_history table - */ - public SubpoenaHistoryPath subpoenaHistory() { - if (_subpoenaHistory == null) - _subpoenaHistory = new SubpoenaHistoryPath(this, null, Keys.SUBPOENA_HISTORY__SUBPOENA_HISTORY_STATUS_ID_FKEY.getInverseKey()); - - return _subpoenaHistory; - } - - @Override - public SubpoenaStatus as(String alias) { - return new SubpoenaStatus(DSL.name(alias), this); - } - - @Override - public SubpoenaStatus as(Name alias) { - return new SubpoenaStatus(alias, this); - } - - @Override - public SubpoenaStatus as(Table alias) { - return new SubpoenaStatus(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SubpoenaStatus rename(String name) { - return new SubpoenaStatus(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SubpoenaStatus rename(Name name) { - return new SubpoenaStatus(name, null); - } - - /** - * Rename this table - */ - @Override - public SubpoenaStatus rename(Table name) { - return new SubpoenaStatus(name.getQualifiedName(), null); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaStatus where(Condition condition) { - return new SubpoenaStatus(getQualifiedName(), aliased() ? this : null, null, condition); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaStatus where(Collection conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaStatus where(Condition... conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaStatus where(Field condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaStatus where(SQL condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaStatus where(@Stringly.SQL String condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaStatus where(@Stringly.SQL String condition, Object... binds) { - return where(DSL.condition(condition, binds)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SubpoenaStatus where(@Stringly.SQL String condition, QueryPart... parts) { - return where(DSL.condition(condition, parts)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaStatus whereExists(Select select) { - return where(DSL.exists(select)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SubpoenaStatus whereNotExists(Select select) { - return where(DSL.notExists(select)); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SummonList.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SummonList.java deleted file mode 100644 index a0e1cbc..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/SummonList.java +++ /dev/null @@ -1,270 +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.SummonListRecord; - -import java.sql.Timestamp; -import java.util.Collection; -import java.util.UUID; - -import org.jooq.Condition; -import org.jooq.Field; -import org.jooq.Name; -import org.jooq.PlainSQL; -import org.jooq.QueryPart; -import org.jooq.SQL; -import org.jooq.Schema; -import org.jooq.Select; -import org.jooq.Stringly; -import org.jooq.Table; -import org.jooq.TableField; -import org.jooq.TableOptions; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.SQLDataType; -import org.jooq.impl.TableImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SummonList extends TableImpl { - - private static final long serialVersionUID = 1L; - - /** - * The reference instance of public.summon_list - */ - public static final SummonList SUMMON_LIST = new SummonList(); - - /** - * The class holding records for this type - */ - @Override - public Class getRecordType() { - return SummonListRecord.class; - } - - /** - * The column public.summon_list.id. - */ - public final TableField ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false), this, ""); - - /** - * The column public.summon_list.number. - */ - public final TableField NUMBER = createField(DSL.name("number"), SQLDataType.BIGINT, this, ""); - - /** - * The column public.summon_list.title. - */ - public final TableField TITLE = createField(DSL.name("title"), SQLDataType.VARCHAR(256), this, ""); - - /** - * The column public.summon_list.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.summon_list.updated_at. - */ - public final TableField UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0), this, ""); - - /** - * The column public.summon_list.status. - */ - public final TableField STATUS = createField(DSL.name("status"), SQLDataType.VARCHAR(10), this, ""); - - /** - * The column public.summon_list.free_count. - */ - public final TableField FREE_COUNT = createField(DSL.name("free_count"), SQLDataType.BIGINT, this, ""); - - /** - * The column public.summon_list.department_id. - */ - public final TableField DEPARTMENT_ID = createField(DSL.name("department_id"), SQLDataType.UUID, this, ""); - - /** - * The column public.summon_list.delivery_method. - */ - public final TableField DELIVERY_METHOD = createField(DSL.name("delivery_method"), SQLDataType.VARCHAR(10), this, ""); - - /** - * The column public.summon_list.turnout_date. - */ - public final TableField TURNOUT_DATE = createField(DSL.name("turnout_date"), SQLDataType.TIMESTAMP(0), this, ""); - - /** - * The column public.summon_list.summon_objective. - */ - public final TableField SUMMON_OBJECTIVE = createField(DSL.name("summon_objective"), SQLDataType.VARCHAR(10), this, ""); - - private SummonList(Name alias, Table aliased) { - this(alias, aliased, (Field[]) null, null); - } - - private SummonList(Name alias, Table aliased, Field[] parameters, Condition where) { - super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); - } - - /** - * Create an aliased public.summon_list table reference - */ - public SummonList(String alias) { - this(DSL.name(alias), SUMMON_LIST); - } - - /** - * Create an aliased public.summon_list table reference - */ - public SummonList(Name alias) { - this(alias, SUMMON_LIST); - } - - /** - * Create a public.summon_list table reference - */ - public SummonList() { - this(DSL.name("summon_list"), null); - } - - @Override - public Schema getSchema() { - return aliased() ? null : Public.PUBLIC; - } - - @Override - public UniqueKey getPrimaryKey() { - return Keys.SUMMON_LIST_PKEY; - } - - @Override - public SummonList as(String alias) { - return new SummonList(DSL.name(alias), this); - } - - @Override - public SummonList as(Name alias) { - return new SummonList(alias, this); - } - - @Override - public SummonList as(Table alias) { - return new SummonList(alias.getQualifiedName(), this); - } - - /** - * Rename this table - */ - @Override - public SummonList rename(String name) { - return new SummonList(DSL.name(name), null); - } - - /** - * Rename this table - */ - @Override - public SummonList rename(Name name) { - return new SummonList(name, null); - } - - /** - * Rename this table - */ - @Override - public SummonList rename(Table name) { - return new SummonList(name.getQualifiedName(), null); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SummonList where(Condition condition) { - return new SummonList(getQualifiedName(), aliased() ? this : null, null, condition); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SummonList where(Collection conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SummonList where(Condition... conditions) { - return where(DSL.and(conditions)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SummonList where(Field condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SummonList where(SQL condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SummonList where(@Stringly.SQL String condition) { - return where(DSL.condition(condition)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SummonList where(@Stringly.SQL String condition, Object... binds) { - return where(DSL.condition(condition, binds)); - } - - /** - * Create an inline derived table from this table - */ - @Override - @PlainSQL - public SummonList where(@Stringly.SQL String condition, QueryPart... parts) { - return where(DSL.condition(condition, parts)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SummonList whereExists(Select select) { - return where(DSL.exists(select)); - } - - /** - * Create an inline derived table from this table - */ - @Override - public SummonList whereNotExists(Select select) { - return where(DSL.notExists(select)); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/FlywaySchemaHistoryRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/FlywaySchemaHistoryRecord.java deleted file mode 100644 index f22b08e..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/FlywaySchemaHistoryRecord.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.FlywaySchemaHistory; - -import java.sql.Timestamp; - -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FlywaySchemaHistoryRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.flyway_schema_history.installed_rank. - */ - public void setInstalledRank(Integer value) { - set(0, value); - } - - /** - * Getter for public.flyway_schema_history.installed_rank. - */ - public Integer getInstalledRank() { - return (Integer) get(0); - } - - /** - * Setter for public.flyway_schema_history.version. - */ - public void setVersion(String value) { - set(1, value); - } - - /** - * Getter for public.flyway_schema_history.version. - */ - public String getVersion() { - return (String) get(1); - } - - /** - * Setter for public.flyway_schema_history.description. - */ - public void setDescription(String value) { - set(2, value); - } - - /** - * Getter for public.flyway_schema_history.description. - */ - public String getDescription() { - return (String) get(2); - } - - /** - * Setter for public.flyway_schema_history.type. - */ - public void setType(String value) { - set(3, value); - } - - /** - * Getter for public.flyway_schema_history.type. - */ - public String getType() { - return (String) get(3); - } - - /** - * Setter for public.flyway_schema_history.script. - */ - public void setScript(String value) { - set(4, value); - } - - /** - * Getter for public.flyway_schema_history.script. - */ - public String getScript() { - return (String) get(4); - } - - /** - * Setter for public.flyway_schema_history.checksum. - */ - public void setChecksum(Integer value) { - set(5, value); - } - - /** - * Getter for public.flyway_schema_history.checksum. - */ - public Integer getChecksum() { - return (Integer) get(5); - } - - /** - * Setter for public.flyway_schema_history.installed_by. - */ - public void setInstalledBy(String value) { - set(6, value); - } - - /** - * Getter for public.flyway_schema_history.installed_by. - */ - public String getInstalledBy() { - return (String) get(6); - } - - /** - * Setter for public.flyway_schema_history.installed_on. - */ - public void setInstalledOn(Timestamp value) { - set(7, value); - } - - /** - * Getter for public.flyway_schema_history.installed_on. - */ - public Timestamp getInstalledOn() { - return (Timestamp) get(7); - } - - /** - * Setter for public.flyway_schema_history.execution_time. - */ - public void setExecutionTime(Integer value) { - set(8, value); - } - - /** - * Getter for public.flyway_schema_history.execution_time. - */ - public Integer getExecutionTime() { - return (Integer) get(8); - } - - /** - * Setter for public.flyway_schema_history.success. - */ - public void setSuccess(Boolean value) { - set(9, value); - } - - /** - * Getter for public.flyway_schema_history.success. - */ - public Boolean getSuccess() { - return (Boolean) get(9); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached FlywaySchemaHistoryRecord - */ - public FlywaySchemaHistoryRecord() { - super(FlywaySchemaHistory.FLYWAY_SCHEMA_HISTORY); - } - - /** - * Create a detached, initialised FlywaySchemaHistoryRecord - */ - public FlywaySchemaHistoryRecord(Integer installedRank, String version, String description, String type, String script, Integer checksum, String installedBy, Timestamp installedOn, Integer executionTime, Boolean success) { - super(FlywaySchemaHistory.FLYWAY_SCHEMA_HISTORY); - - setInstalledRank(installedRank); - setVersion(version); - setDescription(description); - setType(type); - setScript(script); - setChecksum(checksum); - setInstalledBy(installedBy); - setInstalledOn(installedOn); - setExecutionTime(executionTime); - setSuccess(success); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/FoivRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/FoivRecord.java deleted file mode 100644 index 3d29c11..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/FoivRecord.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.Foiv; - -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class FoivRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.foiv.code. - */ - public void setCode(Long value) { - set(0, value); - } - - /** - * Getter for public.foiv.code. - */ - public Long getCode() { - return (Long) get(0); - } - - /** - * Setter for public.foiv.name. - */ - public void setName(String value) { - set(1, value); - } - - /** - * Getter for public.foiv.name. - */ - public String getName() { - return (String) get(1); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached FoivRecord - */ - public FoivRecord() { - super(Foiv.FOIV); - } - - /** - * Create a detached, initialised FoivRecord - */ - public FoivRecord(Long code, String name) { - super(Foiv.FOIV); - - setCode(code); - setName(name); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/NotificationItemRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/NotificationItemRecord.java deleted file mode 100644 index 622315e..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/NotificationItemRecord.java +++ /dev/null @@ -1,190 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.NotificationItem; - -import java.sql.Timestamp; -import java.util.UUID; - -import org.jooq.JSONB; -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class NotificationItemRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.notification_item.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.notification_item.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.notification_item.notification_code. - */ - public void setNotificationCode(Long value) { - set(1, value); - } - - /** - * Getter for public.notification_item.notification_code. - */ - public Long getNotificationCode() { - return (Long) get(1); - } - - /** - * Setter for - * public.notification_item.restriction_document_item_id. - */ - public void setRestrictionDocumentItemId(UUID value) { - set(2, value); - } - - /** - * Getter for - * public.notification_item.restriction_document_item_id. - */ - public UUID getRestrictionDocumentItemId() { - return (UUID) get(2); - } - - /** - * Setter for public.notification_item.foiv_code. - */ - public void setFoivCode(Long value) { - set(3, value); - } - - /** - * Getter for public.notification_item.foiv_code. - */ - public Long getFoivCode() { - return (Long) get(3); - } - - /** - * Setter for public.notification_item.send_date. - */ - public void setSendDate(Timestamp value) { - set(4, value); - } - - /** - * Getter for public.notification_item.send_date. - */ - public Timestamp getSendDate() { - return (Timestamp) get(4); - } - - /** - * Setter for public.notification_item.extra_info. - */ - public void setExtraInfo(JSONB value) { - set(5, value); - } - - /** - * Getter for public.notification_item.extra_info. - */ - public JSONB getExtraInfo() { - return (JSONB) get(5); - } - - /** - * Setter for public.notification_item.created_at. - */ - public void setCreatedAt(Timestamp value) { - set(6, value); - } - - /** - * Getter for public.notification_item.created_at. - */ - public Timestamp getCreatedAt() { - return (Timestamp) get(6); - } - - /** - * Setter for public.notification_item.updated_at. - */ - public void setUpdatedAt(Timestamp value) { - set(7, value); - } - - /** - * Getter for public.notification_item.updated_at. - */ - public Timestamp getUpdatedAt() { - return (Timestamp) get(7); - } - - /** - * Setter for public.notification_item.cancelled_at. - */ - public void setCancelledAt(Timestamp value) { - set(8, value); - } - - /** - * Getter for public.notification_item.cancelled_at. - */ - public Timestamp getCancelledAt() { - return (Timestamp) get(8); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached NotificationItemRecord - */ - public NotificationItemRecord() { - super(NotificationItem.NOTIFICATION_ITEM); - } - - /** - * Create a detached, initialised NotificationItemRecord - */ - public NotificationItemRecord(UUID id, Long notificationCode, UUID restrictionDocumentItemId, Long foivCode, Timestamp sendDate, JSONB extraInfo, Timestamp createdAt, Timestamp updatedAt, Timestamp cancelledAt) { - super(NotificationItem.NOTIFICATION_ITEM); - - setId(id); - setNotificationCode(notificationCode); - setRestrictionDocumentItemId(restrictionDocumentItemId); - setFoivCode(foivCode); - setSendDate(sendDate); - setExtraInfo(extraInfo); - setCreatedAt(createdAt); - setUpdatedAt(updatedAt); - setCancelledAt(cancelledAt); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/NotificationRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/NotificationRecord.java deleted file mode 100644 index aa545a5..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/NotificationRecord.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.Notification; - -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class NotificationRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.notification.code. - */ - public void setCode(Long value) { - set(0, value); - } - - /** - * Getter for public.notification.code. - */ - public Long getCode() { - return (Long) get(0); - } - - /** - * Setter for public.notification.name. - */ - public void setName(String value) { - set(1, value); - } - - /** - * Getter for public.notification.name. - */ - public String getName() { - return (String) get(1); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached NotificationRecord - */ - public NotificationRecord() { - super(Notification.NOTIFICATION); - } - - /** - * Create a detached, initialised NotificationRecord - */ - public NotificationRecord(Long code, String name) { - super(Notification.NOTIFICATION); - - setCode(code); - setName(name); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RecruitmentRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RecruitmentRecord.java deleted file mode 100644 index 630b262..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RecruitmentRecord.java +++ /dev/null @@ -1,562 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.Recruitment; - -import java.sql.Timestamp; -import java.util.UUID; - -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class RecruitmentRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.recruitment.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.recruitment.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.recruitment.idm_id. - */ - public void setIdmId(String value) { - set(1, value); - } - - /** - * Getter for public.recruitment.idm_id. - */ - public String getIdmId() { - return (String) get(1); - } - - /** - * Setter for public.recruitment.parent_id. - */ - public void setParentId(String value) { - set(2, value); - } - - /** - * Getter for public.recruitment.parent_id. - */ - public String getParentId() { - return (String) get(2); - } - - /** - * Setter for public.recruitment.version. - */ - public void setVersion(Integer value) { - set(3, value); - } - - /** - * Getter for public.recruitment.version. - */ - public Integer getVersion() { - return (Integer) get(3); - } - - /** - * Setter for public.recruitment.created_at. - */ - public void setCreatedAt(Timestamp value) { - set(4, value); - } - - /** - * Getter for public.recruitment.created_at. - */ - public Timestamp getCreatedAt() { - return (Timestamp) get(4); - } - - /** - * Setter for public.recruitment.updated_at. - */ - public void setUpdatedAt(Timestamp value) { - set(5, value); - } - - /** - * Getter for public.recruitment.updated_at. - */ - public Timestamp getUpdatedAt() { - return (Timestamp) get(5); - } - - /** - * Setter for public.recruitment.schema. - */ - public void setSchema(String value) { - set(6, value); - } - - /** - * Getter for public.recruitment.schema. - */ - public String getSchema() { - return (String) get(6); - } - - /** - * Setter for public.recruitment.military_code. - */ - public void setMilitaryCode(String value) { - set(7, value); - } - - /** - * Getter for public.recruitment.military_code. - */ - public String getMilitaryCode() { - return (String) get(7); - } - - /** - * Setter for public.recruitment.shortname. - */ - public void setShortname(String value) { - set(8, value); - } - - /** - * Getter for public.recruitment.shortname. - */ - public String getShortname() { - return (String) get(8); - } - - /** - * Setter for public.recruitment.fullname. - */ - public void setFullname(String value) { - set(9, value); - } - - /** - * Getter for public.recruitment.fullname. - */ - public String getFullname() { - return (String) get(9); - } - - /** - * Setter for public.recruitment.dns. - */ - public void setDns(String value) { - set(10, value); - } - - /** - * Getter for public.recruitment.dns. - */ - public String getDns() { - return (String) get(10); - } - - /** - * Setter for public.recruitment.email. - */ - public void setEmail(String value) { - set(11, value); - } - - /** - * Getter for public.recruitment.email. - */ - public String getEmail() { - return (String) get(11); - } - - /** - * Setter for public.recruitment.phone. - */ - public void setPhone(String value) { - set(12, value); - } - - /** - * Getter for public.recruitment.phone. - */ - public String getPhone() { - return (String) get(12); - } - - /** - * Setter for public.recruitment.address. - */ - public void setAddress(String value) { - set(13, value); - } - - /** - * Getter for public.recruitment.address. - */ - public String getAddress() { - return (String) get(13); - } - - /** - * Setter for public.recruitment.address_id. - */ - public void setAddressId(String value) { - set(14, value); - } - - /** - * Getter for public.recruitment.address_id. - */ - public String getAddressId() { - return (String) get(14); - } - - /** - * Setter for public.recruitment.postal_address. - */ - public void setPostalAddress(String value) { - set(15, value); - } - - /** - * Getter for public.recruitment.postal_address. - */ - public String getPostalAddress() { - return (String) get(15); - } - - /** - * Setter for public.recruitment.postal_address_id. - */ - public void setPostalAddressId(String value) { - set(16, value); - } - - /** - * Getter for public.recruitment.postal_address_id. - */ - public String getPostalAddressId() { - return (String) get(16); - } - - /** - * Setter for public.recruitment.nsi_department_id. - */ - public void setNsiDepartmentId(String value) { - set(17, value); - } - - /** - * Getter for public.recruitment.nsi_department_id. - */ - public String getNsiDepartmentId() { - return (String) get(17); - } - - /** - * Setter for public.recruitment.nsi_organization_id. - */ - public void setNsiOrganizationId(String value) { - set(18, value); - } - - /** - * Getter for public.recruitment.nsi_organization_id. - */ - public String getNsiOrganizationId() { - return (String) get(18); - } - - /** - * Setter for public.recruitment.oktmo. - */ - public void setOktmo(String value) { - set(19, value); - } - - /** - * Getter for public.recruitment.oktmo. - */ - public String getOktmo() { - return (String) get(19); - } - - /** - * Setter for public.recruitment.org_ogrn. - */ - public void setOrgOgrn(String value) { - set(20, value); - } - - /** - * Getter for public.recruitment.org_ogrn. - */ - public String getOrgOgrn() { - return (String) get(20); - } - - /** - * Setter for public.recruitment.dep_ogrn. - */ - public void setDepOgrn(String value) { - set(21, value); - } - - /** - * Getter for public.recruitment.dep_ogrn. - */ - public String getDepOgrn() { - return (String) get(21); - } - - /** - * Setter for public.recruitment.epgu_id. - */ - public void setEpguId(String value) { - set(22, value); - } - - /** - * Getter for public.recruitment.epgu_id. - */ - public String getEpguId() { - return (String) get(22); - } - - /** - * Setter for public.recruitment.kpp. - */ - public void setKpp(String value) { - set(23, value); - } - - /** - * Getter for public.recruitment.kpp. - */ - public String getKpp() { - return (String) get(23); - } - - /** - * Setter for public.recruitment.inn. - */ - public void setInn(String value) { - set(24, value); - } - - /** - * Getter for public.recruitment.inn. - */ - public String getInn() { - return (String) get(24); - } - - /** - * Setter for public.recruitment.okato. - */ - public void setOkato(String value) { - set(25, value); - } - - /** - * Getter for public.recruitment.okato. - */ - public String getOkato() { - return (String) get(25); - } - - /** - * Setter for public.recruitment.division_type. - */ - public void setDivisionType(String value) { - set(26, value); - } - - /** - * Getter for public.recruitment.division_type. - */ - public String getDivisionType() { - return (String) get(26); - } - - /** - * Setter for public.recruitment.tns_department_id. - */ - public void setTnsDepartmentId(String value) { - set(27, value); - } - - /** - * Getter for public.recruitment.tns_department_id. - */ - public String getTnsDepartmentId() { - return (String) get(27); - } - - /** - * Setter for public.recruitment.enabled. - */ - public void setEnabled(Boolean value) { - set(28, value); - } - - /** - * Getter for public.recruitment.enabled. - */ - public Boolean getEnabled() { - return (Boolean) get(28); - } - - /** - * Setter for public.recruitment.timezone. - */ - public void setTimezone(String value) { - set(29, value); - } - - /** - * Getter for public.recruitment.timezone. - */ - public String getTimezone() { - return (String) get(29); - } - - /** - * Setter for public.recruitment.reports_enabled. - */ - public void setReportsEnabled(Boolean value) { - set(30, value); - } - - /** - * Getter for public.recruitment.reports_enabled. - */ - public Boolean getReportsEnabled() { - return (Boolean) get(30); - } - - /** - * Setter for public.recruitment.region_id. - */ - public void setRegionId(String value) { - set(31, value); - } - - /** - * Getter for public.recruitment.region_id. - */ - public String getRegionId() { - return (String) get(31); - } - - /** - * Setter for public.recruitment.series. - */ - public void setSeries(String value) { - set(32, value); - } - - /** - * Getter for public.recruitment.series. - */ - public String getSeries() { - return (String) get(32); - } - - /** - * Setter for public.recruitment.hidden. - */ - public void setHidden(Boolean value) { - set(33, value); - } - - /** - * Getter for public.recruitment.hidden. - */ - public Boolean getHidden() { - return (Boolean) get(33); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached RecruitmentRecord - */ - public RecruitmentRecord() { - super(Recruitment.RECRUITMENT); - } - - /** - * Create a detached, initialised RecruitmentRecord - */ - public RecruitmentRecord(UUID id, String idmId, String parentId, Integer version, Timestamp createdAt, Timestamp updatedAt, String schema, String militaryCode, String shortname, String fullname, String dns, String email, String phone, String address, String addressId, String postalAddress, String postalAddressId, String nsiDepartmentId, String nsiOrganizationId, String oktmo, String orgOgrn, String depOgrn, String epguId, String kpp, String inn, String okato, String divisionType, String tnsDepartmentId, Boolean enabled, String timezone, Boolean reportsEnabled, String regionId, String series, Boolean hidden) { - super(Recruitment.RECRUITMENT); - - setId(id); - setIdmId(idmId); - setParentId(parentId); - setVersion(version); - setCreatedAt(createdAt); - setUpdatedAt(updatedAt); - setSchema(schema); - setMilitaryCode(militaryCode); - setShortname(shortname); - setFullname(fullname); - setDns(dns); - setEmail(email); - setPhone(phone); - setAddress(address); - setAddressId(addressId); - setPostalAddress(postalAddress); - setPostalAddressId(postalAddressId); - setNsiDepartmentId(nsiDepartmentId); - setNsiOrganizationId(nsiOrganizationId); - setOktmo(oktmo); - setOrgOgrn(orgOgrn); - setDepOgrn(depOgrn); - setEpguId(epguId); - setKpp(kpp); - setInn(inn); - setOkato(okato); - setDivisionType(divisionType); - setTnsDepartmentId(tnsDepartmentId); - setEnabled(enabled); - setTimezone(timezone); - setReportsEnabled(reportsEnabled); - setRegionId(regionId); - setSeries(series); - setHidden(hidden); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RecruitsRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RecruitsRecord.java deleted file mode 100644 index a88333c..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RecruitsRecord.java +++ /dev/null @@ -1,309 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.Recruits; - -import java.sql.Date; -import java.sql.Timestamp; -import java.util.UUID; - -import org.jooq.JSONB; -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class RecruitsRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.recruits.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.recruits.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.recruits.full_name. - */ - public void setFullName(String value) { - set(1, value); - } - - /** - * Getter for public.recruits.full_name. - */ - public String getFullName() { - return (String) get(1); - } - - /** - * Setter for public.recruits.last_name. - */ - public void setLastName(String value) { - set(2, value); - } - - /** - * Getter for public.recruits.last_name. - */ - public String getLastName() { - return (String) get(2); - } - - /** - * Setter for public.recruits.first_name. - */ - public void setFirstName(String value) { - set(3, value); - } - - /** - * Getter for public.recruits.first_name. - */ - public String getFirstName() { - return (String) get(3); - } - - /** - * Setter for public.recruits.middle_name. - */ - public void setMiddleName(String value) { - set(4, value); - } - - /** - * Getter for public.recruits.middle_name. - */ - public String getMiddleName() { - return (String) get(4); - } - - /** - * Setter for public.recruits.gender. - */ - public void setGender(String value) { - set(5, value); - } - - /** - * Getter for public.recruits.gender. - */ - public String getGender() { - return (String) get(5); - } - - /** - * Setter for public.recruits.birth_date. - */ - public void setBirthDate(Date value) { - set(6, value); - } - - /** - * Getter for public.recruits.birth_date. - */ - public Date getBirthDate() { - return (Date) get(6); - } - - /** - * Setter for public.recruits.snils. - */ - public void setSnils(String value) { - set(7, value); - } - - /** - * Getter for public.recruits.snils. - */ - public String getSnils() { - return (String) get(7); - } - - /** - * Setter for public.recruits.inn. - */ - public void setInn(String value) { - set(8, value); - } - - /** - * Getter for public.recruits.inn. - */ - public String getInn() { - return (String) get(8); - } - - /** - * Setter for public.recruits.system_pgs_status. - */ - public void setSystemPgsStatus(String value) { - set(9, value); - } - - /** - * Getter for public.recruits.system_pgs_status. - */ - public String getSystemPgsStatus() { - return (String) get(9); - } - - /** - * Setter for public.recruits.system_id_ern. - */ - public void setSystemIdErn(String value) { - set(10, value); - } - - /** - * Getter for public.recruits.system_id_ern. - */ - public String getSystemIdErn() { - return (String) get(10); - } - - /** - * Setter for public.recruits.current_recruitment_id. - */ - public void setCurrentRecruitmentId(UUID value) { - set(11, value); - } - - /** - * Getter for public.recruits.current_recruitment_id. - */ - public UUID getCurrentRecruitmentId() { - return (UUID) get(11); - } - - /** - * Setter for public.recruits.target_recruitment_id. - */ - public void setTargetRecruitmentId(UUID value) { - set(12, value); - } - - /** - * Getter for public.recruits.target_recruitment_id. - */ - public UUID getTargetRecruitmentId() { - return (UUID) get(12); - } - - /** - * Setter for public.recruits.created_at. - */ - public void setCreatedAt(Timestamp value) { - set(13, value); - } - - /** - * Getter for public.recruits.created_at. - */ - public Timestamp getCreatedAt() { - return (Timestamp) get(13); - } - - /** - * Setter for public.recruits.updated_at. - */ - public void setUpdatedAt(Timestamp value) { - set(14, value); - } - - /** - * Getter for public.recruits.updated_at. - */ - public Timestamp getUpdatedAt() { - return (Timestamp) get(14); - } - - /** - * Setter for public.recruits.system_doc_id. - */ - public void setSystemDocId(String value) { - set(15, value); - } - - /** - * Getter for public.recruits.system_doc_id. - */ - public String getSystemDocId() { - return (String) get(15); - } - - /** - * Setter for public.recruits.address. - */ - public void setAddress(JSONB value) { - set(16, value); - } - - /** - * Getter for public.recruits.address. - */ - public JSONB getAddress() { - return (JSONB) get(16); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached RecruitsRecord - */ - public RecruitsRecord() { - super(Recruits.RECRUITS); - } - - /** - * Create a detached, initialised RecruitsRecord - */ - public RecruitsRecord(UUID id, String fullName, String lastName, String firstName, String middleName, String gender, Date birthDate, String snils, String inn, String systemPgsStatus, String systemIdErn, UUID currentRecruitmentId, UUID targetRecruitmentId, Timestamp createdAt, Timestamp updatedAt, String systemDocId, JSONB address) { - super(Recruits.RECRUITS); - - setId(id); - setFullName(fullName); - setLastName(lastName); - setFirstName(firstName); - setMiddleName(middleName); - setGender(gender); - setBirthDate(birthDate); - setSnils(snils); - setInn(inn); - setSystemPgsStatus(systemPgsStatus); - setSystemIdErn(systemIdErn); - setCurrentRecruitmentId(currentRecruitmentId); - setTargetRecruitmentId(targetRecruitmentId); - setCreatedAt(createdAt); - setUpdatedAt(updatedAt); - setSystemDocId(systemDocId); - setAddress(address); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RegionRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RegionRecord.java deleted file mode 100644 index c91c02b..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RegionRecord.java +++ /dev/null @@ -1,247 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.Region; - -import java.sql.Timestamp; -import java.util.UUID; - -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class RegionRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.region.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.region.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.region.idm_id. - */ - public void setIdmId(String value) { - set(1, value); - } - - /** - * Getter for public.region.idm_id. - */ - public String getIdmId() { - return (String) get(1); - } - - /** - * Setter for public.region.version. - */ - public void setVersion(Integer value) { - set(2, value); - } - - /** - * Getter for public.region.version. - */ - public Integer getVersion() { - return (Integer) get(2); - } - - /** - * Setter for public.region.created_at. - */ - public void setCreatedAt(Timestamp value) { - set(3, value); - } - - /** - * Getter for public.region.created_at. - */ - public Timestamp getCreatedAt() { - return (Timestamp) get(3); - } - - /** - * Setter for public.region.updated_at. - */ - public void setUpdatedAt(Timestamp value) { - set(4, value); - } - - /** - * Getter for public.region.updated_at. - */ - public Timestamp getUpdatedAt() { - return (Timestamp) get(4); - } - - /** - * Setter for public.region.name. - */ - public void setName(String value) { - set(5, value); - } - - /** - * Getter for public.region.name. - */ - public String getName() { - return (String) get(5); - } - - /** - * Setter for public.region.shortname. - */ - public void setShortname(String value) { - set(6, value); - } - - /** - * Getter for public.region.shortname. - */ - public String getShortname() { - return (String) get(6); - } - - /** - * Setter for public.region.fullname. - */ - public void setFullname(String value) { - set(7, value); - } - - /** - * Getter for public.region.fullname. - */ - public String getFullname() { - return (String) get(7); - } - - /** - * Setter for public.region.timezone. - */ - public void setTimezone(String value) { - set(8, value); - } - - /** - * Getter for public.region.timezone. - */ - public String getTimezone() { - return (String) get(8); - } - - /** - * Setter for public.region.code. - */ - public void setCode(String value) { - set(9, value); - } - - /** - * Getter for public.region.code. - */ - public String getCode() { - return (String) get(9); - } - - /** - * Setter for public.region.oktmo. - */ - public void setOktmo(String value) { - set(10, value); - } - - /** - * Getter for public.region.oktmo. - */ - public String getOktmo() { - return (String) get(10); - } - - /** - * Setter for public.region.enabled. - */ - public void setEnabled(Boolean value) { - set(11, value); - } - - /** - * Getter for public.region.enabled. - */ - public Boolean getEnabled() { - return (Boolean) get(11); - } - - /** - * Setter for public.region.hidden. - */ - public void setHidden(Boolean value) { - set(12, value); - } - - /** - * Getter for public.region.hidden. - */ - public Boolean getHidden() { - return (Boolean) get(12); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached RegionRecord - */ - public RegionRecord() { - super(Region.REGION); - } - - /** - * Create a detached, initialised RegionRecord - */ - public RegionRecord(UUID id, String idmId, Integer version, Timestamp createdAt, Timestamp updatedAt, String name, String shortname, String fullname, String timezone, String code, String oktmo, Boolean enabled, Boolean hidden) { - super(Region.REGION); - - setId(id); - setIdmId(idmId); - setVersion(version); - setCreatedAt(createdAt); - setUpdatedAt(updatedAt); - setName(name); - setShortname(shortname); - setFullname(fullname); - setTimezone(timezone); - setCode(code); - setOktmo(oktmo); - setEnabled(enabled); - setHidden(hidden); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionDocumentItemHistoryRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionDocumentItemHistoryRecord.java deleted file mode 100644 index 0738cf7..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionDocumentItemHistoryRecord.java +++ /dev/null @@ -1,347 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentItemHistory; - -import java.sql.Timestamp; -import java.util.UUID; - -import org.jooq.JSONB; -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class RestrictionDocumentItemHistoryRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.restriction_document_item_history.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.restriction_document_item_history.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for - * public.restriction_document_item_history.restriction_document_item_id. - */ - public void setRestrictionDocumentItemId(UUID value) { - set(1, value); - } - - /** - * Getter for - * public.restriction_document_item_history.restriction_document_item_id. - */ - public UUID getRestrictionDocumentItemId() { - return (UUID) get(1); - } - - /** - * Setter for - * public.restriction_document_item_history.date_time. - */ - public void setDateTime(Timestamp value) { - set(2, value); - } - - /** - * Getter for - * public.restriction_document_item_history.date_time. - */ - public Timestamp getDateTime() { - return (Timestamp) get(2); - } - - /** - * Setter for public.restriction_document_item_history.status. - */ - public void setStatus(String value) { - set(3, value); - } - - /** - * Getter for public.restriction_document_item_history.status. - */ - public String getStatus() { - return (String) get(3); - } - - /** - * Setter for - * public.restriction_document_item_history.foiv_code. - */ - public void setFoivCode(Long value) { - set(4, value); - } - - /** - * Getter for - * public.restriction_document_item_history.foiv_code. - */ - public Long getFoivCode() { - return (Long) get(4); - } - - /** - * Setter for - * public.restriction_document_item_history.recruit_id. - */ - public void setRecruitId(UUID value) { - set(5, value); - } - - /** - * Getter for - * public.restriction_document_item_history.recruit_id. - */ - public UUID getRecruitId() { - return (UUID) get(5); - } - - /** - * Setter for - * public.restriction_document_item_history.recruit_fio. - */ - public void setRecruitFio(String value) { - set(6, value); - } - - /** - * Getter for - * public.restriction_document_item_history.recruit_fio. - */ - public String getRecruitFio() { - return (String) get(6); - } - - /** - * Setter for public.restriction_document_item_history.id_ern. - */ - public void setIdErn(String value) { - set(7, value); - } - - /** - * Getter for public.restriction_document_item_history.id_ern. - */ - public String getIdErn() { - return (String) get(7); - } - - /** - * Setter for public.restriction_document_item_history.vk_id. - */ - public void setVkId(UUID value) { - set(8, value); - } - - /** - * Getter for public.restriction_document_item_history.vk_id. - */ - public UUID getVkId() { - return (UUID) get(8); - } - - /** - * Setter for public.restriction_document_item_history.vk_name. - */ - public void setVkName(String value) { - set(9, value); - } - - /** - * Getter for public.restriction_document_item_history.vk_name. - */ - public String getVkName() { - return (String) get(9); - } - - /** - * Setter for public.restriction_document_item_history.user_id. - */ - public void setUserId(UUID value) { - set(10, value); - } - - /** - * Getter for public.restriction_document_item_history.user_id. - */ - public UUID getUserId() { - return (UUID) get(10); - } - - /** - * Setter for - * public.restriction_document_item_history.user_name. - */ - public void setUserName(String value) { - set(11, value); - } - - /** - * Getter for - * public.restriction_document_item_history.user_name. - */ - public String getUserName() { - return (String) get(11); - } - - /** - * Setter for - * public.restriction_document_item_history.decision_number. - */ - public void setDecisionNumber(String value) { - set(12, value); - } - - /** - * Getter for - * public.restriction_document_item_history.decision_number. - */ - public String getDecisionNumber() { - return (String) get(12); - } - - /** - * Setter for - * public.restriction_document_item_history.decision_date. - */ - public void setDecisionDate(Timestamp value) { - set(13, value); - } - - /** - * Getter for - * public.restriction_document_item_history.decision_date. - */ - public Timestamp getDecisionDate() { - return (Timestamp) get(13); - } - - /** - * Setter for - * public.restriction_document_item_history.extra_info. - */ - public void setExtraInfo(JSONB value) { - set(14, value); - } - - /** - * Getter for - * public.restriction_document_item_history.extra_info. - */ - public JSONB getExtraInfo() { - return (JSONB) get(14); - } - - /** - * Setter for - * public.restriction_document_item_history.status_applied. - */ - public void setStatusApplied(String value) { - set(15, value); - } - - /** - * Getter for - * public.restriction_document_item_history.status_applied. - */ - public String getStatusApplied() { - return (String) get(15); - } - - /** - * Setter for - * public.restriction_document_item_history.status_canceled. - */ - public void setStatusCanceled(String value) { - set(16, value); - } - - /** - * Getter for - * public.restriction_document_item_history.status_canceled. - */ - public String getStatusCanceled() { - return (String) get(16); - } - - /** - * Setter for - * public.restriction_document_item_history.status_type. - */ - public void setStatusType(String value) { - set(17, value); - } - - /** - * Getter for - * public.restriction_document_item_history.status_type. - */ - public String getStatusType() { - return (String) get(17); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached RestrictionDocumentItemHistoryRecord - */ - public RestrictionDocumentItemHistoryRecord() { - super(RestrictionDocumentItemHistory.RESTRICTION_DOCUMENT_ITEM_HISTORY); - } - - /** - * Create a detached, initialised RestrictionDocumentItemHistoryRecord - */ - public RestrictionDocumentItemHistoryRecord(UUID id, UUID restrictionDocumentItemId, Timestamp dateTime, String status, Long foivCode, UUID recruitId, String recruitFio, String idErn, UUID vkId, String vkName, UUID userId, String userName, String decisionNumber, Timestamp decisionDate, JSONB extraInfo, String statusApplied, String statusCanceled, String statusType) { - super(RestrictionDocumentItemHistory.RESTRICTION_DOCUMENT_ITEM_HISTORY); - - setId(id); - setRestrictionDocumentItemId(restrictionDocumentItemId); - setDateTime(dateTime); - setStatus(status); - setFoivCode(foivCode); - setRecruitId(recruitId); - setRecruitFio(recruitFio); - setIdErn(idErn); - setVkId(vkId); - setVkName(vkName); - setUserId(userId); - setUserName(userName); - setDecisionNumber(decisionNumber); - setDecisionDate(decisionDate); - setExtraInfo(extraInfo); - setStatusApplied(statusApplied); - setStatusCanceled(statusCanceled); - setStatusType(statusType); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionDocumentItemRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionDocumentItemRecord.java deleted file mode 100644 index 71fa015..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionDocumentItemRecord.java +++ /dev/null @@ -1,285 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentItem; - -import java.sql.Date; -import java.sql.Timestamp; -import java.util.UUID; - -import org.jooq.JSONB; -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class RestrictionDocumentItemRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.restriction_document_item.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.restriction_document_item.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for - * public.restriction_document_item.restriction_document_create_id. - */ - public void setRestrictionDocumentCreateId(UUID value) { - set(1, value); - } - - /** - * Getter for - * public.restriction_document_item.restriction_document_create_id. - */ - public UUID getRestrictionDocumentCreateId() { - return (UUID) get(1); - } - - /** - * Setter for public.restriction_document_item.created_at. - */ - public void setCreatedAt(Timestamp value) { - set(2, value); - } - - /** - * Getter for public.restriction_document_item.created_at. - */ - public Timestamp getCreatedAt() { - return (Timestamp) get(2); - } - - /** - * Setter for public.restriction_document_item.updated_at. - */ - public void setUpdatedAt(Timestamp value) { - set(3, value); - } - - /** - * Getter for public.restriction_document_item.updated_at. - */ - public Timestamp getUpdatedAt() { - return (Timestamp) get(3); - } - - /** - * Setter for public.restriction_document_item.restriction_id. - */ - public void setRestrictionId(UUID value) { - set(4, value); - } - - /** - * Getter for public.restriction_document_item.restriction_id. - */ - public UUID getRestrictionId() { - return (UUID) get(4); - } - - /** - * Setter for public.restriction_document_item.status_applied. - */ - public void setStatusApplied(String value) { - set(5, value); - } - - /** - * Getter for public.restriction_document_item.status_applied. - */ - public String getStatusApplied() { - return (String) get(5); - } - - /** - * Setter for public.restriction_document_item.status_text. - */ - public void setStatusText(String value) { - set(6, value); - } - - /** - * Getter for public.restriction_document_item.status_text. - */ - public String getStatusText() { - return (String) get(6); - } - - /** - * Setter for public.restriction_document_item.applied_date. - */ - public void setAppliedDate(Date value) { - set(7, value); - } - - /** - * Getter for public.restriction_document_item.applied_date. - */ - public Date getAppliedDate() { - return (Date) get(7); - } - - /** - * Setter for public.restriction_document_item.cancel_date. - */ - public void setCancelDate(Date value) { - set(8, value); - } - - /** - * Getter for public.restriction_document_item.cancel_date. - */ - public Date getCancelDate() { - return (Date) get(8); - } - - /** - * Setter for public.restriction_document_item.extra_info. - */ - public void setExtraInfo(JSONB value) { - set(9, value); - } - - /** - * Getter for public.restriction_document_item.extra_info. - */ - public JSONB getExtraInfo() { - return (JSONB) get(9); - } - - /** - * Setter for public.restriction_document_item.applied_fact. - */ - public void setAppliedFact(Boolean value) { - set(10, value); - } - - /** - * Getter for public.restriction_document_item.applied_fact. - */ - public Boolean getAppliedFact() { - return (Boolean) get(10); - } - - /** - * Setter for - * public.restriction_document_item.restriction_document_cancel_id. - */ - public void setRestrictionDocumentCancelId(UUID value) { - set(11, value); - } - - /** - * Getter for - * public.restriction_document_item.restriction_document_cancel_id. - */ - public UUID getRestrictionDocumentCancelId() { - return (UUID) get(11); - } - - /** - * Setter for public.restriction_document_item.status_canceled. - */ - public void setStatusCanceled(String value) { - set(12, value); - } - - /** - * Getter for public.restriction_document_item.status_canceled. - */ - public String getStatusCanceled() { - return (String) get(12); - } - - /** - * Setter for public.restriction_document_item.foiv_code. - */ - public void setFoivCode(Long value) { - set(13, value); - } - - /** - * Getter for public.restriction_document_item.foiv_code. - */ - public Long getFoivCode() { - return (Long) get(13); - } - - /** - * Setter for - * public.restriction_document_item.human_readable_id. - */ - public void setHumanReadableId(String value) { - set(14, value); - } - - /** - * Getter for - * public.restriction_document_item.human_readable_id. - */ - public String getHumanReadableId() { - return (String) get(14); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached RestrictionDocumentItemRecord - */ - public RestrictionDocumentItemRecord() { - super(RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM); - } - - /** - * Create a detached, initialised RestrictionDocumentItemRecord - */ - public RestrictionDocumentItemRecord(UUID id, UUID restrictionDocumentCreateId, Timestamp createdAt, Timestamp updatedAt, UUID restrictionId, String statusApplied, String statusText, Date appliedDate, Date cancelDate, JSONB extraInfo, Boolean appliedFact, UUID restrictionDocumentCancelId, String statusCanceled, Long foivCode, String humanReadableId) { - super(RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM); - - setId(id); - setRestrictionDocumentCreateId(restrictionDocumentCreateId); - setCreatedAt(createdAt); - setUpdatedAt(updatedAt); - setRestrictionId(restrictionId); - setStatusApplied(statusApplied); - setStatusText(statusText); - setAppliedDate(appliedDate); - setCancelDate(cancelDate); - setExtraInfo(extraInfo); - setAppliedFact(appliedFact); - setRestrictionDocumentCancelId(restrictionDocumentCancelId); - setStatusCanceled(statusCanceled); - setFoivCode(foivCode); - setHumanReadableId(humanReadableId); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionDocumentRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionDocumentRecord.java deleted file mode 100644 index 01add31..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionDocumentRecord.java +++ /dev/null @@ -1,264 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocument; - -import java.sql.Date; -import java.sql.Timestamp; -import java.util.UUID; - -import org.jooq.JSONB; -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class RestrictionDocumentRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.restriction_document.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.restriction_document.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.restriction_document.subpoena_id. - */ - public void setSubpoenaId(UUID value) { - set(1, value); - } - - /** - * Getter for public.restriction_document.subpoena_id. - */ - public UUID getSubpoenaId() { - return (UUID) get(1); - } - - /** - * Setter for public.restriction_document.created_at. - */ - public void setCreatedAt(Timestamp value) { - set(2, value); - } - - /** - * Getter for public.restriction_document.created_at. - */ - public Timestamp getCreatedAt() { - return (Timestamp) get(2); - } - - /** - * Setter for public.restriction_document.updated_at. - */ - public void setUpdatedAt(Timestamp value) { - set(3, value); - } - - /** - * Getter for public.restriction_document.updated_at. - */ - public Timestamp getUpdatedAt() { - return (Timestamp) get(3); - } - - /** - * Setter for public.restriction_document.vk_id. - */ - public void setVkId(UUID value) { - set(4, value); - } - - /** - * Getter for public.restriction_document.vk_id. - */ - public UUID getVkId() { - return (UUID) get(4); - } - - /** - * Setter for public.restriction_document.user_id. - */ - public void setUserId(UUID value) { - set(5, value); - } - - /** - * Getter for public.restriction_document.user_id. - */ - public UUID getUserId() { - return (UUID) get(5); - } - - /** - * Setter for public.restriction_document.user_name. - */ - public void setUserName(String value) { - set(6, value); - } - - /** - * Getter for public.restriction_document.user_name. - */ - public String getUserName() { - return (String) get(6); - } - - /** - * Setter for public.restriction_document.status. - */ - public void setStatus(String value) { - set(7, value); - } - - /** - * Getter for public.restriction_document.status. - */ - public String getStatus() { - return (String) get(7); - } - - /** - * Setter for public.restriction_document.decision_number. - */ - public void setDecisionNumber(String value) { - set(8, value); - } - - /** - * Getter for public.restriction_document.decision_number. - */ - public String getDecisionNumber() { - return (String) get(8); - } - - /** - * Setter for public.restriction_document.decision_date. - */ - public void setDecisionDate(Date value) { - set(9, value); - } - - /** - * Getter for public.restriction_document.decision_date. - */ - public Date getDecisionDate() { - return (Date) get(9); - } - - /** - * Setter for public.restriction_document.decision_reason. - */ - public void setDecisionReason(String value) { - set(10, value); - } - - /** - * Getter for public.restriction_document.decision_reason. - */ - public String getDecisionReason() { - return (String) get(10); - } - - /** - * Setter for public.restriction_document.extra_info. - */ - public void setExtraInfo(JSONB value) { - set(11, value); - } - - /** - * Getter for public.restriction_document.extra_info. - */ - public JSONB getExtraInfo() { - return (JSONB) get(11); - } - - /** - * Setter for public.restriction_document.type. - */ - public void setType(String value) { - set(12, value); - } - - /** - * Getter for public.restriction_document.type. - */ - public String getType() { - return (String) get(12); - } - - /** - * Setter for public.restriction_document.recruitment_name. - */ - public void setRecruitmentName(String value) { - set(13, value); - } - - /** - * Getter for public.restriction_document.recruitment_name. - */ - public String getRecruitmentName() { - return (String) get(13); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached RestrictionDocumentRecord - */ - public RestrictionDocumentRecord() { - super(RestrictionDocument.RESTRICTION_DOCUMENT); - } - - /** - * Create a detached, initialised RestrictionDocumentRecord - */ - public RestrictionDocumentRecord(UUID id, UUID subpoenaId, Timestamp createdAt, Timestamp updatedAt, UUID vkId, UUID userId, String userName, String status, String decisionNumber, Date decisionDate, String decisionReason, JSONB extraInfo, String type, String recruitmentName) { - super(RestrictionDocument.RESTRICTION_DOCUMENT); - - setId(id); - setSubpoenaId(subpoenaId); - setCreatedAt(createdAt); - setUpdatedAt(updatedAt); - setVkId(vkId); - setUserId(userId); - setUserName(userName); - setStatus(status); - setDecisionNumber(decisionNumber); - setDecisionDate(decisionDate); - setDecisionReason(decisionReason); - setExtraInfo(extraInfo); - setType(type); - setRecruitmentName(recruitmentName); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionDocumentStatusRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionDocumentStatusRecord.java deleted file mode 100644 index 076f658..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionDocumentStatusRecord.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.RestrictionDocumentStatus; - -import java.util.UUID; - -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class RestrictionDocumentStatusRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.restriction_document_status.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.restriction_document_status.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.restriction_document_status.code. - */ - public void setCode(String value) { - set(1, value); - } - - /** - * Getter for public.restriction_document_status.code. - */ - public String getCode() { - return (String) get(1); - } - - /** - * Setter for public.restriction_document_status.name. - */ - public void setName(String value) { - set(2, value); - } - - /** - * Getter for public.restriction_document_status.name. - */ - public String getName() { - return (String) get(2); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached RestrictionDocumentStatusRecord - */ - public RestrictionDocumentStatusRecord() { - super(RestrictionDocumentStatus.RESTRICTION_DOCUMENT_STATUS); - } - - /** - * Create a detached, initialised RestrictionDocumentStatusRecord - */ - public RestrictionDocumentStatusRecord(UUID id, String code, String name) { - super(RestrictionDocumentStatus.RESTRICTION_DOCUMENT_STATUS); - - setId(id); - setCode(code); - setName(name); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionRecord.java deleted file mode 100644 index eaf91f6..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/RestrictionRecord.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.Restriction; - -import java.util.UUID; - -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class RestrictionRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.restriction.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.restriction.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.restriction.code. - */ - public void setCode(String value) { - set(1, value); - } - - /** - * Getter for public.restriction.code. - */ - public String getCode() { - return (String) get(1); - } - - /** - * Setter for public.restriction.name. - */ - public void setName(String value) { - set(2, value); - } - - /** - * Getter for public.restriction.name. - */ - public String getName() { - return (String) get(2); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached RestrictionRecord - */ - public RestrictionRecord() { - super(Restriction.RESTRICTION); - } - - /** - * Create a detached, initialised RestrictionRecord - */ - public RestrictionRecord(UUID id, String code, String name) { - super(Restriction.RESTRICTION); - - setId(id); - setCode(code); - setName(name); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SendDictionaryRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SendDictionaryRecord.java deleted file mode 100644 index 28d022d..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SendDictionaryRecord.java +++ /dev/null @@ -1,141 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.SendDictionary; - -import java.util.UUID; - -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SendDictionaryRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.send_dictionary.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.send_dictionary.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.send_dictionary.code. - */ - public void setCode(String value) { - set(1, value); - } - - /** - * Getter for public.send_dictionary.code. - */ - public String getCode() { - return (String) get(1); - } - - /** - * Setter for public.send_dictionary.name. - */ - public void setName(String value) { - set(2, value); - } - - /** - * Getter for public.send_dictionary.name. - */ - public String getName() { - return (String) get(2); - } - - /** - * Setter for public.send_dictionary.type. - */ - public void setType(String value) { - set(3, value); - } - - /** - * Getter for public.send_dictionary.type. - */ - public String getType() { - return (String) get(3); - } - - /** - * Setter for public.send_dictionary.hidden. - */ - public void setHidden(Boolean value) { - set(4, value); - } - - /** - * Getter for public.send_dictionary.hidden. - */ - public Boolean getHidden() { - return (Boolean) get(4); - } - - /** - * Setter for public.send_dictionary.to_front. - */ - public void setToFront(Boolean value) { - set(5, value); - } - - /** - * Getter for public.send_dictionary.to_front. - */ - public Boolean getToFront() { - return (Boolean) get(5); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SendDictionaryRecord - */ - public SendDictionaryRecord() { - super(SendDictionary.SEND_DICTIONARY); - } - - /** - * Create a detached, initialised SendDictionaryRecord - */ - public SendDictionaryRecord(UUID id, String code, String name, String type, Boolean hidden, Boolean toFront) { - super(SendDictionary.SEND_DICTIONARY); - - setId(id); - setCode(code); - setName(name); - setType(type); - setHidden(hidden); - setToFront(toFront); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaAppearanceRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaAppearanceRecord.java deleted file mode 100644 index 95a975b..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaAppearanceRecord.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaAppearance; - -import java.sql.Date; -import java.sql.Timestamp; -import java.util.UUID; - -import org.jooq.JSONB; -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SubpoenaAppearanceRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.subpoena_appearance.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.subpoena_appearance.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.subpoena_appearance.subpoena_id. - */ - public void setSubpoenaId(UUID value) { - set(1, value); - } - - /** - * Getter for public.subpoena_appearance.subpoena_id. - */ - public UUID getSubpoenaId() { - return (UUID) get(1); - } - - /** - * Setter for public.subpoena_appearance.fact_appearance. - */ - public void setFactAppearance(Boolean value) { - set(2, value); - } - - /** - * Getter for public.subpoena_appearance.fact_appearance. - */ - public Boolean getFactAppearance() { - return (Boolean) get(2); - } - - /** - * Setter for public.subpoena_appearance.date_appearance. - */ - public void setDateAppearance(Date value) { - set(3, value); - } - - /** - * Getter for public.subpoena_appearance.date_appearance. - */ - public Date getDateAppearance() { - return (Date) get(3); - } - - /** - * Setter for public.subpoena_appearance.nonappearance_info. - */ - public void setNonappearanceInfo(JSONB value) { - set(4, value); - } - - /** - * Getter for public.subpoena_appearance.nonappearance_info. - */ - public JSONB getNonappearanceInfo() { - return (JSONB) get(4); - } - - /** - * Setter for public.subpoena_appearance.created_date_time. - */ - public void setCreatedDateTime(Timestamp value) { - set(5, value); - } - - /** - * Getter for public.subpoena_appearance.created_date_time. - */ - public Timestamp getCreatedDateTime() { - return (Timestamp) get(5); - } - - /** - * Setter for public.subpoena_appearance.change_date_time. - */ - public void setChangeDateTime(Timestamp value) { - set(6, value); - } - - /** - * Getter for public.subpoena_appearance.change_date_time. - */ - public Timestamp getChangeDateTime() { - return (Timestamp) get(6); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SubpoenaAppearanceRecord - */ - public SubpoenaAppearanceRecord() { - super(SubpoenaAppearance.SUBPOENA_APPEARANCE); - } - - /** - * Create a detached, initialised SubpoenaAppearanceRecord - */ - public SubpoenaAppearanceRecord(UUID id, UUID subpoenaId, Boolean factAppearance, Date dateAppearance, JSONB nonappearanceInfo, Timestamp createdDateTime, Timestamp changeDateTime) { - super(SubpoenaAppearance.SUBPOENA_APPEARANCE); - - setId(id); - setSubpoenaId(subpoenaId); - setFactAppearance(factAppearance); - setDateAppearance(dateAppearance); - setNonappearanceInfo(nonappearanceInfo); - setCreatedDateTime(createdDateTime); - setChangeDateTime(changeDateTime); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaExportRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaExportRecord.java deleted file mode 100644 index 38d96cd..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaExportRecord.java +++ /dev/null @@ -1,158 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaExport; - -import java.sql.Timestamp; -import java.util.UUID; - -import org.jooq.JSONB; -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SubpoenaExportRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.subpoena_export.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.subpoena_export.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.subpoena_export.department_id. - */ - public void setDepartmentId(UUID value) { - set(1, value); - } - - /** - * Getter for public.subpoena_export.department_id. - */ - public UUID getDepartmentId() { - return (UUID) get(1); - } - - /** - * Setter for public.subpoena_export.system_create_date. - */ - public void setSystemCreateDate(Timestamp value) { - set(2, value); - } - - /** - * Getter for public.subpoena_export.system_create_date. - */ - public Timestamp getSystemCreateDate() { - return (Timestamp) get(2); - } - - /** - * Setter for public.subpoena_export.system_update_date. - */ - public void setSystemUpdateDate(Timestamp value) { - set(3, value); - } - - /** - * Getter for public.subpoena_export.system_update_date. - */ - public Timestamp getSystemUpdateDate() { - return (Timestamp) get(3); - } - - /** - * Setter for public.subpoena_export.s3url. - */ - public void setS3url(String value) { - set(4, value); - } - - /** - * Getter for public.subpoena_export.s3url. - */ - public String getS3url() { - return (String) get(4); - } - - /** - * Setter for public.subpoena_export.status. - */ - public void setStatus(Long value) { - set(5, value); - } - - /** - * Getter for public.subpoena_export.status. - */ - public Long getStatus() { - return (Long) get(5); - } - - /** - * Setter for public.subpoena_export.extra_info. - */ - public void setExtraInfo(JSONB value) { - set(6, value); - } - - /** - * Getter for public.subpoena_export.extra_info. - */ - public JSONB getExtraInfo() { - return (JSONB) get(6); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SubpoenaExportRecord - */ - public SubpoenaExportRecord() { - super(SubpoenaExport.SUBPOENA_EXPORT); - } - - /** - * Create a detached, initialised SubpoenaExportRecord - */ - public SubpoenaExportRecord(UUID id, UUID departmentId, Timestamp systemCreateDate, Timestamp systemUpdateDate, String s3url, Long status, JSONB extraInfo) { - super(SubpoenaExport.SUBPOENA_EXPORT); - - setId(id); - setDepartmentId(departmentId); - setSystemCreateDate(systemCreateDate); - setSystemUpdateDate(systemUpdateDate); - setS3url(s3url); - setStatus(status); - setExtraInfo(extraInfo); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaHistoryRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaHistoryRecord.java deleted file mode 100644 index c8f9245..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaHistoryRecord.java +++ /dev/null @@ -1,173 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaHistory; - -import java.sql.Timestamp; -import java.util.UUID; - -import org.jooq.JSONB; -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SubpoenaHistoryRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.subpoena_history.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.subpoena_history.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.subpoena_history.date_time. - */ - public void setDateTime(Timestamp value) { - set(1, value); - } - - /** - * Getter for public.subpoena_history.date_time. - */ - public Timestamp getDateTime() { - return (Timestamp) get(1); - } - - /** - * Setter for public.subpoena_history.user_name. - */ - public void setUserName(String value) { - set(2, value); - } - - /** - * Getter for public.subpoena_history.user_name. - */ - public String getUserName() { - return (String) get(2); - } - - /** - * Setter for public.subpoena_history.subpoena_id. - */ - public void setSubpoenaId(UUID value) { - set(3, value); - } - - /** - * Getter for public.subpoena_history.subpoena_id. - */ - public UUID getSubpoenaId() { - return (UUID) get(3); - } - - /** - * Setter for public.subpoena_history.user_id. - */ - public void setUserId(String value) { - set(4, value); - } - - /** - * Getter for public.subpoena_history.user_id. - */ - public String getUserId() { - return (String) get(4); - } - - /** - * Setter for public.subpoena_history.status_id. - */ - public void setStatusId(UUID value) { - set(5, value); - } - - /** - * Getter for public.subpoena_history.status_id. - */ - public UUID getStatusId() { - return (UUID) get(5); - } - - /** - * Setter for public.subpoena_history.date_time_wtz. - */ - public void setDateTimeWtz(Timestamp value) { - set(6, value); - } - - /** - * Getter for public.subpoena_history.date_time_wtz. - */ - public Timestamp getDateTimeWtz() { - return (Timestamp) get(6); - } - - /** - * Setter for public.subpoena_history.user_info. - */ - public void setUserInfo(JSONB value) { - set(7, value); - } - - /** - * Getter for public.subpoena_history.user_info. - */ - public JSONB getUserInfo() { - return (JSONB) get(7); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SubpoenaHistoryRecord - */ - public SubpoenaHistoryRecord() { - super(SubpoenaHistory.SUBPOENA_HISTORY); - } - - /** - * Create a detached, initialised SubpoenaHistoryRecord - */ - public SubpoenaHistoryRecord(UUID id, Timestamp dateTime, String userName, UUID subpoenaId, String userId, UUID statusId, Timestamp dateTimeWtz, JSONB userInfo) { - super(SubpoenaHistory.SUBPOENA_HISTORY); - - setId(id); - setDateTime(dateTime); - setUserName(userName); - setSubpoenaId(subpoenaId); - setUserId(userId); - setStatusId(statusId); - setDateTimeWtz(dateTimeWtz); - setUserInfo(userInfo); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaReasonRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaReasonRecord.java deleted file mode 100644 index 2ab371b..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaReasonRecord.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaReason; - -import java.util.UUID; - -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SubpoenaReasonRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.subpoena_reason.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.subpoena_reason.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.subpoena_reason.code. - */ - public void setCode(String value) { - set(1, value); - } - - /** - * Getter for public.subpoena_reason.code. - */ - public String getCode() { - return (String) get(1); - } - - /** - * Setter for public.subpoena_reason.name. - */ - public void setName(String value) { - set(2, value); - } - - /** - * Getter for public.subpoena_reason.name. - */ - public String getName() { - return (String) get(2); - } - - /** - * Setter for public.subpoena_reason.type. - */ - public void setType(String value) { - set(3, value); - } - - /** - * Getter for public.subpoena_reason.type. - */ - public String getType() { - return (String) get(3); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SubpoenaReasonRecord - */ - public SubpoenaReasonRecord() { - super(SubpoenaReason.SUBPOENA_REASON); - } - - /** - * Create a detached, initialised SubpoenaReasonRecord - */ - public SubpoenaReasonRecord(UUID id, String code, String name, String type) { - super(SubpoenaReason.SUBPOENA_REASON); - - setId(id); - setCode(code); - setName(name); - setType(type); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaRecord.java deleted file mode 100644 index 3f5696a..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaRecord.java +++ /dev/null @@ -1,804 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.Subpoena; - -import java.sql.Date; -import java.sql.Timestamp; -import java.util.UUID; - -import org.jooq.JSONB; -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SubpoenaRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.subpoena.series. - */ - public void setSeries(String value) { - set(0, value); - } - - /** - * Getter for public.subpoena.series. - */ - public String getSeries() { - return (String) get(0); - } - - /** - * Setter for public.subpoena.number. - */ - public void setNumber(String value) { - set(1, value); - } - - /** - * Getter for public.subpoena.number. - */ - public String getNumber() { - return (String) get(1); - } - - /** - * Setter for public.subpoena.id_ern. - */ - public void setIdErn(String value) { - set(2, value); - } - - /** - * Getter for public.subpoena.id_ern. - */ - public String getIdErn() { - return (String) get(2); - } - - /** - * Setter for public.subpoena.create_date. - */ - public void setCreateDate(Timestamp value) { - set(3, value); - } - - /** - * Getter for public.subpoena.create_date. - */ - public Timestamp getCreateDate() { - return (Timestamp) get(3); - } - - /** - * Setter for public.subpoena.visit_date. - */ - public void setVisitDate(Timestamp value) { - set(4, value); - } - - /** - * Getter for public.subpoena.visit_date. - */ - public Timestamp getVisitDate() { - return (Timestamp) get(4); - } - - /** - * Setter for public.subpoena.send_date. - */ - public void setSendDate(Timestamp value) { - set(5, value); - } - - /** - * Getter for public.subpoena.send_date. - */ - public Timestamp getSendDate() { - return (Timestamp) get(5); - } - - /** - * Setter for public.subpoena.reason_cancelled. - */ - public void setReasonCancelled(String value) { - set(6, value); - } - - /** - * Getter for public.subpoena.reason_cancelled. - */ - public String getReasonCancelled() { - return (String) get(6); - } - - /** - * Setter for public.subpoena.full_name_responsible_user. - */ - public void setFullNameResponsibleUser(String value) { - set(7, value); - } - - /** - * Getter for public.subpoena.full_name_responsible_user. - */ - public String getFullNameResponsibleUser() { - return (String) get(7); - } - - /** - * Setter for public.subpoena.post_responsible_user. - */ - public void setPostResponsibleUser(String value) { - set(8, value); - } - - /** - * Getter for public.subpoena.post_responsible_user. - */ - public String getPostResponsibleUser() { - return (String) get(8); - } - - /** - * Setter for public.subpoena.sig_info. - */ - public void setSigInfo(String value) { - set(9, value); - } - - /** - * Getter for public.subpoena.sig_info. - */ - public String getSigInfo() { - return (String) get(9); - } - - /** - * Setter for public.subpoena.recruitment_code. - */ - public void setRecruitmentCode(String value) { - set(10, value); - } - - /** - * Getter for public.subpoena.recruitment_code. - */ - public String getRecruitmentCode() { - return (String) get(10); - } - - /** - * Setter for public.subpoena.recruitment_address. - */ - public void setRecruitmentAddress(String value) { - set(11, value); - } - - /** - * Getter for public.subpoena.recruitment_address. - */ - public String getRecruitmentAddress() { - return (String) get(11); - } - - /** - * Setter for public.subpoena.last_name. - */ - public void setLastName(String value) { - set(12, value); - } - - /** - * Getter for public.subpoena.last_name. - */ - public String getLastName() { - return (String) get(12); - } - - /** - * Setter for public.subpoena.first_name. - */ - public void setFirstName(String value) { - set(13, value); - } - - /** - * Getter for public.subpoena.first_name. - */ - public String getFirstName() { - return (String) get(13); - } - - /** - * Setter for public.subpoena.middle_name. - */ - public void setMiddleName(String value) { - set(14, value); - } - - /** - * Getter for public.subpoena.middle_name. - */ - public String getMiddleName() { - return (String) get(14); - } - - /** - * Setter for public.subpoena.date_birth. - */ - public void setDateBirth(Date value) { - set(15, value); - } - - /** - * Getter for public.subpoena.date_birth. - */ - public Date getDateBirth() { - return (Date) get(15); - } - - /** - * Setter for public.subpoena.snils. - */ - public void setSnils(String value) { - set(16, value); - } - - /** - * Getter for public.subpoena.snils. - */ - public String getSnils() { - return (String) get(16); - } - - /** - * Setter for public.subpoena.address_live. - */ - public void setAddressLive(String value) { - set(17, value); - } - - /** - * Getter for public.subpoena.address_live. - */ - public String getAddressLive() { - return (String) get(17); - } - - /** - * Setter for public.subpoena.address_current_reg. - */ - public void setAddressCurrentReg(String value) { - set(18, value); - } - - /** - * Getter for public.subpoena.address_current_reg. - */ - public String getAddressCurrentReg() { - return (String) get(18); - } - - /** - * Setter for public.subpoena.address_current. - */ - public void setAddressCurrent(String value) { - set(19, value); - } - - /** - * Getter for public.subpoena.address_current. - */ - public String getAddressCurrent() { - return (String) get(19); - } - - /** - * Setter for public.subpoena.type_dul. - */ - public void setTypeDul(String value) { - set(20, value); - } - - /** - * Getter for public.subpoena.type_dul. - */ - public String getTypeDul() { - return (String) get(20); - } - - /** - * Setter for public.subpoena.series_dul. - */ - public void setSeriesDul(String value) { - set(21, value); - } - - /** - * Getter for public.subpoena.series_dul. - */ - public String getSeriesDul() { - return (String) get(21); - } - - /** - * Setter for public.subpoena.number_dul. - */ - public void setNumberDul(String value) { - set(22, value); - } - - /** - * Getter for public.subpoena.number_dul. - */ - public String getNumberDul() { - return (String) get(22); - } - - /** - * Setter for public.subpoena.issue_id_code_dul. - */ - public void setIssueIdCodeDul(String value) { - set(23, value); - } - - /** - * Getter for public.subpoena.issue_id_code_dul. - */ - public String getIssueIdCodeDul() { - return (String) get(23); - } - - /** - * Setter for public.subpoena.issue_org_dul. - */ - public void setIssueOrgDul(String value) { - set(24, value); - } - - /** - * Getter for public.subpoena.issue_org_dul. - */ - public String getIssueOrgDul() { - return (String) get(24); - } - - /** - * Setter for public.subpoena.issue_date_dul. - */ - public void setIssueDateDul(Date value) { - set(25, value); - } - - /** - * Getter for public.subpoena.issue_date_dul. - */ - public Date getIssueDateDul() { - return (Date) get(25); - } - - /** - * Setter for public.subpoena.sig_s3url. - */ - public void setSigS3url(String value) { - set(26, value); - } - - /** - * Getter for public.subpoena.sig_s3url. - */ - public String getSigS3url() { - return (String) get(26); - } - - /** - * Setter for public.subpoena.sig_name. - */ - public void setSigName(String value) { - set(27, value); - } - - /** - * Getter for public.subpoena.sig_name. - */ - public String getSigName() { - return (String) get(27); - } - - /** - * Setter for public.subpoena.sig. - */ - public void setSig(String value) { - set(28, value); - } - - /** - * Getter for public.subpoena.sig. - */ - public String getSig() { - return (String) get(28); - } - - /** - * Setter for public.subpoena.format. - */ - public void setFormat(String value) { - set(29, value); - } - - /** - * Getter for public.subpoena.format. - */ - public String getFormat() { - return (String) get(29); - } - - /** - * Setter for public.subpoena.digest. - */ - public void setDigest(String value) { - set(30, value); - } - - /** - * Getter for public.subpoena.digest. - */ - public String getDigest() { - return (String) get(30); - } - - /** - * Setter for public.subpoena.s3_url. - */ - public void setS3Url(String value) { - set(31, value); - } - - /** - * Getter for public.subpoena.s3_url. - */ - public String getS3Url() { - return (String) get(31); - } - - /** - * Setter for public.subpoena.s3_name. - */ - public void setS3Name(String value) { - set(32, value); - } - - /** - * Getter for public.subpoena.s3_name. - */ - public String getS3Name() { - return (String) get(32); - } - - /** - * Setter for public.subpoena.id. - */ - public void setId(UUID value) { - set(33, value); - } - - /** - * Getter for public.subpoena.id. - */ - public UUID getId() { - return (UUID) get(33); - } - - /** - * Setter for public.subpoena.recruit_id. - */ - public void setRecruitId(UUID value) { - set(34, value); - } - - /** - * Getter for public.subpoena.recruit_id. - */ - public UUID getRecruitId() { - return (UUID) get(34); - } - - /** - * Setter for public.subpoena.status_change_date. - */ - public void setStatusChangeDate(Timestamp value) { - set(35, value); - } - - /** - * Getter for public.subpoena.status_change_date. - */ - public Timestamp getStatusChangeDate() { - return (Timestamp) get(35); - } - - /** - * Setter for public.subpoena.department_id. - */ - public void setDepartmentId(UUID value) { - set(36, value); - } - - /** - * Getter for public.subpoena.department_id. - */ - public UUID getDepartmentId() { - return (UUID) get(36); - } - - /** - * Setter for public.subpoena.recruitment_name. - */ - public void setRecruitmentName(String value) { - set(37, value); - } - - /** - * Getter for public.subpoena.recruitment_name. - */ - public String getRecruitmentName() { - return (String) get(37); - } - - /** - * Setter for public.subpoena.track_number_postal_item. - */ - public void setTrackNumberPostalItem(String value) { - set(38, value); - } - - /** - * Getter for public.subpoena.track_number_postal_item. - */ - public String getTrackNumberPostalItem() { - return (String) get(38); - } - - /** - * Setter for public.subpoena.extra_info. - */ - public void setExtraInfo(JSONB value) { - set(39, value); - } - - /** - * Getter for public.subpoena.extra_info. - */ - public JSONB getExtraInfo() { - return (JSONB) get(39); - } - - /** - * Setter for public.subpoena.status_id. - */ - public void setStatusId(UUID value) { - set(40, value); - } - - /** - * Getter for public.subpoena.status_id. - */ - public UUID getStatusId() { - return (UUID) get(40); - } - - /** - * Setter for public.subpoena.reason_id. - */ - public void setReasonId(UUID value) { - set(41, value); - } - - /** - * Getter for public.subpoena.reason_id. - */ - public UUID getReasonId() { - return (UUID) get(41); - } - - /** - * Setter for public.subpoena.delivery_info. - */ - public void setDeliveryInfo(JSONB value) { - set(42, value); - } - - /** - * Getter for public.subpoena.delivery_info. - */ - public JSONB getDeliveryInfo() { - return (JSONB) get(42); - } - - /** - * Setter for public.subpoena.system_stages. - */ - public void setSystemStages(JSONB value) { - set(43, value); - } - - /** - * Getter for public.subpoena.system_stages. - */ - public JSONB getSystemStages() { - return (JSONB) get(43); - } - - /** - * Setter for public.subpoena.automatic_service_subpoena. - */ - public void setAutomaticServiceSubpoena(Date value) { - set(44, value); - } - - /** - * Getter for public.subpoena.automatic_service_subpoena. - */ - public Date getAutomaticServiceSubpoena() { - return (Date) get(44); - } - - /** - * Setter for public.subpoena.automatic_application_measures. - */ - public void setAutomaticApplicationMeasures(Date value) { - set(45, value); - } - - /** - * Getter for public.subpoena.automatic_application_measures. - */ - public Date getAutomaticApplicationMeasures() { - return (Date) get(45); - } - - /** - * Setter for public.subpoena.finish_date. - */ - public void setFinishDate(Date value) { - set(46, value); - } - - /** - * Getter for public.subpoena.finish_date. - */ - public Date getFinishDate() { - return (Date) get(46); - } - - /** - * Setter for public.subpoena.summon_list_id. - */ - public void setSummonListId(UUID value) { - set(47, value); - } - - /** - * Getter for public.subpoena.summon_list_id. - */ - public UUID getSummonListId() { - return (UUID) get(47); - } - - /** - * Setter for public.subpoena.signer_name. - */ - public void setSignerName(String value) { - set(48, value); - } - - /** - * Getter for public.subpoena.signer_name. - */ - public String getSignerName() { - return (String) get(48); - } - - /** - * Setter for public.subpoena.human_readable_id. - */ - public void setHumanReadableId(String value) { - set(49, value); - } - - /** - * Getter for public.subpoena.human_readable_id. - */ - public String getHumanReadableId() { - return (String) get(49); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SubpoenaRecord - */ - public SubpoenaRecord() { - super(Subpoena.SUBPOENA); - } - - /** - * Create a detached, initialised SubpoenaRecord - */ - public SubpoenaRecord(String series, String number, String idErn, Timestamp createDate, Timestamp visitDate, Timestamp sendDate, String reasonCancelled, String fullNameResponsibleUser, String postResponsibleUser, String sigInfo, String recruitmentCode, String recruitmentAddress, String lastName, String firstName, String middleName, Date dateBirth, String snils, String addressLive, String addressCurrentReg, String addressCurrent, String typeDul, String seriesDul, String numberDul, String issueIdCodeDul, String issueOrgDul, Date issueDateDul, String sigS3url, String sigName, String sig, String format, String digest, String s3Url, String s3Name, UUID id, UUID recruitId, Timestamp statusChangeDate, UUID departmentId, String recruitmentName, String trackNumberPostalItem, JSONB extraInfo, UUID statusId, UUID reasonId, JSONB deliveryInfo, JSONB systemStages, Date automaticServiceSubpoena, Date automaticApplicationMeasures, Date finishDate, UUID summonListId, String signerName, String humanReadableId) { - super(Subpoena.SUBPOENA); - - setSeries(series); - setNumber(number); - setIdErn(idErn); - setCreateDate(createDate); - setVisitDate(visitDate); - setSendDate(sendDate); - setReasonCancelled(reasonCancelled); - setFullNameResponsibleUser(fullNameResponsibleUser); - setPostResponsibleUser(postResponsibleUser); - setSigInfo(sigInfo); - setRecruitmentCode(recruitmentCode); - setRecruitmentAddress(recruitmentAddress); - setLastName(lastName); - setFirstName(firstName); - setMiddleName(middleName); - setDateBirth(dateBirth); - setSnils(snils); - setAddressLive(addressLive); - setAddressCurrentReg(addressCurrentReg); - setAddressCurrent(addressCurrent); - setTypeDul(typeDul); - setSeriesDul(seriesDul); - setNumberDul(numberDul); - setIssueIdCodeDul(issueIdCodeDul); - setIssueOrgDul(issueOrgDul); - setIssueDateDul(issueDateDul); - setSigS3url(sigS3url); - setSigName(sigName); - setSig(sig); - setFormat(format); - setDigest(digest); - setS3Url(s3Url); - setS3Name(s3Name); - setId(id); - setRecruitId(recruitId); - setStatusChangeDate(statusChangeDate); - setDepartmentId(departmentId); - setRecruitmentName(recruitmentName); - setTrackNumberPostalItem(trackNumberPostalItem); - setExtraInfo(extraInfo); - setStatusId(statusId); - setReasonId(reasonId); - setDeliveryInfo(deliveryInfo); - setSystemStages(systemStages); - setAutomaticServiceSubpoena(automaticServiceSubpoena); - setAutomaticApplicationMeasures(automaticApplicationMeasures); - setFinishDate(finishDate); - setSummonListId(summonListId); - setSignerName(signerName); - setHumanReadableId(humanReadableId); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaSendInfoRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaSendInfoRecord.java deleted file mode 100644 index ab33b90..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaSendInfoRecord.java +++ /dev/null @@ -1,264 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaSendInfo; - -import java.sql.Date; -import java.sql.Timestamp; -import java.util.UUID; - -import org.jooq.JSONB; -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SubpoenaSendInfoRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.subpoena_send_info.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.subpoena_send_info.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.subpoena_send_info.subpoena_id. - */ - public void setSubpoenaId(UUID value) { - set(1, value); - } - - /** - * Getter for public.subpoena_send_info.subpoena_id. - */ - public UUID getSubpoenaId() { - return (UUID) get(1); - } - - /** - * Setter for public.subpoena_send_info.send_code. - */ - public void setSendCode(String value) { - set(2, value); - } - - /** - * Getter for public.subpoena_send_info.send_code. - */ - public String getSendCode() { - return (String) get(2); - } - - /** - * Setter for public.subpoena_send_info.send_address. - */ - public void setSendAddress(JSONB value) { - set(3, value); - } - - /** - * Getter for public.subpoena_send_info.send_address. - */ - public JSONB getSendAddress() { - return (JSONB) get(3); - } - - /** - * Setter for public.subpoena_send_info.send_address_type. - */ - public void setSendAddressType(String value) { - set(4, value); - } - - /** - * Getter for public.subpoena_send_info.send_address_type. - */ - public String getSendAddressType() { - return (String) get(4); - } - - /** - * Setter for public.subpoena_send_info.send_date. - */ - public void setSendDate(Timestamp value) { - set(5, value); - } - - /** - * Getter for public.subpoena_send_info.send_date. - */ - public Timestamp getSendDate() { - return (Timestamp) get(5); - } - - /** - * Setter for public.subpoena_send_info.track_number. - */ - public void setTrackNumber(String value) { - set(6, value); - } - - /** - * Getter for public.subpoena_send_info.track_number. - */ - public String getTrackNumber() { - return (String) get(6); - } - - /** - * Setter for public.subpoena_send_info.is_delivered. - */ - public void setIsDelivered(Boolean value) { - set(7, value); - } - - /** - * Getter for public.subpoena_send_info.is_delivered. - */ - public Boolean getIsDelivered() { - return (Boolean) get(7); - } - - /** - * Setter for public.subpoena_send_info.delivery_code. - */ - public void setDeliveryCode(String value) { - set(8, value); - } - - /** - * Getter for public.subpoena_send_info.delivery_code. - */ - public String getDeliveryCode() { - return (String) get(8); - } - - /** - * Setter for public.subpoena_send_info.delivery_date. - */ - public void setDeliveryDate(Timestamp value) { - set(9, value); - } - - /** - * Getter for public.subpoena_send_info.delivery_date. - */ - public Timestamp getDeliveryDate() { - return (Timestamp) get(9); - } - - /** - * Setter for public.subpoena_send_info.act_number. - */ - public void setActNumber(String value) { - set(10, value); - } - - /** - * Getter for public.subpoena_send_info.act_number. - */ - public String getActNumber() { - return (String) get(10); - } - - /** - * Setter for public.subpoena_send_info.act_date. - */ - public void setActDate(Date value) { - set(11, value); - } - - /** - * Getter for public.subpoena_send_info.act_date. - */ - public Date getActDate() { - return (Date) get(11); - } - - /** - * Setter for public.subpoena_send_info.delivery_fio. - */ - public void setDeliveryFio(String value) { - set(12, value); - } - - /** - * Getter for public.subpoena_send_info.delivery_fio. - */ - public String getDeliveryFio() { - return (String) get(12); - } - - /** - * Setter for public.subpoena_send_info.auto_delivery. - */ - public void setAutoDelivery(Boolean value) { - set(13, value); - } - - /** - * Getter for public.subpoena_send_info.auto_delivery. - */ - public Boolean getAutoDelivery() { - return (Boolean) get(13); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SubpoenaSendInfoRecord - */ - public SubpoenaSendInfoRecord() { - super(SubpoenaSendInfo.SUBPOENA_SEND_INFO); - } - - /** - * Create a detached, initialised SubpoenaSendInfoRecord - */ - public SubpoenaSendInfoRecord(UUID id, UUID subpoenaId, String sendCode, JSONB sendAddress, String sendAddressType, Timestamp sendDate, String trackNumber, Boolean isDelivered, String deliveryCode, Timestamp deliveryDate, String actNumber, Date actDate, String deliveryFio, Boolean autoDelivery) { - super(SubpoenaSendInfo.SUBPOENA_SEND_INFO); - - setId(id); - setSubpoenaId(subpoenaId); - setSendCode(sendCode); - setSendAddress(sendAddress); - setSendAddressType(sendAddressType); - setSendDate(sendDate); - setTrackNumber(trackNumber); - setIsDelivered(isDelivered); - setDeliveryCode(deliveryCode); - setDeliveryDate(deliveryDate); - setActNumber(actNumber); - setActDate(actDate); - setDeliveryFio(deliveryFio); - setAutoDelivery(autoDelivery); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaStatusRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaStatusRecord.java deleted file mode 100644 index 79ae688..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SubpoenaStatusRecord.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.SubpoenaStatus; - -import java.util.UUID; - -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SubpoenaStatusRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.subpoena_status.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.subpoena_status.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.subpoena_status.code. - */ - public void setCode(String value) { - set(1, value); - } - - /** - * Getter for public.subpoena_status.code. - */ - public String getCode() { - return (String) get(1); - } - - /** - * Setter for public.subpoena_status.name. - */ - public void setName(String value) { - set(2, value); - } - - /** - * Getter for public.subpoena_status.name. - */ - public String getName() { - return (String) get(2); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SubpoenaStatusRecord - */ - public SubpoenaStatusRecord() { - super(SubpoenaStatus.SUBPOENA_STATUS); - } - - /** - * Create a detached, initialised SubpoenaStatusRecord - */ - public SubpoenaStatusRecord(UUID id, String code, String name) { - super(SubpoenaStatus.SUBPOENA_STATUS); - - setId(id); - setCode(code); - setName(name); - resetChangedOnNotNull(); - } -} diff --git a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SummonListRecord.java b/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SummonListRecord.java deleted file mode 100644 index a52e3d5..0000000 --- a/backend/src/main/java/ervu_secret/ervu_secret/db_beans/public_/tables/records/SummonListRecord.java +++ /dev/null @@ -1,217 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package ervu_secret.ervu_secret.db_beans.public_.tables.records; - - -import ervu_secret.ervu_secret.db_beans.public_.tables.SummonList; - -import java.sql.Timestamp; -import java.util.UUID; - -import org.jooq.Record1; -import org.jooq.impl.UpdatableRecordImpl; - - -/** - * This class is generated by jOOQ. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class SummonListRecord extends UpdatableRecordImpl { - - private static final long serialVersionUID = 1L; - - /** - * Setter for public.summon_list.id. - */ - public void setId(UUID value) { - set(0, value); - } - - /** - * Getter for public.summon_list.id. - */ - public UUID getId() { - return (UUID) get(0); - } - - /** - * Setter for public.summon_list.number. - */ - public void setNumber(Long value) { - set(1, value); - } - - /** - * Getter for public.summon_list.number. - */ - public Long getNumber() { - return (Long) get(1); - } - - /** - * Setter for public.summon_list.title. - */ - public void setTitle(String value) { - set(2, value); - } - - /** - * Getter for public.summon_list.title. - */ - public String getTitle() { - return (String) get(2); - } - - /** - * Setter for public.summon_list.created_at. - */ - public void setCreatedAt(Timestamp value) { - set(3, value); - } - - /** - * Getter for public.summon_list.created_at. - */ - public Timestamp getCreatedAt() { - return (Timestamp) get(3); - } - - /** - * Setter for public.summon_list.updated_at. - */ - public void setUpdatedAt(Timestamp value) { - set(4, value); - } - - /** - * Getter for public.summon_list.updated_at. - */ - public Timestamp getUpdatedAt() { - return (Timestamp) get(4); - } - - /** - * Setter for public.summon_list.status. - */ - public void setStatus(String value) { - set(5, value); - } - - /** - * Getter for public.summon_list.status. - */ - public String getStatus() { - return (String) get(5); - } - - /** - * Setter for public.summon_list.free_count. - */ - public void setFreeCount(Long value) { - set(6, value); - } - - /** - * Getter for public.summon_list.free_count. - */ - public Long getFreeCount() { - return (Long) get(6); - } - - /** - * Setter for public.summon_list.department_id. - */ - public void setDepartmentId(UUID value) { - set(7, value); - } - - /** - * Getter for public.summon_list.department_id. - */ - public UUID getDepartmentId() { - return (UUID) get(7); - } - - /** - * Setter for public.summon_list.delivery_method. - */ - public void setDeliveryMethod(String value) { - set(8, value); - } - - /** - * Getter for public.summon_list.delivery_method. - */ - public String getDeliveryMethod() { - return (String) get(8); - } - - /** - * Setter for public.summon_list.turnout_date. - */ - public void setTurnoutDate(Timestamp value) { - set(9, value); - } - - /** - * Getter for public.summon_list.turnout_date. - */ - public Timestamp getTurnoutDate() { - return (Timestamp) get(9); - } - - /** - * Setter for public.summon_list.summon_objective. - */ - public void setSummonObjective(String value) { - set(10, value); - } - - /** - * Getter for public.summon_list.summon_objective. - */ - public String getSummonObjective() { - return (String) get(10); - } - - // ------------------------------------------------------------------------- - // Primary key information - // ------------------------------------------------------------------------- - - @Override - public Record1 key() { - return (Record1) super.key(); - } - - // ------------------------------------------------------------------------- - // Constructors - // ------------------------------------------------------------------------- - - /** - * Create a detached SummonListRecord - */ - public SummonListRecord() { - super(SummonList.SUMMON_LIST); - } - - /** - * Create a detached, initialised SummonListRecord - */ - public SummonListRecord(UUID id, Long number, String title, Timestamp createdAt, Timestamp updatedAt, String status, Long freeCount, UUID departmentId, String deliveryMethod, Timestamp turnoutDate, String summonObjective) { - super(SummonList.SUMMON_LIST); - - setId(id); - setNumber(number); - setTitle(title); - setCreatedAt(createdAt); - setUpdatedAt(updatedAt); - setStatus(status); - setFreeCount(freeCount); - setDepartmentId(departmentId); - setDeliveryMethod(deliveryMethod); - setTurnoutDate(turnoutDate); - setSummonObjective(summonObjective); - resetChangedOnNotNull(); - } -} diff --git a/resources/src/main/resources/database/datasource.xml b/resources/src/main/resources/database/datasource.xml index a22d986..a668a60 100644 --- a/resources/src/main/resources/database/datasource.xml +++ b/resources/src/main/resources/database/datasource.xml @@ -1,7 +1,7 @@ ervu_secret.ervu_secret.db_beans - subpoena + ervu-secret org.postgresql.Driver 10.10.31.118 false @@ -17,7 +17,7 @@ java:/webbpm/ervuJournalDS public POSTGRES - jdbc:postgresql://10.10.31.118:5432/subpoena + jdbc:postgresql://10.10.31.118:5432/ervu-secret jdbc:postgresql: ervu