database
This commit is contained in:
parent
d8af8f4fd2
commit
68cb3ea674
59 changed files with 2 additions and 12877 deletions
|
|
@ -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 <code>DEFAULT_CATALOG</code>
|
|
||||||
*/
|
|
||||||
public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The schema <code>public</code>.
|
|
||||||
*/
|
|
||||||
public final Public PUBLIC = Public.PUBLIC;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* No further instances allowed
|
|
||||||
*/
|
|
||||||
private DefaultCatalog() {
|
|
||||||
super("");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final List<Schema> 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;
|
|
||||||
}
|
|
||||||
|
|
@ -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 <code>public.gender_domain</code>.
|
|
||||||
*/
|
|
||||||
public static final Domain<String> 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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<FlywaySchemaHistoryRecord> 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<FoivRecord> FOIV_PKEY = Internal.createUniqueKey(Foiv.FOIV, DSL.name("foiv_pkey"), new TableField[] { Foiv.FOIV.CODE }, true);
|
|
||||||
public static final UniqueKey<NotificationRecord> NOTIFICATION_PKEY = Internal.createUniqueKey(Notification.NOTIFICATION, DSL.name("notification_pkey"), new TableField[] { Notification.NOTIFICATION.CODE }, true);
|
|
||||||
public static final UniqueKey<NotificationItemRecord> NOTIFICATION_ITEM_PKEY = Internal.createUniqueKey(NotificationItem.NOTIFICATION_ITEM, DSL.name("notification_item_pkey"), new TableField[] { NotificationItem.NOTIFICATION_ITEM.ID }, true);
|
|
||||||
public static final UniqueKey<RecruitmentRecord> RECRUITMENT_IDM_ID_KEY = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("recruitment_idm_id_key"), new TableField[] { Recruitment.RECRUITMENT.IDM_ID }, true);
|
|
||||||
public static final UniqueKey<RecruitmentRecord> RECRUITMENT_PKEY = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("recruitment_pkey"), new TableField[] { Recruitment.RECRUITMENT.ID }, true);
|
|
||||||
public static final UniqueKey<RecruitsRecord> RECRUITS_PKEY = Internal.createUniqueKey(Recruits.RECRUITS, DSL.name("recruits_pkey"), new TableField[] { Recruits.RECRUITS.ID }, true);
|
|
||||||
public static final UniqueKey<RegionRecord> 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<RegionRecord> REGION_PKEY = Internal.createUniqueKey(Region.REGION, DSL.name("region_pkey"), new TableField[] { Region.REGION.ID }, true);
|
|
||||||
public static final UniqueKey<RestrictionRecord> IDX_RESTRICTION_CODE = Internal.createUniqueKey(Restriction.RESTRICTION, DSL.name("idx_restriction_code"), new TableField[] { Restriction.RESTRICTION.CODE }, true);
|
|
||||||
public static final UniqueKey<RestrictionRecord> RESTRICTION_PKEY = Internal.createUniqueKey(Restriction.RESTRICTION, DSL.name("restriction_pkey"), new TableField[] { Restriction.RESTRICTION.ID }, true);
|
|
||||||
public static final UniqueKey<RestrictionDocumentRecord> RESTRICTION_DOCUMENT_PKEY = Internal.createUniqueKey(RestrictionDocument.RESTRICTION_DOCUMENT, DSL.name("restriction_document_pkey"), new TableField[] { RestrictionDocument.RESTRICTION_DOCUMENT.ID }, true);
|
|
||||||
public static final UniqueKey<RestrictionDocumentItemRecord> 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<RestrictionDocumentItemHistoryRecord> 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<RestrictionDocumentStatusRecord> 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<SendDictionaryRecord> DELIVERY_DIRECTION_PKEY = Internal.createUniqueKey(SendDictionary.SEND_DICTIONARY, DSL.name("delivery_direction_pkey"), new TableField[] { SendDictionary.SEND_DICTIONARY.ID }, true);
|
|
||||||
public static final UniqueKey<SendDictionaryRecord> 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<SubpoenaRecord> SUBPOENA_PKEY = Internal.createUniqueKey(Subpoena.SUBPOENA, DSL.name("subpoena_pkey"), new TableField[] { Subpoena.SUBPOENA.ID }, true);
|
|
||||||
public static final UniqueKey<SubpoenaAppearanceRecord> SUBPOENA_APPEARANCE_PKEY = Internal.createUniqueKey(SubpoenaAppearance.SUBPOENA_APPEARANCE, DSL.name("subpoena_appearance_pkey"), new TableField[] { SubpoenaAppearance.SUBPOENA_APPEARANCE.ID }, true);
|
|
||||||
public static final UniqueKey<SubpoenaExportRecord> SUBPOENA_EXPORT_PKEY = Internal.createUniqueKey(SubpoenaExport.SUBPOENA_EXPORT, DSL.name("subpoena_export_pkey"), new TableField[] { SubpoenaExport.SUBPOENA_EXPORT.ID }, true);
|
|
||||||
public static final UniqueKey<SubpoenaHistoryRecord> SUBPOENA_HISTORY_PKEY = Internal.createUniqueKey(SubpoenaHistory.SUBPOENA_HISTORY, DSL.name("subpoena_history_pkey"), new TableField[] { SubpoenaHistory.SUBPOENA_HISTORY.ID }, true);
|
|
||||||
public static final UniqueKey<SubpoenaReasonRecord> 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<SubpoenaReasonRecord> SUBPOENA_REASON_PKEY = Internal.createUniqueKey(SubpoenaReason.SUBPOENA_REASON, DSL.name("subpoena_reason_pkey"), new TableField[] { SubpoenaReason.SUBPOENA_REASON.ID }, true);
|
|
||||||
public static final UniqueKey<SubpoenaSendInfoRecord> 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<SubpoenaStatusRecord> 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<SubpoenaStatusRecord> SUBPOENA_STATUS_PKEY = Internal.createUniqueKey(SubpoenaStatus.SUBPOENA_STATUS, DSL.name("subpoena_status_pkey"), new TableField[] { SubpoenaStatus.SUBPOENA_STATUS.ID }, true);
|
|
||||||
public static final UniqueKey<SummonListRecord> 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<NotificationItemRecord, FoivRecord> 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<NotificationItemRecord, NotificationRecord> 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<NotificationItemRecord, RestrictionDocumentItemRecord> 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<RestrictionDocumentRecord, SubpoenaRecord> 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<RestrictionDocumentItemRecord, RestrictionRecord> 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<RestrictionDocumentItemRecord, RestrictionDocumentRecord> 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<RestrictionDocumentItemRecord, FoivRecord> 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<RestrictionDocumentItemRecord, RestrictionDocumentRecord> 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<SubpoenaRecord, SubpoenaReasonRecord> 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<SubpoenaRecord, SubpoenaStatusRecord> 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<SubpoenaAppearanceRecord, SubpoenaRecord> 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<SubpoenaHistoryRecord, SubpoenaStatusRecord> 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<SubpoenaHistoryRecord, SubpoenaRecord> 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<SubpoenaSendInfoRecord, SubpoenaRecord> 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);
|
|
||||||
}
|
|
||||||
|
|
@ -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 <code>public</code>
|
|
||||||
*/
|
|
||||||
public static final Public PUBLIC = new Public();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.flyway_schema_history</code>.
|
|
||||||
*/
|
|
||||||
public final FlywaySchemaHistory FLYWAY_SCHEMA_HISTORY = FlywaySchemaHistory.FLYWAY_SCHEMA_HISTORY;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.foiv</code>.
|
|
||||||
*/
|
|
||||||
public final Foiv FOIV = Foiv.FOIV;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.notification</code>.
|
|
||||||
*/
|
|
||||||
public final Notification NOTIFICATION = Notification.NOTIFICATION;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.notification_item</code>.
|
|
||||||
*/
|
|
||||||
public final NotificationItem NOTIFICATION_ITEM = NotificationItem.NOTIFICATION_ITEM;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.recruitment</code>.
|
|
||||||
*/
|
|
||||||
public final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.recruits</code>.
|
|
||||||
*/
|
|
||||||
public final Recruits RECRUITS = Recruits.RECRUITS;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.region</code>.
|
|
||||||
*/
|
|
||||||
public final Region REGION = Region.REGION;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.restriction</code>.
|
|
||||||
*/
|
|
||||||
public final Restriction RESTRICTION = Restriction.RESTRICTION;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.restriction_document</code>.
|
|
||||||
*/
|
|
||||||
public final RestrictionDocument RESTRICTION_DOCUMENT = RestrictionDocument.RESTRICTION_DOCUMENT;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.restriction_document_item</code>.
|
|
||||||
*/
|
|
||||||
public final RestrictionDocumentItem RESTRICTION_DOCUMENT_ITEM = RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.restriction_document_item_history</code>.
|
|
||||||
*/
|
|
||||||
public final RestrictionDocumentItemHistory RESTRICTION_DOCUMENT_ITEM_HISTORY = RestrictionDocumentItemHistory.RESTRICTION_DOCUMENT_ITEM_HISTORY;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.restriction_document_status</code>.
|
|
||||||
*/
|
|
||||||
public final RestrictionDocumentStatus RESTRICTION_DOCUMENT_STATUS = RestrictionDocumentStatus.RESTRICTION_DOCUMENT_STATUS;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.send_dictionary</code>.
|
|
||||||
*/
|
|
||||||
public final SendDictionary SEND_DICTIONARY = SendDictionary.SEND_DICTIONARY;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.subpoena</code>.
|
|
||||||
*/
|
|
||||||
public final Subpoena SUBPOENA = Subpoena.SUBPOENA;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.subpoena_appearance</code>.
|
|
||||||
*/
|
|
||||||
public final SubpoenaAppearance SUBPOENA_APPEARANCE = SubpoenaAppearance.SUBPOENA_APPEARANCE;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.subpoena_export</code>.
|
|
||||||
*/
|
|
||||||
public final SubpoenaExport SUBPOENA_EXPORT = SubpoenaExport.SUBPOENA_EXPORT;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.subpoena_history</code>.
|
|
||||||
*/
|
|
||||||
public final SubpoenaHistory SUBPOENA_HISTORY = SubpoenaHistory.SUBPOENA_HISTORY;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.subpoena_reason</code>.
|
|
||||||
*/
|
|
||||||
public final SubpoenaReason SUBPOENA_REASON = SubpoenaReason.SUBPOENA_REASON;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.subpoena_send_info</code>.
|
|
||||||
*/
|
|
||||||
public final SubpoenaSendInfo SUBPOENA_SEND_INFO = SubpoenaSendInfo.SUBPOENA_SEND_INFO;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.subpoena_status</code>.
|
|
||||||
*/
|
|
||||||
public final SubpoenaStatus SUBPOENA_STATUS = SubpoenaStatus.SUBPOENA_STATUS;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.summon_list</code>.
|
|
||||||
*/
|
|
||||||
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<Domain<?>> getDomains() {
|
|
||||||
return Arrays.asList(
|
|
||||||
Domains.GENDER_DOMAIN
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final List<Table<?>> 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
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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 <code>public.uuid_generate_v1</code>
|
|
||||||
*/
|
|
||||||
public static UUID uuidGenerateV1(
|
|
||||||
Configuration configuration
|
|
||||||
) {
|
|
||||||
UuidGenerateV1 f = new UuidGenerateV1();
|
|
||||||
|
|
||||||
f.execute(configuration);
|
|
||||||
return f.getReturnValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get <code>public.uuid_generate_v1</code> as a field.
|
|
||||||
*/
|
|
||||||
public static Field<UUID> uuidGenerateV1() {
|
|
||||||
UuidGenerateV1 f = new UuidGenerateV1();
|
|
||||||
|
|
||||||
return f.asField();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Call <code>public.uuid_generate_v1mc</code>
|
|
||||||
*/
|
|
||||||
public static UUID uuidGenerateV1mc(
|
|
||||||
Configuration configuration
|
|
||||||
) {
|
|
||||||
UuidGenerateV1mc f = new UuidGenerateV1mc();
|
|
||||||
|
|
||||||
f.execute(configuration);
|
|
||||||
return f.getReturnValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get <code>public.uuid_generate_v1mc</code> as a field.
|
|
||||||
*/
|
|
||||||
public static Field<UUID> uuidGenerateV1mc() {
|
|
||||||
UuidGenerateV1mc f = new UuidGenerateV1mc();
|
|
||||||
|
|
||||||
return f.asField();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Call <code>public.uuid_generate_v3</code>
|
|
||||||
*/
|
|
||||||
public static UUID uuidGenerateV3(
|
|
||||||
Configuration configuration
|
|
||||||
, UUID namespace
|
|
||||||
, String name
|
|
||||||
) {
|
|
||||||
UuidGenerateV3 f = new UuidGenerateV3();
|
|
||||||
f.setNamespace(namespace);
|
|
||||||
f.setName_(name);
|
|
||||||
|
|
||||||
f.execute(configuration);
|
|
||||||
return f.getReturnValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get <code>public.uuid_generate_v3</code> as a field.
|
|
||||||
*/
|
|
||||||
public static Field<UUID> uuidGenerateV3(
|
|
||||||
UUID namespace
|
|
||||||
, String name
|
|
||||||
) {
|
|
||||||
UuidGenerateV3 f = new UuidGenerateV3();
|
|
||||||
f.setNamespace(namespace);
|
|
||||||
f.setName_(name);
|
|
||||||
|
|
||||||
return f.asField();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get <code>public.uuid_generate_v3</code> as a field.
|
|
||||||
*/
|
|
||||||
public static Field<UUID> uuidGenerateV3(
|
|
||||||
Field<UUID> namespace
|
|
||||||
, Field<String> name
|
|
||||||
) {
|
|
||||||
UuidGenerateV3 f = new UuidGenerateV3();
|
|
||||||
f.setNamespace(namespace);
|
|
||||||
f.setName_(name);
|
|
||||||
|
|
||||||
return f.asField();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Call <code>public.uuid_generate_v4</code>
|
|
||||||
*/
|
|
||||||
public static UUID uuidGenerateV4(
|
|
||||||
Configuration configuration
|
|
||||||
) {
|
|
||||||
UuidGenerateV4 f = new UuidGenerateV4();
|
|
||||||
|
|
||||||
f.execute(configuration);
|
|
||||||
return f.getReturnValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get <code>public.uuid_generate_v4</code> as a field.
|
|
||||||
*/
|
|
||||||
public static Field<UUID> uuidGenerateV4() {
|
|
||||||
UuidGenerateV4 f = new UuidGenerateV4();
|
|
||||||
|
|
||||||
return f.asField();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Call <code>public.uuid_generate_v5</code>
|
|
||||||
*/
|
|
||||||
public static UUID uuidGenerateV5(
|
|
||||||
Configuration configuration
|
|
||||||
, UUID namespace
|
|
||||||
, String name
|
|
||||||
) {
|
|
||||||
UuidGenerateV5 f = new UuidGenerateV5();
|
|
||||||
f.setNamespace(namespace);
|
|
||||||
f.setName_(name);
|
|
||||||
|
|
||||||
f.execute(configuration);
|
|
||||||
return f.getReturnValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get <code>public.uuid_generate_v5</code> as a field.
|
|
||||||
*/
|
|
||||||
public static Field<UUID> uuidGenerateV5(
|
|
||||||
UUID namespace
|
|
||||||
, String name
|
|
||||||
) {
|
|
||||||
UuidGenerateV5 f = new UuidGenerateV5();
|
|
||||||
f.setNamespace(namespace);
|
|
||||||
f.setName_(name);
|
|
||||||
|
|
||||||
return f.asField();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get <code>public.uuid_generate_v5</code> as a field.
|
|
||||||
*/
|
|
||||||
public static Field<UUID> uuidGenerateV5(
|
|
||||||
Field<UUID> namespace
|
|
||||||
, Field<String> name
|
|
||||||
) {
|
|
||||||
UuidGenerateV5 f = new UuidGenerateV5();
|
|
||||||
f.setNamespace(namespace);
|
|
||||||
f.setName_(name);
|
|
||||||
|
|
||||||
return f.asField();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Call <code>public.uuid_nil</code>
|
|
||||||
*/
|
|
||||||
public static UUID uuidNil(
|
|
||||||
Configuration configuration
|
|
||||||
) {
|
|
||||||
UuidNil f = new UuidNil();
|
|
||||||
|
|
||||||
f.execute(configuration);
|
|
||||||
return f.getReturnValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get <code>public.uuid_nil</code> as a field.
|
|
||||||
*/
|
|
||||||
public static Field<UUID> uuidNil() {
|
|
||||||
UuidNil f = new UuidNil();
|
|
||||||
|
|
||||||
return f.asField();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Call <code>public.uuid_ns_dns</code>
|
|
||||||
*/
|
|
||||||
public static UUID uuidNsDns(
|
|
||||||
Configuration configuration
|
|
||||||
) {
|
|
||||||
UuidNsDns f = new UuidNsDns();
|
|
||||||
|
|
||||||
f.execute(configuration);
|
|
||||||
return f.getReturnValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get <code>public.uuid_ns_dns</code> as a field.
|
|
||||||
*/
|
|
||||||
public static Field<UUID> uuidNsDns() {
|
|
||||||
UuidNsDns f = new UuidNsDns();
|
|
||||||
|
|
||||||
return f.asField();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Call <code>public.uuid_ns_oid</code>
|
|
||||||
*/
|
|
||||||
public static UUID uuidNsOid(
|
|
||||||
Configuration configuration
|
|
||||||
) {
|
|
||||||
UuidNsOid f = new UuidNsOid();
|
|
||||||
|
|
||||||
f.execute(configuration);
|
|
||||||
return f.getReturnValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get <code>public.uuid_ns_oid</code> as a field.
|
|
||||||
*/
|
|
||||||
public static Field<UUID> uuidNsOid() {
|
|
||||||
UuidNsOid f = new UuidNsOid();
|
|
||||||
|
|
||||||
return f.asField();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Call <code>public.uuid_ns_url</code>
|
|
||||||
*/
|
|
||||||
public static UUID uuidNsUrl(
|
|
||||||
Configuration configuration
|
|
||||||
) {
|
|
||||||
UuidNsUrl f = new UuidNsUrl();
|
|
||||||
|
|
||||||
f.execute(configuration);
|
|
||||||
return f.getReturnValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get <code>public.uuid_ns_url</code> as a field.
|
|
||||||
*/
|
|
||||||
public static Field<UUID> uuidNsUrl() {
|
|
||||||
UuidNsUrl f = new UuidNsUrl();
|
|
||||||
|
|
||||||
return f.asField();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Call <code>public.uuid_ns_x500</code>
|
|
||||||
*/
|
|
||||||
public static UUID uuidNsX500(
|
|
||||||
Configuration configuration
|
|
||||||
) {
|
|
||||||
UuidNsX500 f = new UuidNsX500();
|
|
||||||
|
|
||||||
f.execute(configuration);
|
|
||||||
return f.getReturnValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get <code>public.uuid_ns_x500</code> as a field.
|
|
||||||
*/
|
|
||||||
public static Field<UUID> uuidNsX500() {
|
|
||||||
UuidNsX500 f = new UuidNsX500();
|
|
||||||
|
|
||||||
return f.asField();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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 <code>public.flyway_schema_history</code>.
|
|
||||||
*/
|
|
||||||
public static final FlywaySchemaHistory FLYWAY_SCHEMA_HISTORY = FlywaySchemaHistory.FLYWAY_SCHEMA_HISTORY;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.foiv</code>.
|
|
||||||
*/
|
|
||||||
public static final Foiv FOIV = Foiv.FOIV;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.notification</code>.
|
|
||||||
*/
|
|
||||||
public static final Notification NOTIFICATION = Notification.NOTIFICATION;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.notification_item</code>.
|
|
||||||
*/
|
|
||||||
public static final NotificationItem NOTIFICATION_ITEM = NotificationItem.NOTIFICATION_ITEM;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.recruitment</code>.
|
|
||||||
*/
|
|
||||||
public static final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.recruits</code>.
|
|
||||||
*/
|
|
||||||
public static final Recruits RECRUITS = Recruits.RECRUITS;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.region</code>.
|
|
||||||
*/
|
|
||||||
public static final Region REGION = Region.REGION;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.restriction</code>.
|
|
||||||
*/
|
|
||||||
public static final Restriction RESTRICTION = Restriction.RESTRICTION;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.restriction_document</code>.
|
|
||||||
*/
|
|
||||||
public static final RestrictionDocument RESTRICTION_DOCUMENT = RestrictionDocument.RESTRICTION_DOCUMENT;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.restriction_document_item</code>.
|
|
||||||
*/
|
|
||||||
public static final RestrictionDocumentItem RESTRICTION_DOCUMENT_ITEM = RestrictionDocumentItem.RESTRICTION_DOCUMENT_ITEM;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.restriction_document_item_history</code>.
|
|
||||||
*/
|
|
||||||
public static final RestrictionDocumentItemHistory RESTRICTION_DOCUMENT_ITEM_HISTORY = RestrictionDocumentItemHistory.RESTRICTION_DOCUMENT_ITEM_HISTORY;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.restriction_document_status</code>.
|
|
||||||
*/
|
|
||||||
public static final RestrictionDocumentStatus RESTRICTION_DOCUMENT_STATUS = RestrictionDocumentStatus.RESTRICTION_DOCUMENT_STATUS;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.send_dictionary</code>.
|
|
||||||
*/
|
|
||||||
public static final SendDictionary SEND_DICTIONARY = SendDictionary.SEND_DICTIONARY;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.subpoena</code>.
|
|
||||||
*/
|
|
||||||
public static final Subpoena SUBPOENA = Subpoena.SUBPOENA;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.subpoena_appearance</code>.
|
|
||||||
*/
|
|
||||||
public static final SubpoenaAppearance SUBPOENA_APPEARANCE = SubpoenaAppearance.SUBPOENA_APPEARANCE;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.subpoena_export</code>.
|
|
||||||
*/
|
|
||||||
public static final SubpoenaExport SUBPOENA_EXPORT = SubpoenaExport.SUBPOENA_EXPORT;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.subpoena_history</code>.
|
|
||||||
*/
|
|
||||||
public static final SubpoenaHistory SUBPOENA_HISTORY = SubpoenaHistory.SUBPOENA_HISTORY;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.subpoena_reason</code>.
|
|
||||||
*/
|
|
||||||
public static final SubpoenaReason SUBPOENA_REASON = SubpoenaReason.SUBPOENA_REASON;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.subpoena_send_info</code>.
|
|
||||||
*/
|
|
||||||
public static final SubpoenaSendInfo SUBPOENA_SEND_INFO = SubpoenaSendInfo.SUBPOENA_SEND_INFO;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.subpoena_status</code>.
|
|
||||||
*/
|
|
||||||
public static final SubpoenaStatus SUBPOENA_STATUS = SubpoenaStatus.SUBPOENA_STATUS;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The table <code>public.summon_list</code>.
|
|
||||||
*/
|
|
||||||
public static final SummonList SUMMON_LIST = SummonList.SUMMON_LIST;
|
|
||||||
}
|
|
||||||
|
|
@ -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<UUID> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The parameter <code>public.uuid_generate_v1.RETURN_VALUE</code>.
|
|
||||||
*/
|
|
||||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new routine call instance
|
|
||||||
*/
|
|
||||||
public UuidGenerateV1() {
|
|
||||||
super("uuid_generate_v1", Public.PUBLIC, SQLDataType.UUID);
|
|
||||||
|
|
||||||
setReturnParameter(RETURN_VALUE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<UUID> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The parameter <code>public.uuid_generate_v1mc.RETURN_VALUE</code>.
|
|
||||||
*/
|
|
||||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new routine call instance
|
|
||||||
*/
|
|
||||||
public UuidGenerateV1mc() {
|
|
||||||
super("uuid_generate_v1mc", Public.PUBLIC, SQLDataType.UUID);
|
|
||||||
|
|
||||||
setReturnParameter(RETURN_VALUE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<UUID> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The parameter <code>public.uuid_generate_v3.RETURN_VALUE</code>.
|
|
||||||
*/
|
|
||||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The parameter <code>public.uuid_generate_v3.namespace</code>.
|
|
||||||
*/
|
|
||||||
public static final Parameter<UUID> NAMESPACE = Internal.createParameter("namespace", SQLDataType.UUID, false, false);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The parameter <code>public.uuid_generate_v3.name</code>.
|
|
||||||
*/
|
|
||||||
public static final Parameter<String> NAME = Internal.createParameter("name", SQLDataType.CLOB, false, false);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new routine call instance
|
|
||||||
*/
|
|
||||||
public UuidGenerateV3() {
|
|
||||||
super("uuid_generate_v3", Public.PUBLIC, SQLDataType.UUID);
|
|
||||||
|
|
||||||
setReturnParameter(RETURN_VALUE);
|
|
||||||
addInParameter(NAMESPACE);
|
|
||||||
addInParameter(NAME);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the <code>namespace</code> parameter IN value to the routine
|
|
||||||
*/
|
|
||||||
public void setNamespace(UUID value) {
|
|
||||||
setValue(NAMESPACE, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the <code>namespace</code> parameter to the function to be used with
|
|
||||||
* a {@link org.jooq.Select} statement
|
|
||||||
*/
|
|
||||||
public void setNamespace(Field<UUID> field) {
|
|
||||||
setField(NAMESPACE, field);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the <code>name</code> parameter IN value to the routine
|
|
||||||
*/
|
|
||||||
public void setName_(String value) {
|
|
||||||
setValue(NAME, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the <code>name</code> parameter to the function to be used with a
|
|
||||||
* {@link org.jooq.Select} statement
|
|
||||||
*/
|
|
||||||
public void setName_(Field<String> field) {
|
|
||||||
setField(NAME, field);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<UUID> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The parameter <code>public.uuid_generate_v4.RETURN_VALUE</code>.
|
|
||||||
*/
|
|
||||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new routine call instance
|
|
||||||
*/
|
|
||||||
public UuidGenerateV4() {
|
|
||||||
super("uuid_generate_v4", Public.PUBLIC, SQLDataType.UUID);
|
|
||||||
|
|
||||||
setReturnParameter(RETURN_VALUE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<UUID> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The parameter <code>public.uuid_generate_v5.RETURN_VALUE</code>.
|
|
||||||
*/
|
|
||||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The parameter <code>public.uuid_generate_v5.namespace</code>.
|
|
||||||
*/
|
|
||||||
public static final Parameter<UUID> NAMESPACE = Internal.createParameter("namespace", SQLDataType.UUID, false, false);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The parameter <code>public.uuid_generate_v5.name</code>.
|
|
||||||
*/
|
|
||||||
public static final Parameter<String> NAME = Internal.createParameter("name", SQLDataType.CLOB, false, false);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new routine call instance
|
|
||||||
*/
|
|
||||||
public UuidGenerateV5() {
|
|
||||||
super("uuid_generate_v5", Public.PUBLIC, SQLDataType.UUID);
|
|
||||||
|
|
||||||
setReturnParameter(RETURN_VALUE);
|
|
||||||
addInParameter(NAMESPACE);
|
|
||||||
addInParameter(NAME);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the <code>namespace</code> parameter IN value to the routine
|
|
||||||
*/
|
|
||||||
public void setNamespace(UUID value) {
|
|
||||||
setValue(NAMESPACE, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the <code>namespace</code> parameter to the function to be used with
|
|
||||||
* a {@link org.jooq.Select} statement
|
|
||||||
*/
|
|
||||||
public void setNamespace(Field<UUID> field) {
|
|
||||||
setField(NAMESPACE, field);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the <code>name</code> parameter IN value to the routine
|
|
||||||
*/
|
|
||||||
public void setName_(String value) {
|
|
||||||
setValue(NAME, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the <code>name</code> parameter to the function to be used with a
|
|
||||||
* {@link org.jooq.Select} statement
|
|
||||||
*/
|
|
||||||
public void setName_(Field<String> field) {
|
|
||||||
setField(NAME, field);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<UUID> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The parameter <code>public.uuid_nil.RETURN_VALUE</code>.
|
|
||||||
*/
|
|
||||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new routine call instance
|
|
||||||
*/
|
|
||||||
public UuidNil() {
|
|
||||||
super("uuid_nil", Public.PUBLIC, SQLDataType.UUID);
|
|
||||||
|
|
||||||
setReturnParameter(RETURN_VALUE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<UUID> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The parameter <code>public.uuid_ns_dns.RETURN_VALUE</code>.
|
|
||||||
*/
|
|
||||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new routine call instance
|
|
||||||
*/
|
|
||||||
public UuidNsDns() {
|
|
||||||
super("uuid_ns_dns", Public.PUBLIC, SQLDataType.UUID);
|
|
||||||
|
|
||||||
setReturnParameter(RETURN_VALUE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<UUID> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The parameter <code>public.uuid_ns_oid.RETURN_VALUE</code>.
|
|
||||||
*/
|
|
||||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new routine call instance
|
|
||||||
*/
|
|
||||||
public UuidNsOid() {
|
|
||||||
super("uuid_ns_oid", Public.PUBLIC, SQLDataType.UUID);
|
|
||||||
|
|
||||||
setReturnParameter(RETURN_VALUE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<UUID> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The parameter <code>public.uuid_ns_url.RETURN_VALUE</code>.
|
|
||||||
*/
|
|
||||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new routine call instance
|
|
||||||
*/
|
|
||||||
public UuidNsUrl() {
|
|
||||||
super("uuid_ns_url", Public.PUBLIC, SQLDataType.UUID);
|
|
||||||
|
|
||||||
setReturnParameter(RETURN_VALUE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<UUID> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The parameter <code>public.uuid_ns_x500.RETURN_VALUE</code>.
|
|
||||||
*/
|
|
||||||
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new routine call instance
|
|
||||||
*/
|
|
||||||
public UuidNsX500() {
|
|
||||||
super("uuid_ns_x500", Public.PUBLIC, SQLDataType.UUID);
|
|
||||||
|
|
||||||
setReturnParameter(RETURN_VALUE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<FlywaySchemaHistoryRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.flyway_schema_history</code>
|
|
||||||
*/
|
|
||||||
public static final FlywaySchemaHistory FLYWAY_SCHEMA_HISTORY = new FlywaySchemaHistory();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<FlywaySchemaHistoryRecord> getRecordType() {
|
|
||||||
return FlywaySchemaHistoryRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.flyway_schema_history.installed_rank</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<FlywaySchemaHistoryRecord, Integer> INSTALLED_RANK = createField(DSL.name("installed_rank"), SQLDataType.INTEGER.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.flyway_schema_history.version</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<FlywaySchemaHistoryRecord, String> VERSION = createField(DSL.name("version"), SQLDataType.VARCHAR(50), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.flyway_schema_history.description</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<FlywaySchemaHistoryRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(200).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.flyway_schema_history.type</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<FlywaySchemaHistoryRecord, String> TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR(20).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.flyway_schema_history.script</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<FlywaySchemaHistoryRecord, String> SCRIPT = createField(DSL.name("script"), SQLDataType.VARCHAR(1000).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.flyway_schema_history.checksum</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<FlywaySchemaHistoryRecord, Integer> CHECKSUM = createField(DSL.name("checksum"), SQLDataType.INTEGER, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.flyway_schema_history.installed_by</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<FlywaySchemaHistoryRecord, String> INSTALLED_BY = createField(DSL.name("installed_by"), SQLDataType.VARCHAR(100).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.flyway_schema_history.installed_on</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<FlywaySchemaHistoryRecord, Timestamp> INSTALLED_ON = createField(DSL.name("installed_on"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.flyway_schema_history.execution_time</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<FlywaySchemaHistoryRecord, Integer> EXECUTION_TIME = createField(DSL.name("execution_time"), SQLDataType.INTEGER.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.flyway_schema_history.success</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<FlywaySchemaHistoryRecord, Boolean> SUCCESS = createField(DSL.name("success"), SQLDataType.BOOLEAN.nullable(false), this, "");
|
|
||||||
|
|
||||||
private FlywaySchemaHistory(Name alias, Table<FlywaySchemaHistoryRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private FlywaySchemaHistory(Name alias, Table<FlywaySchemaHistoryRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.flyway_schema_history</code> table
|
|
||||||
* reference
|
|
||||||
*/
|
|
||||||
public FlywaySchemaHistory(String alias) {
|
|
||||||
this(DSL.name(alias), FLYWAY_SCHEMA_HISTORY);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.flyway_schema_history</code> table
|
|
||||||
* reference
|
|
||||||
*/
|
|
||||||
public FlywaySchemaHistory(Name alias) {
|
|
||||||
this(alias, FLYWAY_SCHEMA_HISTORY);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.flyway_schema_history</code> table reference
|
|
||||||
*/
|
|
||||||
public FlywaySchemaHistory() {
|
|
||||||
this(DSL.name("flyway_schema_history"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Schema getSchema() {
|
|
||||||
return aliased() ? null : Public.PUBLIC;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public UniqueKey<FlywaySchemaHistoryRecord> getPrimaryKey() {
|
|
||||||
return Keys.FLYWAY_SCHEMA_HISTORY_PK;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public FlywaySchemaHistory as(String alias) {
|
|
||||||
return new FlywaySchemaHistory(DSL.name(alias), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public FlywaySchemaHistory as(Name alias) {
|
|
||||||
return new FlywaySchemaHistory(alias, this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public FlywaySchemaHistory as(Table<?> alias) {
|
|
||||||
return new FlywaySchemaHistory(alias.getQualifiedName(), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public FlywaySchemaHistory rename(String name) {
|
|
||||||
return new FlywaySchemaHistory(DSL.name(name), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public FlywaySchemaHistory rename(Name name) {
|
|
||||||
return new FlywaySchemaHistory(name, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public FlywaySchemaHistory rename(Table<?> name) {
|
|
||||||
return new FlywaySchemaHistory(name.getQualifiedName(), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public FlywaySchemaHistory where(Condition condition) {
|
|
||||||
return new FlywaySchemaHistory(getQualifiedName(), aliased() ? this : null, null, condition);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public FlywaySchemaHistory where(Collection<? extends Condition> conditions) {
|
|
||||||
return where(DSL.and(conditions));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public FlywaySchemaHistory where(Condition... conditions) {
|
|
||||||
return where(DSL.and(conditions));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public FlywaySchemaHistory where(Field<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<FoivRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.foiv</code>
|
|
||||||
*/
|
|
||||||
public static final Foiv FOIV = new Foiv();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<FoivRecord> getRecordType() {
|
|
||||||
return FoivRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.foiv.code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<FoivRecord, Long> CODE = createField(DSL.name("code"), SQLDataType.BIGINT.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.foiv.name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<FoivRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
private Foiv(Name alias, Table<FoivRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private Foiv(Name alias, Table<FoivRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.foiv</code> table reference
|
|
||||||
*/
|
|
||||||
public Foiv(String alias) {
|
|
||||||
this(DSL.name(alias), FOIV);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.foiv</code> table reference
|
|
||||||
*/
|
|
||||||
public Foiv(Name alias) {
|
|
||||||
this(alias, FOIV);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.foiv</code> table reference
|
|
||||||
*/
|
|
||||||
public Foiv() {
|
|
||||||
this(DSL.name("foiv"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
public <O extends Record> Foiv(Table<O> path, ForeignKey<O, FoivRecord> childPath, InverseForeignKey<O, FoivRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath, FOIV);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
|
||||||
*/
|
|
||||||
public static class FoivPath extends Foiv implements Path<FoivRecord> {
|
|
||||||
public <O extends Record> FoivPath(Table<O> path, ForeignKey<O, FoivRecord> childPath, InverseForeignKey<O, FoivRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath);
|
|
||||||
}
|
|
||||||
private FoivPath(Name alias, Table<FoivRecord> 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<FoivRecord> getPrimaryKey() {
|
|
||||||
return Keys.FOIV_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
private transient NotificationItemPath _notificationItem;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the implicit to-many join path to the
|
|
||||||
* <code>public.notification_item</code> 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
|
|
||||||
* <code>public.restriction_document_item</code> table
|
|
||||||
*/
|
|
||||||
public RestrictionDocumentItemPath restrictionDocumentItem() {
|
|
||||||
if (_restrictionDocumentItem == null)
|
|
||||||
_restrictionDocumentItem = new RestrictionDocumentItemPath(this, null, Keys.RESTRICTION_DOCUMENT_ITEM__RESTRICTION_DOCUMENT_ITEM_FOIV_CODE_FKEY.getInverseKey());
|
|
||||||
|
|
||||||
return _restrictionDocumentItem;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Foiv as(String alias) {
|
|
||||||
return new Foiv(DSL.name(alias), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Foiv as(Name alias) {
|
|
||||||
return new Foiv(alias, this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Foiv as(Table<?> alias) {
|
|
||||||
return new Foiv(alias.getQualifiedName(), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Foiv rename(String name) {
|
|
||||||
return new Foiv(DSL.name(name), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Foiv rename(Name name) {
|
|
||||||
return new Foiv(name, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Foiv rename(Table<?> name) {
|
|
||||||
return new Foiv(name.getQualifiedName(), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Foiv where(Condition condition) {
|
|
||||||
return new Foiv(getQualifiedName(), aliased() ? this : null, null, condition);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Foiv where(Collection<? extends Condition> conditions) {
|
|
||||||
return where(DSL.and(conditions));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Foiv where(Condition... conditions) {
|
|
||||||
return where(DSL.and(conditions));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Foiv where(Field<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<NotificationRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.notification</code>
|
|
||||||
*/
|
|
||||||
public static final Notification NOTIFICATION = new Notification();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<NotificationRecord> getRecordType() {
|
|
||||||
return NotificationRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.notification.code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<NotificationRecord, Long> CODE = createField(DSL.name("code"), SQLDataType.BIGINT.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.notification.name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<NotificationRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
private Notification(Name alias, Table<NotificationRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private Notification(Name alias, Table<NotificationRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.notification</code> table reference
|
|
||||||
*/
|
|
||||||
public Notification(String alias) {
|
|
||||||
this(DSL.name(alias), NOTIFICATION);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.notification</code> table reference
|
|
||||||
*/
|
|
||||||
public Notification(Name alias) {
|
|
||||||
this(alias, NOTIFICATION);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.notification</code> table reference
|
|
||||||
*/
|
|
||||||
public Notification() {
|
|
||||||
this(DSL.name("notification"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
public <O extends Record> Notification(Table<O> path, ForeignKey<O, NotificationRecord> childPath, InverseForeignKey<O, NotificationRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath, NOTIFICATION);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
|
||||||
*/
|
|
||||||
public static class NotificationPath extends Notification implements Path<NotificationRecord> {
|
|
||||||
public <O extends Record> NotificationPath(Table<O> path, ForeignKey<O, NotificationRecord> childPath, InverseForeignKey<O, NotificationRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath);
|
|
||||||
}
|
|
||||||
private NotificationPath(Name alias, Table<NotificationRecord> 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<NotificationRecord> getPrimaryKey() {
|
|
||||||
return Keys.NOTIFICATION_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
private transient NotificationItemPath _notificationItem;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the implicit to-many join path to the
|
|
||||||
* <code>public.notification_item</code> table
|
|
||||||
*/
|
|
||||||
public NotificationItemPath notificationItem() {
|
|
||||||
if (_notificationItem == null)
|
|
||||||
_notificationItem = new NotificationItemPath(this, null, Keys.NOTIFICATION_ITEM__NOTIFICATION_ITEM_NOTIFICATION_CODE_FKEY.getInverseKey());
|
|
||||||
|
|
||||||
return _notificationItem;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Notification as(String alias) {
|
|
||||||
return new Notification(DSL.name(alias), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Notification as(Name alias) {
|
|
||||||
return new Notification(alias, this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Notification as(Table<?> alias) {
|
|
||||||
return new Notification(alias.getQualifiedName(), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Notification rename(String name) {
|
|
||||||
return new Notification(DSL.name(name), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Notification rename(Name name) {
|
|
||||||
return new Notification(name, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Notification rename(Table<?> name) {
|
|
||||||
return new Notification(name.getQualifiedName(), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Notification where(Condition condition) {
|
|
||||||
return new Notification(getQualifiedName(), aliased() ? this : null, null, condition);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Notification where(Collection<? extends Condition> conditions) {
|
|
||||||
return where(DSL.and(conditions));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Notification where(Condition... conditions) {
|
|
||||||
return where(DSL.and(conditions));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Notification where(Field<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<NotificationItemRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.notification_item</code>
|
|
||||||
*/
|
|
||||||
public static final NotificationItem NOTIFICATION_ITEM = new NotificationItem();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<NotificationItemRecord> getRecordType() {
|
|
||||||
return NotificationItemRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.notification_item.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<NotificationItemRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.notification_item.notification_code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<NotificationItemRecord, Long> NOTIFICATION_CODE = createField(DSL.name("notification_code"), SQLDataType.BIGINT, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.notification_item.restriction_document_item_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<NotificationItemRecord, UUID> RESTRICTION_DOCUMENT_ITEM_ID = createField(DSL.name("restriction_document_item_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.notification_item.foiv_code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<NotificationItemRecord, Long> FOIV_CODE = createField(DSL.name("foiv_code"), SQLDataType.BIGINT, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.notification_item.send_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<NotificationItemRecord, Timestamp> SEND_DATE = createField(DSL.name("send_date"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.notification_item.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<NotificationItemRecord, JSONB> EXTRA_INFO = createField(DSL.name("extra_info"), SQLDataType.JSONB, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.notification_item.created_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<NotificationItemRecord, Timestamp> CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.notification_item.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<NotificationItemRecord, Timestamp> UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.notification_item.cancelled_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<NotificationItemRecord, Timestamp> CANCELLED_AT = createField(DSL.name("cancelled_at"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
private NotificationItem(Name alias, Table<NotificationItemRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private NotificationItem(Name alias, Table<NotificationItemRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.notification_item</code> table reference
|
|
||||||
*/
|
|
||||||
public NotificationItem(String alias) {
|
|
||||||
this(DSL.name(alias), NOTIFICATION_ITEM);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.notification_item</code> table reference
|
|
||||||
*/
|
|
||||||
public NotificationItem(Name alias) {
|
|
||||||
this(alias, NOTIFICATION_ITEM);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.notification_item</code> table reference
|
|
||||||
*/
|
|
||||||
public NotificationItem() {
|
|
||||||
this(DSL.name("notification_item"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
public <O extends Record> NotificationItem(Table<O> path, ForeignKey<O, NotificationItemRecord> childPath, InverseForeignKey<O, NotificationItemRecord> 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<NotificationItemRecord> {
|
|
||||||
public <O extends Record> NotificationItemPath(Table<O> path, ForeignKey<O, NotificationItemRecord> childPath, InverseForeignKey<O, NotificationItemRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath);
|
|
||||||
}
|
|
||||||
private NotificationItemPath(Name alias, Table<NotificationItemRecord> 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<NotificationItemRecord> getPrimaryKey() {
|
|
||||||
return Keys.NOTIFICATION_ITEM_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<ForeignKey<NotificationItemRecord, ?>> 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 <code>public.notification</code> 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
|
|
||||||
* <code>public.restriction_document_item</code> 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 <code>public.foiv</code> table.
|
|
||||||
*/
|
|
||||||
public FoivPath foiv() {
|
|
||||||
if (_foiv == null)
|
|
||||||
_foiv = new FoivPath(this, Keys.NOTIFICATION_ITEM__NOTIFICATION_ITEM_FOIV_CODE_FKEY, null);
|
|
||||||
|
|
||||||
return _foiv;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public NotificationItem as(String alias) {
|
|
||||||
return new NotificationItem(DSL.name(alias), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public NotificationItem as(Name alias) {
|
|
||||||
return new NotificationItem(alias, this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public NotificationItem as(Table<?> alias) {
|
|
||||||
return new NotificationItem(alias.getQualifiedName(), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public NotificationItem rename(String name) {
|
|
||||||
return new NotificationItem(DSL.name(name), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public NotificationItem rename(Name name) {
|
|
||||||
return new NotificationItem(name, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public NotificationItem rename(Table<?> name) {
|
|
||||||
return new NotificationItem(name.getQualifiedName(), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public NotificationItem where(Condition condition) {
|
|
||||||
return new NotificationItem(getQualifiedName(), aliased() ? this : null, null, condition);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public NotificationItem where(Collection<? extends Condition> conditions) {
|
|
||||||
return where(DSL.and(conditions));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public NotificationItem where(Condition... conditions) {
|
|
||||||
return where(DSL.and(conditions));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public NotificationItem where(Field<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RecruitmentRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.recruitment</code>
|
|
||||||
*/
|
|
||||||
public static final Recruitment RECRUITMENT = new Recruitment();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<RecruitmentRecord> getRecordType() {
|
|
||||||
return RecruitmentRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.idm_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> IDM_ID = createField(DSL.name("idm_id"), SQLDataType.VARCHAR(256), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.parent_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.version</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.created_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, Timestamp> CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, Timestamp> UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.schema</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(64).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.military_code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> MILITARY_CODE = createField(DSL.name("military_code"), SQLDataType.VARCHAR(16), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.shortname</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.fullname</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> FULLNAME = createField(DSL.name("fullname"), SQLDataType.VARCHAR.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.dns</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> DNS = createField(DSL.name("dns"), SQLDataType.VARCHAR(64), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.email</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.phone</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(24), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.address</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> ADDRESS = createField(DSL.name("address"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.address_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> ADDRESS_ID = createField(DSL.name("address_id"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.postal_address</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> POSTAL_ADDRESS = createField(DSL.name("postal_address"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.postal_address_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> POSTAL_ADDRESS_ID = createField(DSL.name("postal_address_id"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.nsi_department_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> NSI_DEPARTMENT_ID = createField(DSL.name("nsi_department_id"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.nsi_organization_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> NSI_ORGANIZATION_ID = createField(DSL.name("nsi_organization_id"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.oktmo</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> OKTMO = createField(DSL.name("oktmo"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.org_ogrn</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> ORG_OGRN = createField(DSL.name("org_ogrn"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.dep_ogrn</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> DEP_OGRN = createField(DSL.name("dep_ogrn"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.epgu_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> EPGU_ID = createField(DSL.name("epgu_id"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.kpp</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> KPP = createField(DSL.name("kpp"), SQLDataType.VARCHAR(64), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.inn</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> INN = createField(DSL.name("inn"), SQLDataType.VARCHAR(64), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.okato</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> OKATO = createField(DSL.name("okato"), SQLDataType.VARCHAR(64), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.division_type</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> DIVISION_TYPE = createField(DSL.name("division_type"), SQLDataType.VARCHAR(64), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.tns_department_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> TNS_DEPARTMENT_ID = createField(DSL.name("tns_department_id"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.enabled</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, Boolean> ENABLED = createField(DSL.name("enabled"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.timezone</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> TIMEZONE = createField(DSL.name("timezone"), SQLDataType.VARCHAR(64), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.reports_enabled</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, Boolean> REPORTS_ENABLED = createField(DSL.name("reports_enabled"), SQLDataType.BOOLEAN, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.region_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> REGION_ID = createField(DSL.name("region_id"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.series</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, String> SERIES = createField(DSL.name("series"), SQLDataType.VARCHAR(64), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruitment.hidden</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitmentRecord, Boolean> HIDDEN = createField(DSL.name("hidden"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
|
|
||||||
|
|
||||||
private Recruitment(Name alias, Table<RecruitmentRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private Recruitment(Name alias, Table<RecruitmentRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.recruitment</code> table reference
|
|
||||||
*/
|
|
||||||
public Recruitment(String alias) {
|
|
||||||
this(DSL.name(alias), RECRUITMENT);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.recruitment</code> table reference
|
|
||||||
*/
|
|
||||||
public Recruitment(Name alias) {
|
|
||||||
this(alias, RECRUITMENT);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.recruitment</code> table reference
|
|
||||||
*/
|
|
||||||
public Recruitment() {
|
|
||||||
this(DSL.name("recruitment"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Schema getSchema() {
|
|
||||||
return aliased() ? null : Public.PUBLIC;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public UniqueKey<RecruitmentRecord> getPrimaryKey() {
|
|
||||||
return Keys.RECRUITMENT_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<UniqueKey<RecruitmentRecord>> getUniqueKeys() {
|
|
||||||
return Arrays.asList(Keys.RECRUITMENT_IDM_ID_KEY);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Recruitment as(String alias) {
|
|
||||||
return new Recruitment(DSL.name(alias), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Recruitment as(Name alias) {
|
|
||||||
return new Recruitment(alias, this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Recruitment as(Table<?> alias) {
|
|
||||||
return new Recruitment(alias.getQualifiedName(), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruitment rename(String name) {
|
|
||||||
return new Recruitment(DSL.name(name), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruitment rename(Name name) {
|
|
||||||
return new Recruitment(name, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruitment rename(Table<?> name) {
|
|
||||||
return new Recruitment(name.getQualifiedName(), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruitment where(Condition condition) {
|
|
||||||
return new Recruitment(getQualifiedName(), aliased() ? this : null, null, condition);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruitment where(Collection<? extends Condition> conditions) {
|
|
||||||
return where(DSL.and(conditions));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruitment where(Condition... conditions) {
|
|
||||||
return where(DSL.and(conditions));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruitment where(Field<Boolean> condition) {
|
|
||||||
return where(DSL.condition(condition));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
@PlainSQL
|
|
||||||
public Recruitment where(SQL condition) {
|
|
||||||
return where(DSL.condition(condition));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
@PlainSQL
|
|
||||||
public Recruitment where(@Stringly.SQL String condition) {
|
|
||||||
return where(DSL.condition(condition));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
@PlainSQL
|
|
||||||
public Recruitment where(@Stringly.SQL String condition, Object... binds) {
|
|
||||||
return where(DSL.condition(condition, binds));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
@PlainSQL
|
|
||||||
public Recruitment where(@Stringly.SQL String condition, QueryPart... parts) {
|
|
||||||
return where(DSL.condition(condition, parts));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruitment whereExists(Select<?> select) {
|
|
||||||
return where(DSL.exists(select));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruitment whereNotExists(Select<?> select) {
|
|
||||||
return where(DSL.notExists(select));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RecruitsRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.recruits</code>
|
|
||||||
*/
|
|
||||||
public static final Recruits RECRUITS = new Recruits();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<RecruitsRecord> getRecordType() {
|
|
||||||
return RecruitsRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.full_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, String> FULL_NAME = createField(DSL.name("full_name"), SQLDataType.VARCHAR(256).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.last_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, String> LAST_NAME = createField(DSL.name("last_name"), SQLDataType.VARCHAR(64).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.first_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, String> FIRST_NAME = createField(DSL.name("first_name"), SQLDataType.VARCHAR(64).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.middle_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, String> MIDDLE_NAME = createField(DSL.name("middle_name"), SQLDataType.VARCHAR(64), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.gender</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, String> GENDER = createField(DSL.name("gender"), Domains.GENDER_DOMAIN.getDataType().nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.birth_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, Date> BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.snils</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, String> SNILS = createField(DSL.name("snils"), SQLDataType.VARCHAR(36), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.inn</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, String> INN = createField(DSL.name("inn"), SQLDataType.VARCHAR(128), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.system_pgs_status</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, String> SYSTEM_PGS_STATUS = createField(DSL.name("system_pgs_status"), SQLDataType.VARCHAR(10), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.system_id_ern</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, String> SYSTEM_ID_ERN = createField(DSL.name("system_id_ern"), SQLDataType.VARCHAR(256), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.current_recruitment_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, UUID> CURRENT_RECRUITMENT_ID = createField(DSL.name("current_recruitment_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.target_recruitment_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, UUID> TARGET_RECRUITMENT_ID = createField(DSL.name("target_recruitment_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.created_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, Timestamp> CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, Timestamp> UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.system_doc_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, String> SYSTEM_DOC_ID = createField(DSL.name("system_doc_id"), SQLDataType.VARCHAR(256), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.recruits.address</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RecruitsRecord, JSONB> ADDRESS = createField(DSL.name("address"), SQLDataType.JSONB, this, "");
|
|
||||||
|
|
||||||
private Recruits(Name alias, Table<RecruitsRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private Recruits(Name alias, Table<RecruitsRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.recruits</code> table reference
|
|
||||||
*/
|
|
||||||
public Recruits(String alias) {
|
|
||||||
this(DSL.name(alias), RECRUITS);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.recruits</code> table reference
|
|
||||||
*/
|
|
||||||
public Recruits(Name alias) {
|
|
||||||
this(alias, RECRUITS);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.recruits</code> table reference
|
|
||||||
*/
|
|
||||||
public Recruits() {
|
|
||||||
this(DSL.name("recruits"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Schema getSchema() {
|
|
||||||
return aliased() ? null : Public.PUBLIC;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public UniqueKey<RecruitsRecord> getPrimaryKey() {
|
|
||||||
return Keys.RECRUITS_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Recruits as(String alias) {
|
|
||||||
return new Recruits(DSL.name(alias), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Recruits as(Name alias) {
|
|
||||||
return new Recruits(alias, this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Recruits as(Table<?> alias) {
|
|
||||||
return new Recruits(alias.getQualifiedName(), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruits rename(String name) {
|
|
||||||
return new Recruits(DSL.name(name), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruits rename(Name name) {
|
|
||||||
return new Recruits(name, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruits rename(Table<?> name) {
|
|
||||||
return new Recruits(name.getQualifiedName(), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruits where(Condition condition) {
|
|
||||||
return new Recruits(getQualifiedName(), aliased() ? this : null, null, condition);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruits where(Collection<? extends Condition> conditions) {
|
|
||||||
return where(DSL.and(conditions));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruits where(Condition... conditions) {
|
|
||||||
return where(DSL.and(conditions));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Recruits where(Field<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RegionRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.region</code>
|
|
||||||
*/
|
|
||||||
public static final Region REGION = new Region();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<RegionRecord> getRecordType() {
|
|
||||||
return RegionRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.region.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RegionRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.region.idm_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RegionRecord, String> IDM_ID = createField(DSL.name("idm_id"), SQLDataType.VARCHAR(256), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.region.version</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RegionRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.region.created_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RegionRecord, Timestamp> CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.region.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RegionRecord, Timestamp> UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.region.name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RegionRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.region.shortname</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RegionRecord, String> SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.region.fullname</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RegionRecord, String> FULLNAME = createField(DSL.name("fullname"), SQLDataType.VARCHAR.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.region.timezone</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RegionRecord, String> TIMEZONE = createField(DSL.name("timezone"), SQLDataType.VARCHAR(128), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.region.code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RegionRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(4), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.region.oktmo</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RegionRecord, String> OKTMO = createField(DSL.name("oktmo"), SQLDataType.VARCHAR(64), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.region.enabled</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RegionRecord, Boolean> ENABLED = createField(DSL.name("enabled"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.region.hidden</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RegionRecord, Boolean> HIDDEN = createField(DSL.name("hidden"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
|
|
||||||
|
|
||||||
private Region(Name alias, Table<RegionRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private Region(Name alias, Table<RegionRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.region</code> table reference
|
|
||||||
*/
|
|
||||||
public Region(String alias) {
|
|
||||||
this(DSL.name(alias), REGION);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.region</code> table reference
|
|
||||||
*/
|
|
||||||
public Region(Name alias) {
|
|
||||||
this(alias, REGION);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.region</code> table reference
|
|
||||||
*/
|
|
||||||
public Region() {
|
|
||||||
this(DSL.name("region"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Schema getSchema() {
|
|
||||||
return aliased() ? null : Public.PUBLIC;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public UniqueKey<RegionRecord> getPrimaryKey() {
|
|
||||||
return Keys.REGION_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<UniqueKey<RegionRecord>> getUniqueKeys() {
|
|
||||||
return Arrays.asList(Keys.REGION_IDM_ID_KEY);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Region as(String alias) {
|
|
||||||
return new Region(DSL.name(alias), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Region as(Name alias) {
|
|
||||||
return new Region(alias, this);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Region as(Table<?> alias) {
|
|
||||||
return new Region(alias.getQualifiedName(), this);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Region rename(String name) {
|
|
||||||
return new Region(DSL.name(name), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Region rename(Name name) {
|
|
||||||
return new Region(name, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rename this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Region rename(Table<?> name) {
|
|
||||||
return new Region(name.getQualifiedName(), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Region where(Condition condition) {
|
|
||||||
return new Region(getQualifiedName(), aliased() ? this : null, null, condition);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Region where(Collection<? extends Condition> conditions) {
|
|
||||||
return where(DSL.and(conditions));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Region where(Condition... conditions) {
|
|
||||||
return where(DSL.and(conditions));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an inline derived table from this table
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Region where(Field<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RestrictionRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.restriction</code>
|
|
||||||
*/
|
|
||||||
public static final Restriction RESTRICTION = new Restriction();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<RestrictionRecord> getRecordType() {
|
|
||||||
return RestrictionRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction.code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(10), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction.name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
private Restriction(Name alias, Table<RestrictionRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private Restriction(Name alias, Table<RestrictionRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.restriction</code> table reference
|
|
||||||
*/
|
|
||||||
public Restriction(String alias) {
|
|
||||||
this(DSL.name(alias), RESTRICTION);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.restriction</code> table reference
|
|
||||||
*/
|
|
||||||
public Restriction(Name alias) {
|
|
||||||
this(alias, RESTRICTION);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.restriction</code> table reference
|
|
||||||
*/
|
|
||||||
public Restriction() {
|
|
||||||
this(DSL.name("restriction"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
public <O extends Record> Restriction(Table<O> path, ForeignKey<O, RestrictionRecord> childPath, InverseForeignKey<O, RestrictionRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath, RESTRICTION);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
|
||||||
*/
|
|
||||||
public static class RestrictionPath extends Restriction implements Path<RestrictionRecord> {
|
|
||||||
public <O extends Record> RestrictionPath(Table<O> path, ForeignKey<O, RestrictionRecord> childPath, InverseForeignKey<O, RestrictionRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath);
|
|
||||||
}
|
|
||||||
private RestrictionPath(Name alias, Table<RestrictionRecord> 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<RestrictionRecord> getPrimaryKey() {
|
|
||||||
return Keys.RESTRICTION_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<UniqueKey<RestrictionRecord>> getUniqueKeys() {
|
|
||||||
return Arrays.asList(Keys.IDX_RESTRICTION_CODE);
|
|
||||||
}
|
|
||||||
|
|
||||||
private transient RestrictionDocumentItemPath _restrictionDocumentItem;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the implicit to-many join path to the
|
|
||||||
* <code>public.restriction_document_item</code> 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<? extends Condition> 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<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RestrictionDocumentRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.restriction_document</code>
|
|
||||||
*/
|
|
||||||
public static final RestrictionDocument RESTRICTION_DOCUMENT = new RestrictionDocument();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<RestrictionDocumentRecord> getRecordType() {
|
|
||||||
return RestrictionDocumentRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document.subpoena_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentRecord, UUID> SUBPOENA_ID = createField(DSL.name("subpoena_id"), SQLDataType.UUID.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document.created_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentRecord, Timestamp> CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentRecord, Timestamp> UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document.vk_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentRecord, UUID> VK_ID = createField(DSL.name("vk_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document.user_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentRecord, UUID> USER_ID = createField(DSL.name("user_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document.user_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentRecord, String> USER_NAME = createField(DSL.name("user_name"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document.status</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentRecord, String> STATUS = createField(DSL.name("status"), SQLDataType.VARCHAR(100), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document.decision_number</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentRecord, String> DECISION_NUMBER = createField(DSL.name("decision_number"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document.decision_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentRecord, Date> DECISION_DATE = createField(DSL.name("decision_date"), SQLDataType.DATE, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document.decision_reason</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentRecord, String> DECISION_REASON = createField(DSL.name("decision_reason"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentRecord, JSONB> EXTRA_INFO = createField(DSL.name("extra_info"), SQLDataType.JSONB, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document.type</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentRecord, String> TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document.recruitment_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentRecord, String> RECRUITMENT_NAME = createField(DSL.name("recruitment_name"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
private RestrictionDocument(Name alias, Table<RestrictionDocumentRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private RestrictionDocument(Name alias, Table<RestrictionDocumentRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.restriction_document</code> table
|
|
||||||
* reference
|
|
||||||
*/
|
|
||||||
public RestrictionDocument(String alias) {
|
|
||||||
this(DSL.name(alias), RESTRICTION_DOCUMENT);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.restriction_document</code> table
|
|
||||||
* reference
|
|
||||||
*/
|
|
||||||
public RestrictionDocument(Name alias) {
|
|
||||||
this(alias, RESTRICTION_DOCUMENT);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.restriction_document</code> table reference
|
|
||||||
*/
|
|
||||||
public RestrictionDocument() {
|
|
||||||
this(DSL.name("restriction_document"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
public <O extends Record> RestrictionDocument(Table<O> path, ForeignKey<O, RestrictionDocumentRecord> childPath, InverseForeignKey<O, RestrictionDocumentRecord> 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<RestrictionDocumentRecord> {
|
|
||||||
public <O extends Record> RestrictionDocumentPath(Table<O> path, ForeignKey<O, RestrictionDocumentRecord> childPath, InverseForeignKey<O, RestrictionDocumentRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath);
|
|
||||||
}
|
|
||||||
private RestrictionDocumentPath(Name alias, Table<RestrictionDocumentRecord> 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<RestrictionDocumentRecord> getPrimaryKey() {
|
|
||||||
return Keys.RESTRICTION_DOCUMENT_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<ForeignKey<RestrictionDocumentRecord, ?>> getReferences() {
|
|
||||||
return Arrays.asList(Keys.RESTRICTION_DOCUMENT__FK_SUBPOENA);
|
|
||||||
}
|
|
||||||
|
|
||||||
private transient SubpoenaPath _subpoena;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the implicit join path to the <code>public.subpoena</code> 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
|
|
||||||
* <code>public.restriction_document_item</code> table, via the
|
|
||||||
* <code>fk_restriction_document</code> 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
|
|
||||||
* <code>public.restriction_document_item</code> table, via the
|
|
||||||
* <code>restriction_document_item_restriction_document_cancel_id_fkey</code>
|
|
||||||
* 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<? extends Condition> 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<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RestrictionDocumentItemRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.restriction_document_item</code>
|
|
||||||
*/
|
|
||||||
public static final RestrictionDocumentItem RESTRICTION_DOCUMENT_ITEM = new RestrictionDocumentItem();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<RestrictionDocumentItemRecord> getRecordType() {
|
|
||||||
return RestrictionDocumentItemRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item.restriction_document_create_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, UUID> RESTRICTION_DOCUMENT_CREATE_ID = createField(DSL.name("restriction_document_create_id"), SQLDataType.UUID.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item.created_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, Timestamp> CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, Timestamp> UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item.restriction_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, UUID> RESTRICTION_ID = createField(DSL.name("restriction_id"), SQLDataType.UUID.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item.status_applied</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, String> STATUS_APPLIED = createField(DSL.name("status_applied"), SQLDataType.VARCHAR(100), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item.status_text</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, String> STATUS_TEXT = createField(DSL.name("status_text"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item.applied_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, Date> APPLIED_DATE = createField(DSL.name("applied_date"), SQLDataType.DATE, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item.cancel_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, Date> CANCEL_DATE = createField(DSL.name("cancel_date"), SQLDataType.DATE, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, JSONB> EXTRA_INFO = createField(DSL.name("extra_info"), SQLDataType.JSONB, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item.applied_fact</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, Boolean> APPLIED_FACT = createField(DSL.name("applied_fact"), SQLDataType.BOOLEAN, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item.restriction_document_cancel_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, UUID> RESTRICTION_DOCUMENT_CANCEL_ID = createField(DSL.name("restriction_document_cancel_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item.status_canceled</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, String> STATUS_CANCELED = createField(DSL.name("status_canceled"), SQLDataType.VARCHAR(100), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item.foiv_code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, Long> FOIV_CODE = createField(DSL.name("foiv_code"), SQLDataType.BIGINT, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item.human_readable_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemRecord, String> HUMAN_READABLE_ID = createField(DSL.name("human_readable_id"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
private RestrictionDocumentItem(Name alias, Table<RestrictionDocumentItemRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private RestrictionDocumentItem(Name alias, Table<RestrictionDocumentItemRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.restriction_document_item</code> table
|
|
||||||
* reference
|
|
||||||
*/
|
|
||||||
public RestrictionDocumentItem(String alias) {
|
|
||||||
this(DSL.name(alias), RESTRICTION_DOCUMENT_ITEM);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.restriction_document_item</code> table
|
|
||||||
* reference
|
|
||||||
*/
|
|
||||||
public RestrictionDocumentItem(Name alias) {
|
|
||||||
this(alias, RESTRICTION_DOCUMENT_ITEM);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.restriction_document_item</code> table reference
|
|
||||||
*/
|
|
||||||
public RestrictionDocumentItem() {
|
|
||||||
this(DSL.name("restriction_document_item"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
public <O extends Record> RestrictionDocumentItem(Table<O> path, ForeignKey<O, RestrictionDocumentItemRecord> childPath, InverseForeignKey<O, RestrictionDocumentItemRecord> 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<RestrictionDocumentItemRecord> {
|
|
||||||
public <O extends Record> RestrictionDocumentItemPath(Table<O> path, ForeignKey<O, RestrictionDocumentItemRecord> childPath, InverseForeignKey<O, RestrictionDocumentItemRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath);
|
|
||||||
}
|
|
||||||
private RestrictionDocumentItemPath(Name alias, Table<RestrictionDocumentItemRecord> 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<RestrictionDocumentItemRecord> getPrimaryKey() {
|
|
||||||
return Keys.RESTRICTION_DOCUMENT_ITEM_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<ForeignKey<RestrictionDocumentItemRecord, ?>> 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
|
|
||||||
* <code>public.restriction_document</code> table, via the
|
|
||||||
* <code>fk_restriction_document</code> 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 <code>public.restriction</code> 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
|
|
||||||
* <code>public.restriction_document</code> table, via the
|
|
||||||
* <code>restriction_document_item_restriction_document_cancel_id_fkey</code>
|
|
||||||
* 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 <code>public.foiv</code> 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
|
|
||||||
* <code>public.notification_item</code> 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<? extends Condition> 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<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RestrictionDocumentItemHistoryRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of
|
|
||||||
* <code>public.restriction_document_item_history</code>
|
|
||||||
*/
|
|
||||||
public static final RestrictionDocumentItemHistory RESTRICTION_DOCUMENT_ITEM_HISTORY = new RestrictionDocumentItemHistory();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<RestrictionDocumentItemHistoryRecord> getRecordType() {
|
|
||||||
return RestrictionDocumentItemHistoryRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item_history.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item_history.restriction_document_item_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, UUID> RESTRICTION_DOCUMENT_ITEM_ID = createField(DSL.name("restriction_document_item_id"), SQLDataType.UUID.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item_history.date_time</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, Timestamp> DATE_TIME = createField(DSL.name("date_time"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item_history.status</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, String> STATUS = createField(DSL.name("status"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item_history.foiv_code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, Long> FOIV_CODE = createField(DSL.name("foiv_code"), SQLDataType.BIGINT.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item_history.recruit_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item_history.recruit_fio</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, String> RECRUIT_FIO = createField(DSL.name("recruit_fio"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item_history.id_ern</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, String> ID_ERN = createField(DSL.name("id_ern"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item_history.vk_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, UUID> VK_ID = createField(DSL.name("vk_id"), SQLDataType.UUID.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item_history.vk_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, String> VK_NAME = createField(DSL.name("vk_name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_item_history.user_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, UUID> USER_ID = createField(DSL.name("user_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item_history.user_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, String> USER_NAME = createField(DSL.name("user_name"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item_history.decision_number</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, String> DECISION_NUMBER = createField(DSL.name("decision_number"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item_history.decision_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, Timestamp> DECISION_DATE = createField(DSL.name("decision_date"), SQLDataType.TIMESTAMP(0).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item_history.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, JSONB> EXTRA_INFO = createField(DSL.name("extra_info"), SQLDataType.JSONB, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item_history.status_applied</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, String> STATUS_APPLIED = createField(DSL.name("status_applied"), SQLDataType.VARCHAR(36), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item_history.status_canceled</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, String> STATUS_CANCELED = createField(DSL.name("status_canceled"), SQLDataType.VARCHAR(36), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column
|
|
||||||
* <code>public.restriction_document_item_history.status_type</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentItemHistoryRecord, String> STATUS_TYPE = createField(DSL.name("status_type"), SQLDataType.VARCHAR(36), this, "");
|
|
||||||
|
|
||||||
private RestrictionDocumentItemHistory(Name alias, Table<RestrictionDocumentItemHistoryRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private RestrictionDocumentItemHistory(Name alias, Table<RestrictionDocumentItemHistoryRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.restriction_document_item_history</code>
|
|
||||||
* table reference
|
|
||||||
*/
|
|
||||||
public RestrictionDocumentItemHistory(String alias) {
|
|
||||||
this(DSL.name(alias), RESTRICTION_DOCUMENT_ITEM_HISTORY);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.restriction_document_item_history</code>
|
|
||||||
* table reference
|
|
||||||
*/
|
|
||||||
public RestrictionDocumentItemHistory(Name alias) {
|
|
||||||
this(alias, RESTRICTION_DOCUMENT_ITEM_HISTORY);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.restriction_document_item_history</code> table
|
|
||||||
* reference
|
|
||||||
*/
|
|
||||||
public RestrictionDocumentItemHistory() {
|
|
||||||
this(DSL.name("restriction_document_item_history"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Schema getSchema() {
|
|
||||||
return aliased() ? null : Public.PUBLIC;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public UniqueKey<RestrictionDocumentItemHistoryRecord> 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<? extends Condition> 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<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RestrictionDocumentStatusRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.restriction_document_status</code>
|
|
||||||
*/
|
|
||||||
public static final RestrictionDocumentStatus RESTRICTION_DOCUMENT_STATUS = new RestrictionDocumentStatus();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<RestrictionDocumentStatusRecord> getRecordType() {
|
|
||||||
return RestrictionDocumentStatusRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_status.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentStatusRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_status.code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentStatusRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.restriction_document_status.name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<RestrictionDocumentStatusRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
private RestrictionDocumentStatus(Name alias, Table<RestrictionDocumentStatusRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private RestrictionDocumentStatus(Name alias, Table<RestrictionDocumentStatusRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.restriction_document_status</code> table
|
|
||||||
* reference
|
|
||||||
*/
|
|
||||||
public RestrictionDocumentStatus(String alias) {
|
|
||||||
this(DSL.name(alias), RESTRICTION_DOCUMENT_STATUS);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.restriction_document_status</code> table
|
|
||||||
* reference
|
|
||||||
*/
|
|
||||||
public RestrictionDocumentStatus(Name alias) {
|
|
||||||
this(alias, RESTRICTION_DOCUMENT_STATUS);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.restriction_document_status</code> table reference
|
|
||||||
*/
|
|
||||||
public RestrictionDocumentStatus() {
|
|
||||||
this(DSL.name("restriction_document_status"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Schema getSchema() {
|
|
||||||
return aliased() ? null : Public.PUBLIC;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public UniqueKey<RestrictionDocumentStatusRecord> 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<? extends Condition> 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<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SendDictionaryRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.send_dictionary</code>
|
|
||||||
*/
|
|
||||||
public static final SendDictionary SEND_DICTIONARY = new SendDictionary();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<SendDictionaryRecord> getRecordType() {
|
|
||||||
return SendDictionaryRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.send_dictionary.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SendDictionaryRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.send_dictionary.code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SendDictionaryRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.send_dictionary.name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SendDictionaryRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.send_dictionary.type</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SendDictionaryRecord, String> TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR(10), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.send_dictionary.hidden</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SendDictionaryRecord, Boolean> HIDDEN = createField(DSL.name("hidden"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.send_dictionary.to_front</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SendDictionaryRecord, Boolean> TO_FRONT = createField(DSL.name("to_front"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
|
|
||||||
|
|
||||||
private SendDictionary(Name alias, Table<SendDictionaryRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private SendDictionary(Name alias, Table<SendDictionaryRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.send_dictionary</code> table reference
|
|
||||||
*/
|
|
||||||
public SendDictionary(String alias) {
|
|
||||||
this(DSL.name(alias), SEND_DICTIONARY);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.send_dictionary</code> table reference
|
|
||||||
*/
|
|
||||||
public SendDictionary(Name alias) {
|
|
||||||
this(alias, SEND_DICTIONARY);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.send_dictionary</code> table reference
|
|
||||||
*/
|
|
||||||
public SendDictionary() {
|
|
||||||
this(DSL.name("send_dictionary"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Schema getSchema() {
|
|
||||||
return aliased() ? null : Public.PUBLIC;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public UniqueKey<SendDictionaryRecord> getPrimaryKey() {
|
|
||||||
return Keys.DELIVERY_DIRECTION_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<UniqueKey<SendDictionaryRecord>> 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<? extends Condition> 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<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SubpoenaRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.subpoena</code>
|
|
||||||
*/
|
|
||||||
public static final Subpoena SUBPOENA = new Subpoena();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<SubpoenaRecord> getRecordType() {
|
|
||||||
return SubpoenaRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.series</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> SERIES = createField(DSL.name("series"), SQLDataType.VARCHAR(16), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.number</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> NUMBER = createField(DSL.name("number"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.id_ern</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> ID_ERN = createField(DSL.name("id_ern"), SQLDataType.VARCHAR(36), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.create_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, Timestamp> CREATE_DATE = createField(DSL.name("create_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.visit_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, Timestamp> VISIT_DATE = createField(DSL.name("visit_date"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.send_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, Timestamp> SEND_DATE = createField(DSL.name("send_date"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.reason_cancelled</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> REASON_CANCELLED = createField(DSL.name("reason_cancelled"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.full_name_responsible_user</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> FULL_NAME_RESPONSIBLE_USER = createField(DSL.name("full_name_responsible_user"), SQLDataType.VARCHAR(512), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.post_responsible_user</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> POST_RESPONSIBLE_USER = createField(DSL.name("post_responsible_user"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.sig_info</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> SIG_INFO = createField(DSL.name("sig_info"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.recruitment_code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> RECRUITMENT_CODE = createField(DSL.name("recruitment_code"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.recruitment_address</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> RECRUITMENT_ADDRESS = createField(DSL.name("recruitment_address"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.last_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> LAST_NAME = createField(DSL.name("last_name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.first_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> FIRST_NAME = createField(DSL.name("first_name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.middle_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> MIDDLE_NAME = createField(DSL.name("middle_name"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.date_birth</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, Date> DATE_BIRTH = createField(DSL.name("date_birth"), SQLDataType.DATE, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.snils</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> SNILS = createField(DSL.name("snils"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.address_live</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> ADDRESS_LIVE = createField(DSL.name("address_live"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.address_current_reg</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> ADDRESS_CURRENT_REG = createField(DSL.name("address_current_reg"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.address_current</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> ADDRESS_CURRENT = createField(DSL.name("address_current"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.type_dul</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> TYPE_DUL = createField(DSL.name("type_dul"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.series_dul</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> SERIES_DUL = createField(DSL.name("series_dul"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.number_dul</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> NUMBER_DUL = createField(DSL.name("number_dul"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.issue_id_code_dul</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> ISSUE_ID_CODE_DUL = createField(DSL.name("issue_id_code_dul"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.issue_org_dul</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> ISSUE_ORG_DUL = createField(DSL.name("issue_org_dul"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.issue_date_dul</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, Date> ISSUE_DATE_DUL = createField(DSL.name("issue_date_dul"), SQLDataType.DATE, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.sig_s3url</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> SIG_S3URL = createField(DSL.name("sig_s3url"), SQLDataType.VARCHAR(512), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.sig_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> SIG_NAME = createField(DSL.name("sig_name"), SQLDataType.VARCHAR(256), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.sig</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> SIG = createField(DSL.name("sig"), SQLDataType.VARCHAR(512), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.format</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> FORMAT = createField(DSL.name("format"), SQLDataType.VARCHAR(10), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.digest</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> DIGEST = createField(DSL.name("digest"), SQLDataType.VARCHAR(256), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.s3_url</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> S3_URL = createField(DSL.name("s3_url"), SQLDataType.VARCHAR(512), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.s3_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> S3_NAME = createField(DSL.name("s3_name"), SQLDataType.VARCHAR(256), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.recruit_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.status_change_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, Timestamp> STATUS_CHANGE_DATE = createField(DSL.name("status_change_date"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.department_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, UUID> DEPARTMENT_ID = createField(DSL.name("department_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.recruitment_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> RECRUITMENT_NAME = createField(DSL.name("recruitment_name"), SQLDataType.CLOB, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.track_number_postal_item</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> TRACK_NUMBER_POSTAL_ITEM = createField(DSL.name("track_number_postal_item"), SQLDataType.VARCHAR(128), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, JSONB> EXTRA_INFO = createField(DSL.name("extra_info"), SQLDataType.JSONB, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.status_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, UUID> STATUS_ID = createField(DSL.name("status_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.reason_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, UUID> REASON_ID = createField(DSL.name("reason_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.delivery_info</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, JSONB> DELIVERY_INFO = createField(DSL.name("delivery_info"), SQLDataType.JSONB, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.system_stages</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, JSONB> SYSTEM_STAGES = createField(DSL.name("system_stages"), SQLDataType.JSONB, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.automatic_service_subpoena</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, Date> AUTOMATIC_SERVICE_SUBPOENA = createField(DSL.name("automatic_service_subpoena"), SQLDataType.DATE, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.automatic_application_measures</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, Date> AUTOMATIC_APPLICATION_MEASURES = createField(DSL.name("automatic_application_measures"), SQLDataType.DATE, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.finish_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, Date> FINISH_DATE = createField(DSL.name("finish_date"), SQLDataType.DATE, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.summon_list_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, UUID> SUMMON_LIST_ID = createField(DSL.name("summon_list_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.signer_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> SIGNER_NAME = createField(DSL.name("signer_name"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena.human_readable_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaRecord, String> HUMAN_READABLE_ID = createField(DSL.name("human_readable_id"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
private Subpoena(Name alias, Table<SubpoenaRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private Subpoena(Name alias, Table<SubpoenaRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.subpoena</code> table reference
|
|
||||||
*/
|
|
||||||
public Subpoena(String alias) {
|
|
||||||
this(DSL.name(alias), SUBPOENA);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.subpoena</code> table reference
|
|
||||||
*/
|
|
||||||
public Subpoena(Name alias) {
|
|
||||||
this(alias, SUBPOENA);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.subpoena</code> table reference
|
|
||||||
*/
|
|
||||||
public Subpoena() {
|
|
||||||
this(DSL.name("subpoena"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
public <O extends Record> Subpoena(Table<O> path, ForeignKey<O, SubpoenaRecord> childPath, InverseForeignKey<O, SubpoenaRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath, SUBPOENA);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
|
||||||
*/
|
|
||||||
public static class SubpoenaPath extends Subpoena implements Path<SubpoenaRecord> {
|
|
||||||
public <O extends Record> SubpoenaPath(Table<O> path, ForeignKey<O, SubpoenaRecord> childPath, InverseForeignKey<O, SubpoenaRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath);
|
|
||||||
}
|
|
||||||
private SubpoenaPath(Name alias, Table<SubpoenaRecord> 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<SubpoenaRecord> getPrimaryKey() {
|
|
||||||
return Keys.SUBPOENA_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<ForeignKey<SubpoenaRecord, ?>> 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 <code>public.subpoena_status</code>
|
|
||||||
* 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 <code>public.subpoena_reason</code>
|
|
||||||
* 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
|
|
||||||
* <code>public.restriction_document</code> 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
|
|
||||||
* <code>public.subpoena_appearance</code> 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
|
|
||||||
* <code>public.subpoena_history</code> 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
|
|
||||||
* <code>public.subpoena_send_info</code> 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<? extends Condition> 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<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SubpoenaAppearanceRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.subpoena_appearance</code>
|
|
||||||
*/
|
|
||||||
public static final SubpoenaAppearance SUBPOENA_APPEARANCE = new SubpoenaAppearance();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<SubpoenaAppearanceRecord> getRecordType() {
|
|
||||||
return SubpoenaAppearanceRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_appearance.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaAppearanceRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_appearance.subpoena_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaAppearanceRecord, UUID> SUBPOENA_ID = createField(DSL.name("subpoena_id"), SQLDataType.UUID.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_appearance.fact_appearance</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaAppearanceRecord, Boolean> FACT_APPEARANCE = createField(DSL.name("fact_appearance"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_appearance.date_appearance</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaAppearanceRecord, Date> DATE_APPEARANCE = createField(DSL.name("date_appearance"), SQLDataType.DATE, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_appearance.nonappearance_info</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaAppearanceRecord, JSONB> NONAPPEARANCE_INFO = createField(DSL.name("nonappearance_info"), SQLDataType.JSONB, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_appearance.created_date_time</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaAppearanceRecord, Timestamp> CREATED_DATE_TIME = createField(DSL.name("created_date_time"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_appearance.change_date_time</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaAppearanceRecord, Timestamp> CHANGE_DATE_TIME = createField(DSL.name("change_date_time"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
private SubpoenaAppearance(Name alias, Table<SubpoenaAppearanceRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private SubpoenaAppearance(Name alias, Table<SubpoenaAppearanceRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.subpoena_appearance</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaAppearance(String alias) {
|
|
||||||
this(DSL.name(alias), SUBPOENA_APPEARANCE);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.subpoena_appearance</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaAppearance(Name alias) {
|
|
||||||
this(alias, SUBPOENA_APPEARANCE);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.subpoena_appearance</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaAppearance() {
|
|
||||||
this(DSL.name("subpoena_appearance"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
public <O extends Record> SubpoenaAppearance(Table<O> path, ForeignKey<O, SubpoenaAppearanceRecord> childPath, InverseForeignKey<O, SubpoenaAppearanceRecord> 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<SubpoenaAppearanceRecord> {
|
|
||||||
public <O extends Record> SubpoenaAppearancePath(Table<O> path, ForeignKey<O, SubpoenaAppearanceRecord> childPath, InverseForeignKey<O, SubpoenaAppearanceRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath);
|
|
||||||
}
|
|
||||||
private SubpoenaAppearancePath(Name alias, Table<SubpoenaAppearanceRecord> 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<SubpoenaAppearanceRecord> getPrimaryKey() {
|
|
||||||
return Keys.SUBPOENA_APPEARANCE_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<ForeignKey<SubpoenaAppearanceRecord, ?>> getReferences() {
|
|
||||||
return Arrays.asList(Keys.SUBPOENA_APPEARANCE__SUBPOENA_APPEARANCE_SUBPOENA_ID_FKEY);
|
|
||||||
}
|
|
||||||
|
|
||||||
private transient SubpoenaPath _subpoena;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the implicit join path to the <code>public.subpoena</code> 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<? extends Condition> 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<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SubpoenaExportRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.subpoena_export</code>
|
|
||||||
*/
|
|
||||||
public static final SubpoenaExport SUBPOENA_EXPORT = new SubpoenaExport();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<SubpoenaExportRecord> getRecordType() {
|
|
||||||
return SubpoenaExportRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_export.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaExportRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_export.department_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaExportRecord, UUID> DEPARTMENT_ID = createField(DSL.name("department_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_export.system_create_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaExportRecord, Timestamp> SYSTEM_CREATE_DATE = createField(DSL.name("system_create_date"), SQLDataType.TIMESTAMP(0).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_export.system_update_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaExportRecord, Timestamp> SYSTEM_UPDATE_DATE = createField(DSL.name("system_update_date"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_export.s3url</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaExportRecord, String> S3URL = createField(DSL.name("s3url"), SQLDataType.VARCHAR, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_export.status</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaExportRecord, Long> STATUS = createField(DSL.name("status"), SQLDataType.BIGINT, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_export.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaExportRecord, JSONB> EXTRA_INFO = createField(DSL.name("extra_info"), SQLDataType.JSONB, this, "");
|
|
||||||
|
|
||||||
private SubpoenaExport(Name alias, Table<SubpoenaExportRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private SubpoenaExport(Name alias, Table<SubpoenaExportRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.subpoena_export</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaExport(String alias) {
|
|
||||||
this(DSL.name(alias), SUBPOENA_EXPORT);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.subpoena_export</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaExport(Name alias) {
|
|
||||||
this(alias, SUBPOENA_EXPORT);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.subpoena_export</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaExport() {
|
|
||||||
this(DSL.name("subpoena_export"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Schema getSchema() {
|
|
||||||
return aliased() ? null : Public.PUBLIC;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public UniqueKey<SubpoenaExportRecord> 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<? extends Condition> 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<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SubpoenaHistoryRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.subpoena_history</code>
|
|
||||||
*/
|
|
||||||
public static final SubpoenaHistory SUBPOENA_HISTORY = new SubpoenaHistory();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<SubpoenaHistoryRecord> getRecordType() {
|
|
||||||
return SubpoenaHistoryRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_history.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaHistoryRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_history.date_time</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaHistoryRecord, Timestamp> DATE_TIME = createField(DSL.name("date_time"), SQLDataType.TIMESTAMP(0).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_history.user_name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaHistoryRecord, String> USER_NAME = createField(DSL.name("user_name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_history.subpoena_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaHistoryRecord, UUID> SUBPOENA_ID = createField(DSL.name("subpoena_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_history.user_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaHistoryRecord, String> USER_ID = createField(DSL.name("user_id"), SQLDataType.VARCHAR(36), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_history.status_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaHistoryRecord, UUID> STATUS_ID = createField(DSL.name("status_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_history.date_time_wtz</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaHistoryRecord, Timestamp> DATE_TIME_WTZ = createField(DSL.name("date_time_wtz"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_history.user_info</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaHistoryRecord, JSONB> USER_INFO = createField(DSL.name("user_info"), SQLDataType.JSONB, this, "");
|
|
||||||
|
|
||||||
private SubpoenaHistory(Name alias, Table<SubpoenaHistoryRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private SubpoenaHistory(Name alias, Table<SubpoenaHistoryRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.subpoena_history</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaHistory(String alias) {
|
|
||||||
this(DSL.name(alias), SUBPOENA_HISTORY);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.subpoena_history</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaHistory(Name alias) {
|
|
||||||
this(alias, SUBPOENA_HISTORY);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.subpoena_history</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaHistory() {
|
|
||||||
this(DSL.name("subpoena_history"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
public <O extends Record> SubpoenaHistory(Table<O> path, ForeignKey<O, SubpoenaHistoryRecord> childPath, InverseForeignKey<O, SubpoenaHistoryRecord> 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<SubpoenaHistoryRecord> {
|
|
||||||
public <O extends Record> SubpoenaHistoryPath(Table<O> path, ForeignKey<O, SubpoenaHistoryRecord> childPath, InverseForeignKey<O, SubpoenaHistoryRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath);
|
|
||||||
}
|
|
||||||
private SubpoenaHistoryPath(Name alias, Table<SubpoenaHistoryRecord> 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<SubpoenaHistoryRecord> getPrimaryKey() {
|
|
||||||
return Keys.SUBPOENA_HISTORY_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<ForeignKey<SubpoenaHistoryRecord, ?>> 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 <code>public.subpoena</code> 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 <code>public.subpoena_status</code>
|
|
||||||
* 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<? extends Condition> 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<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SubpoenaReasonRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.subpoena_reason</code>
|
|
||||||
*/
|
|
||||||
public static final SubpoenaReason SUBPOENA_REASON = new SubpoenaReason();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<SubpoenaReasonRecord> getRecordType() {
|
|
||||||
return SubpoenaReasonRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_reason.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaReasonRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_reason.code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaReasonRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_reason.name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaReasonRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_reason.type</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaReasonRecord, String> TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
private SubpoenaReason(Name alias, Table<SubpoenaReasonRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private SubpoenaReason(Name alias, Table<SubpoenaReasonRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.subpoena_reason</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaReason(String alias) {
|
|
||||||
this(DSL.name(alias), SUBPOENA_REASON);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.subpoena_reason</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaReason(Name alias) {
|
|
||||||
this(alias, SUBPOENA_REASON);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.subpoena_reason</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaReason() {
|
|
||||||
this(DSL.name("subpoena_reason"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
public <O extends Record> SubpoenaReason(Table<O> path, ForeignKey<O, SubpoenaReasonRecord> childPath, InverseForeignKey<O, SubpoenaReasonRecord> 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<SubpoenaReasonRecord> {
|
|
||||||
public <O extends Record> SubpoenaReasonPath(Table<O> path, ForeignKey<O, SubpoenaReasonRecord> childPath, InverseForeignKey<O, SubpoenaReasonRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath);
|
|
||||||
}
|
|
||||||
private SubpoenaReasonPath(Name alias, Table<SubpoenaReasonRecord> 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<SubpoenaReasonRecord> getPrimaryKey() {
|
|
||||||
return Keys.SUBPOENA_REASON_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<UniqueKey<SubpoenaReasonRecord>> getUniqueKeys() {
|
|
||||||
return Arrays.asList(Keys.IDX_SUBPOENA_REASON_CODE);
|
|
||||||
}
|
|
||||||
|
|
||||||
private transient SubpoenaPath _subpoena;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the implicit to-many join path to the <code>public.subpoena</code>
|
|
||||||
* 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<? extends Condition> 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<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SubpoenaSendInfoRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.subpoena_send_info</code>
|
|
||||||
*/
|
|
||||||
public static final SubpoenaSendInfo SUBPOENA_SEND_INFO = new SubpoenaSendInfo();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<SubpoenaSendInfoRecord> getRecordType() {
|
|
||||||
return SubpoenaSendInfoRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_send_info.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaSendInfoRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_send_info.subpoena_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaSendInfoRecord, UUID> SUBPOENA_ID = createField(DSL.name("subpoena_id"), SQLDataType.UUID.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_send_info.send_code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaSendInfoRecord, String> SEND_CODE = createField(DSL.name("send_code"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_send_info.send_address</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaSendInfoRecord, JSONB> SEND_ADDRESS = createField(DSL.name("send_address"), SQLDataType.JSONB.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_send_info.send_address_type</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaSendInfoRecord, String> SEND_ADDRESS_TYPE = createField(DSL.name("send_address_type"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_send_info.send_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaSendInfoRecord, Timestamp> SEND_DATE = createField(DSL.name("send_date"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_send_info.track_number</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaSendInfoRecord, String> TRACK_NUMBER = createField(DSL.name("track_number"), SQLDataType.VARCHAR(128), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_send_info.is_delivered</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaSendInfoRecord, Boolean> IS_DELIVERED = createField(DSL.name("is_delivered"), SQLDataType.BOOLEAN, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_send_info.delivery_code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaSendInfoRecord, String> DELIVERY_CODE = createField(DSL.name("delivery_code"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_send_info.delivery_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaSendInfoRecord, Timestamp> DELIVERY_DATE = createField(DSL.name("delivery_date"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_send_info.act_number</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaSendInfoRecord, String> ACT_NUMBER = createField(DSL.name("act_number"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_send_info.act_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaSendInfoRecord, Date> ACT_DATE = createField(DSL.name("act_date"), SQLDataType.DATE, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_send_info.delivery_fio</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaSendInfoRecord, String> DELIVERY_FIO = createField(DSL.name("delivery_fio"), SQLDataType.VARCHAR(255), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_send_info.auto_delivery</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaSendInfoRecord, Boolean> AUTO_DELIVERY = createField(DSL.name("auto_delivery"), SQLDataType.BOOLEAN, this, "");
|
|
||||||
|
|
||||||
private SubpoenaSendInfo(Name alias, Table<SubpoenaSendInfoRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private SubpoenaSendInfo(Name alias, Table<SubpoenaSendInfoRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.subpoena_send_info</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaSendInfo(String alias) {
|
|
||||||
this(DSL.name(alias), SUBPOENA_SEND_INFO);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.subpoena_send_info</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaSendInfo(Name alias) {
|
|
||||||
this(alias, SUBPOENA_SEND_INFO);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.subpoena_send_info</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaSendInfo() {
|
|
||||||
this(DSL.name("subpoena_send_info"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
public <O extends Record> SubpoenaSendInfo(Table<O> path, ForeignKey<O, SubpoenaSendInfoRecord> childPath, InverseForeignKey<O, SubpoenaSendInfoRecord> 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<SubpoenaSendInfoRecord> {
|
|
||||||
public <O extends Record> SubpoenaSendInfoPath(Table<O> path, ForeignKey<O, SubpoenaSendInfoRecord> childPath, InverseForeignKey<O, SubpoenaSendInfoRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath);
|
|
||||||
}
|
|
||||||
private SubpoenaSendInfoPath(Name alias, Table<SubpoenaSendInfoRecord> 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<SubpoenaSendInfoRecord> getPrimaryKey() {
|
|
||||||
return Keys.SUBPOENA_SEND_INFO_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<ForeignKey<SubpoenaSendInfoRecord, ?>> getReferences() {
|
|
||||||
return Arrays.asList(Keys.SUBPOENA_SEND_INFO__FK_SUBPOENA);
|
|
||||||
}
|
|
||||||
|
|
||||||
private transient SubpoenaPath _subpoena;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the implicit join path to the <code>public.subpoena</code> 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<? extends Condition> 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<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SubpoenaStatusRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.subpoena_status</code>
|
|
||||||
*/
|
|
||||||
public static final SubpoenaStatus SUBPOENA_STATUS = new SubpoenaStatus();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<SubpoenaStatusRecord> getRecordType() {
|
|
||||||
return SubpoenaStatusRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_status.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaStatusRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_status.code</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaStatusRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.subpoena_status.name</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SubpoenaStatusRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
|
||||||
|
|
||||||
private SubpoenaStatus(Name alias, Table<SubpoenaStatusRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private SubpoenaStatus(Name alias, Table<SubpoenaStatusRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.subpoena_status</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaStatus(String alias) {
|
|
||||||
this(DSL.name(alias), SUBPOENA_STATUS);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.subpoena_status</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaStatus(Name alias) {
|
|
||||||
this(alias, SUBPOENA_STATUS);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.subpoena_status</code> table reference
|
|
||||||
*/
|
|
||||||
public SubpoenaStatus() {
|
|
||||||
this(DSL.name("subpoena_status"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
public <O extends Record> SubpoenaStatus(Table<O> path, ForeignKey<O, SubpoenaStatusRecord> childPath, InverseForeignKey<O, SubpoenaStatusRecord> 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<SubpoenaStatusRecord> {
|
|
||||||
public <O extends Record> SubpoenaStatusPath(Table<O> path, ForeignKey<O, SubpoenaStatusRecord> childPath, InverseForeignKey<O, SubpoenaStatusRecord> parentPath) {
|
|
||||||
super(path, childPath, parentPath);
|
|
||||||
}
|
|
||||||
private SubpoenaStatusPath(Name alias, Table<SubpoenaStatusRecord> 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<SubpoenaStatusRecord> getPrimaryKey() {
|
|
||||||
return Keys.SUBPOENA_STATUS_PKEY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<UniqueKey<SubpoenaStatusRecord>> getUniqueKeys() {
|
|
||||||
return Arrays.asList(Keys.IDX_SUBPOENA_STATUS_CODE);
|
|
||||||
}
|
|
||||||
|
|
||||||
private transient SubpoenaPath _subpoena;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the implicit to-many join path to the <code>public.subpoena</code>
|
|
||||||
* 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
|
|
||||||
* <code>public.subpoena_history</code> 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<? extends Condition> 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<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SummonListRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The reference instance of <code>public.summon_list</code>
|
|
||||||
*/
|
|
||||||
public static final SummonList SUMMON_LIST = new SummonList();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The class holding records for this type
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public Class<SummonListRecord> getRecordType() {
|
|
||||||
return SummonListRecord.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.summon_list.id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SummonListRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.summon_list.number</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SummonListRecord, Long> NUMBER = createField(DSL.name("number"), SQLDataType.BIGINT, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.summon_list.title</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SummonListRecord, String> TITLE = createField(DSL.name("title"), SQLDataType.VARCHAR(256), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.summon_list.created_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SummonListRecord, Timestamp> CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.summon_list.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SummonListRecord, Timestamp> UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.summon_list.status</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SummonListRecord, String> STATUS = createField(DSL.name("status"), SQLDataType.VARCHAR(10), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.summon_list.free_count</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SummonListRecord, Long> FREE_COUNT = createField(DSL.name("free_count"), SQLDataType.BIGINT, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.summon_list.department_id</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SummonListRecord, UUID> DEPARTMENT_ID = createField(DSL.name("department_id"), SQLDataType.UUID, this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.summon_list.delivery_method</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SummonListRecord, String> DELIVERY_METHOD = createField(DSL.name("delivery_method"), SQLDataType.VARCHAR(10), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.summon_list.turnout_date</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SummonListRecord, Timestamp> TURNOUT_DATE = createField(DSL.name("turnout_date"), SQLDataType.TIMESTAMP(0), this, "");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The column <code>public.summon_list.summon_objective</code>.
|
|
||||||
*/
|
|
||||||
public final TableField<SummonListRecord, String> SUMMON_OBJECTIVE = createField(DSL.name("summon_objective"), SQLDataType.VARCHAR(10), this, "");
|
|
||||||
|
|
||||||
private SummonList(Name alias, Table<SummonListRecord> aliased) {
|
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private SummonList(Name alias, Table<SummonListRecord> aliased, Field<?>[] parameters, Condition where) {
|
|
||||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.summon_list</code> table reference
|
|
||||||
*/
|
|
||||||
public SummonList(String alias) {
|
|
||||||
this(DSL.name(alias), SUMMON_LIST);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an aliased <code>public.summon_list</code> table reference
|
|
||||||
*/
|
|
||||||
public SummonList(Name alias) {
|
|
||||||
this(alias, SUMMON_LIST);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a <code>public.summon_list</code> table reference
|
|
||||||
*/
|
|
||||||
public SummonList() {
|
|
||||||
this(DSL.name("summon_list"), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Schema getSchema() {
|
|
||||||
return aliased() ? null : Public.PUBLIC;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public UniqueKey<SummonListRecord> 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<? extends Condition> 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<Boolean> 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<FlywaySchemaHistoryRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.flyway_schema_history.installed_rank</code>.
|
|
||||||
*/
|
|
||||||
public void setInstalledRank(Integer value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.flyway_schema_history.installed_rank</code>.
|
|
||||||
*/
|
|
||||||
public Integer getInstalledRank() {
|
|
||||||
return (Integer) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.flyway_schema_history.version</code>.
|
|
||||||
*/
|
|
||||||
public void setVersion(String value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.flyway_schema_history.version</code>.
|
|
||||||
*/
|
|
||||||
public String getVersion() {
|
|
||||||
return (String) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.flyway_schema_history.description</code>.
|
|
||||||
*/
|
|
||||||
public void setDescription(String value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.flyway_schema_history.description</code>.
|
|
||||||
*/
|
|
||||||
public String getDescription() {
|
|
||||||
return (String) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.flyway_schema_history.type</code>.
|
|
||||||
*/
|
|
||||||
public void setType(String value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.flyway_schema_history.type</code>.
|
|
||||||
*/
|
|
||||||
public String getType() {
|
|
||||||
return (String) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.flyway_schema_history.script</code>.
|
|
||||||
*/
|
|
||||||
public void setScript(String value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.flyway_schema_history.script</code>.
|
|
||||||
*/
|
|
||||||
public String getScript() {
|
|
||||||
return (String) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.flyway_schema_history.checksum</code>.
|
|
||||||
*/
|
|
||||||
public void setChecksum(Integer value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.flyway_schema_history.checksum</code>.
|
|
||||||
*/
|
|
||||||
public Integer getChecksum() {
|
|
||||||
return (Integer) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.flyway_schema_history.installed_by</code>.
|
|
||||||
*/
|
|
||||||
public void setInstalledBy(String value) {
|
|
||||||
set(6, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.flyway_schema_history.installed_by</code>.
|
|
||||||
*/
|
|
||||||
public String getInstalledBy() {
|
|
||||||
return (String) get(6);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.flyway_schema_history.installed_on</code>.
|
|
||||||
*/
|
|
||||||
public void setInstalledOn(Timestamp value) {
|
|
||||||
set(7, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.flyway_schema_history.installed_on</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getInstalledOn() {
|
|
||||||
return (Timestamp) get(7);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.flyway_schema_history.execution_time</code>.
|
|
||||||
*/
|
|
||||||
public void setExecutionTime(Integer value) {
|
|
||||||
set(8, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.flyway_schema_history.execution_time</code>.
|
|
||||||
*/
|
|
||||||
public Integer getExecutionTime() {
|
|
||||||
return (Integer) get(8);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.flyway_schema_history.success</code>.
|
|
||||||
*/
|
|
||||||
public void setSuccess(Boolean value) {
|
|
||||||
set(9, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.flyway_schema_history.success</code>.
|
|
||||||
*/
|
|
||||||
public Boolean getSuccess() {
|
|
||||||
return (Boolean) get(9);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<Integer> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<FoivRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.foiv.code</code>.
|
|
||||||
*/
|
|
||||||
public void setCode(Long value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.foiv.code</code>.
|
|
||||||
*/
|
|
||||||
public Long getCode() {
|
|
||||||
return (Long) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.foiv.name</code>.
|
|
||||||
*/
|
|
||||||
public void setName(String value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.foiv.name</code>.
|
|
||||||
*/
|
|
||||||
public String getName() {
|
|
||||||
return (String) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<Long> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<NotificationItemRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.notification_item.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.notification_item.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.notification_item.notification_code</code>.
|
|
||||||
*/
|
|
||||||
public void setNotificationCode(Long value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.notification_item.notification_code</code>.
|
|
||||||
*/
|
|
||||||
public Long getNotificationCode() {
|
|
||||||
return (Long) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.notification_item.restriction_document_item_id</code>.
|
|
||||||
*/
|
|
||||||
public void setRestrictionDocumentItemId(UUID value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.notification_item.restriction_document_item_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getRestrictionDocumentItemId() {
|
|
||||||
return (UUID) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.notification_item.foiv_code</code>.
|
|
||||||
*/
|
|
||||||
public void setFoivCode(Long value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.notification_item.foiv_code</code>.
|
|
||||||
*/
|
|
||||||
public Long getFoivCode() {
|
|
||||||
return (Long) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.notification_item.send_date</code>.
|
|
||||||
*/
|
|
||||||
public void setSendDate(Timestamp value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.notification_item.send_date</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getSendDate() {
|
|
||||||
return (Timestamp) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.notification_item.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public void setExtraInfo(JSONB value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.notification_item.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public JSONB getExtraInfo() {
|
|
||||||
return (JSONB) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.notification_item.created_at</code>.
|
|
||||||
*/
|
|
||||||
public void setCreatedAt(Timestamp value) {
|
|
||||||
set(6, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.notification_item.created_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getCreatedAt() {
|
|
||||||
return (Timestamp) get(6);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.notification_item.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public void setUpdatedAt(Timestamp value) {
|
|
||||||
set(7, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.notification_item.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getUpdatedAt() {
|
|
||||||
return (Timestamp) get(7);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.notification_item.cancelled_at</code>.
|
|
||||||
*/
|
|
||||||
public void setCancelledAt(Timestamp value) {
|
|
||||||
set(8, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.notification_item.cancelled_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getCancelledAt() {
|
|
||||||
return (Timestamp) get(8);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<NotificationRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.notification.code</code>.
|
|
||||||
*/
|
|
||||||
public void setCode(Long value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.notification.code</code>.
|
|
||||||
*/
|
|
||||||
public Long getCode() {
|
|
||||||
return (Long) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.notification.name</code>.
|
|
||||||
*/
|
|
||||||
public void setName(String value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.notification.name</code>.
|
|
||||||
*/
|
|
||||||
public String getName() {
|
|
||||||
return (String) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<Long> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RecruitmentRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.idm_id</code>.
|
|
||||||
*/
|
|
||||||
public void setIdmId(String value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.idm_id</code>.
|
|
||||||
*/
|
|
||||||
public String getIdmId() {
|
|
||||||
return (String) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.parent_id</code>.
|
|
||||||
*/
|
|
||||||
public void setParentId(String value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.parent_id</code>.
|
|
||||||
*/
|
|
||||||
public String getParentId() {
|
|
||||||
return (String) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.version</code>.
|
|
||||||
*/
|
|
||||||
public void setVersion(Integer value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.version</code>.
|
|
||||||
*/
|
|
||||||
public Integer getVersion() {
|
|
||||||
return (Integer) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.created_at</code>.
|
|
||||||
*/
|
|
||||||
public void setCreatedAt(Timestamp value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.created_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getCreatedAt() {
|
|
||||||
return (Timestamp) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public void setUpdatedAt(Timestamp value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getUpdatedAt() {
|
|
||||||
return (Timestamp) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.schema</code>.
|
|
||||||
*/
|
|
||||||
public void setSchema(String value) {
|
|
||||||
set(6, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.schema</code>.
|
|
||||||
*/
|
|
||||||
public String getSchema() {
|
|
||||||
return (String) get(6);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.military_code</code>.
|
|
||||||
*/
|
|
||||||
public void setMilitaryCode(String value) {
|
|
||||||
set(7, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.military_code</code>.
|
|
||||||
*/
|
|
||||||
public String getMilitaryCode() {
|
|
||||||
return (String) get(7);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.shortname</code>.
|
|
||||||
*/
|
|
||||||
public void setShortname(String value) {
|
|
||||||
set(8, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.shortname</code>.
|
|
||||||
*/
|
|
||||||
public String getShortname() {
|
|
||||||
return (String) get(8);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.fullname</code>.
|
|
||||||
*/
|
|
||||||
public void setFullname(String value) {
|
|
||||||
set(9, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.fullname</code>.
|
|
||||||
*/
|
|
||||||
public String getFullname() {
|
|
||||||
return (String) get(9);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.dns</code>.
|
|
||||||
*/
|
|
||||||
public void setDns(String value) {
|
|
||||||
set(10, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.dns</code>.
|
|
||||||
*/
|
|
||||||
public String getDns() {
|
|
||||||
return (String) get(10);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.email</code>.
|
|
||||||
*/
|
|
||||||
public void setEmail(String value) {
|
|
||||||
set(11, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.email</code>.
|
|
||||||
*/
|
|
||||||
public String getEmail() {
|
|
||||||
return (String) get(11);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.phone</code>.
|
|
||||||
*/
|
|
||||||
public void setPhone(String value) {
|
|
||||||
set(12, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.phone</code>.
|
|
||||||
*/
|
|
||||||
public String getPhone() {
|
|
||||||
return (String) get(12);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.address</code>.
|
|
||||||
*/
|
|
||||||
public void setAddress(String value) {
|
|
||||||
set(13, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.address</code>.
|
|
||||||
*/
|
|
||||||
public String getAddress() {
|
|
||||||
return (String) get(13);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.address_id</code>.
|
|
||||||
*/
|
|
||||||
public void setAddressId(String value) {
|
|
||||||
set(14, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.address_id</code>.
|
|
||||||
*/
|
|
||||||
public String getAddressId() {
|
|
||||||
return (String) get(14);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.postal_address</code>.
|
|
||||||
*/
|
|
||||||
public void setPostalAddress(String value) {
|
|
||||||
set(15, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.postal_address</code>.
|
|
||||||
*/
|
|
||||||
public String getPostalAddress() {
|
|
||||||
return (String) get(15);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.postal_address_id</code>.
|
|
||||||
*/
|
|
||||||
public void setPostalAddressId(String value) {
|
|
||||||
set(16, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.postal_address_id</code>.
|
|
||||||
*/
|
|
||||||
public String getPostalAddressId() {
|
|
||||||
return (String) get(16);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.nsi_department_id</code>.
|
|
||||||
*/
|
|
||||||
public void setNsiDepartmentId(String value) {
|
|
||||||
set(17, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.nsi_department_id</code>.
|
|
||||||
*/
|
|
||||||
public String getNsiDepartmentId() {
|
|
||||||
return (String) get(17);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.nsi_organization_id</code>.
|
|
||||||
*/
|
|
||||||
public void setNsiOrganizationId(String value) {
|
|
||||||
set(18, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.nsi_organization_id</code>.
|
|
||||||
*/
|
|
||||||
public String getNsiOrganizationId() {
|
|
||||||
return (String) get(18);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.oktmo</code>.
|
|
||||||
*/
|
|
||||||
public void setOktmo(String value) {
|
|
||||||
set(19, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.oktmo</code>.
|
|
||||||
*/
|
|
||||||
public String getOktmo() {
|
|
||||||
return (String) get(19);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.org_ogrn</code>.
|
|
||||||
*/
|
|
||||||
public void setOrgOgrn(String value) {
|
|
||||||
set(20, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.org_ogrn</code>.
|
|
||||||
*/
|
|
||||||
public String getOrgOgrn() {
|
|
||||||
return (String) get(20);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.dep_ogrn</code>.
|
|
||||||
*/
|
|
||||||
public void setDepOgrn(String value) {
|
|
||||||
set(21, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.dep_ogrn</code>.
|
|
||||||
*/
|
|
||||||
public String getDepOgrn() {
|
|
||||||
return (String) get(21);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.epgu_id</code>.
|
|
||||||
*/
|
|
||||||
public void setEpguId(String value) {
|
|
||||||
set(22, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.epgu_id</code>.
|
|
||||||
*/
|
|
||||||
public String getEpguId() {
|
|
||||||
return (String) get(22);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.kpp</code>.
|
|
||||||
*/
|
|
||||||
public void setKpp(String value) {
|
|
||||||
set(23, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.kpp</code>.
|
|
||||||
*/
|
|
||||||
public String getKpp() {
|
|
||||||
return (String) get(23);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.inn</code>.
|
|
||||||
*/
|
|
||||||
public void setInn(String value) {
|
|
||||||
set(24, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.inn</code>.
|
|
||||||
*/
|
|
||||||
public String getInn() {
|
|
||||||
return (String) get(24);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.okato</code>.
|
|
||||||
*/
|
|
||||||
public void setOkato(String value) {
|
|
||||||
set(25, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.okato</code>.
|
|
||||||
*/
|
|
||||||
public String getOkato() {
|
|
||||||
return (String) get(25);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.division_type</code>.
|
|
||||||
*/
|
|
||||||
public void setDivisionType(String value) {
|
|
||||||
set(26, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.division_type</code>.
|
|
||||||
*/
|
|
||||||
public String getDivisionType() {
|
|
||||||
return (String) get(26);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.tns_department_id</code>.
|
|
||||||
*/
|
|
||||||
public void setTnsDepartmentId(String value) {
|
|
||||||
set(27, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.tns_department_id</code>.
|
|
||||||
*/
|
|
||||||
public String getTnsDepartmentId() {
|
|
||||||
return (String) get(27);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.enabled</code>.
|
|
||||||
*/
|
|
||||||
public void setEnabled(Boolean value) {
|
|
||||||
set(28, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.enabled</code>.
|
|
||||||
*/
|
|
||||||
public Boolean getEnabled() {
|
|
||||||
return (Boolean) get(28);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.timezone</code>.
|
|
||||||
*/
|
|
||||||
public void setTimezone(String value) {
|
|
||||||
set(29, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.timezone</code>.
|
|
||||||
*/
|
|
||||||
public String getTimezone() {
|
|
||||||
return (String) get(29);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.reports_enabled</code>.
|
|
||||||
*/
|
|
||||||
public void setReportsEnabled(Boolean value) {
|
|
||||||
set(30, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.reports_enabled</code>.
|
|
||||||
*/
|
|
||||||
public Boolean getReportsEnabled() {
|
|
||||||
return (Boolean) get(30);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.region_id</code>.
|
|
||||||
*/
|
|
||||||
public void setRegionId(String value) {
|
|
||||||
set(31, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.region_id</code>.
|
|
||||||
*/
|
|
||||||
public String getRegionId() {
|
|
||||||
return (String) get(31);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.series</code>.
|
|
||||||
*/
|
|
||||||
public void setSeries(String value) {
|
|
||||||
set(32, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.series</code>.
|
|
||||||
*/
|
|
||||||
public String getSeries() {
|
|
||||||
return (String) get(32);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruitment.hidden</code>.
|
|
||||||
*/
|
|
||||||
public void setHidden(Boolean value) {
|
|
||||||
set(33, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruitment.hidden</code>.
|
|
||||||
*/
|
|
||||||
public Boolean getHidden() {
|
|
||||||
return (Boolean) get(33);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> key() {
|
|
||||||
return (Record1) super.key();
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Constructors
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a detached RecruitmentRecord
|
|
||||||
*/
|
|
||||||
public RecruitmentRecord() {
|
|
||||||
super(Recruitment.RECRUITMENT);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a detached, initialised RecruitmentRecord
|
|
||||||
*/
|
|
||||||
public RecruitmentRecord(UUID id, String idmId, String parentId, Integer version, Timestamp createdAt, Timestamp updatedAt, String schema, String militaryCode, String shortname, String fullname, String dns, String email, String phone, String address, String addressId, String postalAddress, String postalAddressId, String nsiDepartmentId, String nsiOrganizationId, String oktmo, String orgOgrn, String depOgrn, String epguId, String kpp, String inn, String okato, String divisionType, String tnsDepartmentId, Boolean enabled, String timezone, Boolean reportsEnabled, String regionId, String 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RecruitsRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.full_name</code>.
|
|
||||||
*/
|
|
||||||
public void setFullName(String value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.full_name</code>.
|
|
||||||
*/
|
|
||||||
public String getFullName() {
|
|
||||||
return (String) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.last_name</code>.
|
|
||||||
*/
|
|
||||||
public void setLastName(String value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.last_name</code>.
|
|
||||||
*/
|
|
||||||
public String getLastName() {
|
|
||||||
return (String) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.first_name</code>.
|
|
||||||
*/
|
|
||||||
public void setFirstName(String value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.first_name</code>.
|
|
||||||
*/
|
|
||||||
public String getFirstName() {
|
|
||||||
return (String) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.middle_name</code>.
|
|
||||||
*/
|
|
||||||
public void setMiddleName(String value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.middle_name</code>.
|
|
||||||
*/
|
|
||||||
public String getMiddleName() {
|
|
||||||
return (String) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.gender</code>.
|
|
||||||
*/
|
|
||||||
public void setGender(String value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.gender</code>.
|
|
||||||
*/
|
|
||||||
public String getGender() {
|
|
||||||
return (String) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.birth_date</code>.
|
|
||||||
*/
|
|
||||||
public void setBirthDate(Date value) {
|
|
||||||
set(6, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.birth_date</code>.
|
|
||||||
*/
|
|
||||||
public Date getBirthDate() {
|
|
||||||
return (Date) get(6);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.snils</code>.
|
|
||||||
*/
|
|
||||||
public void setSnils(String value) {
|
|
||||||
set(7, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.snils</code>.
|
|
||||||
*/
|
|
||||||
public String getSnils() {
|
|
||||||
return (String) get(7);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.inn</code>.
|
|
||||||
*/
|
|
||||||
public void setInn(String value) {
|
|
||||||
set(8, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.inn</code>.
|
|
||||||
*/
|
|
||||||
public String getInn() {
|
|
||||||
return (String) get(8);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.system_pgs_status</code>.
|
|
||||||
*/
|
|
||||||
public void setSystemPgsStatus(String value) {
|
|
||||||
set(9, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.system_pgs_status</code>.
|
|
||||||
*/
|
|
||||||
public String getSystemPgsStatus() {
|
|
||||||
return (String) get(9);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.system_id_ern</code>.
|
|
||||||
*/
|
|
||||||
public void setSystemIdErn(String value) {
|
|
||||||
set(10, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.system_id_ern</code>.
|
|
||||||
*/
|
|
||||||
public String getSystemIdErn() {
|
|
||||||
return (String) get(10);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.current_recruitment_id</code>.
|
|
||||||
*/
|
|
||||||
public void setCurrentRecruitmentId(UUID value) {
|
|
||||||
set(11, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.current_recruitment_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getCurrentRecruitmentId() {
|
|
||||||
return (UUID) get(11);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.target_recruitment_id</code>.
|
|
||||||
*/
|
|
||||||
public void setTargetRecruitmentId(UUID value) {
|
|
||||||
set(12, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.target_recruitment_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getTargetRecruitmentId() {
|
|
||||||
return (UUID) get(12);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.created_at</code>.
|
|
||||||
*/
|
|
||||||
public void setCreatedAt(Timestamp value) {
|
|
||||||
set(13, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.created_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getCreatedAt() {
|
|
||||||
return (Timestamp) get(13);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public void setUpdatedAt(Timestamp value) {
|
|
||||||
set(14, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getUpdatedAt() {
|
|
||||||
return (Timestamp) get(14);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.system_doc_id</code>.
|
|
||||||
*/
|
|
||||||
public void setSystemDocId(String value) {
|
|
||||||
set(15, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.system_doc_id</code>.
|
|
||||||
*/
|
|
||||||
public String getSystemDocId() {
|
|
||||||
return (String) get(15);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.recruits.address</code>.
|
|
||||||
*/
|
|
||||||
public void setAddress(JSONB value) {
|
|
||||||
set(16, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.recruits.address</code>.
|
|
||||||
*/
|
|
||||||
public JSONB getAddress() {
|
|
||||||
return (JSONB) get(16);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RegionRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.region.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.region.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.region.idm_id</code>.
|
|
||||||
*/
|
|
||||||
public void setIdmId(String value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.region.idm_id</code>.
|
|
||||||
*/
|
|
||||||
public String getIdmId() {
|
|
||||||
return (String) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.region.version</code>.
|
|
||||||
*/
|
|
||||||
public void setVersion(Integer value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.region.version</code>.
|
|
||||||
*/
|
|
||||||
public Integer getVersion() {
|
|
||||||
return (Integer) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.region.created_at</code>.
|
|
||||||
*/
|
|
||||||
public void setCreatedAt(Timestamp value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.region.created_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getCreatedAt() {
|
|
||||||
return (Timestamp) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.region.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public void setUpdatedAt(Timestamp value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.region.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getUpdatedAt() {
|
|
||||||
return (Timestamp) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.region.name</code>.
|
|
||||||
*/
|
|
||||||
public void setName(String value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.region.name</code>.
|
|
||||||
*/
|
|
||||||
public String getName() {
|
|
||||||
return (String) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.region.shortname</code>.
|
|
||||||
*/
|
|
||||||
public void setShortname(String value) {
|
|
||||||
set(6, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.region.shortname</code>.
|
|
||||||
*/
|
|
||||||
public String getShortname() {
|
|
||||||
return (String) get(6);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.region.fullname</code>.
|
|
||||||
*/
|
|
||||||
public void setFullname(String value) {
|
|
||||||
set(7, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.region.fullname</code>.
|
|
||||||
*/
|
|
||||||
public String getFullname() {
|
|
||||||
return (String) get(7);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.region.timezone</code>.
|
|
||||||
*/
|
|
||||||
public void setTimezone(String value) {
|
|
||||||
set(8, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.region.timezone</code>.
|
|
||||||
*/
|
|
||||||
public String getTimezone() {
|
|
||||||
return (String) get(8);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.region.code</code>.
|
|
||||||
*/
|
|
||||||
public void setCode(String value) {
|
|
||||||
set(9, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.region.code</code>.
|
|
||||||
*/
|
|
||||||
public String getCode() {
|
|
||||||
return (String) get(9);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.region.oktmo</code>.
|
|
||||||
*/
|
|
||||||
public void setOktmo(String value) {
|
|
||||||
set(10, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.region.oktmo</code>.
|
|
||||||
*/
|
|
||||||
public String getOktmo() {
|
|
||||||
return (String) get(10);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.region.enabled</code>.
|
|
||||||
*/
|
|
||||||
public void setEnabled(Boolean value) {
|
|
||||||
set(11, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.region.enabled</code>.
|
|
||||||
*/
|
|
||||||
public Boolean getEnabled() {
|
|
||||||
return (Boolean) get(11);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.region.hidden</code>.
|
|
||||||
*/
|
|
||||||
public void setHidden(Boolean value) {
|
|
||||||
set(12, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.region.hidden</code>.
|
|
||||||
*/
|
|
||||||
public Boolean getHidden() {
|
|
||||||
return (Boolean) get(12);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RestrictionDocumentItemHistoryRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item_history.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item_history.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item_history.restriction_document_item_id</code>.
|
|
||||||
*/
|
|
||||||
public void setRestrictionDocumentItemId(UUID value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item_history.restriction_document_item_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getRestrictionDocumentItemId() {
|
|
||||||
return (UUID) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item_history.date_time</code>.
|
|
||||||
*/
|
|
||||||
public void setDateTime(Timestamp value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item_history.date_time</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getDateTime() {
|
|
||||||
return (Timestamp) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item_history.status</code>.
|
|
||||||
*/
|
|
||||||
public void setStatus(String value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item_history.status</code>.
|
|
||||||
*/
|
|
||||||
public String getStatus() {
|
|
||||||
return (String) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item_history.foiv_code</code>.
|
|
||||||
*/
|
|
||||||
public void setFoivCode(Long value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item_history.foiv_code</code>.
|
|
||||||
*/
|
|
||||||
public Long getFoivCode() {
|
|
||||||
return (Long) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item_history.recruit_id</code>.
|
|
||||||
*/
|
|
||||||
public void setRecruitId(UUID value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item_history.recruit_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getRecruitId() {
|
|
||||||
return (UUID) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item_history.recruit_fio</code>.
|
|
||||||
*/
|
|
||||||
public void setRecruitFio(String value) {
|
|
||||||
set(6, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item_history.recruit_fio</code>.
|
|
||||||
*/
|
|
||||||
public String getRecruitFio() {
|
|
||||||
return (String) get(6);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item_history.id_ern</code>.
|
|
||||||
*/
|
|
||||||
public void setIdErn(String value) {
|
|
||||||
set(7, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item_history.id_ern</code>.
|
|
||||||
*/
|
|
||||||
public String getIdErn() {
|
|
||||||
return (String) get(7);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item_history.vk_id</code>.
|
|
||||||
*/
|
|
||||||
public void setVkId(UUID value) {
|
|
||||||
set(8, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item_history.vk_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getVkId() {
|
|
||||||
return (UUID) get(8);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item_history.vk_name</code>.
|
|
||||||
*/
|
|
||||||
public void setVkName(String value) {
|
|
||||||
set(9, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item_history.vk_name</code>.
|
|
||||||
*/
|
|
||||||
public String getVkName() {
|
|
||||||
return (String) get(9);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item_history.user_id</code>.
|
|
||||||
*/
|
|
||||||
public void setUserId(UUID value) {
|
|
||||||
set(10, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item_history.user_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getUserId() {
|
|
||||||
return (UUID) get(10);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item_history.user_name</code>.
|
|
||||||
*/
|
|
||||||
public void setUserName(String value) {
|
|
||||||
set(11, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item_history.user_name</code>.
|
|
||||||
*/
|
|
||||||
public String getUserName() {
|
|
||||||
return (String) get(11);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item_history.decision_number</code>.
|
|
||||||
*/
|
|
||||||
public void setDecisionNumber(String value) {
|
|
||||||
set(12, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item_history.decision_number</code>.
|
|
||||||
*/
|
|
||||||
public String getDecisionNumber() {
|
|
||||||
return (String) get(12);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item_history.decision_date</code>.
|
|
||||||
*/
|
|
||||||
public void setDecisionDate(Timestamp value) {
|
|
||||||
set(13, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item_history.decision_date</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getDecisionDate() {
|
|
||||||
return (Timestamp) get(13);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item_history.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public void setExtraInfo(JSONB value) {
|
|
||||||
set(14, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item_history.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public JSONB getExtraInfo() {
|
|
||||||
return (JSONB) get(14);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item_history.status_applied</code>.
|
|
||||||
*/
|
|
||||||
public void setStatusApplied(String value) {
|
|
||||||
set(15, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item_history.status_applied</code>.
|
|
||||||
*/
|
|
||||||
public String getStatusApplied() {
|
|
||||||
return (String) get(15);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item_history.status_canceled</code>.
|
|
||||||
*/
|
|
||||||
public void setStatusCanceled(String value) {
|
|
||||||
set(16, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item_history.status_canceled</code>.
|
|
||||||
*/
|
|
||||||
public String getStatusCanceled() {
|
|
||||||
return (String) get(16);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item_history.status_type</code>.
|
|
||||||
*/
|
|
||||||
public void setStatusType(String value) {
|
|
||||||
set(17, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item_history.status_type</code>.
|
|
||||||
*/
|
|
||||||
public String getStatusType() {
|
|
||||||
return (String) get(17);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RestrictionDocumentItemRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item.restriction_document_create_id</code>.
|
|
||||||
*/
|
|
||||||
public void setRestrictionDocumentCreateId(UUID value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item.restriction_document_create_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getRestrictionDocumentCreateId() {
|
|
||||||
return (UUID) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item.created_at</code>.
|
|
||||||
*/
|
|
||||||
public void setCreatedAt(Timestamp value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item.created_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getCreatedAt() {
|
|
||||||
return (Timestamp) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public void setUpdatedAt(Timestamp value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getUpdatedAt() {
|
|
||||||
return (Timestamp) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item.restriction_id</code>.
|
|
||||||
*/
|
|
||||||
public void setRestrictionId(UUID value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item.restriction_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getRestrictionId() {
|
|
||||||
return (UUID) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item.status_applied</code>.
|
|
||||||
*/
|
|
||||||
public void setStatusApplied(String value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item.status_applied</code>.
|
|
||||||
*/
|
|
||||||
public String getStatusApplied() {
|
|
||||||
return (String) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item.status_text</code>.
|
|
||||||
*/
|
|
||||||
public void setStatusText(String value) {
|
|
||||||
set(6, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item.status_text</code>.
|
|
||||||
*/
|
|
||||||
public String getStatusText() {
|
|
||||||
return (String) get(6);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item.applied_date</code>.
|
|
||||||
*/
|
|
||||||
public void setAppliedDate(Date value) {
|
|
||||||
set(7, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item.applied_date</code>.
|
|
||||||
*/
|
|
||||||
public Date getAppliedDate() {
|
|
||||||
return (Date) get(7);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item.cancel_date</code>.
|
|
||||||
*/
|
|
||||||
public void setCancelDate(Date value) {
|
|
||||||
set(8, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item.cancel_date</code>.
|
|
||||||
*/
|
|
||||||
public Date getCancelDate() {
|
|
||||||
return (Date) get(8);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public void setExtraInfo(JSONB value) {
|
|
||||||
set(9, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public JSONB getExtraInfo() {
|
|
||||||
return (JSONB) get(9);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item.applied_fact</code>.
|
|
||||||
*/
|
|
||||||
public void setAppliedFact(Boolean value) {
|
|
||||||
set(10, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item.applied_fact</code>.
|
|
||||||
*/
|
|
||||||
public Boolean getAppliedFact() {
|
|
||||||
return (Boolean) get(10);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item.restriction_document_cancel_id</code>.
|
|
||||||
*/
|
|
||||||
public void setRestrictionDocumentCancelId(UUID value) {
|
|
||||||
set(11, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item.restriction_document_cancel_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getRestrictionDocumentCancelId() {
|
|
||||||
return (UUID) get(11);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item.status_canceled</code>.
|
|
||||||
*/
|
|
||||||
public void setStatusCanceled(String value) {
|
|
||||||
set(12, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item.status_canceled</code>.
|
|
||||||
*/
|
|
||||||
public String getStatusCanceled() {
|
|
||||||
return (String) get(12);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_item.foiv_code</code>.
|
|
||||||
*/
|
|
||||||
public void setFoivCode(Long value) {
|
|
||||||
set(13, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_item.foiv_code</code>.
|
|
||||||
*/
|
|
||||||
public Long getFoivCode() {
|
|
||||||
return (Long) get(13);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for
|
|
||||||
* <code>public.restriction_document_item.human_readable_id</code>.
|
|
||||||
*/
|
|
||||||
public void setHumanReadableId(String value) {
|
|
||||||
set(14, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for
|
|
||||||
* <code>public.restriction_document_item.human_readable_id</code>.
|
|
||||||
*/
|
|
||||||
public String getHumanReadableId() {
|
|
||||||
return (String) get(14);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RestrictionDocumentRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document.subpoena_id</code>.
|
|
||||||
*/
|
|
||||||
public void setSubpoenaId(UUID value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document.subpoena_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getSubpoenaId() {
|
|
||||||
return (UUID) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document.created_at</code>.
|
|
||||||
*/
|
|
||||||
public void setCreatedAt(Timestamp value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document.created_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getCreatedAt() {
|
|
||||||
return (Timestamp) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public void setUpdatedAt(Timestamp value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getUpdatedAt() {
|
|
||||||
return (Timestamp) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document.vk_id</code>.
|
|
||||||
*/
|
|
||||||
public void setVkId(UUID value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document.vk_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getVkId() {
|
|
||||||
return (UUID) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document.user_id</code>.
|
|
||||||
*/
|
|
||||||
public void setUserId(UUID value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document.user_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getUserId() {
|
|
||||||
return (UUID) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document.user_name</code>.
|
|
||||||
*/
|
|
||||||
public void setUserName(String value) {
|
|
||||||
set(6, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document.user_name</code>.
|
|
||||||
*/
|
|
||||||
public String getUserName() {
|
|
||||||
return (String) get(6);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document.status</code>.
|
|
||||||
*/
|
|
||||||
public void setStatus(String value) {
|
|
||||||
set(7, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document.status</code>.
|
|
||||||
*/
|
|
||||||
public String getStatus() {
|
|
||||||
return (String) get(7);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document.decision_number</code>.
|
|
||||||
*/
|
|
||||||
public void setDecisionNumber(String value) {
|
|
||||||
set(8, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document.decision_number</code>.
|
|
||||||
*/
|
|
||||||
public String getDecisionNumber() {
|
|
||||||
return (String) get(8);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document.decision_date</code>.
|
|
||||||
*/
|
|
||||||
public void setDecisionDate(Date value) {
|
|
||||||
set(9, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document.decision_date</code>.
|
|
||||||
*/
|
|
||||||
public Date getDecisionDate() {
|
|
||||||
return (Date) get(9);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document.decision_reason</code>.
|
|
||||||
*/
|
|
||||||
public void setDecisionReason(String value) {
|
|
||||||
set(10, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document.decision_reason</code>.
|
|
||||||
*/
|
|
||||||
public String getDecisionReason() {
|
|
||||||
return (String) get(10);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public void setExtraInfo(JSONB value) {
|
|
||||||
set(11, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public JSONB getExtraInfo() {
|
|
||||||
return (JSONB) get(11);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document.type</code>.
|
|
||||||
*/
|
|
||||||
public void setType(String value) {
|
|
||||||
set(12, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document.type</code>.
|
|
||||||
*/
|
|
||||||
public String getType() {
|
|
||||||
return (String) get(12);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document.recruitment_name</code>.
|
|
||||||
*/
|
|
||||||
public void setRecruitmentName(String value) {
|
|
||||||
set(13, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document.recruitment_name</code>.
|
|
||||||
*/
|
|
||||||
public String getRecruitmentName() {
|
|
||||||
return (String) get(13);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RestrictionDocumentStatusRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_status.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_status.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_status.code</code>.
|
|
||||||
*/
|
|
||||||
public void setCode(String value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_status.code</code>.
|
|
||||||
*/
|
|
||||||
public String getCode() {
|
|
||||||
return (String) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction_document_status.name</code>.
|
|
||||||
*/
|
|
||||||
public void setName(String value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction_document_status.name</code>.
|
|
||||||
*/
|
|
||||||
public String getName() {
|
|
||||||
return (String) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<RestrictionRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction.code</code>.
|
|
||||||
*/
|
|
||||||
public void setCode(String value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction.code</code>.
|
|
||||||
*/
|
|
||||||
public String getCode() {
|
|
||||||
return (String) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.restriction.name</code>.
|
|
||||||
*/
|
|
||||||
public void setName(String value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.restriction.name</code>.
|
|
||||||
*/
|
|
||||||
public String getName() {
|
|
||||||
return (String) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SendDictionaryRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.send_dictionary.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.send_dictionary.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.send_dictionary.code</code>.
|
|
||||||
*/
|
|
||||||
public void setCode(String value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.send_dictionary.code</code>.
|
|
||||||
*/
|
|
||||||
public String getCode() {
|
|
||||||
return (String) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.send_dictionary.name</code>.
|
|
||||||
*/
|
|
||||||
public void setName(String value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.send_dictionary.name</code>.
|
|
||||||
*/
|
|
||||||
public String getName() {
|
|
||||||
return (String) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.send_dictionary.type</code>.
|
|
||||||
*/
|
|
||||||
public void setType(String value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.send_dictionary.type</code>.
|
|
||||||
*/
|
|
||||||
public String getType() {
|
|
||||||
return (String) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.send_dictionary.hidden</code>.
|
|
||||||
*/
|
|
||||||
public void setHidden(Boolean value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.send_dictionary.hidden</code>.
|
|
||||||
*/
|
|
||||||
public Boolean getHidden() {
|
|
||||||
return (Boolean) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.send_dictionary.to_front</code>.
|
|
||||||
*/
|
|
||||||
public void setToFront(Boolean value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.send_dictionary.to_front</code>.
|
|
||||||
*/
|
|
||||||
public Boolean getToFront() {
|
|
||||||
return (Boolean) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SubpoenaAppearanceRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_appearance.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_appearance.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_appearance.subpoena_id</code>.
|
|
||||||
*/
|
|
||||||
public void setSubpoenaId(UUID value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_appearance.subpoena_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getSubpoenaId() {
|
|
||||||
return (UUID) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_appearance.fact_appearance</code>.
|
|
||||||
*/
|
|
||||||
public void setFactAppearance(Boolean value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_appearance.fact_appearance</code>.
|
|
||||||
*/
|
|
||||||
public Boolean getFactAppearance() {
|
|
||||||
return (Boolean) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_appearance.date_appearance</code>.
|
|
||||||
*/
|
|
||||||
public void setDateAppearance(Date value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_appearance.date_appearance</code>.
|
|
||||||
*/
|
|
||||||
public Date getDateAppearance() {
|
|
||||||
return (Date) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_appearance.nonappearance_info</code>.
|
|
||||||
*/
|
|
||||||
public void setNonappearanceInfo(JSONB value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_appearance.nonappearance_info</code>.
|
|
||||||
*/
|
|
||||||
public JSONB getNonappearanceInfo() {
|
|
||||||
return (JSONB) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_appearance.created_date_time</code>.
|
|
||||||
*/
|
|
||||||
public void setCreatedDateTime(Timestamp value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_appearance.created_date_time</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getCreatedDateTime() {
|
|
||||||
return (Timestamp) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_appearance.change_date_time</code>.
|
|
||||||
*/
|
|
||||||
public void setChangeDateTime(Timestamp value) {
|
|
||||||
set(6, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_appearance.change_date_time</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getChangeDateTime() {
|
|
||||||
return (Timestamp) get(6);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SubpoenaExportRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_export.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_export.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_export.department_id</code>.
|
|
||||||
*/
|
|
||||||
public void setDepartmentId(UUID value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_export.department_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getDepartmentId() {
|
|
||||||
return (UUID) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_export.system_create_date</code>.
|
|
||||||
*/
|
|
||||||
public void setSystemCreateDate(Timestamp value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_export.system_create_date</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getSystemCreateDate() {
|
|
||||||
return (Timestamp) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_export.system_update_date</code>.
|
|
||||||
*/
|
|
||||||
public void setSystemUpdateDate(Timestamp value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_export.system_update_date</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getSystemUpdateDate() {
|
|
||||||
return (Timestamp) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_export.s3url</code>.
|
|
||||||
*/
|
|
||||||
public void setS3url(String value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_export.s3url</code>.
|
|
||||||
*/
|
|
||||||
public String getS3url() {
|
|
||||||
return (String) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_export.status</code>.
|
|
||||||
*/
|
|
||||||
public void setStatus(Long value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_export.status</code>.
|
|
||||||
*/
|
|
||||||
public Long getStatus() {
|
|
||||||
return (Long) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_export.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public void setExtraInfo(JSONB value) {
|
|
||||||
set(6, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_export.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public JSONB getExtraInfo() {
|
|
||||||
return (JSONB) get(6);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SubpoenaHistoryRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_history.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_history.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_history.date_time</code>.
|
|
||||||
*/
|
|
||||||
public void setDateTime(Timestamp value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_history.date_time</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getDateTime() {
|
|
||||||
return (Timestamp) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_history.user_name</code>.
|
|
||||||
*/
|
|
||||||
public void setUserName(String value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_history.user_name</code>.
|
|
||||||
*/
|
|
||||||
public String getUserName() {
|
|
||||||
return (String) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_history.subpoena_id</code>.
|
|
||||||
*/
|
|
||||||
public void setSubpoenaId(UUID value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_history.subpoena_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getSubpoenaId() {
|
|
||||||
return (UUID) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_history.user_id</code>.
|
|
||||||
*/
|
|
||||||
public void setUserId(String value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_history.user_id</code>.
|
|
||||||
*/
|
|
||||||
public String getUserId() {
|
|
||||||
return (String) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_history.status_id</code>.
|
|
||||||
*/
|
|
||||||
public void setStatusId(UUID value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_history.status_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getStatusId() {
|
|
||||||
return (UUID) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_history.date_time_wtz</code>.
|
|
||||||
*/
|
|
||||||
public void setDateTimeWtz(Timestamp value) {
|
|
||||||
set(6, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_history.date_time_wtz</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getDateTimeWtz() {
|
|
||||||
return (Timestamp) get(6);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_history.user_info</code>.
|
|
||||||
*/
|
|
||||||
public void setUserInfo(JSONB value) {
|
|
||||||
set(7, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_history.user_info</code>.
|
|
||||||
*/
|
|
||||||
public JSONB getUserInfo() {
|
|
||||||
return (JSONB) get(7);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SubpoenaReasonRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_reason.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_reason.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_reason.code</code>.
|
|
||||||
*/
|
|
||||||
public void setCode(String value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_reason.code</code>.
|
|
||||||
*/
|
|
||||||
public String getCode() {
|
|
||||||
return (String) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_reason.name</code>.
|
|
||||||
*/
|
|
||||||
public void setName(String value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_reason.name</code>.
|
|
||||||
*/
|
|
||||||
public String getName() {
|
|
||||||
return (String) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_reason.type</code>.
|
|
||||||
*/
|
|
||||||
public void setType(String value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_reason.type</code>.
|
|
||||||
*/
|
|
||||||
public String getType() {
|
|
||||||
return (String) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SubpoenaRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.series</code>.
|
|
||||||
*/
|
|
||||||
public void setSeries(String value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.series</code>.
|
|
||||||
*/
|
|
||||||
public String getSeries() {
|
|
||||||
return (String) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.number</code>.
|
|
||||||
*/
|
|
||||||
public void setNumber(String value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.number</code>.
|
|
||||||
*/
|
|
||||||
public String getNumber() {
|
|
||||||
return (String) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.id_ern</code>.
|
|
||||||
*/
|
|
||||||
public void setIdErn(String value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.id_ern</code>.
|
|
||||||
*/
|
|
||||||
public String getIdErn() {
|
|
||||||
return (String) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.create_date</code>.
|
|
||||||
*/
|
|
||||||
public void setCreateDate(Timestamp value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.create_date</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getCreateDate() {
|
|
||||||
return (Timestamp) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.visit_date</code>.
|
|
||||||
*/
|
|
||||||
public void setVisitDate(Timestamp value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.visit_date</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getVisitDate() {
|
|
||||||
return (Timestamp) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.send_date</code>.
|
|
||||||
*/
|
|
||||||
public void setSendDate(Timestamp value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.send_date</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getSendDate() {
|
|
||||||
return (Timestamp) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.reason_cancelled</code>.
|
|
||||||
*/
|
|
||||||
public void setReasonCancelled(String value) {
|
|
||||||
set(6, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.reason_cancelled</code>.
|
|
||||||
*/
|
|
||||||
public String getReasonCancelled() {
|
|
||||||
return (String) get(6);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.full_name_responsible_user</code>.
|
|
||||||
*/
|
|
||||||
public void setFullNameResponsibleUser(String value) {
|
|
||||||
set(7, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.full_name_responsible_user</code>.
|
|
||||||
*/
|
|
||||||
public String getFullNameResponsibleUser() {
|
|
||||||
return (String) get(7);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.post_responsible_user</code>.
|
|
||||||
*/
|
|
||||||
public void setPostResponsibleUser(String value) {
|
|
||||||
set(8, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.post_responsible_user</code>.
|
|
||||||
*/
|
|
||||||
public String getPostResponsibleUser() {
|
|
||||||
return (String) get(8);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.sig_info</code>.
|
|
||||||
*/
|
|
||||||
public void setSigInfo(String value) {
|
|
||||||
set(9, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.sig_info</code>.
|
|
||||||
*/
|
|
||||||
public String getSigInfo() {
|
|
||||||
return (String) get(9);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.recruitment_code</code>.
|
|
||||||
*/
|
|
||||||
public void setRecruitmentCode(String value) {
|
|
||||||
set(10, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.recruitment_code</code>.
|
|
||||||
*/
|
|
||||||
public String getRecruitmentCode() {
|
|
||||||
return (String) get(10);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.recruitment_address</code>.
|
|
||||||
*/
|
|
||||||
public void setRecruitmentAddress(String value) {
|
|
||||||
set(11, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.recruitment_address</code>.
|
|
||||||
*/
|
|
||||||
public String getRecruitmentAddress() {
|
|
||||||
return (String) get(11);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.last_name</code>.
|
|
||||||
*/
|
|
||||||
public void setLastName(String value) {
|
|
||||||
set(12, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.last_name</code>.
|
|
||||||
*/
|
|
||||||
public String getLastName() {
|
|
||||||
return (String) get(12);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.first_name</code>.
|
|
||||||
*/
|
|
||||||
public void setFirstName(String value) {
|
|
||||||
set(13, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.first_name</code>.
|
|
||||||
*/
|
|
||||||
public String getFirstName() {
|
|
||||||
return (String) get(13);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.middle_name</code>.
|
|
||||||
*/
|
|
||||||
public void setMiddleName(String value) {
|
|
||||||
set(14, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.middle_name</code>.
|
|
||||||
*/
|
|
||||||
public String getMiddleName() {
|
|
||||||
return (String) get(14);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.date_birth</code>.
|
|
||||||
*/
|
|
||||||
public void setDateBirth(Date value) {
|
|
||||||
set(15, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.date_birth</code>.
|
|
||||||
*/
|
|
||||||
public Date getDateBirth() {
|
|
||||||
return (Date) get(15);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.snils</code>.
|
|
||||||
*/
|
|
||||||
public void setSnils(String value) {
|
|
||||||
set(16, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.snils</code>.
|
|
||||||
*/
|
|
||||||
public String getSnils() {
|
|
||||||
return (String) get(16);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.address_live</code>.
|
|
||||||
*/
|
|
||||||
public void setAddressLive(String value) {
|
|
||||||
set(17, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.address_live</code>.
|
|
||||||
*/
|
|
||||||
public String getAddressLive() {
|
|
||||||
return (String) get(17);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.address_current_reg</code>.
|
|
||||||
*/
|
|
||||||
public void setAddressCurrentReg(String value) {
|
|
||||||
set(18, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.address_current_reg</code>.
|
|
||||||
*/
|
|
||||||
public String getAddressCurrentReg() {
|
|
||||||
return (String) get(18);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.address_current</code>.
|
|
||||||
*/
|
|
||||||
public void setAddressCurrent(String value) {
|
|
||||||
set(19, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.address_current</code>.
|
|
||||||
*/
|
|
||||||
public String getAddressCurrent() {
|
|
||||||
return (String) get(19);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.type_dul</code>.
|
|
||||||
*/
|
|
||||||
public void setTypeDul(String value) {
|
|
||||||
set(20, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.type_dul</code>.
|
|
||||||
*/
|
|
||||||
public String getTypeDul() {
|
|
||||||
return (String) get(20);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.series_dul</code>.
|
|
||||||
*/
|
|
||||||
public void setSeriesDul(String value) {
|
|
||||||
set(21, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.series_dul</code>.
|
|
||||||
*/
|
|
||||||
public String getSeriesDul() {
|
|
||||||
return (String) get(21);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.number_dul</code>.
|
|
||||||
*/
|
|
||||||
public void setNumberDul(String value) {
|
|
||||||
set(22, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.number_dul</code>.
|
|
||||||
*/
|
|
||||||
public String getNumberDul() {
|
|
||||||
return (String) get(22);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.issue_id_code_dul</code>.
|
|
||||||
*/
|
|
||||||
public void setIssueIdCodeDul(String value) {
|
|
||||||
set(23, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.issue_id_code_dul</code>.
|
|
||||||
*/
|
|
||||||
public String getIssueIdCodeDul() {
|
|
||||||
return (String) get(23);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.issue_org_dul</code>.
|
|
||||||
*/
|
|
||||||
public void setIssueOrgDul(String value) {
|
|
||||||
set(24, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.issue_org_dul</code>.
|
|
||||||
*/
|
|
||||||
public String getIssueOrgDul() {
|
|
||||||
return (String) get(24);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.issue_date_dul</code>.
|
|
||||||
*/
|
|
||||||
public void setIssueDateDul(Date value) {
|
|
||||||
set(25, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.issue_date_dul</code>.
|
|
||||||
*/
|
|
||||||
public Date getIssueDateDul() {
|
|
||||||
return (Date) get(25);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.sig_s3url</code>.
|
|
||||||
*/
|
|
||||||
public void setSigS3url(String value) {
|
|
||||||
set(26, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.sig_s3url</code>.
|
|
||||||
*/
|
|
||||||
public String getSigS3url() {
|
|
||||||
return (String) get(26);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.sig_name</code>.
|
|
||||||
*/
|
|
||||||
public void setSigName(String value) {
|
|
||||||
set(27, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.sig_name</code>.
|
|
||||||
*/
|
|
||||||
public String getSigName() {
|
|
||||||
return (String) get(27);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.sig</code>.
|
|
||||||
*/
|
|
||||||
public void setSig(String value) {
|
|
||||||
set(28, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.sig</code>.
|
|
||||||
*/
|
|
||||||
public String getSig() {
|
|
||||||
return (String) get(28);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.format</code>.
|
|
||||||
*/
|
|
||||||
public void setFormat(String value) {
|
|
||||||
set(29, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.format</code>.
|
|
||||||
*/
|
|
||||||
public String getFormat() {
|
|
||||||
return (String) get(29);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.digest</code>.
|
|
||||||
*/
|
|
||||||
public void setDigest(String value) {
|
|
||||||
set(30, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.digest</code>.
|
|
||||||
*/
|
|
||||||
public String getDigest() {
|
|
||||||
return (String) get(30);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.s3_url</code>.
|
|
||||||
*/
|
|
||||||
public void setS3Url(String value) {
|
|
||||||
set(31, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.s3_url</code>.
|
|
||||||
*/
|
|
||||||
public String getS3Url() {
|
|
||||||
return (String) get(31);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.s3_name</code>.
|
|
||||||
*/
|
|
||||||
public void setS3Name(String value) {
|
|
||||||
set(32, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.s3_name</code>.
|
|
||||||
*/
|
|
||||||
public String getS3Name() {
|
|
||||||
return (String) get(32);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(33, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(33);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.recruit_id</code>.
|
|
||||||
*/
|
|
||||||
public void setRecruitId(UUID value) {
|
|
||||||
set(34, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.recruit_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getRecruitId() {
|
|
||||||
return (UUID) get(34);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.status_change_date</code>.
|
|
||||||
*/
|
|
||||||
public void setStatusChangeDate(Timestamp value) {
|
|
||||||
set(35, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.status_change_date</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getStatusChangeDate() {
|
|
||||||
return (Timestamp) get(35);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.department_id</code>.
|
|
||||||
*/
|
|
||||||
public void setDepartmentId(UUID value) {
|
|
||||||
set(36, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.department_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getDepartmentId() {
|
|
||||||
return (UUID) get(36);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.recruitment_name</code>.
|
|
||||||
*/
|
|
||||||
public void setRecruitmentName(String value) {
|
|
||||||
set(37, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.recruitment_name</code>.
|
|
||||||
*/
|
|
||||||
public String getRecruitmentName() {
|
|
||||||
return (String) get(37);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.track_number_postal_item</code>.
|
|
||||||
*/
|
|
||||||
public void setTrackNumberPostalItem(String value) {
|
|
||||||
set(38, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.track_number_postal_item</code>.
|
|
||||||
*/
|
|
||||||
public String getTrackNumberPostalItem() {
|
|
||||||
return (String) get(38);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public void setExtraInfo(JSONB value) {
|
|
||||||
set(39, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.extra_info</code>.
|
|
||||||
*/
|
|
||||||
public JSONB getExtraInfo() {
|
|
||||||
return (JSONB) get(39);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.status_id</code>.
|
|
||||||
*/
|
|
||||||
public void setStatusId(UUID value) {
|
|
||||||
set(40, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.status_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getStatusId() {
|
|
||||||
return (UUID) get(40);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.reason_id</code>.
|
|
||||||
*/
|
|
||||||
public void setReasonId(UUID value) {
|
|
||||||
set(41, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.reason_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getReasonId() {
|
|
||||||
return (UUID) get(41);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.delivery_info</code>.
|
|
||||||
*/
|
|
||||||
public void setDeliveryInfo(JSONB value) {
|
|
||||||
set(42, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.delivery_info</code>.
|
|
||||||
*/
|
|
||||||
public JSONB getDeliveryInfo() {
|
|
||||||
return (JSONB) get(42);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.system_stages</code>.
|
|
||||||
*/
|
|
||||||
public void setSystemStages(JSONB value) {
|
|
||||||
set(43, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.system_stages</code>.
|
|
||||||
*/
|
|
||||||
public JSONB getSystemStages() {
|
|
||||||
return (JSONB) get(43);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.automatic_service_subpoena</code>.
|
|
||||||
*/
|
|
||||||
public void setAutomaticServiceSubpoena(Date value) {
|
|
||||||
set(44, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.automatic_service_subpoena</code>.
|
|
||||||
*/
|
|
||||||
public Date getAutomaticServiceSubpoena() {
|
|
||||||
return (Date) get(44);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.automatic_application_measures</code>.
|
|
||||||
*/
|
|
||||||
public void setAutomaticApplicationMeasures(Date value) {
|
|
||||||
set(45, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.automatic_application_measures</code>.
|
|
||||||
*/
|
|
||||||
public Date getAutomaticApplicationMeasures() {
|
|
||||||
return (Date) get(45);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.finish_date</code>.
|
|
||||||
*/
|
|
||||||
public void setFinishDate(Date value) {
|
|
||||||
set(46, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.finish_date</code>.
|
|
||||||
*/
|
|
||||||
public Date getFinishDate() {
|
|
||||||
return (Date) get(46);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.summon_list_id</code>.
|
|
||||||
*/
|
|
||||||
public void setSummonListId(UUID value) {
|
|
||||||
set(47, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.summon_list_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getSummonListId() {
|
|
||||||
return (UUID) get(47);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.signer_name</code>.
|
|
||||||
*/
|
|
||||||
public void setSignerName(String value) {
|
|
||||||
set(48, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.signer_name</code>.
|
|
||||||
*/
|
|
||||||
public String getSignerName() {
|
|
||||||
return (String) get(48);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena.human_readable_id</code>.
|
|
||||||
*/
|
|
||||||
public void setHumanReadableId(String value) {
|
|
||||||
set(49, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena.human_readable_id</code>.
|
|
||||||
*/
|
|
||||||
public String getHumanReadableId() {
|
|
||||||
return (String) get(49);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SubpoenaSendInfoRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_send_info.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_send_info.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_send_info.subpoena_id</code>.
|
|
||||||
*/
|
|
||||||
public void setSubpoenaId(UUID value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_send_info.subpoena_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getSubpoenaId() {
|
|
||||||
return (UUID) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_send_info.send_code</code>.
|
|
||||||
*/
|
|
||||||
public void setSendCode(String value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_send_info.send_code</code>.
|
|
||||||
*/
|
|
||||||
public String getSendCode() {
|
|
||||||
return (String) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_send_info.send_address</code>.
|
|
||||||
*/
|
|
||||||
public void setSendAddress(JSONB value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_send_info.send_address</code>.
|
|
||||||
*/
|
|
||||||
public JSONB getSendAddress() {
|
|
||||||
return (JSONB) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_send_info.send_address_type</code>.
|
|
||||||
*/
|
|
||||||
public void setSendAddressType(String value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_send_info.send_address_type</code>.
|
|
||||||
*/
|
|
||||||
public String getSendAddressType() {
|
|
||||||
return (String) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_send_info.send_date</code>.
|
|
||||||
*/
|
|
||||||
public void setSendDate(Timestamp value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_send_info.send_date</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getSendDate() {
|
|
||||||
return (Timestamp) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_send_info.track_number</code>.
|
|
||||||
*/
|
|
||||||
public void setTrackNumber(String value) {
|
|
||||||
set(6, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_send_info.track_number</code>.
|
|
||||||
*/
|
|
||||||
public String getTrackNumber() {
|
|
||||||
return (String) get(6);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_send_info.is_delivered</code>.
|
|
||||||
*/
|
|
||||||
public void setIsDelivered(Boolean value) {
|
|
||||||
set(7, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_send_info.is_delivered</code>.
|
|
||||||
*/
|
|
||||||
public Boolean getIsDelivered() {
|
|
||||||
return (Boolean) get(7);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_send_info.delivery_code</code>.
|
|
||||||
*/
|
|
||||||
public void setDeliveryCode(String value) {
|
|
||||||
set(8, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_send_info.delivery_code</code>.
|
|
||||||
*/
|
|
||||||
public String getDeliveryCode() {
|
|
||||||
return (String) get(8);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_send_info.delivery_date</code>.
|
|
||||||
*/
|
|
||||||
public void setDeliveryDate(Timestamp value) {
|
|
||||||
set(9, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_send_info.delivery_date</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getDeliveryDate() {
|
|
||||||
return (Timestamp) get(9);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_send_info.act_number</code>.
|
|
||||||
*/
|
|
||||||
public void setActNumber(String value) {
|
|
||||||
set(10, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_send_info.act_number</code>.
|
|
||||||
*/
|
|
||||||
public String getActNumber() {
|
|
||||||
return (String) get(10);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_send_info.act_date</code>.
|
|
||||||
*/
|
|
||||||
public void setActDate(Date value) {
|
|
||||||
set(11, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_send_info.act_date</code>.
|
|
||||||
*/
|
|
||||||
public Date getActDate() {
|
|
||||||
return (Date) get(11);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_send_info.delivery_fio</code>.
|
|
||||||
*/
|
|
||||||
public void setDeliveryFio(String value) {
|
|
||||||
set(12, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_send_info.delivery_fio</code>.
|
|
||||||
*/
|
|
||||||
public String getDeliveryFio() {
|
|
||||||
return (String) get(12);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_send_info.auto_delivery</code>.
|
|
||||||
*/
|
|
||||||
public void setAutoDelivery(Boolean value) {
|
|
||||||
set(13, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_send_info.auto_delivery</code>.
|
|
||||||
*/
|
|
||||||
public Boolean getAutoDelivery() {
|
|
||||||
return (Boolean) get(13);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SubpoenaStatusRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_status.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_status.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_status.code</code>.
|
|
||||||
*/
|
|
||||||
public void setCode(String value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_status.code</code>.
|
|
||||||
*/
|
|
||||||
public String getCode() {
|
|
||||||
return (String) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.subpoena_status.name</code>.
|
|
||||||
*/
|
|
||||||
public void setName(String value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.subpoena_status.name</code>.
|
|
||||||
*/
|
|
||||||
public String getName() {
|
|
||||||
return (String) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -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<SummonListRecord> {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.summon_list.id</code>.
|
|
||||||
*/
|
|
||||||
public void setId(UUID value) {
|
|
||||||
set(0, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.summon_list.id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getId() {
|
|
||||||
return (UUID) get(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.summon_list.number</code>.
|
|
||||||
*/
|
|
||||||
public void setNumber(Long value) {
|
|
||||||
set(1, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.summon_list.number</code>.
|
|
||||||
*/
|
|
||||||
public Long getNumber() {
|
|
||||||
return (Long) get(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.summon_list.title</code>.
|
|
||||||
*/
|
|
||||||
public void setTitle(String value) {
|
|
||||||
set(2, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.summon_list.title</code>.
|
|
||||||
*/
|
|
||||||
public String getTitle() {
|
|
||||||
return (String) get(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.summon_list.created_at</code>.
|
|
||||||
*/
|
|
||||||
public void setCreatedAt(Timestamp value) {
|
|
||||||
set(3, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.summon_list.created_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getCreatedAt() {
|
|
||||||
return (Timestamp) get(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.summon_list.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public void setUpdatedAt(Timestamp value) {
|
|
||||||
set(4, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.summon_list.updated_at</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getUpdatedAt() {
|
|
||||||
return (Timestamp) get(4);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.summon_list.status</code>.
|
|
||||||
*/
|
|
||||||
public void setStatus(String value) {
|
|
||||||
set(5, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.summon_list.status</code>.
|
|
||||||
*/
|
|
||||||
public String getStatus() {
|
|
||||||
return (String) get(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.summon_list.free_count</code>.
|
|
||||||
*/
|
|
||||||
public void setFreeCount(Long value) {
|
|
||||||
set(6, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.summon_list.free_count</code>.
|
|
||||||
*/
|
|
||||||
public Long getFreeCount() {
|
|
||||||
return (Long) get(6);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.summon_list.department_id</code>.
|
|
||||||
*/
|
|
||||||
public void setDepartmentId(UUID value) {
|
|
||||||
set(7, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.summon_list.department_id</code>.
|
|
||||||
*/
|
|
||||||
public UUID getDepartmentId() {
|
|
||||||
return (UUID) get(7);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.summon_list.delivery_method</code>.
|
|
||||||
*/
|
|
||||||
public void setDeliveryMethod(String value) {
|
|
||||||
set(8, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.summon_list.delivery_method</code>.
|
|
||||||
*/
|
|
||||||
public String getDeliveryMethod() {
|
|
||||||
return (String) get(8);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.summon_list.turnout_date</code>.
|
|
||||||
*/
|
|
||||||
public void setTurnoutDate(Timestamp value) {
|
|
||||||
set(9, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.summon_list.turnout_date</code>.
|
|
||||||
*/
|
|
||||||
public Timestamp getTurnoutDate() {
|
|
||||||
return (Timestamp) get(9);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for <code>public.summon_list.summon_objective</code>.
|
|
||||||
*/
|
|
||||||
public void setSummonObjective(String value) {
|
|
||||||
set(10, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Getter for <code>public.summon_list.summon_objective</code>.
|
|
||||||
*/
|
|
||||||
public String getSummonObjective() {
|
|
||||||
return (String) get(10);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// Primary key information
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Record1<UUID> 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<datasource>
|
<datasource>
|
||||||
<dbBeanPackage>ervu_secret.ervu_secret.db_beans</dbBeanPackage>
|
<dbBeanPackage>ervu_secret.ervu_secret.db_beans</dbBeanPackage>
|
||||||
<dbName>subpoena</dbName>
|
<dbName>ervu-secret</dbName>
|
||||||
<driverClassName>org.postgresql.Driver</driverClassName>
|
<driverClassName>org.postgresql.Driver</driverClassName>
|
||||||
<host>10.10.31.118</host>
|
<host>10.10.31.118</host>
|
||||||
<manually>false</manually>
|
<manually>false</manually>
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
<replicaJndiNames>java:/webbpm/ervuJournalDS</replicaJndiNames>
|
<replicaJndiNames>java:/webbpm/ervuJournalDS</replicaJndiNames>
|
||||||
<schemas>public</schemas>
|
<schemas>public</schemas>
|
||||||
<sqlDialect>POSTGRES</sqlDialect>
|
<sqlDialect>POSTGRES</sqlDialect>
|
||||||
<url>jdbc:postgresql://10.10.31.118:5432/subpoena</url>
|
<url>jdbc:postgresql://10.10.31.118:5432/ervu-secret</url>
|
||||||
<urlPrefix>jdbc:postgresql:</urlPrefix>
|
<urlPrefix>jdbc:postgresql:</urlPrefix>
|
||||||
<user>ervu</user>
|
<user>ervu</user>
|
||||||
</datasource>
|
</datasource>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue