обновление бд

This commit is contained in:
Фоат Саляхов 2024-11-19 12:48:48 +03:00
parent 6d89688a60
commit 05557bcac8
35 changed files with 25151 additions and 17988 deletions

View file

@ -15,6 +15,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.In
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Metrics;
import ru.micord.webbpm.ervu.business_metrics.db_beans.public_.Public;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
/**
@ -50,6 +51,11 @@ public class DefaultCatalog extends CatalogImpl {
*/
public final RegistrationChangeAddress REGISTRATION_CHANGE_ADDRESS = RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
/**
* The schema <code>summonses_list</code>.
*/
public final SummonsesList SUMMONSES_LIST = SummonsesList.SUMMONSES_LIST;
/**
* No further instances allowed
*/
@ -63,7 +69,8 @@ public class DefaultCatalog extends CatalogImpl {
InitRegistrationInfo.INIT_REGISTRATION_INFO,
Metrics.METRICS,
Public.PUBLIC,
RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS
RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS,
SummonsesList.SUMMONSES_LIST
);
}

View file

@ -64,6 +64,12 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_addre
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.PersonalInfoStat.PersonalInfoStatPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.RecordsAboutRegistratedCitizen.RecordsAboutRegistratedCitizenPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SummonsesSign.SummonsesSignPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.AllSummonses.AllSummonsesPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.DownloadForPrint.DownloadForPrintPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.FormedSummonses.FormedSummonsesPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ImpositionTmpMeasures.ImpositionTmpMeasuresPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RecruitOfficeVisit.RecruitOfficeVisitPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RemoveTmpMeasures.RemoveTmpMeasuresPath;
/**
@ -758,6 +764,84 @@ public class Recruitment extends TableImpl<RecruitmentRecord> {
return _summonsesSign;
}
private transient AllSummonsesPath _allSummonses;
/**
* Get the implicit to-many join path to the
* <code>summonses_list.all_summonses</code> table
*/
public AllSummonsesPath allSummonses() {
if (_allSummonses == null)
_allSummonses = new AllSummonsesPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys.ALL_SUMMONSES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID.getInverseKey());
return _allSummonses;
}
private transient DownloadForPrintPath _downloadForPrint;
/**
* Get the implicit to-many join path to the
* <code>summonses_list.download_for_print</code> table
*/
public DownloadForPrintPath downloadForPrint() {
if (_downloadForPrint == null)
_downloadForPrint = new DownloadForPrintPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys.DOWNLOAD_FOR_PRINT__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID.getInverseKey());
return _downloadForPrint;
}
private transient FormedSummonsesPath _formedSummonses;
/**
* Get the implicit to-many join path to the
* <code>summonses_list.formed_summonses</code> table
*/
public FormedSummonsesPath formedSummonses() {
if (_formedSummonses == null)
_formedSummonses = new FormedSummonsesPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys.FORMED_SUMMONSES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID.getInverseKey());
return _formedSummonses;
}
private transient ImpositionTmpMeasuresPath _impositionTmpMeasures;
/**
* Get the implicit to-many join path to the
* <code>summonses_list.imposition_tmp_measures</code> table
*/
public ImpositionTmpMeasuresPath impositionTmpMeasures() {
if (_impositionTmpMeasures == null)
_impositionTmpMeasures = new ImpositionTmpMeasuresPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys.IMPOSITION_TMP_MEASURES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID.getInverseKey());
return _impositionTmpMeasures;
}
private transient RecruitOfficeVisitPath _recruitOfficeVisit;
/**
* Get the implicit to-many join path to the
* <code>summonses_list.recruit_office_visit</code> table
*/
public RecruitOfficeVisitPath recruitOfficeVisit() {
if (_recruitOfficeVisit == null)
_recruitOfficeVisit = new RecruitOfficeVisitPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys.RECRUIT_OFFICE_VISIT__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID.getInverseKey());
return _recruitOfficeVisit;
}
private transient RemoveTmpMeasuresPath _removeTmpMeasures;
/**
* Get the implicit to-many join path to the
* <code>summonses_list.remove_tmp_measures</code> table
*/
public RemoveTmpMeasuresPath removeTmpMeasures() {
if (_removeTmpMeasures == null)
_removeTmpMeasures = new RemoveTmpMeasuresPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys.REMOVE_TMP_MEASURES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID.getInverseKey());
return _removeTmpMeasures;
}
@Override
public Recruitment as(String alias) {
return new Recruitment(DSL.name(alias), this);

View file

@ -0,0 +1,72 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list;
import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitment;
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records.RecruitmentRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.AllSummonses;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.DownloadForPrint;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.FormedSummonses;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ImpositionTmpMeasures;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.InfoSentToLkEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RecruitOfficeVisit;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RemoveTmpMeasures;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.AllSummonsesRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.DownloadForPrintRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.FormedSummonsesRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.ImpositionTmpMeasuresRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.InfoSentToLkEpguRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.RecruitOfficeVisitRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.RemoveTmpMeasuresRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.SummonsesReasonRecord;
/**
* A class modelling foreign key relationships and constraints of tables in
* summonses_list.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {
// -------------------------------------------------------------------------
// UNIQUE and PRIMARY KEY definitions
// -------------------------------------------------------------------------
public static final UniqueKey<AllSummonsesRecord> ALL_SUMMONSES_PKEY = Internal.createUniqueKey(AllSummonses.ALL_SUMMONSES, DSL.name("all_summonses_pkey"), new TableField[] { AllSummonses.ALL_SUMMONSES.ALL_SUMMONSES_ID }, true);
public static final UniqueKey<DownloadForPrintRecord> DOWNLOAD_FOR_PRINT_PKEY = Internal.createUniqueKey(DownloadForPrint.DOWNLOAD_FOR_PRINT, DSL.name("download_for_print_pkey"), new TableField[] { DownloadForPrint.DOWNLOAD_FOR_PRINT.DOWNLOAD_FOR_PRINT_ID }, true);
public static final UniqueKey<FormedSummonsesRecord> FORMED_SUMMONSES_PKEY = Internal.createUniqueKey(FormedSummonses.FORMED_SUMMONSES, DSL.name("formed_summonses_pkey"), new TableField[] { FormedSummonses.FORMED_SUMMONSES.FORMED_SUMMONSES_ID }, true);
public static final UniqueKey<ImpositionTmpMeasuresRecord> IMPOSITION_TMP_MEASURES_PKEY = Internal.createUniqueKey(ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES, DSL.name("imposition_tmp_measures_pkey"), new TableField[] { ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES.IMPOSITION_TMP_MEASURES_ID }, true);
public static final UniqueKey<InfoSentToLkEpguRecord> INFO_SENT_TO_LK_EPGU_PKEY = Internal.createUniqueKey(InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU, DSL.name("info_sent_to_lk_epgu_pkey"), new TableField[] { InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU.INFO_SENT_TO_LK_EPGU_ID }, true);
public static final UniqueKey<RecruitOfficeVisitRecord> RECRUIT_OFFICE_VISIT_PKEY = Internal.createUniqueKey(RecruitOfficeVisit.RECRUIT_OFFICE_VISIT, DSL.name("recruit_office_visit_pkey"), new TableField[] { RecruitOfficeVisit.RECRUIT_OFFICE_VISIT.RECRUIT_OFFICE_VISIT_ID }, true);
public static final UniqueKey<RemoveTmpMeasuresRecord> REMOVE_TMP_MEASURES_PKEY = Internal.createUniqueKey(RemoveTmpMeasures.REMOVE_TMP_MEASURES, DSL.name("remove_tmp_measures_pkey"), new TableField[] { RemoveTmpMeasures.REMOVE_TMP_MEASURES.REMOVE_TMP_MEASURES_ID }, true);
public static final UniqueKey<SummonsesReasonRecord> SUMMONSES_REASON_PKEY = Internal.createUniqueKey(SummonsesReason.SUMMONSES_REASON, DSL.name("summonses_reason_pkey"), new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true);
public static final UniqueKey<SummonsesReasonRecord> UNI_SUMMONSES_REASON1 = Internal.createUniqueKey(SummonsesReason.SUMMONSES_REASON, DSL.name("uni_summonses_reason1"), new TableField[] { SummonsesReason.SUMMONSES_REASON.CODE }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
// -------------------------------------------------------------------------
public static final ForeignKey<AllSummonsesRecord, RecruitmentRecord> ALL_SUMMONSES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(AllSummonses.ALL_SUMMONSES, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { AllSummonses.ALL_SUMMONSES.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
public static final ForeignKey<DownloadForPrintRecord, RecruitmentRecord> DOWNLOAD_FOR_PRINT__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(DownloadForPrint.DOWNLOAD_FOR_PRINT, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { DownloadForPrint.DOWNLOAD_FOR_PRINT.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
public static final ForeignKey<DownloadForPrintRecord, SummonsesReasonRecord> DOWNLOAD_FOR_PRINT__FK_SUMMONSES_REASON_ID = Internal.createForeignKey(DownloadForPrint.DOWNLOAD_FOR_PRINT, DSL.name("fk_summonses_reason_id"), new TableField[] { DownloadForPrint.DOWNLOAD_FOR_PRINT.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true);
public static final ForeignKey<FormedSummonsesRecord, RecruitmentRecord> FORMED_SUMMONSES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(FormedSummonses.FORMED_SUMMONSES, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { FormedSummonses.FORMED_SUMMONSES.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
public static final ForeignKey<FormedSummonsesRecord, SummonsesReasonRecord> FORMED_SUMMONSES__FK_SUMMONSES_REASON_ID = Internal.createForeignKey(FormedSummonses.FORMED_SUMMONSES, DSL.name("fk_summonses_reason_id"), new TableField[] { FormedSummonses.FORMED_SUMMONSES.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true);
public static final ForeignKey<ImpositionTmpMeasuresRecord, RecruitmentRecord> IMPOSITION_TMP_MEASURES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
public static final ForeignKey<ImpositionTmpMeasuresRecord, SummonsesReasonRecord> IMPOSITION_TMP_MEASURES__FK_SUMMONSES_REASON_ID = Internal.createForeignKey(ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES, DSL.name("fk_summonses_reason_id"), new TableField[] { ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true);
public static final ForeignKey<InfoSentToLkEpguRecord, RecruitmentRecord> INFO_SENT_TO_LK_EPGU__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
public static final ForeignKey<InfoSentToLkEpguRecord, SummonsesReasonRecord> INFO_SENT_TO_LK_EPGU__FK_SUMMONSES_REASON_ID = Internal.createForeignKey(InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU, DSL.name("fk_summonses_reason_id"), new TableField[] { InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true);
public static final ForeignKey<RecruitOfficeVisitRecord, RecruitmentRecord> RECRUIT_OFFICE_VISIT__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(RecruitOfficeVisit.RECRUIT_OFFICE_VISIT, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { RecruitOfficeVisit.RECRUIT_OFFICE_VISIT.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
public static final ForeignKey<RecruitOfficeVisitRecord, SummonsesReasonRecord> RECRUIT_OFFICE_VISIT__FK_SUMMONSES_REASON_ID = Internal.createForeignKey(RecruitOfficeVisit.RECRUIT_OFFICE_VISIT, DSL.name("fk_summonses_reason_id"), new TableField[] { RecruitOfficeVisit.RECRUIT_OFFICE_VISIT.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true);
public static final ForeignKey<RemoveTmpMeasuresRecord, RecruitmentRecord> REMOVE_TMP_MEASURES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(RemoveTmpMeasures.REMOVE_TMP_MEASURES, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { RemoveTmpMeasures.REMOVE_TMP_MEASURES.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
public static final ForeignKey<RemoveTmpMeasuresRecord, SummonsesReasonRecord> REMOVE_TMP_MEASURES__FK_SUMMONSES_REASON_ID = Internal.createForeignKey(RemoveTmpMeasures.REMOVE_TMP_MEASURES, DSL.name("fk_summonses_reason_id"), new TableField[] { RemoveTmpMeasures.REMOVE_TMP_MEASURES.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true);
public static final ForeignKey<SummonsesReasonRecord, SummonsesReasonRecord> SUMMONSES_REASON__FK_PARENT_SUMMONSES_REASON_ID = Internal.createForeignKey(SummonsesReason.SUMMONSES_REASON, DSL.name("fk_parent_summonses_reason_id"), new TableField[] { SummonsesReason.SUMMONSES_REASON.PARENT_SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true);
}

View file

@ -0,0 +1,146 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list;
import java.util.Arrays;
import java.util.List;
import org.jooq.Catalog;
import org.jooq.Table;
import org.jooq.impl.SchemaImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.DefaultCatalog;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.AllSummonses;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.DownloadForPrint;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.FormedSummonses;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ImpositionTmpMeasures;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.InfoSentToLkEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RecruitOfficeVisit;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RemoveTmpMeasures;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewAllSummonses;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewFormedSummonses;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewImpositionTmpMeasures;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewInfoSentToLkEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewRecruitOfficeVisit;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewRemoveTmpMeasures;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class SummonsesList extends SchemaImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>summonses_list</code>
*/
public static final SummonsesList SUMMONSES_LIST = new SummonsesList();
/**
* Реестр повесток. Список всех повесток
*/
public final AllSummonses ALL_SUMMONSES = AllSummonses.ALL_SUMMONSES;
/**
* Реестр повесток. Отправка уведомлений в ЛК на ЕПГУ
*/
public final DownloadForPrint DOWNLOAD_FOR_PRINT = DownloadForPrint.DOWNLOAD_FOR_PRINT;
/**
* Реестр повесток. Количество сформированных повесток
*/
public final FormedSummonses FORMED_SUMMONSES = FormedSummonses.FORMED_SUMMONSES;
/**
* Реестр повесток. Решение о принятии временных мер
*/
public final ImpositionTmpMeasures IMPOSITION_TMP_MEASURES = ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES;
/**
* Реестр повесток. Отправка уведомлений в ЛК на ЕПГУ
*/
public final InfoSentToLkEpgu INFO_SENT_TO_LK_EPGU = InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU;
/**
* Реестр повесток. Явка в военный комиссариат
*/
public final RecruitOfficeVisit RECRUIT_OFFICE_VISIT = RecruitOfficeVisit.RECRUIT_OFFICE_VISIT;
/**
* Реестр повесток. Решение о снятии временных мер
*/
public final RemoveTmpMeasures REMOVE_TMP_MEASURES = RemoveTmpMeasures.REMOVE_TMP_MEASURES;
/**
* Реестр повесток. Причины выдачи повестки
*/
public final SummonsesReason SUMMONSES_REASON = SummonsesReason.SUMMONSES_REASON;
/**
* The table <code>summonses_list.view_all_summonses</code>.
*/
public final ViewAllSummonses VIEW_ALL_SUMMONSES = ViewAllSummonses.VIEW_ALL_SUMMONSES;
/**
* The table <code>summonses_list.view_formed_summonses</code>.
*/
public final ViewFormedSummonses VIEW_FORMED_SUMMONSES = ViewFormedSummonses.VIEW_FORMED_SUMMONSES;
/**
* The table <code>summonses_list.view_imposition_tmp_measures</code>.
*/
public final ViewImpositionTmpMeasures VIEW_IMPOSITION_TMP_MEASURES = ViewImpositionTmpMeasures.VIEW_IMPOSITION_TMP_MEASURES;
/**
* The table <code>summonses_list.view_info_sent_to_lk_epgu</code>.
*/
public final ViewInfoSentToLkEpgu VIEW_INFO_SENT_TO_LK_EPGU = ViewInfoSentToLkEpgu.VIEW_INFO_SENT_TO_LK_EPGU;
/**
* The table <code>summonses_list.view_recruit_office_visit</code>.
*/
public final ViewRecruitOfficeVisit VIEW_RECRUIT_OFFICE_VISIT = ViewRecruitOfficeVisit.VIEW_RECRUIT_OFFICE_VISIT;
/**
* The table <code>summonses_list.view_remove_tmp_measures</code>.
*/
public final ViewRemoveTmpMeasures VIEW_REMOVE_TMP_MEASURES = ViewRemoveTmpMeasures.VIEW_REMOVE_TMP_MEASURES;
/**
* No further instances allowed
*/
private SummonsesList() {
super("summonses_list", null);
}
@Override
public Catalog getCatalog() {
return DefaultCatalog.DEFAULT_CATALOG;
}
@Override
public final List<Table<?>> getTables() {
return Arrays.asList(
AllSummonses.ALL_SUMMONSES,
DownloadForPrint.DOWNLOAD_FOR_PRINT,
FormedSummonses.FORMED_SUMMONSES,
ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES,
InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU,
RecruitOfficeVisit.RECRUIT_OFFICE_VISIT,
RemoveTmpMeasures.REMOVE_TMP_MEASURES,
SummonsesReason.SUMMONSES_REASON,
ViewAllSummonses.VIEW_ALL_SUMMONSES,
ViewFormedSummonses.VIEW_FORMED_SUMMONSES,
ViewImpositionTmpMeasures.VIEW_IMPOSITION_TMP_MEASURES,
ViewInfoSentToLkEpgu.VIEW_INFO_SENT_TO_LK_EPGU,
ViewRecruitOfficeVisit.VIEW_RECRUIT_OFFICE_VISIT,
ViewRemoveTmpMeasures.VIEW_REMOVE_TMP_MEASURES
);
}
}

View file

@ -0,0 +1,98 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.AllSummonses;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.DownloadForPrint;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.FormedSummonses;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ImpositionTmpMeasures;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.InfoSentToLkEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RecruitOfficeVisit;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RemoveTmpMeasures;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewAllSummonses;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewFormedSummonses;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewImpositionTmpMeasures;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewInfoSentToLkEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewRecruitOfficeVisit;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewRemoveTmpMeasures;
/**
* Convenience access to all tables in summonses_list.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Tables {
/**
* Реестр повесток. Список всех повесток
*/
public static final AllSummonses ALL_SUMMONSES = AllSummonses.ALL_SUMMONSES;
/**
* Реестр повесток. Отправка уведомлений в ЛК на ЕПГУ
*/
public static final DownloadForPrint DOWNLOAD_FOR_PRINT = DownloadForPrint.DOWNLOAD_FOR_PRINT;
/**
* Реестр повесток. Количество сформированных повесток
*/
public static final FormedSummonses FORMED_SUMMONSES = FormedSummonses.FORMED_SUMMONSES;
/**
* Реестр повесток. Решение о принятии временных мер
*/
public static final ImpositionTmpMeasures IMPOSITION_TMP_MEASURES = ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES;
/**
* Реестр повесток. Отправка уведомлений в ЛК на ЕПГУ
*/
public static final InfoSentToLkEpgu INFO_SENT_TO_LK_EPGU = InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU;
/**
* Реестр повесток. Явка в военный комиссариат
*/
public static final RecruitOfficeVisit RECRUIT_OFFICE_VISIT = RecruitOfficeVisit.RECRUIT_OFFICE_VISIT;
/**
* Реестр повесток. Решение о снятии временных мер
*/
public static final RemoveTmpMeasures REMOVE_TMP_MEASURES = RemoveTmpMeasures.REMOVE_TMP_MEASURES;
/**
* Реестр повесток. Причины выдачи повестки
*/
public static final SummonsesReason SUMMONSES_REASON = SummonsesReason.SUMMONSES_REASON;
/**
* The table <code>summonses_list.view_all_summonses</code>.
*/
public static final ViewAllSummonses VIEW_ALL_SUMMONSES = ViewAllSummonses.VIEW_ALL_SUMMONSES;
/**
* The table <code>summonses_list.view_formed_summonses</code>.
*/
public static final ViewFormedSummonses VIEW_FORMED_SUMMONSES = ViewFormedSummonses.VIEW_FORMED_SUMMONSES;
/**
* The table <code>summonses_list.view_imposition_tmp_measures</code>.
*/
public static final ViewImpositionTmpMeasures VIEW_IMPOSITION_TMP_MEASURES = ViewImpositionTmpMeasures.VIEW_IMPOSITION_TMP_MEASURES;
/**
* The table <code>summonses_list.view_info_sent_to_lk_epgu</code>.
*/
public static final ViewInfoSentToLkEpgu VIEW_INFO_SENT_TO_LK_EPGU = ViewInfoSentToLkEpgu.VIEW_INFO_SENT_TO_LK_EPGU;
/**
* The table <code>summonses_list.view_recruit_office_visit</code>.
*/
public static final ViewRecruitOfficeVisit VIEW_RECRUIT_OFFICE_VISIT = ViewRecruitOfficeVisit.VIEW_RECRUIT_OFFICE_VISIT;
/**
* The table <code>summonses_list.view_remove_tmp_measures</code>.
*/
public static final ViewRemoveTmpMeasures VIEW_REMOVE_TMP_MEASURES = ViewRemoveTmpMeasures.VIEW_REMOVE_TMP_MEASURES;
}

View file

@ -0,0 +1,324 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitment.RecruitmentPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.AllSummonsesRecord;
/**
* Реестр повесток. Список всех повесток
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AllSummonses extends TableImpl<AllSummonsesRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>summonses_list.all_summonses</code>
*/
public static final AllSummonses ALL_SUMMONSES = new AllSummonses();
/**
* The class holding records for this type
*/
@Override
public Class<AllSummonsesRecord> getRecordType() {
return AllSummonsesRecord.class;
}
/**
* The column <code>summonses_list.all_summonses.all_summonses_id</code>.
*/
public final TableField<AllSummonsesRecord, Long> ALL_SUMMONSES_ID = createField(DSL.name("all_summonses_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>summonses_list.all_summonses.recruitment_id</code>.
*/
public final TableField<AllSummonsesRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column <code>summonses_list.all_summonses.update_date</code>.
*/
public final TableField<AllSummonsesRecord, Timestamp> UPDATE_DATE = createField(DSL.name("update_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>summonses_list.all_summonses.info_date</code>.
*/
public final TableField<AllSummonsesRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>summonses_list.all_summonses.count_init_registration</code>. в
* рамках первоначальной постановки на ВУ
*/
public final TableField<AllSummonsesRecord, Long> COUNT_INIT_REGISTRATION = createField(DSL.name("count_init_registration"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "в рамках первоначальной постановки на ВУ");
/**
* The column <code>summonses_list.all_summonses.count_draft_company</code>.
* в рамках призывной кампании
*/
public final TableField<AllSummonsesRecord, Long> COUNT_DRAFT_COMPANY = createField(DSL.name("count_draft_company"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "в рамках призывной кампании");
/**
* The column
* <code>summonses_list.all_summonses.count_management_military_registration</code>.
* в рамках ведения воинского учета
*/
public final TableField<AllSummonsesRecord, Long> COUNT_MANAGEMENT_MILITARY_REGISTRATION = createField(DSL.name("count_management_military_registration"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "в рамках ведения воинского учета");
/**
* The column <code>summonses_list.all_summonses.count_mobilization</code>.
* в рамках мобилизации
*/
public final TableField<AllSummonsesRecord, Long> COUNT_MOBILIZATION = createField(DSL.name("count_mobilization"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "в рамках мобилизации");
private AllSummonses(Name alias, Table<AllSummonsesRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private AllSummonses(Name alias, Table<AllSummonsesRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Реестр повесток. Список всех повесток"), TableOptions.table(), where);
}
/**
* Create an aliased <code>summonses_list.all_summonses</code> table
* reference
*/
public AllSummonses(String alias) {
this(DSL.name(alias), ALL_SUMMONSES);
}
/**
* Create an aliased <code>summonses_list.all_summonses</code> table
* reference
*/
public AllSummonses(Name alias) {
this(alias, ALL_SUMMONSES);
}
/**
* Create a <code>summonses_list.all_summonses</code> table reference
*/
public AllSummonses() {
this(DSL.name("all_summonses"), null);
}
public <O extends Record> AllSummonses(Table<O> path, ForeignKey<O, AllSummonsesRecord> childPath, InverseForeignKey<O, AllSummonsesRecord> parentPath) {
super(path, childPath, parentPath, ALL_SUMMONSES);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class AllSummonsesPath extends AllSummonses implements Path<AllSummonsesRecord> {
public <O extends Record> AllSummonsesPath(Table<O> path, ForeignKey<O, AllSummonsesRecord> childPath, InverseForeignKey<O, AllSummonsesRecord> parentPath) {
super(path, childPath, parentPath);
}
private AllSummonsesPath(Name alias, Table<AllSummonsesRecord> aliased) {
super(alias, aliased);
}
@Override
public AllSummonsesPath as(String alias) {
return new AllSummonsesPath(DSL.name(alias), this);
}
@Override
public AllSummonsesPath as(Name alias) {
return new AllSummonsesPath(alias, this);
}
@Override
public AllSummonsesPath as(Table<?> alias) {
return new AllSummonsesPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
}
@Override
public Identity<AllSummonsesRecord, Long> getIdentity() {
return (Identity<AllSummonsesRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<AllSummonsesRecord> getPrimaryKey() {
return Keys.ALL_SUMMONSES_PKEY;
}
@Override
public List<ForeignKey<AllSummonsesRecord, ?>> getReferences() {
return Arrays.asList(Keys.ALL_SUMMONSES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID);
}
private transient RecruitmentPath _recruitment;
/**
* Get the implicit join path to the <code>metrics.recruitment</code> table.
*/
public RecruitmentPath recruitment() {
if (_recruitment == null)
_recruitment = new RecruitmentPath(this, Keys.ALL_SUMMONSES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID, null);
return _recruitment;
}
@Override
public AllSummonses as(String alias) {
return new AllSummonses(DSL.name(alias), this);
}
@Override
public AllSummonses as(Name alias) {
return new AllSummonses(alias, this);
}
@Override
public AllSummonses as(Table<?> alias) {
return new AllSummonses(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public AllSummonses rename(String name) {
return new AllSummonses(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public AllSummonses rename(Name name) {
return new AllSummonses(name, null);
}
/**
* Rename this table
*/
@Override
public AllSummonses rename(Table<?> name) {
return new AllSummonses(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public AllSummonses where(Condition condition) {
return new AllSummonses(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public AllSummonses where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public AllSummonses where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public AllSummonses where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AllSummonses where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AllSummonses where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AllSummonses where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AllSummonses where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public AllSummonses whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public AllSummonses whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,325 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitment.RecruitmentPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.DownloadForPrintRecord;
/**
* Реестр повесток. Отправка уведомлений в ЛК на ЕПГУ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DownloadForPrint extends TableImpl<DownloadForPrintRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>summonses_list.download_for_print</code>
*/
public static final DownloadForPrint DOWNLOAD_FOR_PRINT = new DownloadForPrint();
/**
* The class holding records for this type
*/
@Override
public Class<DownloadForPrintRecord> getRecordType() {
return DownloadForPrintRecord.class;
}
/**
* The column
* <code>summonses_list.download_for_print.download_for_print_id</code>.
*/
public final TableField<DownloadForPrintRecord, Long> DOWNLOAD_FOR_PRINT_ID = createField(DSL.name("download_for_print_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>summonses_list.download_for_print.recruitment_id</code>.
*/
public final TableField<DownloadForPrintRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column <code>summonses_list.download_for_print.update_date</code>.
*/
public final TableField<DownloadForPrintRecord, Timestamp> UPDATE_DATE = createField(DSL.name("update_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>summonses_list.download_for_print.info_date</code>.
*/
public final TableField<DownloadForPrintRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>summonses_list.download_for_print.summonses_reason_id</code>.
*/
public final TableField<DownloadForPrintRecord, Long> SUMMONSES_REASON_ID = createField(DSL.name("summonses_reason_id"), SQLDataType.BIGINT.nullable(false), this, "");
/**
* The column
* <code>summonses_list.download_for_print.count_donloaded</code>.
*/
public final TableField<DownloadForPrintRecord, Long> COUNT_DONLOADED = createField(DSL.name("count_donloaded"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
private DownloadForPrint(Name alias, Table<DownloadForPrintRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private DownloadForPrint(Name alias, Table<DownloadForPrintRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Реестр повесток. Отправка уведомлений в ЛК на ЕПГУ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>summonses_list.download_for_print</code> table
* reference
*/
public DownloadForPrint(String alias) {
this(DSL.name(alias), DOWNLOAD_FOR_PRINT);
}
/**
* Create an aliased <code>summonses_list.download_for_print</code> table
* reference
*/
public DownloadForPrint(Name alias) {
this(alias, DOWNLOAD_FOR_PRINT);
}
/**
* Create a <code>summonses_list.download_for_print</code> table reference
*/
public DownloadForPrint() {
this(DSL.name("download_for_print"), null);
}
public <O extends Record> DownloadForPrint(Table<O> path, ForeignKey<O, DownloadForPrintRecord> childPath, InverseForeignKey<O, DownloadForPrintRecord> parentPath) {
super(path, childPath, parentPath, DOWNLOAD_FOR_PRINT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class DownloadForPrintPath extends DownloadForPrint implements Path<DownloadForPrintRecord> {
public <O extends Record> DownloadForPrintPath(Table<O> path, ForeignKey<O, DownloadForPrintRecord> childPath, InverseForeignKey<O, DownloadForPrintRecord> parentPath) {
super(path, childPath, parentPath);
}
private DownloadForPrintPath(Name alias, Table<DownloadForPrintRecord> aliased) {
super(alias, aliased);
}
@Override
public DownloadForPrintPath as(String alias) {
return new DownloadForPrintPath(DSL.name(alias), this);
}
@Override
public DownloadForPrintPath as(Name alias) {
return new DownloadForPrintPath(alias, this);
}
@Override
public DownloadForPrintPath as(Table<?> alias) {
return new DownloadForPrintPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
}
@Override
public Identity<DownloadForPrintRecord, Long> getIdentity() {
return (Identity<DownloadForPrintRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<DownloadForPrintRecord> getPrimaryKey() {
return Keys.DOWNLOAD_FOR_PRINT_PKEY;
}
@Override
public List<ForeignKey<DownloadForPrintRecord, ?>> getReferences() {
return Arrays.asList(Keys.DOWNLOAD_FOR_PRINT__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID, Keys.DOWNLOAD_FOR_PRINT__FK_SUMMONSES_REASON_ID);
}
private transient RecruitmentPath _recruitment;
/**
* Get the implicit join path to the <code>metrics.recruitment</code> table.
*/
public RecruitmentPath recruitment() {
if (_recruitment == null)
_recruitment = new RecruitmentPath(this, Keys.DOWNLOAD_FOR_PRINT__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID, null);
return _recruitment;
}
private transient SummonsesReasonPath _summonsesReason;
/**
* Get the implicit join path to the
* <code>summonses_list.summonses_reason</code> table.
*/
public SummonsesReasonPath summonsesReason() {
if (_summonsesReason == null)
_summonsesReason = new SummonsesReasonPath(this, Keys.DOWNLOAD_FOR_PRINT__FK_SUMMONSES_REASON_ID, null);
return _summonsesReason;
}
@Override
public DownloadForPrint as(String alias) {
return new DownloadForPrint(DSL.name(alias), this);
}
@Override
public DownloadForPrint as(Name alias) {
return new DownloadForPrint(alias, this);
}
@Override
public DownloadForPrint as(Table<?> alias) {
return new DownloadForPrint(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public DownloadForPrint rename(String name) {
return new DownloadForPrint(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public DownloadForPrint rename(Name name) {
return new DownloadForPrint(name, null);
}
/**
* Rename this table
*/
@Override
public DownloadForPrint rename(Table<?> name) {
return new DownloadForPrint(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public DownloadForPrint where(Condition condition) {
return new DownloadForPrint(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public DownloadForPrint where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public DownloadForPrint where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public DownloadForPrint where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public DownloadForPrint where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public DownloadForPrint where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public DownloadForPrint where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public DownloadForPrint where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public DownloadForPrint whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public DownloadForPrint whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,351 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitment.RecruitmentPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.FormedSummonsesRecord;
/**
* Реестр повесток. Количество сформированных повесток
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class FormedSummonses extends TableImpl<FormedSummonsesRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>summonses_list.formed_summonses</code>
*/
public static final FormedSummonses FORMED_SUMMONSES = new FormedSummonses();
/**
* The class holding records for this type
*/
@Override
public Class<FormedSummonsesRecord> getRecordType() {
return FormedSummonsesRecord.class;
}
/**
* The column
* <code>summonses_list.formed_summonses.formed_summonses_id</code>.
*/
public final TableField<FormedSummonsesRecord, Long> FORMED_SUMMONSES_ID = createField(DSL.name("formed_summonses_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>summonses_list.formed_summonses.recruitment_id</code>.
*/
public final TableField<FormedSummonsesRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column <code>summonses_list.formed_summonses.update_date</code>.
*/
public final TableField<FormedSummonsesRecord, Timestamp> UPDATE_DATE = createField(DSL.name("update_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>summonses_list.formed_summonses.info_date</code>.
*/
public final TableField<FormedSummonsesRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>summonses_list.formed_summonses.summonses_reason_id</code>.
*/
public final TableField<FormedSummonsesRecord, Long> SUMMONSES_REASON_ID = createField(DSL.name("summonses_reason_id"), SQLDataType.BIGINT.nullable(false), this, "");
/**
* The column <code>summonses_list.formed_summonses.count_formed</code>.
* сформировано
*/
public final TableField<FormedSummonsesRecord, Long> COUNT_FORMED = createField(DSL.name("count_formed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "сформировано");
/**
* The column <code>summonses_list.formed_summonses.count_signed</code>.
* подписано
*/
public final TableField<FormedSummonsesRecord, Long> COUNT_SIGNED = createField(DSL.name("count_signed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "подписано");
/**
* The column <code>summonses_list.formed_summonses.count_sent</code>.
* направлено
*/
public final TableField<FormedSummonsesRecord, Long> COUNT_SENT = createField(DSL.name("count_sent"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "направлено");
/**
* The column
* <code>summonses_list.formed_summonses.count_delivered_on_hands</code>.
* доставлено нарочно
*/
public final TableField<FormedSummonsesRecord, Long> COUNT_DELIVERED_ON_HANDS = createField(DSL.name("count_delivered_on_hands"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "доставлено нарочно");
/**
* The column
* <code>summonses_list.formed_summonses.count_delivered_by_letter</code>.
* доставлено заказным письмом
*/
public final TableField<FormedSummonsesRecord, Long> COUNT_DELIVERED_BY_LETTER = createField(DSL.name("count_delivered_by_letter"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "доставлено заказным письмом");
private FormedSummonses(Name alias, Table<FormedSummonsesRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private FormedSummonses(Name alias, Table<FormedSummonsesRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Реестр повесток. Количество сформированных повесток"), TableOptions.table(), where);
}
/**
* Create an aliased <code>summonses_list.formed_summonses</code> table
* reference
*/
public FormedSummonses(String alias) {
this(DSL.name(alias), FORMED_SUMMONSES);
}
/**
* Create an aliased <code>summonses_list.formed_summonses</code> table
* reference
*/
public FormedSummonses(Name alias) {
this(alias, FORMED_SUMMONSES);
}
/**
* Create a <code>summonses_list.formed_summonses</code> table reference
*/
public FormedSummonses() {
this(DSL.name("formed_summonses"), null);
}
public <O extends Record> FormedSummonses(Table<O> path, ForeignKey<O, FormedSummonsesRecord> childPath, InverseForeignKey<O, FormedSummonsesRecord> parentPath) {
super(path, childPath, parentPath, FORMED_SUMMONSES);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class FormedSummonsesPath extends FormedSummonses implements Path<FormedSummonsesRecord> {
public <O extends Record> FormedSummonsesPath(Table<O> path, ForeignKey<O, FormedSummonsesRecord> childPath, InverseForeignKey<O, FormedSummonsesRecord> parentPath) {
super(path, childPath, parentPath);
}
private FormedSummonsesPath(Name alias, Table<FormedSummonsesRecord> aliased) {
super(alias, aliased);
}
@Override
public FormedSummonsesPath as(String alias) {
return new FormedSummonsesPath(DSL.name(alias), this);
}
@Override
public FormedSummonsesPath as(Name alias) {
return new FormedSummonsesPath(alias, this);
}
@Override
public FormedSummonsesPath as(Table<?> alias) {
return new FormedSummonsesPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
}
@Override
public Identity<FormedSummonsesRecord, Long> getIdentity() {
return (Identity<FormedSummonsesRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<FormedSummonsesRecord> getPrimaryKey() {
return Keys.FORMED_SUMMONSES_PKEY;
}
@Override
public List<ForeignKey<FormedSummonsesRecord, ?>> getReferences() {
return Arrays.asList(Keys.FORMED_SUMMONSES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID, Keys.FORMED_SUMMONSES__FK_SUMMONSES_REASON_ID);
}
private transient RecruitmentPath _recruitment;
/**
* Get the implicit join path to the <code>metrics.recruitment</code> table.
*/
public RecruitmentPath recruitment() {
if (_recruitment == null)
_recruitment = new RecruitmentPath(this, Keys.FORMED_SUMMONSES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID, null);
return _recruitment;
}
private transient SummonsesReasonPath _summonsesReason;
/**
* Get the implicit join path to the
* <code>summonses_list.summonses_reason</code> table.
*/
public SummonsesReasonPath summonsesReason() {
if (_summonsesReason == null)
_summonsesReason = new SummonsesReasonPath(this, Keys.FORMED_SUMMONSES__FK_SUMMONSES_REASON_ID, null);
return _summonsesReason;
}
@Override
public FormedSummonses as(String alias) {
return new FormedSummonses(DSL.name(alias), this);
}
@Override
public FormedSummonses as(Name alias) {
return new FormedSummonses(alias, this);
}
@Override
public FormedSummonses as(Table<?> alias) {
return new FormedSummonses(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public FormedSummonses rename(String name) {
return new FormedSummonses(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public FormedSummonses rename(Name name) {
return new FormedSummonses(name, null);
}
/**
* Rename this table
*/
@Override
public FormedSummonses rename(Table<?> name) {
return new FormedSummonses(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public FormedSummonses where(Condition condition) {
return new FormedSummonses(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public FormedSummonses where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public FormedSummonses where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public FormedSummonses where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public FormedSummonses where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public FormedSummonses where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public FormedSummonses where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public FormedSummonses where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public FormedSummonses whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public FormedSummonses whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,344 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitment.RecruitmentPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.ImpositionTmpMeasuresRecord;
/**
* Реестр повесток. Решение о принятии временных мер
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ImpositionTmpMeasures extends TableImpl<ImpositionTmpMeasuresRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>summonses_list.imposition_tmp_measures</code>
*/
public static final ImpositionTmpMeasures IMPOSITION_TMP_MEASURES = new ImpositionTmpMeasures();
/**
* The class holding records for this type
*/
@Override
public Class<ImpositionTmpMeasuresRecord> getRecordType() {
return ImpositionTmpMeasuresRecord.class;
}
/**
* The column
* <code>summonses_list.imposition_tmp_measures.imposition_tmp_measures_id</code>.
*/
public final TableField<ImpositionTmpMeasuresRecord, Long> IMPOSITION_TMP_MEASURES_ID = createField(DSL.name("imposition_tmp_measures_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>summonses_list.imposition_tmp_measures.recruitment_id</code>.
*/
public final TableField<ImpositionTmpMeasuresRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column
* <code>summonses_list.imposition_tmp_measures.update_date</code>.
*/
public final TableField<ImpositionTmpMeasuresRecord, Timestamp> UPDATE_DATE = createField(DSL.name("update_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>summonses_list.imposition_tmp_measures.info_date</code>.
*/
public final TableField<ImpositionTmpMeasuresRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>summonses_list.imposition_tmp_measures.summonses_reason_id</code>.
*/
public final TableField<ImpositionTmpMeasuresRecord, Long> SUMMONSES_REASON_ID = createField(DSL.name("summonses_reason_id"), SQLDataType.BIGINT.nullable(false), this, "");
/**
* The column
* <code>summonses_list.imposition_tmp_measures.count_for_sign</code>.
* доступно для подписания
*/
public final TableField<ImpositionTmpMeasuresRecord, Long> COUNT_FOR_SIGN = createField(DSL.name("count_for_sign"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "доступно для подписания");
/**
* The column
* <code>summonses_list.imposition_tmp_measures.count_apply</code>.
* применена мера
*/
public final TableField<ImpositionTmpMeasuresRecord, Long> COUNT_APPLY = createField(DSL.name("count_apply"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "применена мера");
/**
* The column
* <code>summonses_list.imposition_tmp_measures.count_enter</code>. введлена
* мера
*/
public final TableField<ImpositionTmpMeasuresRecord, Long> COUNT_ENTER = createField(DSL.name("count_enter"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "введлена мера");
private ImpositionTmpMeasures(Name alias, Table<ImpositionTmpMeasuresRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ImpositionTmpMeasures(Name alias, Table<ImpositionTmpMeasuresRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Реестр повесток. Решение о принятии временных мер"), TableOptions.table(), where);
}
/**
* Create an aliased <code>summonses_list.imposition_tmp_measures</code>
* table reference
*/
public ImpositionTmpMeasures(String alias) {
this(DSL.name(alias), IMPOSITION_TMP_MEASURES);
}
/**
* Create an aliased <code>summonses_list.imposition_tmp_measures</code>
* table reference
*/
public ImpositionTmpMeasures(Name alias) {
this(alias, IMPOSITION_TMP_MEASURES);
}
/**
* Create a <code>summonses_list.imposition_tmp_measures</code> table
* reference
*/
public ImpositionTmpMeasures() {
this(DSL.name("imposition_tmp_measures"), null);
}
public <O extends Record> ImpositionTmpMeasures(Table<O> path, ForeignKey<O, ImpositionTmpMeasuresRecord> childPath, InverseForeignKey<O, ImpositionTmpMeasuresRecord> parentPath) {
super(path, childPath, parentPath, IMPOSITION_TMP_MEASURES);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class ImpositionTmpMeasuresPath extends ImpositionTmpMeasures implements Path<ImpositionTmpMeasuresRecord> {
public <O extends Record> ImpositionTmpMeasuresPath(Table<O> path, ForeignKey<O, ImpositionTmpMeasuresRecord> childPath, InverseForeignKey<O, ImpositionTmpMeasuresRecord> parentPath) {
super(path, childPath, parentPath);
}
private ImpositionTmpMeasuresPath(Name alias, Table<ImpositionTmpMeasuresRecord> aliased) {
super(alias, aliased);
}
@Override
public ImpositionTmpMeasuresPath as(String alias) {
return new ImpositionTmpMeasuresPath(DSL.name(alias), this);
}
@Override
public ImpositionTmpMeasuresPath as(Name alias) {
return new ImpositionTmpMeasuresPath(alias, this);
}
@Override
public ImpositionTmpMeasuresPath as(Table<?> alias) {
return new ImpositionTmpMeasuresPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
}
@Override
public Identity<ImpositionTmpMeasuresRecord, Long> getIdentity() {
return (Identity<ImpositionTmpMeasuresRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<ImpositionTmpMeasuresRecord> getPrimaryKey() {
return Keys.IMPOSITION_TMP_MEASURES_PKEY;
}
@Override
public List<ForeignKey<ImpositionTmpMeasuresRecord, ?>> getReferences() {
return Arrays.asList(Keys.IMPOSITION_TMP_MEASURES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID, Keys.IMPOSITION_TMP_MEASURES__FK_SUMMONSES_REASON_ID);
}
private transient RecruitmentPath _recruitment;
/**
* Get the implicit join path to the <code>metrics.recruitment</code> table.
*/
public RecruitmentPath recruitment() {
if (_recruitment == null)
_recruitment = new RecruitmentPath(this, Keys.IMPOSITION_TMP_MEASURES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID, null);
return _recruitment;
}
private transient SummonsesReasonPath _summonsesReason;
/**
* Get the implicit join path to the
* <code>summonses_list.summonses_reason</code> table.
*/
public SummonsesReasonPath summonsesReason() {
if (_summonsesReason == null)
_summonsesReason = new SummonsesReasonPath(this, Keys.IMPOSITION_TMP_MEASURES__FK_SUMMONSES_REASON_ID, null);
return _summonsesReason;
}
@Override
public ImpositionTmpMeasures as(String alias) {
return new ImpositionTmpMeasures(DSL.name(alias), this);
}
@Override
public ImpositionTmpMeasures as(Name alias) {
return new ImpositionTmpMeasures(alias, this);
}
@Override
public ImpositionTmpMeasures as(Table<?> alias) {
return new ImpositionTmpMeasures(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ImpositionTmpMeasures rename(String name) {
return new ImpositionTmpMeasures(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ImpositionTmpMeasures rename(Name name) {
return new ImpositionTmpMeasures(name, null);
}
/**
* Rename this table
*/
@Override
public ImpositionTmpMeasures rename(Table<?> name) {
return new ImpositionTmpMeasures(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ImpositionTmpMeasures where(Condition condition) {
return new ImpositionTmpMeasures(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ImpositionTmpMeasures where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ImpositionTmpMeasures where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ImpositionTmpMeasures where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ImpositionTmpMeasures where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ImpositionTmpMeasures where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ImpositionTmpMeasures where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ImpositionTmpMeasures where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ImpositionTmpMeasures whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ImpositionTmpMeasures whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,360 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitment.RecruitmentPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.InfoSentToLkEpguRecord;
/**
* Реестр повесток. Отправка уведомлений в ЛК на ЕПГУ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class InfoSentToLkEpgu extends TableImpl<InfoSentToLkEpguRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>summonses_list.info_sent_to_lk_epgu</code>
*/
public static final InfoSentToLkEpgu INFO_SENT_TO_LK_EPGU = new InfoSentToLkEpgu();
/**
* The class holding records for this type
*/
@Override
public Class<InfoSentToLkEpguRecord> getRecordType() {
return InfoSentToLkEpguRecord.class;
}
/**
* The column
* <code>summonses_list.info_sent_to_lk_epgu.info_sent_to_lk_epgu_id</code>.
*/
public final TableField<InfoSentToLkEpguRecord, Long> INFO_SENT_TO_LK_EPGU_ID = createField(DSL.name("info_sent_to_lk_epgu_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>summonses_list.info_sent_to_lk_epgu.recruitment_id</code>.
*/
public final TableField<InfoSentToLkEpguRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column <code>summonses_list.info_sent_to_lk_epgu.update_date</code>.
*/
public final TableField<InfoSentToLkEpguRecord, Timestamp> UPDATE_DATE = createField(DSL.name("update_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>summonses_list.info_sent_to_lk_epgu.info_date</code>.
*/
public final TableField<InfoSentToLkEpguRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>summonses_list.info_sent_to_lk_epgu.summonses_reason_id</code>.
*/
public final TableField<InfoSentToLkEpguRecord, Long> SUMMONSES_REASON_ID = createField(DSL.name("summonses_reason_id"), SQLDataType.BIGINT.nullable(false), this, "");
/**
* The column
* <code>summonses_list.info_sent_to_lk_epgu.count_status_formed</code>.
*/
public final TableField<InfoSentToLkEpguRecord, Long> COUNT_STATUS_FORMED = createField(DSL.name("count_status_formed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column <code>summonses_list.info_sent_to_lk_epgu.count_sended</code>.
*/
public final TableField<InfoSentToLkEpguRecord, Long> COUNT_SENDED = createField(DSL.name("count_sended"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>summonses_list.info_sent_to_lk_epgu.count_delivered</code>.
*/
public final TableField<InfoSentToLkEpguRecord, Long> COUNT_DELIVERED = createField(DSL.name("count_delivered"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column <code>summonses_list.info_sent_to_lk_epgu.count_error</code>.
*/
public final TableField<InfoSentToLkEpguRecord, Long> COUNT_ERROR = createField(DSL.name("count_error"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column <code>summonses_list.info_sent_to_lk_epgu.count_viewed</code>.
*/
public final TableField<InfoSentToLkEpguRecord, Long> COUNT_VIEWED = createField(DSL.name("count_viewed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>summonses_list.info_sent_to_lk_epgu.count_not_viewed</code>.
*/
public final TableField<InfoSentToLkEpguRecord, Long> COUNT_NOT_VIEWED = createField(DSL.name("count_not_viewed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>summonses_list.info_sent_to_lk_epgu.count_status_not_formed</code>.
*/
public final TableField<InfoSentToLkEpguRecord, Long> COUNT_STATUS_NOT_FORMED = createField(DSL.name("count_status_not_formed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
private InfoSentToLkEpgu(Name alias, Table<InfoSentToLkEpguRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private InfoSentToLkEpgu(Name alias, Table<InfoSentToLkEpguRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Реестр повесток. Отправка уведомлений в ЛК на ЕПГУ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>summonses_list.info_sent_to_lk_epgu</code> table
* reference
*/
public InfoSentToLkEpgu(String alias) {
this(DSL.name(alias), INFO_SENT_TO_LK_EPGU);
}
/**
* Create an aliased <code>summonses_list.info_sent_to_lk_epgu</code> table
* reference
*/
public InfoSentToLkEpgu(Name alias) {
this(alias, INFO_SENT_TO_LK_EPGU);
}
/**
* Create a <code>summonses_list.info_sent_to_lk_epgu</code> table reference
*/
public InfoSentToLkEpgu() {
this(DSL.name("info_sent_to_lk_epgu"), null);
}
public <O extends Record> InfoSentToLkEpgu(Table<O> path, ForeignKey<O, InfoSentToLkEpguRecord> childPath, InverseForeignKey<O, InfoSentToLkEpguRecord> parentPath) {
super(path, childPath, parentPath, INFO_SENT_TO_LK_EPGU);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class InfoSentToLkEpguPath extends InfoSentToLkEpgu implements Path<InfoSentToLkEpguRecord> {
public <O extends Record> InfoSentToLkEpguPath(Table<O> path, ForeignKey<O, InfoSentToLkEpguRecord> childPath, InverseForeignKey<O, InfoSentToLkEpguRecord> parentPath) {
super(path, childPath, parentPath);
}
private InfoSentToLkEpguPath(Name alias, Table<InfoSentToLkEpguRecord> aliased) {
super(alias, aliased);
}
@Override
public InfoSentToLkEpguPath as(String alias) {
return new InfoSentToLkEpguPath(DSL.name(alias), this);
}
@Override
public InfoSentToLkEpguPath as(Name alias) {
return new InfoSentToLkEpguPath(alias, this);
}
@Override
public InfoSentToLkEpguPath as(Table<?> alias) {
return new InfoSentToLkEpguPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
}
@Override
public Identity<InfoSentToLkEpguRecord, Long> getIdentity() {
return (Identity<InfoSentToLkEpguRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<InfoSentToLkEpguRecord> getPrimaryKey() {
return Keys.INFO_SENT_TO_LK_EPGU_PKEY;
}
@Override
public List<ForeignKey<InfoSentToLkEpguRecord, ?>> getReferences() {
return Arrays.asList(Keys.INFO_SENT_TO_LK_EPGU__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID, Keys.INFO_SENT_TO_LK_EPGU__FK_SUMMONSES_REASON_ID);
}
private transient RecruitmentPath _recruitment;
/**
* Get the implicit join path to the <code>metrics.recruitment</code> table.
*/
public RecruitmentPath recruitment() {
if (_recruitment == null)
_recruitment = new RecruitmentPath(this, Keys.INFO_SENT_TO_LK_EPGU__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID, null);
return _recruitment;
}
private transient SummonsesReasonPath _summonsesReason;
/**
* Get the implicit join path to the
* <code>summonses_list.summonses_reason</code> table.
*/
public SummonsesReasonPath summonsesReason() {
if (_summonsesReason == null)
_summonsesReason = new SummonsesReasonPath(this, Keys.INFO_SENT_TO_LK_EPGU__FK_SUMMONSES_REASON_ID, null);
return _summonsesReason;
}
@Override
public InfoSentToLkEpgu as(String alias) {
return new InfoSentToLkEpgu(DSL.name(alias), this);
}
@Override
public InfoSentToLkEpgu as(Name alias) {
return new InfoSentToLkEpgu(alias, this);
}
@Override
public InfoSentToLkEpgu as(Table<?> alias) {
return new InfoSentToLkEpgu(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public InfoSentToLkEpgu rename(String name) {
return new InfoSentToLkEpgu(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public InfoSentToLkEpgu rename(Name name) {
return new InfoSentToLkEpgu(name, null);
}
/**
* Rename this table
*/
@Override
public InfoSentToLkEpgu rename(Table<?> name) {
return new InfoSentToLkEpgu(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public InfoSentToLkEpgu where(Condition condition) {
return new InfoSentToLkEpgu(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public InfoSentToLkEpgu where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public InfoSentToLkEpgu where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public InfoSentToLkEpgu where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public InfoSentToLkEpgu where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public InfoSentToLkEpgu where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public InfoSentToLkEpgu where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public InfoSentToLkEpgu where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public InfoSentToLkEpgu whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public InfoSentToLkEpgu whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,348 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitment.RecruitmentPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.RecruitOfficeVisitRecord;
/**
* Реестр повесток. Явка в военный комиссариат
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RecruitOfficeVisit extends TableImpl<RecruitOfficeVisitRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>summonses_list.recruit_office_visit</code>
*/
public static final RecruitOfficeVisit RECRUIT_OFFICE_VISIT = new RecruitOfficeVisit();
/**
* The class holding records for this type
*/
@Override
public Class<RecruitOfficeVisitRecord> getRecordType() {
return RecruitOfficeVisitRecord.class;
}
/**
* The column
* <code>summonses_list.recruit_office_visit.recruit_office_visit_id</code>.
*/
public final TableField<RecruitOfficeVisitRecord, Long> RECRUIT_OFFICE_VISIT_ID = createField(DSL.name("recruit_office_visit_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>summonses_list.recruit_office_visit.recruitment_id</code>.
*/
public final TableField<RecruitOfficeVisitRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column <code>summonses_list.recruit_office_visit.update_date</code>.
*/
public final TableField<RecruitOfficeVisitRecord, Timestamp> UPDATE_DATE = createField(DSL.name("update_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>summonses_list.recruit_office_visit.info_date</code>.
*/
public final TableField<RecruitOfficeVisitRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>summonses_list.recruit_office_visit.summonses_reason_id</code>.
*/
public final TableField<RecruitOfficeVisitRecord, Long> SUMMONSES_REASON_ID = createField(DSL.name("summonses_reason_id"), SQLDataType.BIGINT.nullable(false), this, "");
/**
* The column <code>summonses_list.recruit_office_visit.count_visit</code>.
* явились
*/
public final TableField<RecruitOfficeVisitRecord, Long> COUNT_VISIT = createField(DSL.name("count_visit"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "явились");
/**
* The column
* <code>summonses_list.recruit_office_visit.count_not_visit</code>. не
* явились
*/
public final TableField<RecruitOfficeVisitRecord, Long> COUNT_NOT_VISIT = createField(DSL.name("count_not_visit"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "не явились");
/**
* The column
* <code>summonses_list.recruit_office_visit.count_valid_reason</code>. не
* явились по уважительной причине
*/
public final TableField<RecruitOfficeVisitRecord, Long> COUNT_VALID_REASON = createField(DSL.name("count_valid_reason"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "не явились по уважительной причине");
/**
* The column
* <code>summonses_list.recruit_office_visit.count_not_need</code>. явка не
* требовалась
*/
public final TableField<RecruitOfficeVisitRecord, Long> COUNT_NOT_NEED = createField(DSL.name("count_not_need"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "явка не требовалась");
private RecruitOfficeVisit(Name alias, Table<RecruitOfficeVisitRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private RecruitOfficeVisit(Name alias, Table<RecruitOfficeVisitRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Реестр повесток. Явка в военный комиссариат"), TableOptions.table(), where);
}
/**
* Create an aliased <code>summonses_list.recruit_office_visit</code> table
* reference
*/
public RecruitOfficeVisit(String alias) {
this(DSL.name(alias), RECRUIT_OFFICE_VISIT);
}
/**
* Create an aliased <code>summonses_list.recruit_office_visit</code> table
* reference
*/
public RecruitOfficeVisit(Name alias) {
this(alias, RECRUIT_OFFICE_VISIT);
}
/**
* Create a <code>summonses_list.recruit_office_visit</code> table reference
*/
public RecruitOfficeVisit() {
this(DSL.name("recruit_office_visit"), null);
}
public <O extends Record> RecruitOfficeVisit(Table<O> path, ForeignKey<O, RecruitOfficeVisitRecord> childPath, InverseForeignKey<O, RecruitOfficeVisitRecord> parentPath) {
super(path, childPath, parentPath, RECRUIT_OFFICE_VISIT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class RecruitOfficeVisitPath extends RecruitOfficeVisit implements Path<RecruitOfficeVisitRecord> {
public <O extends Record> RecruitOfficeVisitPath(Table<O> path, ForeignKey<O, RecruitOfficeVisitRecord> childPath, InverseForeignKey<O, RecruitOfficeVisitRecord> parentPath) {
super(path, childPath, parentPath);
}
private RecruitOfficeVisitPath(Name alias, Table<RecruitOfficeVisitRecord> aliased) {
super(alias, aliased);
}
@Override
public RecruitOfficeVisitPath as(String alias) {
return new RecruitOfficeVisitPath(DSL.name(alias), this);
}
@Override
public RecruitOfficeVisitPath as(Name alias) {
return new RecruitOfficeVisitPath(alias, this);
}
@Override
public RecruitOfficeVisitPath as(Table<?> alias) {
return new RecruitOfficeVisitPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
}
@Override
public Identity<RecruitOfficeVisitRecord, Long> getIdentity() {
return (Identity<RecruitOfficeVisitRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<RecruitOfficeVisitRecord> getPrimaryKey() {
return Keys.RECRUIT_OFFICE_VISIT_PKEY;
}
@Override
public List<ForeignKey<RecruitOfficeVisitRecord, ?>> getReferences() {
return Arrays.asList(Keys.RECRUIT_OFFICE_VISIT__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID, Keys.RECRUIT_OFFICE_VISIT__FK_SUMMONSES_REASON_ID);
}
private transient RecruitmentPath _recruitment;
/**
* Get the implicit join path to the <code>metrics.recruitment</code> table.
*/
public RecruitmentPath recruitment() {
if (_recruitment == null)
_recruitment = new RecruitmentPath(this, Keys.RECRUIT_OFFICE_VISIT__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID, null);
return _recruitment;
}
private transient SummonsesReasonPath _summonsesReason;
/**
* Get the implicit join path to the
* <code>summonses_list.summonses_reason</code> table.
*/
public SummonsesReasonPath summonsesReason() {
if (_summonsesReason == null)
_summonsesReason = new SummonsesReasonPath(this, Keys.RECRUIT_OFFICE_VISIT__FK_SUMMONSES_REASON_ID, null);
return _summonsesReason;
}
@Override
public RecruitOfficeVisit as(String alias) {
return new RecruitOfficeVisit(DSL.name(alias), this);
}
@Override
public RecruitOfficeVisit as(Name alias) {
return new RecruitOfficeVisit(alias, this);
}
@Override
public RecruitOfficeVisit as(Table<?> alias) {
return new RecruitOfficeVisit(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public RecruitOfficeVisit rename(String name) {
return new RecruitOfficeVisit(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public RecruitOfficeVisit rename(Name name) {
return new RecruitOfficeVisit(name, null);
}
/**
* Rename this table
*/
@Override
public RecruitOfficeVisit rename(Table<?> name) {
return new RecruitOfficeVisit(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public RecruitOfficeVisit where(Condition condition) {
return new RecruitOfficeVisit(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public RecruitOfficeVisit where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public RecruitOfficeVisit where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public RecruitOfficeVisit where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RecruitOfficeVisit where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RecruitOfficeVisit where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RecruitOfficeVisit where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RecruitOfficeVisit where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public RecruitOfficeVisit whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public RecruitOfficeVisit whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,345 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitment.RecruitmentPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.RemoveTmpMeasuresRecord;
/**
* Реестр повесток. Решение о снятии временных мер
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RemoveTmpMeasures extends TableImpl<RemoveTmpMeasuresRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>summonses_list.remove_tmp_measures</code>
*/
public static final RemoveTmpMeasures REMOVE_TMP_MEASURES = new RemoveTmpMeasures();
/**
* The class holding records for this type
*/
@Override
public Class<RemoveTmpMeasuresRecord> getRecordType() {
return RemoveTmpMeasuresRecord.class;
}
/**
* The column
* <code>summonses_list.remove_tmp_measures.remove_tmp_measures_id</code>.
*/
public final TableField<RemoveTmpMeasuresRecord, Long> REMOVE_TMP_MEASURES_ID = createField(DSL.name("remove_tmp_measures_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>summonses_list.remove_tmp_measures.recruitment_id</code>.
*/
public final TableField<RemoveTmpMeasuresRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column <code>summonses_list.remove_tmp_measures.update_date</code>.
*/
public final TableField<RemoveTmpMeasuresRecord, Timestamp> UPDATE_DATE = createField(DSL.name("update_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>summonses_list.remove_tmp_measures.info_date</code>.
*/
public final TableField<RemoveTmpMeasuresRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>summonses_list.remove_tmp_measures.summonses_reason_id</code>.
*/
public final TableField<RemoveTmpMeasuresRecord, Long> SUMMONSES_REASON_ID = createField(DSL.name("summonses_reason_id"), SQLDataType.BIGINT.nullable(false), this, "");
/**
* The column <code>summonses_list.remove_tmp_measures.count_formed</code>.
* сформировано решений
*/
public final TableField<RemoveTmpMeasuresRecord, Long> COUNT_FORMED = createField(DSL.name("count_formed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "сформировано решений");
/**
* The column
* <code>summonses_list.remove_tmp_measures.count_for_sign</code>. доступно
* для подписания
*/
public final TableField<RemoveTmpMeasuresRecord, Long> COUNT_FOR_SIGN = createField(DSL.name("count_for_sign"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "доступно для подписания");
/**
* The column <code>summonses_list.remove_tmp_measures.count_signed</code>.
* подписано
*/
public final TableField<RemoveTmpMeasuresRecord, Long> COUNT_SIGNED = createField(DSL.name("count_signed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "подписано");
/**
* The column <code>summonses_list.remove_tmp_measures.count_removed</code>.
* снято временных мер
*/
public final TableField<RemoveTmpMeasuresRecord, Long> COUNT_REMOVED = createField(DSL.name("count_removed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "снято временных мер");
private RemoveTmpMeasures(Name alias, Table<RemoveTmpMeasuresRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private RemoveTmpMeasures(Name alias, Table<RemoveTmpMeasuresRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Реестр повесток. Решение о снятии временных мер"), TableOptions.table(), where);
}
/**
* Create an aliased <code>summonses_list.remove_tmp_measures</code> table
* reference
*/
public RemoveTmpMeasures(String alias) {
this(DSL.name(alias), REMOVE_TMP_MEASURES);
}
/**
* Create an aliased <code>summonses_list.remove_tmp_measures</code> table
* reference
*/
public RemoveTmpMeasures(Name alias) {
this(alias, REMOVE_TMP_MEASURES);
}
/**
* Create a <code>summonses_list.remove_tmp_measures</code> table reference
*/
public RemoveTmpMeasures() {
this(DSL.name("remove_tmp_measures"), null);
}
public <O extends Record> RemoveTmpMeasures(Table<O> path, ForeignKey<O, RemoveTmpMeasuresRecord> childPath, InverseForeignKey<O, RemoveTmpMeasuresRecord> parentPath) {
super(path, childPath, parentPath, REMOVE_TMP_MEASURES);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class RemoveTmpMeasuresPath extends RemoveTmpMeasures implements Path<RemoveTmpMeasuresRecord> {
public <O extends Record> RemoveTmpMeasuresPath(Table<O> path, ForeignKey<O, RemoveTmpMeasuresRecord> childPath, InverseForeignKey<O, RemoveTmpMeasuresRecord> parentPath) {
super(path, childPath, parentPath);
}
private RemoveTmpMeasuresPath(Name alias, Table<RemoveTmpMeasuresRecord> aliased) {
super(alias, aliased);
}
@Override
public RemoveTmpMeasuresPath as(String alias) {
return new RemoveTmpMeasuresPath(DSL.name(alias), this);
}
@Override
public RemoveTmpMeasuresPath as(Name alias) {
return new RemoveTmpMeasuresPath(alias, this);
}
@Override
public RemoveTmpMeasuresPath as(Table<?> alias) {
return new RemoveTmpMeasuresPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
}
@Override
public Identity<RemoveTmpMeasuresRecord, Long> getIdentity() {
return (Identity<RemoveTmpMeasuresRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<RemoveTmpMeasuresRecord> getPrimaryKey() {
return Keys.REMOVE_TMP_MEASURES_PKEY;
}
@Override
public List<ForeignKey<RemoveTmpMeasuresRecord, ?>> getReferences() {
return Arrays.asList(Keys.REMOVE_TMP_MEASURES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID, Keys.REMOVE_TMP_MEASURES__FK_SUMMONSES_REASON_ID);
}
private transient RecruitmentPath _recruitment;
/**
* Get the implicit join path to the <code>metrics.recruitment</code> table.
*/
public RecruitmentPath recruitment() {
if (_recruitment == null)
_recruitment = new RecruitmentPath(this, Keys.REMOVE_TMP_MEASURES__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID, null);
return _recruitment;
}
private transient SummonsesReasonPath _summonsesReason;
/**
* Get the implicit join path to the
* <code>summonses_list.summonses_reason</code> table.
*/
public SummonsesReasonPath summonsesReason() {
if (_summonsesReason == null)
_summonsesReason = new SummonsesReasonPath(this, Keys.REMOVE_TMP_MEASURES__FK_SUMMONSES_REASON_ID, null);
return _summonsesReason;
}
@Override
public RemoveTmpMeasures as(String alias) {
return new RemoveTmpMeasures(DSL.name(alias), this);
}
@Override
public RemoveTmpMeasures as(Name alias) {
return new RemoveTmpMeasures(alias, this);
}
@Override
public RemoveTmpMeasures as(Table<?> alias) {
return new RemoveTmpMeasures(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public RemoveTmpMeasures rename(String name) {
return new RemoveTmpMeasures(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public RemoveTmpMeasures rename(Name name) {
return new RemoveTmpMeasures(name, null);
}
/**
* Rename this table
*/
@Override
public RemoveTmpMeasures rename(Table<?> name) {
return new RemoveTmpMeasures(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public RemoveTmpMeasures where(Condition condition) {
return new RemoveTmpMeasures(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public RemoveTmpMeasures where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public RemoveTmpMeasures where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public RemoveTmpMeasures where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RemoveTmpMeasures where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RemoveTmpMeasures where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RemoveTmpMeasures where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RemoveTmpMeasures where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public RemoveTmpMeasures whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public RemoveTmpMeasures whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,390 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.DownloadForPrint.DownloadForPrintPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.FormedSummonses.FormedSummonsesPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ImpositionTmpMeasures.ImpositionTmpMeasuresPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.InfoSentToLkEpgu.InfoSentToLkEpguPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RecruitOfficeVisit.RecruitOfficeVisitPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RemoveTmpMeasures.RemoveTmpMeasuresPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.SummonsesReasonRecord;
/**
* Реестр повесток. Причины выдачи повестки
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class SummonsesReason extends TableImpl<SummonsesReasonRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>summonses_list.summonses_reason</code>
*/
public static final SummonsesReason SUMMONSES_REASON = new SummonsesReason();
/**
* The class holding records for this type
*/
@Override
public Class<SummonsesReasonRecord> getRecordType() {
return SummonsesReasonRecord.class;
}
/**
* The column
* <code>summonses_list.summonses_reason.summonses_reason_id</code>.
*/
public final TableField<SummonsesReasonRecord, Long> SUMMONSES_REASON_ID = createField(DSL.name("summonses_reason_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>summonses_list.summonses_reason.parent_summonses_reason_id</code>.
* родительская причина
*/
public final TableField<SummonsesReasonRecord, Long> PARENT_SUMMONSES_REASON_ID = createField(DSL.name("parent_summonses_reason_id"), SQLDataType.BIGINT, this, "родительская причина");
/**
* The column <code>summonses_list.summonses_reason.code</code>. код причины
*/
public final TableField<SummonsesReasonRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR.nullable(false), this, "код причины");
/**
* The column <code>summonses_list.summonses_reason.name</code>.
* наименование причины
*/
public final TableField<SummonsesReasonRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.nullable(false), this, "наименование причины");
private SummonsesReason(Name alias, Table<SummonsesReasonRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private SummonsesReason(Name alias, Table<SummonsesReasonRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Реестр повесток. Причины выдачи повестки"), TableOptions.table(), where);
}
/**
* Create an aliased <code>summonses_list.summonses_reason</code> table
* reference
*/
public SummonsesReason(String alias) {
this(DSL.name(alias), SUMMONSES_REASON);
}
/**
* Create an aliased <code>summonses_list.summonses_reason</code> table
* reference
*/
public SummonsesReason(Name alias) {
this(alias, SUMMONSES_REASON);
}
/**
* Create a <code>summonses_list.summonses_reason</code> table reference
*/
public SummonsesReason() {
this(DSL.name("summonses_reason"), null);
}
public <O extends Record> SummonsesReason(Table<O> path, ForeignKey<O, SummonsesReasonRecord> childPath, InverseForeignKey<O, SummonsesReasonRecord> parentPath) {
super(path, childPath, parentPath, SUMMONSES_REASON);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class SummonsesReasonPath extends SummonsesReason implements Path<SummonsesReasonRecord> {
public <O extends Record> SummonsesReasonPath(Table<O> path, ForeignKey<O, SummonsesReasonRecord> childPath, InverseForeignKey<O, SummonsesReasonRecord> parentPath) {
super(path, childPath, parentPath);
}
private SummonsesReasonPath(Name alias, Table<SummonsesReasonRecord> aliased) {
super(alias, aliased);
}
@Override
public SummonsesReasonPath as(String alias) {
return new SummonsesReasonPath(DSL.name(alias), this);
}
@Override
public SummonsesReasonPath as(Name alias) {
return new SummonsesReasonPath(alias, this);
}
@Override
public SummonsesReasonPath as(Table<?> alias) {
return new SummonsesReasonPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
}
@Override
public Identity<SummonsesReasonRecord, Long> getIdentity() {
return (Identity<SummonsesReasonRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<SummonsesReasonRecord> getPrimaryKey() {
return Keys.SUMMONSES_REASON_PKEY;
}
@Override
public List<UniqueKey<SummonsesReasonRecord>> getUniqueKeys() {
return Arrays.asList(Keys.UNI_SUMMONSES_REASON1);
}
@Override
public List<ForeignKey<SummonsesReasonRecord, ?>> getReferences() {
return Arrays.asList(Keys.SUMMONSES_REASON__FK_PARENT_SUMMONSES_REASON_ID);
}
private transient SummonsesReasonPath _summonsesReason;
/**
* Get the implicit join path to the
* <code>summonses_list.summonses_reason</code> table.
*/
public SummonsesReasonPath summonsesReason() {
if (_summonsesReason == null)
_summonsesReason = new SummonsesReasonPath(this, Keys.SUMMONSES_REASON__FK_PARENT_SUMMONSES_REASON_ID, null);
return _summonsesReason;
}
private transient DownloadForPrintPath _downloadForPrint;
/**
* Get the implicit to-many join path to the
* <code>summonses_list.download_for_print</code> table
*/
public DownloadForPrintPath downloadForPrint() {
if (_downloadForPrint == null)
_downloadForPrint = new DownloadForPrintPath(this, null, Keys.DOWNLOAD_FOR_PRINT__FK_SUMMONSES_REASON_ID.getInverseKey());
return _downloadForPrint;
}
private transient FormedSummonsesPath _formedSummonses;
/**
* Get the implicit to-many join path to the
* <code>summonses_list.formed_summonses</code> table
*/
public FormedSummonsesPath formedSummonses() {
if (_formedSummonses == null)
_formedSummonses = new FormedSummonsesPath(this, null, Keys.FORMED_SUMMONSES__FK_SUMMONSES_REASON_ID.getInverseKey());
return _formedSummonses;
}
private transient ImpositionTmpMeasuresPath _impositionTmpMeasures;
/**
* Get the implicit to-many join path to the
* <code>summonses_list.imposition_tmp_measures</code> table
*/
public ImpositionTmpMeasuresPath impositionTmpMeasures() {
if (_impositionTmpMeasures == null)
_impositionTmpMeasures = new ImpositionTmpMeasuresPath(this, null, Keys.IMPOSITION_TMP_MEASURES__FK_SUMMONSES_REASON_ID.getInverseKey());
return _impositionTmpMeasures;
}
private transient InfoSentToLkEpguPath _infoSentToLkEpgu;
/**
* Get the implicit to-many join path to the
* <code>summonses_list.info_sent_to_lk_epgu</code> table
*/
public InfoSentToLkEpguPath infoSentToLkEpgu() {
if (_infoSentToLkEpgu == null)
_infoSentToLkEpgu = new InfoSentToLkEpguPath(this, null, Keys.INFO_SENT_TO_LK_EPGU__FK_SUMMONSES_REASON_ID.getInverseKey());
return _infoSentToLkEpgu;
}
private transient RecruitOfficeVisitPath _recruitOfficeVisit;
/**
* Get the implicit to-many join path to the
* <code>summonses_list.recruit_office_visit</code> table
*/
public RecruitOfficeVisitPath recruitOfficeVisit() {
if (_recruitOfficeVisit == null)
_recruitOfficeVisit = new RecruitOfficeVisitPath(this, null, Keys.RECRUIT_OFFICE_VISIT__FK_SUMMONSES_REASON_ID.getInverseKey());
return _recruitOfficeVisit;
}
private transient RemoveTmpMeasuresPath _removeTmpMeasures;
/**
* Get the implicit to-many join path to the
* <code>summonses_list.remove_tmp_measures</code> table
*/
public RemoveTmpMeasuresPath removeTmpMeasures() {
if (_removeTmpMeasures == null)
_removeTmpMeasures = new RemoveTmpMeasuresPath(this, null, Keys.REMOVE_TMP_MEASURES__FK_SUMMONSES_REASON_ID.getInverseKey());
return _removeTmpMeasures;
}
@Override
public SummonsesReason as(String alias) {
return new SummonsesReason(DSL.name(alias), this);
}
@Override
public SummonsesReason as(Name alias) {
return new SummonsesReason(alias, this);
}
@Override
public SummonsesReason as(Table<?> alias) {
return new SummonsesReason(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public SummonsesReason rename(String name) {
return new SummonsesReason(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public SummonsesReason rename(Name name) {
return new SummonsesReason(name, null);
}
/**
* Rename this table
*/
@Override
public SummonsesReason rename(Table<?> name) {
return new SummonsesReason(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public SummonsesReason where(Condition condition) {
return new SummonsesReason(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public SummonsesReason where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public SummonsesReason where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public SummonsesReason where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public SummonsesReason where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public SummonsesReason where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public SummonsesReason where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public SummonsesReason where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public SummonsesReason whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public SummonsesReason whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,252 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
import java.math.BigDecimal;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.Name;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.ViewAllSummonsesRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewAllSummonses extends TableImpl<ViewAllSummonsesRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>summonses_list.view_all_summonses</code>
*/
public static final ViewAllSummonses VIEW_ALL_SUMMONSES = new ViewAllSummonses();
/**
* The class holding records for this type
*/
@Override
public Class<ViewAllSummonsesRecord> getRecordType() {
return ViewAllSummonsesRecord.class;
}
/**
* The column
* <code>summonses_list.view_all_summonses.all_summonses_id</code>.
*/
public final TableField<ViewAllSummonsesRecord, Long> ALL_SUMMONSES_ID = createField(DSL.name("all_summonses_id"), SQLDataType.BIGINT, this, "");
/**
* The column <code>summonses_list.view_all_summonses.count_all</code>.
*/
public final TableField<ViewAllSummonsesRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>summonses_list.view_all_summonses.percent_init_registration</code>.
*/
public final TableField<ViewAllSummonsesRecord, BigDecimal> PERCENT_INIT_REGISTRATION = createField(DSL.name("percent_init_registration"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_all_summonses.percent_draft_company</code>.
*/
public final TableField<ViewAllSummonsesRecord, BigDecimal> PERCENT_DRAFT_COMPANY = createField(DSL.name("percent_draft_company"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_all_summonses.percent_management_military_registration</code>.
*/
public final TableField<ViewAllSummonsesRecord, BigDecimal> PERCENT_MANAGEMENT_MILITARY_REGISTRATION = createField(DSL.name("percent_management_military_registration"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_all_summonses.percent_mobilization</code>.
*/
public final TableField<ViewAllSummonsesRecord, BigDecimal> PERCENT_MOBILIZATION = createField(DSL.name("percent_mobilization"), SQLDataType.NUMERIC, this, "");
private ViewAllSummonses(Name alias, Table<ViewAllSummonsesRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ViewAllSummonses(Name alias, Table<ViewAllSummonsesRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "view_all_summonses" as SELECT all_summonses.all_summonses_id,
(((all_summonses.count_init_registration + all_summonses.count_draft_company) + all_summonses.count_management_military_registration) + all_summonses.count_mobilization) AS count_all,
round((((all_summonses.count_init_registration)::numeric * (100)::numeric) / ((((all_summonses.count_init_registration + all_summonses.count_draft_company) + all_summonses.count_management_military_registration) + all_summonses.count_mobilization))::numeric)) AS percent_init_registration,
round((((all_summonses.count_draft_company)::numeric * (100)::numeric) / ((((all_summonses.count_init_registration + all_summonses.count_draft_company) + all_summonses.count_management_military_registration) + all_summonses.count_mobilization))::numeric)) AS percent_draft_company,
round((((all_summonses.count_management_military_registration)::numeric * (100)::numeric) / ((((all_summonses.count_init_registration + all_summonses.count_draft_company) + all_summonses.count_management_military_registration) + all_summonses.count_mobilization))::numeric)) AS percent_management_military_registration,
round((((all_summonses.count_mobilization)::numeric * (100)::numeric) / ((((all_summonses.count_init_registration + all_summonses.count_draft_company) + all_summonses.count_management_military_registration) + all_summonses.count_mobilization))::numeric)) AS percent_mobilization
FROM summonses_list.all_summonses;
"""), where);
}
/**
* Create an aliased <code>summonses_list.view_all_summonses</code> table
* reference
*/
public ViewAllSummonses(String alias) {
this(DSL.name(alias), VIEW_ALL_SUMMONSES);
}
/**
* Create an aliased <code>summonses_list.view_all_summonses</code> table
* reference
*/
public ViewAllSummonses(Name alias) {
this(alias, VIEW_ALL_SUMMONSES);
}
/**
* Create a <code>summonses_list.view_all_summonses</code> table reference
*/
public ViewAllSummonses() {
this(DSL.name("view_all_summonses"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
}
@Override
public ViewAllSummonses as(String alias) {
return new ViewAllSummonses(DSL.name(alias), this);
}
@Override
public ViewAllSummonses as(Name alias) {
return new ViewAllSummonses(alias, this);
}
@Override
public ViewAllSummonses as(Table<?> alias) {
return new ViewAllSummonses(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ViewAllSummonses rename(String name) {
return new ViewAllSummonses(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ViewAllSummonses rename(Name name) {
return new ViewAllSummonses(name, null);
}
/**
* Rename this table
*/
@Override
public ViewAllSummonses rename(Table<?> name) {
return new ViewAllSummonses(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewAllSummonses where(Condition condition) {
return new ViewAllSummonses(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewAllSummonses where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewAllSummonses where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewAllSummonses where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewAllSummonses where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewAllSummonses where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewAllSummonses where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewAllSummonses where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewAllSummonses whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewAllSummonses whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,261 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
import java.math.BigDecimal;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.Name;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.ViewFormedSummonsesRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewFormedSummonses extends TableImpl<ViewFormedSummonsesRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>summonses_list.view_formed_summonses</code>
*/
public static final ViewFormedSummonses VIEW_FORMED_SUMMONSES = new ViewFormedSummonses();
/**
* The class holding records for this type
*/
@Override
public Class<ViewFormedSummonsesRecord> getRecordType() {
return ViewFormedSummonsesRecord.class;
}
/**
* The column
* <code>summonses_list.view_formed_summonses.formed_summonses_id</code>.
*/
public final TableField<ViewFormedSummonsesRecord, Long> FORMED_SUMMONSES_ID = createField(DSL.name("formed_summonses_id"), SQLDataType.BIGINT, this, "");
/**
* The column <code>summonses_list.view_formed_summonses.count_all</code>.
*/
public final TableField<ViewFormedSummonsesRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>summonses_list.view_formed_summonses.percent_formed</code>.
*/
public final TableField<ViewFormedSummonsesRecord, BigDecimal> PERCENT_FORMED = createField(DSL.name("percent_formed"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_formed_summonses.percent_signed</code>.
*/
public final TableField<ViewFormedSummonsesRecord, BigDecimal> PERCENT_SIGNED = createField(DSL.name("percent_signed"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_formed_summonses.percent_sent</code>.
*/
public final TableField<ViewFormedSummonsesRecord, BigDecimal> PERCENT_SENT = createField(DSL.name("percent_sent"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_formed_summonses.percent_delivered_on_hands</code>.
*/
public final TableField<ViewFormedSummonsesRecord, BigDecimal> PERCENT_DELIVERED_ON_HANDS = createField(DSL.name("percent_delivered_on_hands"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_formed_summonses.percent_delivered_by_letter</code>.
*/
public final TableField<ViewFormedSummonsesRecord, BigDecimal> PERCENT_DELIVERED_BY_LETTER = createField(DSL.name("percent_delivered_by_letter"), SQLDataType.NUMERIC, this, "");
private ViewFormedSummonses(Name alias, Table<ViewFormedSummonsesRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ViewFormedSummonses(Name alias, Table<ViewFormedSummonsesRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "view_formed_summonses" as SELECT formed_summonses.formed_summonses_id,
((((formed_summonses.count_formed + formed_summonses.count_signed) + formed_summonses.count_sent) + formed_summonses.count_delivered_on_hands) + formed_summonses.count_delivered_by_letter) AS count_all,
round((((formed_summonses.count_formed)::numeric * (100)::numeric) / (((((formed_summonses.count_formed + formed_summonses.count_signed) + formed_summonses.count_sent) + formed_summonses.count_delivered_on_hands) + formed_summonses.count_delivered_by_letter))::numeric)) AS percent_formed,
round((((formed_summonses.count_signed)::numeric * (100)::numeric) / (((((formed_summonses.count_formed + formed_summonses.count_signed) + formed_summonses.count_sent) + formed_summonses.count_delivered_on_hands) + formed_summonses.count_delivered_by_letter))::numeric)) AS percent_signed,
round((((formed_summonses.count_sent)::numeric * (100)::numeric) / (((((formed_summonses.count_formed + formed_summonses.count_signed) + formed_summonses.count_sent) + formed_summonses.count_delivered_on_hands) + formed_summonses.count_delivered_by_letter))::numeric)) AS percent_sent,
round((((formed_summonses.count_delivered_on_hands)::numeric * (100)::numeric) / (((((formed_summonses.count_formed + formed_summonses.count_signed) + formed_summonses.count_sent) + formed_summonses.count_delivered_on_hands) + formed_summonses.count_delivered_by_letter))::numeric)) AS percent_delivered_on_hands,
round((((formed_summonses.count_delivered_by_letter)::numeric * (100)::numeric) / (((((formed_summonses.count_formed + formed_summonses.count_signed) + formed_summonses.count_sent) + formed_summonses.count_delivered_on_hands) + formed_summonses.count_delivered_by_letter))::numeric)) AS percent_delivered_by_letter
FROM summonses_list.formed_summonses;
"""), where);
}
/**
* Create an aliased <code>summonses_list.view_formed_summonses</code> table
* reference
*/
public ViewFormedSummonses(String alias) {
this(DSL.name(alias), VIEW_FORMED_SUMMONSES);
}
/**
* Create an aliased <code>summonses_list.view_formed_summonses</code> table
* reference
*/
public ViewFormedSummonses(Name alias) {
this(alias, VIEW_FORMED_SUMMONSES);
}
/**
* Create a <code>summonses_list.view_formed_summonses</code> table
* reference
*/
public ViewFormedSummonses() {
this(DSL.name("view_formed_summonses"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
}
@Override
public ViewFormedSummonses as(String alias) {
return new ViewFormedSummonses(DSL.name(alias), this);
}
@Override
public ViewFormedSummonses as(Name alias) {
return new ViewFormedSummonses(alias, this);
}
@Override
public ViewFormedSummonses as(Table<?> alias) {
return new ViewFormedSummonses(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ViewFormedSummonses rename(String name) {
return new ViewFormedSummonses(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ViewFormedSummonses rename(Name name) {
return new ViewFormedSummonses(name, null);
}
/**
* Rename this table
*/
@Override
public ViewFormedSummonses rename(Table<?> name) {
return new ViewFormedSummonses(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewFormedSummonses where(Condition condition) {
return new ViewFormedSummonses(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewFormedSummonses where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewFormedSummonses where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewFormedSummonses where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewFormedSummonses where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewFormedSummonses where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewFormedSummonses where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewFormedSummonses where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewFormedSummonses whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewFormedSummonses whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,248 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
import java.math.BigDecimal;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.Name;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.ViewImpositionTmpMeasuresRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewImpositionTmpMeasures extends TableImpl<ViewImpositionTmpMeasuresRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>summonses_list.view_imposition_tmp_measures</code>
*/
public static final ViewImpositionTmpMeasures VIEW_IMPOSITION_TMP_MEASURES = new ViewImpositionTmpMeasures();
/**
* The class holding records for this type
*/
@Override
public Class<ViewImpositionTmpMeasuresRecord> getRecordType() {
return ViewImpositionTmpMeasuresRecord.class;
}
/**
* The column
* <code>summonses_list.view_imposition_tmp_measures.imposition_tmp_measures_id</code>.
*/
public final TableField<ViewImpositionTmpMeasuresRecord, Long> IMPOSITION_TMP_MEASURES_ID = createField(DSL.name("imposition_tmp_measures_id"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>summonses_list.view_imposition_tmp_measures.count_all</code>.
*/
public final TableField<ViewImpositionTmpMeasuresRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>summonses_list.view_imposition_tmp_measures.percent_for_sign</code>.
*/
public final TableField<ViewImpositionTmpMeasuresRecord, BigDecimal> PERCENT_FOR_SIGN = createField(DSL.name("percent_for_sign"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_imposition_tmp_measures.percent_apply</code>.
*/
public final TableField<ViewImpositionTmpMeasuresRecord, BigDecimal> PERCENT_APPLY = createField(DSL.name("percent_apply"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_imposition_tmp_measures.percent_enter</code>.
*/
public final TableField<ViewImpositionTmpMeasuresRecord, BigDecimal> PERCENT_ENTER = createField(DSL.name("percent_enter"), SQLDataType.NUMERIC, this, "");
private ViewImpositionTmpMeasures(Name alias, Table<ViewImpositionTmpMeasuresRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ViewImpositionTmpMeasures(Name alias, Table<ViewImpositionTmpMeasuresRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "view_imposition_tmp_measures" as SELECT imposition_tmp_measures.imposition_tmp_measures_id,
((imposition_tmp_measures.count_for_sign + imposition_tmp_measures.count_apply) + imposition_tmp_measures.count_enter) AS count_all,
round((((imposition_tmp_measures.count_for_sign)::numeric * (100)::numeric) / (((imposition_tmp_measures.count_for_sign + imposition_tmp_measures.count_apply) + imposition_tmp_measures.count_enter))::numeric)) AS percent_for_sign,
round((((imposition_tmp_measures.count_apply)::numeric * (100)::numeric) / (((imposition_tmp_measures.count_for_sign + imposition_tmp_measures.count_apply) + imposition_tmp_measures.count_enter))::numeric)) AS percent_apply,
round((((imposition_tmp_measures.count_enter)::numeric * (100)::numeric) / (((imposition_tmp_measures.count_for_sign + imposition_tmp_measures.count_apply) + imposition_tmp_measures.count_enter))::numeric)) AS percent_enter
FROM summonses_list.imposition_tmp_measures;
"""), where);
}
/**
* Create an aliased
* <code>summonses_list.view_imposition_tmp_measures</code> table reference
*/
public ViewImpositionTmpMeasures(String alias) {
this(DSL.name(alias), VIEW_IMPOSITION_TMP_MEASURES);
}
/**
* Create an aliased
* <code>summonses_list.view_imposition_tmp_measures</code> table reference
*/
public ViewImpositionTmpMeasures(Name alias) {
this(alias, VIEW_IMPOSITION_TMP_MEASURES);
}
/**
* Create a <code>summonses_list.view_imposition_tmp_measures</code> table
* reference
*/
public ViewImpositionTmpMeasures() {
this(DSL.name("view_imposition_tmp_measures"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
}
@Override
public ViewImpositionTmpMeasures as(String alias) {
return new ViewImpositionTmpMeasures(DSL.name(alias), this);
}
@Override
public ViewImpositionTmpMeasures as(Name alias) {
return new ViewImpositionTmpMeasures(alias, this);
}
@Override
public ViewImpositionTmpMeasures as(Table<?> alias) {
return new ViewImpositionTmpMeasures(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ViewImpositionTmpMeasures rename(String name) {
return new ViewImpositionTmpMeasures(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ViewImpositionTmpMeasures rename(Name name) {
return new ViewImpositionTmpMeasures(name, null);
}
/**
* Rename this table
*/
@Override
public ViewImpositionTmpMeasures rename(Table<?> name) {
return new ViewImpositionTmpMeasures(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewImpositionTmpMeasures where(Condition condition) {
return new ViewImpositionTmpMeasures(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewImpositionTmpMeasures where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewImpositionTmpMeasures where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewImpositionTmpMeasures where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewImpositionTmpMeasures where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewImpositionTmpMeasures where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewImpositionTmpMeasures where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewImpositionTmpMeasures where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewImpositionTmpMeasures whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewImpositionTmpMeasures whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,269 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
import java.math.BigDecimal;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.Name;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.ViewInfoSentToLkEpguRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewInfoSentToLkEpgu extends TableImpl<ViewInfoSentToLkEpguRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>summonses_list.view_info_sent_to_lk_epgu</code>
*/
public static final ViewInfoSentToLkEpgu VIEW_INFO_SENT_TO_LK_EPGU = new ViewInfoSentToLkEpgu();
/**
* The class holding records for this type
*/
@Override
public Class<ViewInfoSentToLkEpguRecord> getRecordType() {
return ViewInfoSentToLkEpguRecord.class;
}
/**
* The column
* <code>summonses_list.view_info_sent_to_lk_epgu.info_sent_to_lk_epgu_id</code>.
*/
public final TableField<ViewInfoSentToLkEpguRecord, Long> INFO_SENT_TO_LK_EPGU_ID = createField(DSL.name("info_sent_to_lk_epgu_id"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_status_formed</code>.
*/
public final TableField<ViewInfoSentToLkEpguRecord, BigDecimal> PERCENT_STATUS_FORMED = createField(DSL.name("percent_status_formed"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_status_not_formed</code>.
*/
public final TableField<ViewInfoSentToLkEpguRecord, BigDecimal> PERCENT_STATUS_NOT_FORMED = createField(DSL.name("percent_status_not_formed"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_sended</code>.
*/
public final TableField<ViewInfoSentToLkEpguRecord, BigDecimal> PERCENT_SENDED = createField(DSL.name("percent_sended"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_delivered</code>.
*/
public final TableField<ViewInfoSentToLkEpguRecord, BigDecimal> PERCENT_DELIVERED = createField(DSL.name("percent_delivered"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_error</code>.
*/
public final TableField<ViewInfoSentToLkEpguRecord, BigDecimal> PERCENT_ERROR = createField(DSL.name("percent_error"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_viewed</code>.
*/
public final TableField<ViewInfoSentToLkEpguRecord, BigDecimal> PERCENT_VIEWED = createField(DSL.name("percent_viewed"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_not_viewed</code>.
*/
public final TableField<ViewInfoSentToLkEpguRecord, BigDecimal> PERCENT_NOT_VIEWED = createField(DSL.name("percent_not_viewed"), SQLDataType.NUMERIC, this, "");
private ViewInfoSentToLkEpgu(Name alias, Table<ViewInfoSentToLkEpguRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ViewInfoSentToLkEpgu(Name alias, Table<ViewInfoSentToLkEpguRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "view_info_sent_to_lk_epgu" as SELECT info_sent_to_lk_epgu.info_sent_to_lk_epgu_id,
round((((info_sent_to_lk_epgu.count_status_formed)::numeric * (100)::numeric) / ((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric)) AS percent_status_formed,
round((((info_sent_to_lk_epgu.count_status_not_formed)::numeric * (100)::numeric) / ((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric)) AS percent_status_not_formed,
round((((info_sent_to_lk_epgu.count_sended)::numeric * (100)::numeric) / ((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric)) AS percent_sended,
round((((info_sent_to_lk_epgu.count_delivered)::numeric * (100)::numeric) / ((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric)) AS percent_delivered,
round((((info_sent_to_lk_epgu.count_error)::numeric * (100)::numeric) / ((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric)) AS percent_error,
round((((info_sent_to_lk_epgu.count_viewed)::numeric * (100)::numeric) / ((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric)) AS percent_viewed,
round((((info_sent_to_lk_epgu.count_not_viewed)::numeric * (100)::numeric) / ((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric)) AS percent_not_viewed
FROM summonses_list.info_sent_to_lk_epgu;
"""), where);
}
/**
* Create an aliased <code>summonses_list.view_info_sent_to_lk_epgu</code>
* table reference
*/
public ViewInfoSentToLkEpgu(String alias) {
this(DSL.name(alias), VIEW_INFO_SENT_TO_LK_EPGU);
}
/**
* Create an aliased <code>summonses_list.view_info_sent_to_lk_epgu</code>
* table reference
*/
public ViewInfoSentToLkEpgu(Name alias) {
this(alias, VIEW_INFO_SENT_TO_LK_EPGU);
}
/**
* Create a <code>summonses_list.view_info_sent_to_lk_epgu</code> table
* reference
*/
public ViewInfoSentToLkEpgu() {
this(DSL.name("view_info_sent_to_lk_epgu"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
}
@Override
public ViewInfoSentToLkEpgu as(String alias) {
return new ViewInfoSentToLkEpgu(DSL.name(alias), this);
}
@Override
public ViewInfoSentToLkEpgu as(Name alias) {
return new ViewInfoSentToLkEpgu(alias, this);
}
@Override
public ViewInfoSentToLkEpgu as(Table<?> alias) {
return new ViewInfoSentToLkEpgu(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ViewInfoSentToLkEpgu rename(String name) {
return new ViewInfoSentToLkEpgu(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ViewInfoSentToLkEpgu rename(Name name) {
return new ViewInfoSentToLkEpgu(name, null);
}
/**
* Rename this table
*/
@Override
public ViewInfoSentToLkEpgu rename(Table<?> name) {
return new ViewInfoSentToLkEpgu(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewInfoSentToLkEpgu where(Condition condition) {
return new ViewInfoSentToLkEpgu(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewInfoSentToLkEpgu where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewInfoSentToLkEpgu where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewInfoSentToLkEpgu where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewInfoSentToLkEpgu where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewInfoSentToLkEpgu where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewInfoSentToLkEpgu where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewInfoSentToLkEpgu where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewInfoSentToLkEpgu whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewInfoSentToLkEpgu whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,255 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
import java.math.BigDecimal;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.Name;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.ViewRecruitOfficeVisitRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewRecruitOfficeVisit extends TableImpl<ViewRecruitOfficeVisitRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>summonses_list.view_recruit_office_visit</code>
*/
public static final ViewRecruitOfficeVisit VIEW_RECRUIT_OFFICE_VISIT = new ViewRecruitOfficeVisit();
/**
* The class holding records for this type
*/
@Override
public Class<ViewRecruitOfficeVisitRecord> getRecordType() {
return ViewRecruitOfficeVisitRecord.class;
}
/**
* The column
* <code>summonses_list.view_recruit_office_visit.recruit_office_visit_id</code>.
*/
public final TableField<ViewRecruitOfficeVisitRecord, Long> RECRUIT_OFFICE_VISIT_ID = createField(DSL.name("recruit_office_visit_id"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>summonses_list.view_recruit_office_visit.count_all</code>.
*/
public final TableField<ViewRecruitOfficeVisitRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>summonses_list.view_recruit_office_visit.percent_visit</code>.
*/
public final TableField<ViewRecruitOfficeVisitRecord, BigDecimal> PERCENT_VISIT = createField(DSL.name("percent_visit"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_recruit_office_visit.percent_not_visit</code>.
*/
public final TableField<ViewRecruitOfficeVisitRecord, BigDecimal> PERCENT_NOT_VISIT = createField(DSL.name("percent_not_visit"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_recruit_office_visit.percent_valid_reason</code>.
*/
public final TableField<ViewRecruitOfficeVisitRecord, BigDecimal> PERCENT_VALID_REASON = createField(DSL.name("percent_valid_reason"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_recruit_office_visit.percent_not_need</code>.
*/
public final TableField<ViewRecruitOfficeVisitRecord, BigDecimal> PERCENT_NOT_NEED = createField(DSL.name("percent_not_need"), SQLDataType.NUMERIC, this, "");
private ViewRecruitOfficeVisit(Name alias, Table<ViewRecruitOfficeVisitRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ViewRecruitOfficeVisit(Name alias, Table<ViewRecruitOfficeVisitRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "view_recruit_office_visit" as SELECT recruit_office_visit.recruit_office_visit_id,
(((recruit_office_visit.count_visit + recruit_office_visit.count_not_visit) + recruit_office_visit.count_valid_reason) + recruit_office_visit.count_not_need) AS count_all,
round((((recruit_office_visit.count_visit)::numeric * (100)::numeric) / ((((recruit_office_visit.count_visit + recruit_office_visit.count_not_visit) + recruit_office_visit.count_valid_reason) + recruit_office_visit.count_not_need))::numeric)) AS percent_visit,
round((((recruit_office_visit.count_not_visit)::numeric * (100)::numeric) / ((((recruit_office_visit.count_visit + recruit_office_visit.count_not_visit) + recruit_office_visit.count_valid_reason) + recruit_office_visit.count_not_need))::numeric)) AS percent_not_visit,
round((((recruit_office_visit.count_valid_reason)::numeric * (100)::numeric) / ((((recruit_office_visit.count_visit + recruit_office_visit.count_not_visit) + recruit_office_visit.count_valid_reason) + recruit_office_visit.count_not_need))::numeric)) AS percent_valid_reason,
round((((recruit_office_visit.count_not_need)::numeric * (100)::numeric) / ((((recruit_office_visit.count_visit + recruit_office_visit.count_not_visit) + recruit_office_visit.count_valid_reason) + recruit_office_visit.count_not_need))::numeric)) AS percent_not_need
FROM summonses_list.recruit_office_visit;
"""), where);
}
/**
* Create an aliased <code>summonses_list.view_recruit_office_visit</code>
* table reference
*/
public ViewRecruitOfficeVisit(String alias) {
this(DSL.name(alias), VIEW_RECRUIT_OFFICE_VISIT);
}
/**
* Create an aliased <code>summonses_list.view_recruit_office_visit</code>
* table reference
*/
public ViewRecruitOfficeVisit(Name alias) {
this(alias, VIEW_RECRUIT_OFFICE_VISIT);
}
/**
* Create a <code>summonses_list.view_recruit_office_visit</code> table
* reference
*/
public ViewRecruitOfficeVisit() {
this(DSL.name("view_recruit_office_visit"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
}
@Override
public ViewRecruitOfficeVisit as(String alias) {
return new ViewRecruitOfficeVisit(DSL.name(alias), this);
}
@Override
public ViewRecruitOfficeVisit as(Name alias) {
return new ViewRecruitOfficeVisit(alias, this);
}
@Override
public ViewRecruitOfficeVisit as(Table<?> alias) {
return new ViewRecruitOfficeVisit(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ViewRecruitOfficeVisit rename(String name) {
return new ViewRecruitOfficeVisit(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ViewRecruitOfficeVisit rename(Name name) {
return new ViewRecruitOfficeVisit(name, null);
}
/**
* Rename this table
*/
@Override
public ViewRecruitOfficeVisit rename(Table<?> name) {
return new ViewRecruitOfficeVisit(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRecruitOfficeVisit where(Condition condition) {
return new ViewRecruitOfficeVisit(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRecruitOfficeVisit where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRecruitOfficeVisit where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRecruitOfficeVisit where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewRecruitOfficeVisit where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewRecruitOfficeVisit where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewRecruitOfficeVisit where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewRecruitOfficeVisit where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRecruitOfficeVisit whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRecruitOfficeVisit whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,255 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
import java.math.BigDecimal;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.Name;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.ViewRemoveTmpMeasuresRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewRemoveTmpMeasures extends TableImpl<ViewRemoveTmpMeasuresRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>summonses_list.view_remove_tmp_measures</code>
*/
public static final ViewRemoveTmpMeasures VIEW_REMOVE_TMP_MEASURES = new ViewRemoveTmpMeasures();
/**
* The class holding records for this type
*/
@Override
public Class<ViewRemoveTmpMeasuresRecord> getRecordType() {
return ViewRemoveTmpMeasuresRecord.class;
}
/**
* The column
* <code>summonses_list.view_remove_tmp_measures.remove_tmp_measures_id</code>.
*/
public final TableField<ViewRemoveTmpMeasuresRecord, Long> REMOVE_TMP_MEASURES_ID = createField(DSL.name("remove_tmp_measures_id"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>summonses_list.view_remove_tmp_measures.count_all</code>.
*/
public final TableField<ViewRemoveTmpMeasuresRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>summonses_list.view_remove_tmp_measures.percent_formed</code>.
*/
public final TableField<ViewRemoveTmpMeasuresRecord, BigDecimal> PERCENT_FORMED = createField(DSL.name("percent_formed"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_remove_tmp_measures.percent_for_sign</code>.
*/
public final TableField<ViewRemoveTmpMeasuresRecord, BigDecimal> PERCENT_FOR_SIGN = createField(DSL.name("percent_for_sign"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_remove_tmp_measures.percent_signed</code>.
*/
public final TableField<ViewRemoveTmpMeasuresRecord, BigDecimal> PERCENT_SIGNED = createField(DSL.name("percent_signed"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>summonses_list.view_remove_tmp_measures.percent_removed</code>.
*/
public final TableField<ViewRemoveTmpMeasuresRecord, BigDecimal> PERCENT_REMOVED = createField(DSL.name("percent_removed"), SQLDataType.NUMERIC, this, "");
private ViewRemoveTmpMeasures(Name alias, Table<ViewRemoveTmpMeasuresRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ViewRemoveTmpMeasures(Name alias, Table<ViewRemoveTmpMeasuresRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "view_remove_tmp_measures" as SELECT remove_tmp_measures.remove_tmp_measures_id,
(((remove_tmp_measures.count_formed + remove_tmp_measures.count_for_sign) + remove_tmp_measures.count_signed) + remove_tmp_measures.count_removed) AS count_all,
round((((remove_tmp_measures.count_formed)::numeric * (100)::numeric) / ((((remove_tmp_measures.count_formed + remove_tmp_measures.count_for_sign) + remove_tmp_measures.count_signed) + remove_tmp_measures.count_removed))::numeric)) AS percent_formed,
round((((remove_tmp_measures.count_for_sign)::numeric * (100)::numeric) / ((((remove_tmp_measures.count_formed + remove_tmp_measures.count_for_sign) + remove_tmp_measures.count_signed) + remove_tmp_measures.count_removed))::numeric)) AS percent_for_sign,
round((((remove_tmp_measures.count_signed)::numeric * (100)::numeric) / ((((remove_tmp_measures.count_formed + remove_tmp_measures.count_for_sign) + remove_tmp_measures.count_signed) + remove_tmp_measures.count_removed))::numeric)) AS percent_signed,
round((((remove_tmp_measures.count_removed)::numeric * (100)::numeric) / ((((remove_tmp_measures.count_formed + remove_tmp_measures.count_for_sign) + remove_tmp_measures.count_signed) + remove_tmp_measures.count_removed))::numeric)) AS percent_removed
FROM summonses_list.remove_tmp_measures;
"""), where);
}
/**
* Create an aliased <code>summonses_list.view_remove_tmp_measures</code>
* table reference
*/
public ViewRemoveTmpMeasures(String alias) {
this(DSL.name(alias), VIEW_REMOVE_TMP_MEASURES);
}
/**
* Create an aliased <code>summonses_list.view_remove_tmp_measures</code>
* table reference
*/
public ViewRemoveTmpMeasures(Name alias) {
this(alias, VIEW_REMOVE_TMP_MEASURES);
}
/**
* Create a <code>summonses_list.view_remove_tmp_measures</code> table
* reference
*/
public ViewRemoveTmpMeasures() {
this(DSL.name("view_remove_tmp_measures"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
}
@Override
public ViewRemoveTmpMeasures as(String alias) {
return new ViewRemoveTmpMeasures(DSL.name(alias), this);
}
@Override
public ViewRemoveTmpMeasures as(Name alias) {
return new ViewRemoveTmpMeasures(alias, this);
}
@Override
public ViewRemoveTmpMeasures as(Table<?> alias) {
return new ViewRemoveTmpMeasures(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ViewRemoveTmpMeasures rename(String name) {
return new ViewRemoveTmpMeasures(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ViewRemoveTmpMeasures rename(Name name) {
return new ViewRemoveTmpMeasures(name, null);
}
/**
* Rename this table
*/
@Override
public ViewRemoveTmpMeasures rename(Table<?> name) {
return new ViewRemoveTmpMeasures(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRemoveTmpMeasures where(Condition condition) {
return new ViewRemoveTmpMeasures(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRemoveTmpMeasures where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRemoveTmpMeasures where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRemoveTmpMeasures where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewRemoveTmpMeasures where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewRemoveTmpMeasures where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewRemoveTmpMeasures where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewRemoveTmpMeasures where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRemoveTmpMeasures whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRemoveTmpMeasures whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,184 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
import java.sql.Date;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.AllSummonses;
/**
* Реестр повесток. Список всех повесток
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AllSummonsesRecord extends UpdatableRecordImpl<AllSummonsesRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>summonses_list.all_summonses.all_summonses_id</code>.
*/
public void setAllSummonsesId(Long value) {
set(0, value);
}
/**
* Getter for <code>summonses_list.all_summonses.all_summonses_id</code>.
*/
public Long getAllSummonsesId() {
return (Long) get(0);
}
/**
* Setter for <code>summonses_list.all_summonses.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for <code>summonses_list.all_summonses.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for <code>summonses_list.all_summonses.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for <code>summonses_list.all_summonses.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for <code>summonses_list.all_summonses.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for <code>summonses_list.all_summonses.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>summonses_list.all_summonses.count_init_registration</code>. в
* рамках первоначальной постановки на ВУ
*/
public void setCountInitRegistration(Long value) {
set(4, value);
}
/**
* Getter for
* <code>summonses_list.all_summonses.count_init_registration</code>. в
* рамках первоначальной постановки на ВУ
*/
public Long getCountInitRegistration() {
return (Long) get(4);
}
/**
* Setter for <code>summonses_list.all_summonses.count_draft_company</code>.
* в рамках призывной кампании
*/
public void setCountDraftCompany(Long value) {
set(5, value);
}
/**
* Getter for <code>summonses_list.all_summonses.count_draft_company</code>.
* в рамках призывной кампании
*/
public Long getCountDraftCompany() {
return (Long) get(5);
}
/**
* Setter for
* <code>summonses_list.all_summonses.count_management_military_registration</code>.
* в рамках ведения воинского учета
*/
public void setCountManagementMilitaryRegistration(Long value) {
set(6, value);
}
/**
* Getter for
* <code>summonses_list.all_summonses.count_management_military_registration</code>.
* в рамках ведения воинского учета
*/
public Long getCountManagementMilitaryRegistration() {
return (Long) get(6);
}
/**
* Setter for <code>summonses_list.all_summonses.count_mobilization</code>.
* в рамках мобилизации
*/
public void setCountMobilization(Long value) {
set(7, value);
}
/**
* Getter for <code>summonses_list.all_summonses.count_mobilization</code>.
* в рамках мобилизации
*/
public Long getCountMobilization() {
return (Long) get(7);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached AllSummonsesRecord
*/
public AllSummonsesRecord() {
super(AllSummonses.ALL_SUMMONSES);
}
/**
* Create a detached, initialised AllSummonsesRecord
*/
public AllSummonsesRecord(Long allSummonsesId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countInitRegistration, Long countDraftCompany, Long countManagementMilitaryRegistration, Long countMobilization) {
super(AllSummonses.ALL_SUMMONSES);
setAllSummonsesId(allSummonsesId);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setCountInitRegistration(countInitRegistration);
setCountDraftCompany(countDraftCompany);
setCountManagementMilitaryRegistration(countManagementMilitaryRegistration);
setCountMobilization(countMobilization);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,148 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
import java.sql.Date;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.DownloadForPrint;
/**
* Реестр повесток. Отправка уведомлений в ЛК на ЕПГУ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DownloadForPrintRecord extends UpdatableRecordImpl<DownloadForPrintRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>summonses_list.download_for_print.download_for_print_id</code>.
*/
public void setDownloadForPrintId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>summonses_list.download_for_print.download_for_print_id</code>.
*/
public Long getDownloadForPrintId() {
return (Long) get(0);
}
/**
* Setter for <code>summonses_list.download_for_print.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for <code>summonses_list.download_for_print.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for <code>summonses_list.download_for_print.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for <code>summonses_list.download_for_print.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for <code>summonses_list.download_for_print.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for <code>summonses_list.download_for_print.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>summonses_list.download_for_print.summonses_reason_id</code>.
*/
public void setSummonsesReasonId(Long value) {
set(4, value);
}
/**
* Getter for
* <code>summonses_list.download_for_print.summonses_reason_id</code>.
*/
public Long getSummonsesReasonId() {
return (Long) get(4);
}
/**
* Setter for
* <code>summonses_list.download_for_print.count_donloaded</code>.
*/
public void setCountDonloaded(Long value) {
set(5, value);
}
/**
* Getter for
* <code>summonses_list.download_for_print.count_donloaded</code>.
*/
public Long getCountDonloaded() {
return (Long) get(5);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached DownloadForPrintRecord
*/
public DownloadForPrintRecord() {
super(DownloadForPrint.DOWNLOAD_FOR_PRINT);
}
/**
* Create a detached, initialised DownloadForPrintRecord
*/
public DownloadForPrintRecord(Long downloadForPrintId, String recruitmentId, Timestamp updateDate, Date infoDate, Long summonsesReasonId, Long countDonloaded) {
super(DownloadForPrint.DOWNLOAD_FOR_PRINT);
setDownloadForPrintId(downloadForPrintId);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setSummonsesReasonId(summonsesReasonId);
setCountDonloaded(countDonloaded);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,220 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
import java.sql.Date;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.FormedSummonses;
/**
* Реестр повесток. Количество сформированных повесток
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class FormedSummonsesRecord extends UpdatableRecordImpl<FormedSummonsesRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>summonses_list.formed_summonses.formed_summonses_id</code>.
*/
public void setFormedSummonsesId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>summonses_list.formed_summonses.formed_summonses_id</code>.
*/
public Long getFormedSummonsesId() {
return (Long) get(0);
}
/**
* Setter for <code>summonses_list.formed_summonses.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for <code>summonses_list.formed_summonses.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for <code>summonses_list.formed_summonses.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for <code>summonses_list.formed_summonses.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for <code>summonses_list.formed_summonses.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for <code>summonses_list.formed_summonses.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>summonses_list.formed_summonses.summonses_reason_id</code>.
*/
public void setSummonsesReasonId(Long value) {
set(4, value);
}
/**
* Getter for
* <code>summonses_list.formed_summonses.summonses_reason_id</code>.
*/
public Long getSummonsesReasonId() {
return (Long) get(4);
}
/**
* Setter for <code>summonses_list.formed_summonses.count_formed</code>.
* сформировано
*/
public void setCountFormed(Long value) {
set(5, value);
}
/**
* Getter for <code>summonses_list.formed_summonses.count_formed</code>.
* сформировано
*/
public Long getCountFormed() {
return (Long) get(5);
}
/**
* Setter for <code>summonses_list.formed_summonses.count_signed</code>.
* подписано
*/
public void setCountSigned(Long value) {
set(6, value);
}
/**
* Getter for <code>summonses_list.formed_summonses.count_signed</code>.
* подписано
*/
public Long getCountSigned() {
return (Long) get(6);
}
/**
* Setter for <code>summonses_list.formed_summonses.count_sent</code>.
* направлено
*/
public void setCountSent(Long value) {
set(7, value);
}
/**
* Getter for <code>summonses_list.formed_summonses.count_sent</code>.
* направлено
*/
public Long getCountSent() {
return (Long) get(7);
}
/**
* Setter for
* <code>summonses_list.formed_summonses.count_delivered_on_hands</code>.
* доставлено нарочно
*/
public void setCountDeliveredOnHands(Long value) {
set(8, value);
}
/**
* Getter for
* <code>summonses_list.formed_summonses.count_delivered_on_hands</code>.
* доставлено нарочно
*/
public Long getCountDeliveredOnHands() {
return (Long) get(8);
}
/**
* Setter for
* <code>summonses_list.formed_summonses.count_delivered_by_letter</code>.
* доставлено заказным письмом
*/
public void setCountDeliveredByLetter(Long value) {
set(9, value);
}
/**
* Getter for
* <code>summonses_list.formed_summonses.count_delivered_by_letter</code>.
* доставлено заказным письмом
*/
public Long getCountDeliveredByLetter() {
return (Long) get(9);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached FormedSummonsesRecord
*/
public FormedSummonsesRecord() {
super(FormedSummonses.FORMED_SUMMONSES);
}
/**
* Create a detached, initialised FormedSummonsesRecord
*/
public FormedSummonsesRecord(Long formedSummonsesId, String recruitmentId, Timestamp updateDate, Date infoDate, Long summonsesReasonId, Long countFormed, Long countSigned, Long countSent, Long countDeliveredOnHands, Long countDeliveredByLetter) {
super(FormedSummonses.FORMED_SUMMONSES);
setFormedSummonsesId(formedSummonsesId);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setSummonsesReasonId(summonsesReasonId);
setCountFormed(countFormed);
setCountSigned(countSigned);
setCountSent(countSent);
setCountDeliveredOnHands(countDeliveredOnHands);
setCountDeliveredByLetter(countDeliveredByLetter);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,192 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
import java.sql.Date;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ImpositionTmpMeasures;
/**
* Реестр повесток. Решение о принятии временных мер
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ImpositionTmpMeasuresRecord extends UpdatableRecordImpl<ImpositionTmpMeasuresRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>summonses_list.imposition_tmp_measures.imposition_tmp_measures_id</code>.
*/
public void setImpositionTmpMeasuresId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>summonses_list.imposition_tmp_measures.imposition_tmp_measures_id</code>.
*/
public Long getImpositionTmpMeasuresId() {
return (Long) get(0);
}
/**
* Setter for
* <code>summonses_list.imposition_tmp_measures.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for
* <code>summonses_list.imposition_tmp_measures.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for
* <code>summonses_list.imposition_tmp_measures.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for
* <code>summonses_list.imposition_tmp_measures.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for <code>summonses_list.imposition_tmp_measures.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for <code>summonses_list.imposition_tmp_measures.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>summonses_list.imposition_tmp_measures.summonses_reason_id</code>.
*/
public void setSummonsesReasonId(Long value) {
set(4, value);
}
/**
* Getter for
* <code>summonses_list.imposition_tmp_measures.summonses_reason_id</code>.
*/
public Long getSummonsesReasonId() {
return (Long) get(4);
}
/**
* Setter for
* <code>summonses_list.imposition_tmp_measures.count_for_sign</code>.
* доступно для подписания
*/
public void setCountForSign(Long value) {
set(5, value);
}
/**
* Getter for
* <code>summonses_list.imposition_tmp_measures.count_for_sign</code>.
* доступно для подписания
*/
public Long getCountForSign() {
return (Long) get(5);
}
/**
* Setter for
* <code>summonses_list.imposition_tmp_measures.count_apply</code>.
* применена мера
*/
public void setCountApply(Long value) {
set(6, value);
}
/**
* Getter for
* <code>summonses_list.imposition_tmp_measures.count_apply</code>.
* применена мера
*/
public Long getCountApply() {
return (Long) get(6);
}
/**
* Setter for
* <code>summonses_list.imposition_tmp_measures.count_enter</code>. введлена
* мера
*/
public void setCountEnter(Long value) {
set(7, value);
}
/**
* Getter for
* <code>summonses_list.imposition_tmp_measures.count_enter</code>. введлена
* мера
*/
public Long getCountEnter() {
return (Long) get(7);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ImpositionTmpMeasuresRecord
*/
public ImpositionTmpMeasuresRecord() {
super(ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES);
}
/**
* Create a detached, initialised ImpositionTmpMeasuresRecord
*/
public ImpositionTmpMeasuresRecord(Long impositionTmpMeasuresId, String recruitmentId, Timestamp updateDate, Date infoDate, Long summonsesReasonId, Long countForSign, Long countApply, Long countEnter) {
super(ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES);
setImpositionTmpMeasuresId(impositionTmpMeasuresId);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setSummonsesReasonId(summonsesReasonId);
setCountForSign(countForSign);
setCountApply(countApply);
setCountEnter(countEnter);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,246 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
import java.sql.Date;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.InfoSentToLkEpgu;
/**
* Реестр повесток. Отправка уведомлений в ЛК на ЕПГУ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class InfoSentToLkEpguRecord extends UpdatableRecordImpl<InfoSentToLkEpguRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>summonses_list.info_sent_to_lk_epgu.info_sent_to_lk_epgu_id</code>.
*/
public void setInfoSentToLkEpguId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>summonses_list.info_sent_to_lk_epgu.info_sent_to_lk_epgu_id</code>.
*/
public Long getInfoSentToLkEpguId() {
return (Long) get(0);
}
/**
* Setter for
* <code>summonses_list.info_sent_to_lk_epgu.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for
* <code>summonses_list.info_sent_to_lk_epgu.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for <code>summonses_list.info_sent_to_lk_epgu.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for <code>summonses_list.info_sent_to_lk_epgu.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for <code>summonses_list.info_sent_to_lk_epgu.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for <code>summonses_list.info_sent_to_lk_epgu.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>summonses_list.info_sent_to_lk_epgu.summonses_reason_id</code>.
*/
public void setSummonsesReasonId(Long value) {
set(4, value);
}
/**
* Getter for
* <code>summonses_list.info_sent_to_lk_epgu.summonses_reason_id</code>.
*/
public Long getSummonsesReasonId() {
return (Long) get(4);
}
/**
* Setter for
* <code>summonses_list.info_sent_to_lk_epgu.count_status_formed</code>.
*/
public void setCountStatusFormed(Long value) {
set(5, value);
}
/**
* Getter for
* <code>summonses_list.info_sent_to_lk_epgu.count_status_formed</code>.
*/
public Long getCountStatusFormed() {
return (Long) get(5);
}
/**
* Setter for <code>summonses_list.info_sent_to_lk_epgu.count_sended</code>.
*/
public void setCountSended(Long value) {
set(6, value);
}
/**
* Getter for <code>summonses_list.info_sent_to_lk_epgu.count_sended</code>.
*/
public Long getCountSended() {
return (Long) get(6);
}
/**
* Setter for
* <code>summonses_list.info_sent_to_lk_epgu.count_delivered</code>.
*/
public void setCountDelivered(Long value) {
set(7, value);
}
/**
* Getter for
* <code>summonses_list.info_sent_to_lk_epgu.count_delivered</code>.
*/
public Long getCountDelivered() {
return (Long) get(7);
}
/**
* Setter for <code>summonses_list.info_sent_to_lk_epgu.count_error</code>.
*/
public void setCountError(Long value) {
set(8, value);
}
/**
* Getter for <code>summonses_list.info_sent_to_lk_epgu.count_error</code>.
*/
public Long getCountError() {
return (Long) get(8);
}
/**
* Setter for <code>summonses_list.info_sent_to_lk_epgu.count_viewed</code>.
*/
public void setCountViewed(Long value) {
set(9, value);
}
/**
* Getter for <code>summonses_list.info_sent_to_lk_epgu.count_viewed</code>.
*/
public Long getCountViewed() {
return (Long) get(9);
}
/**
* Setter for
* <code>summonses_list.info_sent_to_lk_epgu.count_not_viewed</code>.
*/
public void setCountNotViewed(Long value) {
set(10, value);
}
/**
* Getter for
* <code>summonses_list.info_sent_to_lk_epgu.count_not_viewed</code>.
*/
public Long getCountNotViewed() {
return (Long) get(10);
}
/**
* Setter for
* <code>summonses_list.info_sent_to_lk_epgu.count_status_not_formed</code>.
*/
public void setCountStatusNotFormed(Long value) {
set(11, value);
}
/**
* Getter for
* <code>summonses_list.info_sent_to_lk_epgu.count_status_not_formed</code>.
*/
public Long getCountStatusNotFormed() {
return (Long) get(11);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached InfoSentToLkEpguRecord
*/
public InfoSentToLkEpguRecord() {
super(InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU);
}
/**
* Create a detached, initialised InfoSentToLkEpguRecord
*/
public InfoSentToLkEpguRecord(Long infoSentToLkEpguId, String recruitmentId, Timestamp updateDate, Date infoDate, Long summonsesReasonId, Long countStatusFormed, Long countSended, Long countDelivered, Long countError, Long countViewed, Long countNotViewed, Long countStatusNotFormed) {
super(InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU);
setInfoSentToLkEpguId(infoSentToLkEpguId);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setSummonsesReasonId(summonsesReasonId);
setCountStatusFormed(countStatusFormed);
setCountSended(countSended);
setCountDelivered(countDelivered);
setCountError(countError);
setCountViewed(countViewed);
setCountNotViewed(countNotViewed);
setCountStatusNotFormed(countStatusNotFormed);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,207 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
import java.sql.Date;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RecruitOfficeVisit;
/**
* Реестр повесток. Явка в военный комиссариат
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RecruitOfficeVisitRecord extends UpdatableRecordImpl<RecruitOfficeVisitRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>summonses_list.recruit_office_visit.recruit_office_visit_id</code>.
*/
public void setRecruitOfficeVisitId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>summonses_list.recruit_office_visit.recruit_office_visit_id</code>.
*/
public Long getRecruitOfficeVisitId() {
return (Long) get(0);
}
/**
* Setter for
* <code>summonses_list.recruit_office_visit.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for
* <code>summonses_list.recruit_office_visit.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for <code>summonses_list.recruit_office_visit.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for <code>summonses_list.recruit_office_visit.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for <code>summonses_list.recruit_office_visit.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for <code>summonses_list.recruit_office_visit.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>summonses_list.recruit_office_visit.summonses_reason_id</code>.
*/
public void setSummonsesReasonId(Long value) {
set(4, value);
}
/**
* Getter for
* <code>summonses_list.recruit_office_visit.summonses_reason_id</code>.
*/
public Long getSummonsesReasonId() {
return (Long) get(4);
}
/**
* Setter for <code>summonses_list.recruit_office_visit.count_visit</code>.
* явились
*/
public void setCountVisit(Long value) {
set(5, value);
}
/**
* Getter for <code>summonses_list.recruit_office_visit.count_visit</code>.
* явились
*/
public Long getCountVisit() {
return (Long) get(5);
}
/**
* Setter for
* <code>summonses_list.recruit_office_visit.count_not_visit</code>. не
* явились
*/
public void setCountNotVisit(Long value) {
set(6, value);
}
/**
* Getter for
* <code>summonses_list.recruit_office_visit.count_not_visit</code>. не
* явились
*/
public Long getCountNotVisit() {
return (Long) get(6);
}
/**
* Setter for
* <code>summonses_list.recruit_office_visit.count_valid_reason</code>. не
* явились по уважительной причине
*/
public void setCountValidReason(Long value) {
set(7, value);
}
/**
* Getter for
* <code>summonses_list.recruit_office_visit.count_valid_reason</code>. не
* явились по уважительной причине
*/
public Long getCountValidReason() {
return (Long) get(7);
}
/**
* Setter for
* <code>summonses_list.recruit_office_visit.count_not_need</code>. явка не
* требовалась
*/
public void setCountNotNeed(Long value) {
set(8, value);
}
/**
* Getter for
* <code>summonses_list.recruit_office_visit.count_not_need</code>. явка не
* требовалась
*/
public Long getCountNotNeed() {
return (Long) get(8);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached RecruitOfficeVisitRecord
*/
public RecruitOfficeVisitRecord() {
super(RecruitOfficeVisit.RECRUIT_OFFICE_VISIT);
}
/**
* Create a detached, initialised RecruitOfficeVisitRecord
*/
public RecruitOfficeVisitRecord(Long recruitOfficeVisitId, String recruitmentId, Timestamp updateDate, Date infoDate, Long summonsesReasonId, Long countVisit, Long countNotVisit, Long countValidReason, Long countNotNeed) {
super(RecruitOfficeVisit.RECRUIT_OFFICE_VISIT);
setRecruitOfficeVisitId(recruitOfficeVisitId);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setSummonsesReasonId(summonsesReasonId);
setCountVisit(countVisit);
setCountNotVisit(countNotVisit);
setCountValidReason(countValidReason);
setCountNotNeed(countNotNeed);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,203 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
import java.sql.Date;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RemoveTmpMeasures;
/**
* Реестр повесток. Решение о снятии временных мер
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RemoveTmpMeasuresRecord extends UpdatableRecordImpl<RemoveTmpMeasuresRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>summonses_list.remove_tmp_measures.remove_tmp_measures_id</code>.
*/
public void setRemoveTmpMeasuresId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>summonses_list.remove_tmp_measures.remove_tmp_measures_id</code>.
*/
public Long getRemoveTmpMeasuresId() {
return (Long) get(0);
}
/**
* Setter for
* <code>summonses_list.remove_tmp_measures.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for
* <code>summonses_list.remove_tmp_measures.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for <code>summonses_list.remove_tmp_measures.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for <code>summonses_list.remove_tmp_measures.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for <code>summonses_list.remove_tmp_measures.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for <code>summonses_list.remove_tmp_measures.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>summonses_list.remove_tmp_measures.summonses_reason_id</code>.
*/
public void setSummonsesReasonId(Long value) {
set(4, value);
}
/**
* Getter for
* <code>summonses_list.remove_tmp_measures.summonses_reason_id</code>.
*/
public Long getSummonsesReasonId() {
return (Long) get(4);
}
/**
* Setter for <code>summonses_list.remove_tmp_measures.count_formed</code>.
* сформировано решений
*/
public void setCountFormed(Long value) {
set(5, value);
}
/**
* Getter for <code>summonses_list.remove_tmp_measures.count_formed</code>.
* сформировано решений
*/
public Long getCountFormed() {
return (Long) get(5);
}
/**
* Setter for
* <code>summonses_list.remove_tmp_measures.count_for_sign</code>. доступно
* для подписания
*/
public void setCountForSign(Long value) {
set(6, value);
}
/**
* Getter for
* <code>summonses_list.remove_tmp_measures.count_for_sign</code>. доступно
* для подписания
*/
public Long getCountForSign() {
return (Long) get(6);
}
/**
* Setter for <code>summonses_list.remove_tmp_measures.count_signed</code>.
* подписано
*/
public void setCountSigned(Long value) {
set(7, value);
}
/**
* Getter for <code>summonses_list.remove_tmp_measures.count_signed</code>.
* подписано
*/
public Long getCountSigned() {
return (Long) get(7);
}
/**
* Setter for <code>summonses_list.remove_tmp_measures.count_removed</code>.
* снято временных мер
*/
public void setCountRemoved(Long value) {
set(8, value);
}
/**
* Getter for <code>summonses_list.remove_tmp_measures.count_removed</code>.
* снято временных мер
*/
public Long getCountRemoved() {
return (Long) get(8);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached RemoveTmpMeasuresRecord
*/
public RemoveTmpMeasuresRecord() {
super(RemoveTmpMeasures.REMOVE_TMP_MEASURES);
}
/**
* Create a detached, initialised RemoveTmpMeasuresRecord
*/
public RemoveTmpMeasuresRecord(Long removeTmpMeasuresId, String recruitmentId, Timestamp updateDate, Date infoDate, Long summonsesReasonId, Long countFormed, Long countForSign, Long countSigned, Long countRemoved) {
super(RemoveTmpMeasures.REMOVE_TMP_MEASURES);
setRemoveTmpMeasuresId(removeTmpMeasuresId);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setSummonsesReasonId(summonsesReasonId);
setCountFormed(countFormed);
setCountForSign(countForSign);
setCountSigned(countSigned);
setCountRemoved(countRemoved);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,117 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason;
/**
* Реестр повесток. Причины выдачи повестки
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class SummonsesReasonRecord extends UpdatableRecordImpl<SummonsesReasonRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>summonses_list.summonses_reason.summonses_reason_id</code>.
*/
public void setSummonsesReasonId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>summonses_list.summonses_reason.summonses_reason_id</code>.
*/
public Long getSummonsesReasonId() {
return (Long) get(0);
}
/**
* Setter for
* <code>summonses_list.summonses_reason.parent_summonses_reason_id</code>.
* родительская причина
*/
public void setParentSummonsesReasonId(Long value) {
set(1, value);
}
/**
* Getter for
* <code>summonses_list.summonses_reason.parent_summonses_reason_id</code>.
* родительская причина
*/
public Long getParentSummonsesReasonId() {
return (Long) get(1);
}
/**
* Setter for <code>summonses_list.summonses_reason.code</code>. код причины
*/
public void setCode(String value) {
set(2, value);
}
/**
* Getter for <code>summonses_list.summonses_reason.code</code>. код причины
*/
public String getCode() {
return (String) get(2);
}
/**
* Setter for <code>summonses_list.summonses_reason.name</code>.
* наименование причины
*/
public void setName(String value) {
set(3, value);
}
/**
* Getter for <code>summonses_list.summonses_reason.name</code>.
* наименование причины
*/
public String getName() {
return (String) get(3);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached SummonsesReasonRecord
*/
public SummonsesReasonRecord() {
super(SummonsesReason.SUMMONSES_REASON);
}
/**
* Create a detached, initialised SummonsesReasonRecord
*/
public SummonsesReasonRecord(Long summonsesReasonId, Long parentSummonsesReasonId, String code, String name) {
super(SummonsesReason.SUMMONSES_REASON);
setSummonsesReasonId(summonsesReasonId);
setParentSummonsesReasonId(parentSummonsesReasonId);
setCode(code);
setName(name);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,141 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
import java.math.BigDecimal;
import org.jooq.impl.TableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewAllSummonses;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewAllSummonsesRecord extends TableRecordImpl<ViewAllSummonsesRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>summonses_list.view_all_summonses.all_summonses_id</code>.
*/
public void setAllSummonsesId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>summonses_list.view_all_summonses.all_summonses_id</code>.
*/
public Long getAllSummonsesId() {
return (Long) get(0);
}
/**
* Setter for <code>summonses_list.view_all_summonses.count_all</code>.
*/
public void setCountAll(Long value) {
set(1, value);
}
/**
* Getter for <code>summonses_list.view_all_summonses.count_all</code>.
*/
public Long getCountAll() {
return (Long) get(1);
}
/**
* Setter for
* <code>summonses_list.view_all_summonses.percent_init_registration</code>.
*/
public void setPercentInitRegistration(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>summonses_list.view_all_summonses.percent_init_registration</code>.
*/
public BigDecimal getPercentInitRegistration() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>summonses_list.view_all_summonses.percent_draft_company</code>.
*/
public void setPercentDraftCompany(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>summonses_list.view_all_summonses.percent_draft_company</code>.
*/
public BigDecimal getPercentDraftCompany() {
return (BigDecimal) get(3);
}
/**
* Setter for
* <code>summonses_list.view_all_summonses.percent_management_military_registration</code>.
*/
public void setPercentManagementMilitaryRegistration(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>summonses_list.view_all_summonses.percent_management_military_registration</code>.
*/
public BigDecimal getPercentManagementMilitaryRegistration() {
return (BigDecimal) get(4);
}
/**
* Setter for
* <code>summonses_list.view_all_summonses.percent_mobilization</code>.
*/
public void setPercentMobilization(BigDecimal value) {
set(5, value);
}
/**
* Getter for
* <code>summonses_list.view_all_summonses.percent_mobilization</code>.
*/
public BigDecimal getPercentMobilization() {
return (BigDecimal) get(5);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ViewAllSummonsesRecord
*/
public ViewAllSummonsesRecord() {
super(ViewAllSummonses.VIEW_ALL_SUMMONSES);
}
/**
* Create a detached, initialised ViewAllSummonsesRecord
*/
public ViewAllSummonsesRecord(Long allSummonsesId, Long countAll, BigDecimal percentInitRegistration, BigDecimal percentDraftCompany, BigDecimal percentManagementMilitaryRegistration, BigDecimal percentMobilization) {
super(ViewAllSummonses.VIEW_ALL_SUMMONSES);
setAllSummonsesId(allSummonsesId);
setCountAll(countAll);
setPercentInitRegistration(percentInitRegistration);
setPercentDraftCompany(percentDraftCompany);
setPercentManagementMilitaryRegistration(percentManagementMilitaryRegistration);
setPercentMobilization(percentMobilization);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,158 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
import java.math.BigDecimal;
import org.jooq.impl.TableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewFormedSummonses;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewFormedSummonsesRecord extends TableRecordImpl<ViewFormedSummonsesRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>summonses_list.view_formed_summonses.formed_summonses_id</code>.
*/
public void setFormedSummonsesId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>summonses_list.view_formed_summonses.formed_summonses_id</code>.
*/
public Long getFormedSummonsesId() {
return (Long) get(0);
}
/**
* Setter for <code>summonses_list.view_formed_summonses.count_all</code>.
*/
public void setCountAll(Long value) {
set(1, value);
}
/**
* Getter for <code>summonses_list.view_formed_summonses.count_all</code>.
*/
public Long getCountAll() {
return (Long) get(1);
}
/**
* Setter for
* <code>summonses_list.view_formed_summonses.percent_formed</code>.
*/
public void setPercentFormed(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>summonses_list.view_formed_summonses.percent_formed</code>.
*/
public BigDecimal getPercentFormed() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>summonses_list.view_formed_summonses.percent_signed</code>.
*/
public void setPercentSigned(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>summonses_list.view_formed_summonses.percent_signed</code>.
*/
public BigDecimal getPercentSigned() {
return (BigDecimal) get(3);
}
/**
* Setter for
* <code>summonses_list.view_formed_summonses.percent_sent</code>.
*/
public void setPercentSent(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>summonses_list.view_formed_summonses.percent_sent</code>.
*/
public BigDecimal getPercentSent() {
return (BigDecimal) get(4);
}
/**
* Setter for
* <code>summonses_list.view_formed_summonses.percent_delivered_on_hands</code>.
*/
public void setPercentDeliveredOnHands(BigDecimal value) {
set(5, value);
}
/**
* Getter for
* <code>summonses_list.view_formed_summonses.percent_delivered_on_hands</code>.
*/
public BigDecimal getPercentDeliveredOnHands() {
return (BigDecimal) get(5);
}
/**
* Setter for
* <code>summonses_list.view_formed_summonses.percent_delivered_by_letter</code>.
*/
public void setPercentDeliveredByLetter(BigDecimal value) {
set(6, value);
}
/**
* Getter for
* <code>summonses_list.view_formed_summonses.percent_delivered_by_letter</code>.
*/
public BigDecimal getPercentDeliveredByLetter() {
return (BigDecimal) get(6);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ViewFormedSummonsesRecord
*/
public ViewFormedSummonsesRecord() {
super(ViewFormedSummonses.VIEW_FORMED_SUMMONSES);
}
/**
* Create a detached, initialised ViewFormedSummonsesRecord
*/
public ViewFormedSummonsesRecord(Long formedSummonsesId, Long countAll, BigDecimal percentFormed, BigDecimal percentSigned, BigDecimal percentSent, BigDecimal percentDeliveredOnHands, BigDecimal percentDeliveredByLetter) {
super(ViewFormedSummonses.VIEW_FORMED_SUMMONSES);
setFormedSummonsesId(formedSummonsesId);
setCountAll(countAll);
setPercentFormed(percentFormed);
setPercentSigned(percentSigned);
setPercentSent(percentSent);
setPercentDeliveredOnHands(percentDeliveredOnHands);
setPercentDeliveredByLetter(percentDeliveredByLetter);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,126 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
import java.math.BigDecimal;
import org.jooq.impl.TableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewImpositionTmpMeasures;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewImpositionTmpMeasuresRecord extends TableRecordImpl<ViewImpositionTmpMeasuresRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>summonses_list.view_imposition_tmp_measures.imposition_tmp_measures_id</code>.
*/
public void setImpositionTmpMeasuresId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>summonses_list.view_imposition_tmp_measures.imposition_tmp_measures_id</code>.
*/
public Long getImpositionTmpMeasuresId() {
return (Long) get(0);
}
/**
* Setter for
* <code>summonses_list.view_imposition_tmp_measures.count_all</code>.
*/
public void setCountAll(Long value) {
set(1, value);
}
/**
* Getter for
* <code>summonses_list.view_imposition_tmp_measures.count_all</code>.
*/
public Long getCountAll() {
return (Long) get(1);
}
/**
* Setter for
* <code>summonses_list.view_imposition_tmp_measures.percent_for_sign</code>.
*/
public void setPercentForSign(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>summonses_list.view_imposition_tmp_measures.percent_for_sign</code>.
*/
public BigDecimal getPercentForSign() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>summonses_list.view_imposition_tmp_measures.percent_apply</code>.
*/
public void setPercentApply(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>summonses_list.view_imposition_tmp_measures.percent_apply</code>.
*/
public BigDecimal getPercentApply() {
return (BigDecimal) get(3);
}
/**
* Setter for
* <code>summonses_list.view_imposition_tmp_measures.percent_enter</code>.
*/
public void setPercentEnter(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>summonses_list.view_imposition_tmp_measures.percent_enter</code>.
*/
public BigDecimal getPercentEnter() {
return (BigDecimal) get(4);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ViewImpositionTmpMeasuresRecord
*/
public ViewImpositionTmpMeasuresRecord() {
super(ViewImpositionTmpMeasures.VIEW_IMPOSITION_TMP_MEASURES);
}
/**
* Create a detached, initialised ViewImpositionTmpMeasuresRecord
*/
public ViewImpositionTmpMeasuresRecord(Long impositionTmpMeasuresId, Long countAll, BigDecimal percentForSign, BigDecimal percentApply, BigDecimal percentEnter) {
super(ViewImpositionTmpMeasures.VIEW_IMPOSITION_TMP_MEASURES);
setImpositionTmpMeasuresId(impositionTmpMeasuresId);
setCountAll(countAll);
setPercentForSign(percentForSign);
setPercentApply(percentApply);
setPercentEnter(percentEnter);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,177 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
import java.math.BigDecimal;
import org.jooq.impl.TableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewInfoSentToLkEpgu;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewInfoSentToLkEpguRecord extends TableRecordImpl<ViewInfoSentToLkEpguRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>summonses_list.view_info_sent_to_lk_epgu.info_sent_to_lk_epgu_id</code>.
*/
public void setInfoSentToLkEpguId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>summonses_list.view_info_sent_to_lk_epgu.info_sent_to_lk_epgu_id</code>.
*/
public Long getInfoSentToLkEpguId() {
return (Long) get(0);
}
/**
* Setter for
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_status_formed</code>.
*/
public void setPercentStatusFormed(BigDecimal value) {
set(1, value);
}
/**
* Getter for
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_status_formed</code>.
*/
public BigDecimal getPercentStatusFormed() {
return (BigDecimal) get(1);
}
/**
* Setter for
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_status_not_formed</code>.
*/
public void setPercentStatusNotFormed(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_status_not_formed</code>.
*/
public BigDecimal getPercentStatusNotFormed() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_sended</code>.
*/
public void setPercentSended(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_sended</code>.
*/
public BigDecimal getPercentSended() {
return (BigDecimal) get(3);
}
/**
* Setter for
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_delivered</code>.
*/
public void setPercentDelivered(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_delivered</code>.
*/
public BigDecimal getPercentDelivered() {
return (BigDecimal) get(4);
}
/**
* Setter for
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_error</code>.
*/
public void setPercentError(BigDecimal value) {
set(5, value);
}
/**
* Getter for
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_error</code>.
*/
public BigDecimal getPercentError() {
return (BigDecimal) get(5);
}
/**
* Setter for
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_viewed</code>.
*/
public void setPercentViewed(BigDecimal value) {
set(6, value);
}
/**
* Getter for
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_viewed</code>.
*/
public BigDecimal getPercentViewed() {
return (BigDecimal) get(6);
}
/**
* Setter for
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_not_viewed</code>.
*/
public void setPercentNotViewed(BigDecimal value) {
set(7, value);
}
/**
* Getter for
* <code>summonses_list.view_info_sent_to_lk_epgu.percent_not_viewed</code>.
*/
public BigDecimal getPercentNotViewed() {
return (BigDecimal) get(7);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ViewInfoSentToLkEpguRecord
*/
public ViewInfoSentToLkEpguRecord() {
super(ViewInfoSentToLkEpgu.VIEW_INFO_SENT_TO_LK_EPGU);
}
/**
* Create a detached, initialised ViewInfoSentToLkEpguRecord
*/
public ViewInfoSentToLkEpguRecord(Long infoSentToLkEpguId, BigDecimal percentStatusFormed, BigDecimal percentStatusNotFormed, BigDecimal percentSended, BigDecimal percentDelivered, BigDecimal percentError, BigDecimal percentViewed, BigDecimal percentNotViewed) {
super(ViewInfoSentToLkEpgu.VIEW_INFO_SENT_TO_LK_EPGU);
setInfoSentToLkEpguId(infoSentToLkEpguId);
setPercentStatusFormed(percentStatusFormed);
setPercentStatusNotFormed(percentStatusNotFormed);
setPercentSended(percentSended);
setPercentDelivered(percentDelivered);
setPercentError(percentError);
setPercentViewed(percentViewed);
setPercentNotViewed(percentNotViewed);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,143 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
import java.math.BigDecimal;
import org.jooq.impl.TableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewRecruitOfficeVisit;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewRecruitOfficeVisitRecord extends TableRecordImpl<ViewRecruitOfficeVisitRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>summonses_list.view_recruit_office_visit.recruit_office_visit_id</code>.
*/
public void setRecruitOfficeVisitId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>summonses_list.view_recruit_office_visit.recruit_office_visit_id</code>.
*/
public Long getRecruitOfficeVisitId() {
return (Long) get(0);
}
/**
* Setter for
* <code>summonses_list.view_recruit_office_visit.count_all</code>.
*/
public void setCountAll(Long value) {
set(1, value);
}
/**
* Getter for
* <code>summonses_list.view_recruit_office_visit.count_all</code>.
*/
public Long getCountAll() {
return (Long) get(1);
}
/**
* Setter for
* <code>summonses_list.view_recruit_office_visit.percent_visit</code>.
*/
public void setPercentVisit(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>summonses_list.view_recruit_office_visit.percent_visit</code>.
*/
public BigDecimal getPercentVisit() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>summonses_list.view_recruit_office_visit.percent_not_visit</code>.
*/
public void setPercentNotVisit(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>summonses_list.view_recruit_office_visit.percent_not_visit</code>.
*/
public BigDecimal getPercentNotVisit() {
return (BigDecimal) get(3);
}
/**
* Setter for
* <code>summonses_list.view_recruit_office_visit.percent_valid_reason</code>.
*/
public void setPercentValidReason(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>summonses_list.view_recruit_office_visit.percent_valid_reason</code>.
*/
public BigDecimal getPercentValidReason() {
return (BigDecimal) get(4);
}
/**
* Setter for
* <code>summonses_list.view_recruit_office_visit.percent_not_need</code>.
*/
public void setPercentNotNeed(BigDecimal value) {
set(5, value);
}
/**
* Getter for
* <code>summonses_list.view_recruit_office_visit.percent_not_need</code>.
*/
public BigDecimal getPercentNotNeed() {
return (BigDecimal) get(5);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ViewRecruitOfficeVisitRecord
*/
public ViewRecruitOfficeVisitRecord() {
super(ViewRecruitOfficeVisit.VIEW_RECRUIT_OFFICE_VISIT);
}
/**
* Create a detached, initialised ViewRecruitOfficeVisitRecord
*/
public ViewRecruitOfficeVisitRecord(Long recruitOfficeVisitId, Long countAll, BigDecimal percentVisit, BigDecimal percentNotVisit, BigDecimal percentValidReason, BigDecimal percentNotNeed) {
super(ViewRecruitOfficeVisit.VIEW_RECRUIT_OFFICE_VISIT);
setRecruitOfficeVisitId(recruitOfficeVisitId);
setCountAll(countAll);
setPercentVisit(percentVisit);
setPercentNotVisit(percentNotVisit);
setPercentValidReason(percentValidReason);
setPercentNotNeed(percentNotNeed);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,143 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
import java.math.BigDecimal;
import org.jooq.impl.TableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewRemoveTmpMeasures;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewRemoveTmpMeasuresRecord extends TableRecordImpl<ViewRemoveTmpMeasuresRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>summonses_list.view_remove_tmp_measures.remove_tmp_measures_id</code>.
*/
public void setRemoveTmpMeasuresId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>summonses_list.view_remove_tmp_measures.remove_tmp_measures_id</code>.
*/
public Long getRemoveTmpMeasuresId() {
return (Long) get(0);
}
/**
* Setter for
* <code>summonses_list.view_remove_tmp_measures.count_all</code>.
*/
public void setCountAll(Long value) {
set(1, value);
}
/**
* Getter for
* <code>summonses_list.view_remove_tmp_measures.count_all</code>.
*/
public Long getCountAll() {
return (Long) get(1);
}
/**
* Setter for
* <code>summonses_list.view_remove_tmp_measures.percent_formed</code>.
*/
public void setPercentFormed(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>summonses_list.view_remove_tmp_measures.percent_formed</code>.
*/
public BigDecimal getPercentFormed() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>summonses_list.view_remove_tmp_measures.percent_for_sign</code>.
*/
public void setPercentForSign(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>summonses_list.view_remove_tmp_measures.percent_for_sign</code>.
*/
public BigDecimal getPercentForSign() {
return (BigDecimal) get(3);
}
/**
* Setter for
* <code>summonses_list.view_remove_tmp_measures.percent_signed</code>.
*/
public void setPercentSigned(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>summonses_list.view_remove_tmp_measures.percent_signed</code>.
*/
public BigDecimal getPercentSigned() {
return (BigDecimal) get(4);
}
/**
* Setter for
* <code>summonses_list.view_remove_tmp_measures.percent_removed</code>.
*/
public void setPercentRemoved(BigDecimal value) {
set(5, value);
}
/**
* Getter for
* <code>summonses_list.view_remove_tmp_measures.percent_removed</code>.
*/
public BigDecimal getPercentRemoved() {
return (BigDecimal) get(5);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ViewRemoveTmpMeasuresRecord
*/
public ViewRemoveTmpMeasuresRecord() {
super(ViewRemoveTmpMeasures.VIEW_REMOVE_TMP_MEASURES);
}
/**
* Create a detached, initialised ViewRemoveTmpMeasuresRecord
*/
public ViewRemoveTmpMeasuresRecord(Long removeTmpMeasuresId, Long countAll, BigDecimal percentFormed, BigDecimal percentForSign, BigDecimal percentSigned, BigDecimal percentRemoved) {
super(ViewRemoveTmpMeasures.VIEW_REMOVE_TMP_MEASURES);
setRemoveTmpMeasuresId(removeTmpMeasuresId);
setCountAll(countAll);
setPercentFormed(percentFormed);
setPercentForSign(percentForSign);
setPercentSigned(percentSigned);
setPercentRemoved(percentRemoved);
resetChangedOnNotNull();
}
}

View file

@ -11,6 +11,7 @@
<schemas>metrics</schemas>
<schemas>public</schemas>
<schemas>registration_change_address</schemas>
<schemas>summonses_list</schemas>
<sqlDialect>POSTGRES</sqlDialect>
<url>jdbc:postgresql://10.10.31.119:5432/ervu_business_metrics</url>
<urlPrefix>jdbc:postgresql:</urlPrefix>