Merge branch 'ervu/tmp_makets' of 10.10.31.70:/ervu-business-metrics into ervu/tmp_makets

This commit is contained in:
Makarova Elena 2024-11-15 12:32:47 +03:00
commit e571cc14e4
36 changed files with 9346 additions and 2021 deletions

View file

@ -14,6 +14,7 @@ import org.jooq.impl.CatalogImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.InitRegistrationInfo;
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;
/**
@ -44,6 +45,11 @@ public class DefaultCatalog extends CatalogImpl {
*/
public final Public PUBLIC = Public.PUBLIC;
/**
* The schema <code>registration_change_address</code>.
*/
public final RegistrationChangeAddress REGISTRATION_CHANGE_ADDRESS = RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
/**
* No further instances allowed
*/
@ -56,7 +62,8 @@ public class DefaultCatalog extends CatalogImpl {
return Arrays.asList(
InitRegistrationInfo.INIT_REGISTRATION_INFO,
Metrics.METRICS,
Public.PUBLIC
Public.PUBLIC,
RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS
);
}

View file

@ -56,6 +56,13 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.IncidentsR
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.RecordsAboutCitizen.RecordsAboutCitizenPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Region.RegionPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records.RecruitmentRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ChangeDataFromGirVu.ChangeDataFromGirVuPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ChangeDataPersonalVisit.ChangeDataPersonalVisitPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.CompareCitizenData.CompareCitizenDataPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InactiveAppEpgu.InactiveAppEpguPath;
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;
/**
@ -645,6 +652,98 @@ public class Recruitment extends TableImpl<RecruitmentRecord> {
return _recordsAboutCitizen;
}
private transient ChangeDataFromGirVuPath _changeDataFromGirVu;
/**
* Get the implicit to-many join path to the
* <code>registration_change_address.change_data_from_gir_vu</code> table
*/
public ChangeDataFromGirVuPath changeDataFromGirVu() {
if (_changeDataFromGirVu == null)
_changeDataFromGirVu = new ChangeDataFromGirVuPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.Keys.CHANGE_DATA_FROM_GIR_VU__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID.getInverseKey());
return _changeDataFromGirVu;
}
private transient ChangeDataPersonalVisitPath _changeDataPersonalVisit;
/**
* Get the implicit to-many join path to the
* <code>registration_change_address.change_data_personal_visit</code> table
*/
public ChangeDataPersonalVisitPath changeDataPersonalVisit() {
if (_changeDataPersonalVisit == null)
_changeDataPersonalVisit = new ChangeDataPersonalVisitPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.Keys.CHANGE_DATA_PERSONAL_VISIT__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID.getInverseKey());
return _changeDataPersonalVisit;
}
private transient CompareCitizenDataPath _compareCitizenData;
/**
* Get the implicit to-many join path to the
* <code>registration_change_address.compare_citizen_data</code> table
*/
public CompareCitizenDataPath compareCitizenData() {
if (_compareCitizenData == null)
_compareCitizenData = new CompareCitizenDataPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.Keys.COMPARE_CITIZEN_DATA__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID.getInverseKey());
return _compareCitizenData;
}
private transient InactiveAppEpguPath _inactiveAppEpgu;
/**
* Get the implicit to-many join path to the
* <code>registration_change_address.inactive_app_epgu</code> table
*/
public InactiveAppEpguPath inactiveAppEpgu() {
if (_inactiveAppEpgu == null)
_inactiveAppEpgu = new InactiveAppEpguPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.Keys.INACTIVE_APP_EPGU__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID.getInverseKey());
return _inactiveAppEpgu;
}
private transient PersonalInfoStatPath _personalInfoStat;
/**
* Get the implicit to-many join path to the
* <code>registration_change_address.personal_info_stat</code> table
*/
public PersonalInfoStatPath personalInfoStat() {
if (_personalInfoStat == null)
_personalInfoStat = new PersonalInfoStatPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.Keys.PERSONAL_INFO_STAT__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID.getInverseKey());
return _personalInfoStat;
}
private transient RecordsAboutRegistratedCitizenPath _recordsAboutRegistratedCitizen;
/**
* Get the implicit to-many join path to the
* <code>registration_change_address.records_about_registrated_citizen</code>
* table
*/
public RecordsAboutRegistratedCitizenPath recordsAboutRegistratedCitizen() {
if (_recordsAboutRegistratedCitizen == null)
_recordsAboutRegistratedCitizen = new RecordsAboutRegistratedCitizenPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.Keys.RECORDS_ABOUT_REGISTRATED_CITIZEN__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID.getInverseKey());
return _recordsAboutRegistratedCitizen;
}
private transient SummonsesSignPath _summonsesSign;
/**
* Get the implicit to-many join path to the
* <code>registration_change_address.summonses_sign</code> table
*/
public SummonsesSignPath summonsesSign() {
if (_summonsesSign == null)
_summonsesSign = new SummonsesSignPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.Keys.SUMMONSES_SIGN__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID.getInverseKey());
return _summonsesSign;
}
@Override
public Recruitment as(String alias) {
return new Recruitment(DSL.name(alias), this);

View file

@ -0,0 +1,65 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address;
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.registration_change_address.tables.ChangeDataFromGirVu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ChangeDataPersonalVisit;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.CompareCitizenData;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InactiveAppEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InfoSentToLkEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.PersonalInfoStat;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.RecordsAboutRegistratedCitizen;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SummonsesSign;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ChangeDataFromGirVuRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ChangeDataPersonalVisitRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.CompareCitizenDataRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.InactiveAppEpguRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.InfoSentToLkEpguRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.PersonalInfoStatRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.RecordsAboutRegistratedCitizenRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.SummonsesSignRecord;
/**
* A class modelling foreign key relationships and constraints of tables in
* registration_change_address.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {
// -------------------------------------------------------------------------
// UNIQUE and PRIMARY KEY definitions
// -------------------------------------------------------------------------
public static final UniqueKey<ChangeDataFromGirVuRecord> CHANGE_DATA_FROM_GIR_VU_PKEY = Internal.createUniqueKey(ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU, DSL.name("change_data_from_gir_vu_pkey"), new TableField[] { ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU.CHANGE_DATA_FROM_GIR_VU_ID }, true);
public static final UniqueKey<ChangeDataPersonalVisitRecord> CHANGE_DATA_PERSONAL_VISIT_PKEY = Internal.createUniqueKey(ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT, DSL.name("change_data_personal_visit_pkey"), new TableField[] { ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT.CHANGE_DATA_PERSONAL_VISIT_ID }, true);
public static final UniqueKey<CompareCitizenDataRecord> COMPARE_CITIZEN_DATA_PKEY = Internal.createUniqueKey(CompareCitizenData.COMPARE_CITIZEN_DATA, DSL.name("compare_citizen_data_pkey"), new TableField[] { CompareCitizenData.COMPARE_CITIZEN_DATA.COMPARE_CITIZEN_DATA_ID }, true);
public static final UniqueKey<InactiveAppEpguRecord> INACTIVE_APP_EPGU_PKEY = Internal.createUniqueKey(InactiveAppEpgu.INACTIVE_APP_EPGU, DSL.name("inactive_app_epgu_pkey"), new TableField[] { InactiveAppEpgu.INACTIVE_APP_EPGU.INACTIVE_APP_EPGU_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<PersonalInfoStatRecord> PERSONAL_INFO_STAT_PKEY = Internal.createUniqueKey(PersonalInfoStat.PERSONAL_INFO_STAT, DSL.name("personal_info_stat_pkey"), new TableField[] { PersonalInfoStat.PERSONAL_INFO_STAT.PERSONAL_INFO_STAT_ID }, true);
public static final UniqueKey<RecordsAboutRegistratedCitizenRecord> RECORDS_ABOUT_REGISTRATED_CITIZEN_PKEY = Internal.createUniqueKey(RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN, DSL.name("records_about_registrated_citizen_pkey"), new TableField[] { RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN.RECORDS_ABOUT_REGISTRATED_CITIZEN_ID }, true);
public static final UniqueKey<SummonsesSignRecord> SUMMONSES_SIGN_PKEY = Internal.createUniqueKey(SummonsesSign.SUMMONSES_SIGN, DSL.name("summonses_sign_pkey"), new TableField[] { SummonsesSign.SUMMONSES_SIGN.SUMMONSES_SIGN_ID }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
// -------------------------------------------------------------------------
public static final ForeignKey<ChangeDataFromGirVuRecord, RecruitmentRecord> CHANGE_DATA_FROM_GIR_VU__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
public static final ForeignKey<ChangeDataPersonalVisitRecord, RecruitmentRecord> CHANGE_DATA_PERSONAL_VISIT__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_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<CompareCitizenDataRecord, RecruitmentRecord> COMPARE_CITIZEN_DATA__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(CompareCitizenData.COMPARE_CITIZEN_DATA, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { CompareCitizenData.COMPARE_CITIZEN_DATA.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
public static final ForeignKey<InactiveAppEpguRecord, RecruitmentRecord> INACTIVE_APP_EPGU__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(InactiveAppEpgu.INACTIVE_APP_EPGU, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { InactiveAppEpgu.INACTIVE_APP_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, 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<PersonalInfoStatRecord, RecruitmentRecord> PERSONAL_INFO_STAT__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(PersonalInfoStat.PERSONAL_INFO_STAT, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { PersonalInfoStat.PERSONAL_INFO_STAT.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
public static final ForeignKey<RecordsAboutRegistratedCitizenRecord, RecruitmentRecord> RECORDS_ABOUT_REGISTRATED_CITIZEN__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
public static final ForeignKey<SummonsesSignRecord, RecruitmentRecord> SUMMONSES_SIGN__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(SummonsesSign.SUMMONSES_SIGN, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { SummonsesSign.SUMMONSES_SIGN.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
}

View file

@ -0,0 +1,167 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address;
import java.util.Arrays;
import java.util.List;
import org.jooq.Catalog;
import org.jooq.Sequence;
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.registration_change_address.tables.ChangeDataFromGirVu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ChangeDataPersonalVisit;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.CompareCitizenData;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InactiveAppEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InfoSentToLkEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.PersonalInfoStat;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.RecordsAboutRegistratedCitizen;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SummonsesSign;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewChangeDataFromGirVu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewChangeDataPersonalVisit;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewInfoSentToLkEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewPersonalInfoStat;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewRecordsAboutRegistratedCitizen;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewSummonsesSign;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RegistrationChangeAddress extends SchemaImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>registration_change_address</code>
*/
public static final RegistrationChangeAddress REGISTRATION_CHANGE_ADDRESS = new RegistrationChangeAddress();
/**
* Постановка на воинский учет при смене адреса. Изменение сведений из ГИР
* ВУ
*/
public final ChangeDataFromGirVu CHANGE_DATA_FROM_GIR_VU = ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU;
/**
* Постановка на воинский учет при смене адреса. Изменения сведений при
* личной явке
*/
public final ChangeDataPersonalVisit CHANGE_DATA_PERSONAL_VISIT = ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT;
/**
* Постановка на воинский учет при смене адреса. Сопоставление записей о
* гражданине в ГИС ЕРВУ
*/
public final CompareCitizenData COMPARE_CITIZEN_DATA = CompareCitizenData.COMPARE_CITIZEN_DATA;
/**
* Постановка на воинский учет при смене адреса. Кол-во неактивных заявлений
* в ЕПГУ
*/
public final InactiveAppEpgu INACTIVE_APP_EPGU = InactiveAppEpgu.INACTIVE_APP_EPGU;
/**
* Постановка на воинский учет при смене адреса. Отправка уведомлений в ЛК
* на ЕПГУ
*/
public final InfoSentToLkEpgu INFO_SENT_TO_LK_EPGU = InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU;
/**
* Постановка на воинский учет при смене адреса. Статистика по запросу
* личных дел
*/
public final PersonalInfoStat PERSONAL_INFO_STAT = PersonalInfoStat.PERSONAL_INFO_STAT;
/**
* Постановка на воинский учет при смене адреса. Граждане, поставленные на
* ВУ
*/
public final RecordsAboutRegistratedCitizen RECORDS_ABOUT_REGISTRATED_CITIZEN = RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN;
/**
* Постановка на воинский учет при смене адреса. Повестки, подписанные в
* первом ВК
*/
public final SummonsesSign SUMMONSES_SIGN = SummonsesSign.SUMMONSES_SIGN;
/**
* The table
* <code>registration_change_address.view_change_data_from_gir_vu</code>.
*/
public final ViewChangeDataFromGirVu VIEW_CHANGE_DATA_FROM_GIR_VU = ViewChangeDataFromGirVu.VIEW_CHANGE_DATA_FROM_GIR_VU;
/**
* The table
* <code>registration_change_address.view_change_data_personal_visit</code>.
*/
public final ViewChangeDataPersonalVisit VIEW_CHANGE_DATA_PERSONAL_VISIT = ViewChangeDataPersonalVisit.VIEW_CHANGE_DATA_PERSONAL_VISIT;
/**
* The table
* <code>registration_change_address.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>registration_change_address.view_personal_info_stat</code>.
*/
public final ViewPersonalInfoStat VIEW_PERSONAL_INFO_STAT = ViewPersonalInfoStat.VIEW_PERSONAL_INFO_STAT;
/**
* The table
* <code>registration_change_address.view_records_about_registrated_citizen</code>.
*/
public final ViewRecordsAboutRegistratedCitizen VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN = ViewRecordsAboutRegistratedCitizen.VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN;
/**
* The table <code>registration_change_address.view_summonses_sign</code>.
*/
public final ViewSummonsesSign VIEW_SUMMONSES_SIGN = ViewSummonsesSign.VIEW_SUMMONSES_SIGN;
/**
* No further instances allowed
*/
private RegistrationChangeAddress() {
super("registration_change_address", null);
}
@Override
public Catalog getCatalog() {
return DefaultCatalog.DEFAULT_CATALOG;
}
@Override
public final List<Sequence<?>> getSequences() {
return Arrays.asList(
Sequences.RECORDS_ABOUT_REGISTRATED_CIT_RECORDS_ABOUT_REGISTRATED_CIT_SEQ
);
}
@Override
public final List<Table<?>> getTables() {
return Arrays.asList(
ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU,
ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT,
CompareCitizenData.COMPARE_CITIZEN_DATA,
InactiveAppEpgu.INACTIVE_APP_EPGU,
InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU,
PersonalInfoStat.PERSONAL_INFO_STAT,
RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN,
SummonsesSign.SUMMONSES_SIGN,
ViewChangeDataFromGirVu.VIEW_CHANGE_DATA_FROM_GIR_VU,
ViewChangeDataPersonalVisit.VIEW_CHANGE_DATA_PERSONAL_VISIT,
ViewInfoSentToLkEpgu.VIEW_INFO_SENT_TO_LK_EPGU,
ViewPersonalInfoStat.VIEW_PERSONAL_INFO_STAT,
ViewRecordsAboutRegistratedCitizen.VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN,
ViewSummonsesSign.VIEW_SUMMONSES_SIGN
);
}
}

View file

@ -0,0 +1,23 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address;
import org.jooq.Sequence;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;
/**
* Convenience access to all sequences in registration_change_address.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Sequences {
/**
* The sequence
* <code>registration_change_address.records_about_registrated_cit_records_about_registrated_cit_seq</code>
*/
public static final Sequence<Long> RECORDS_ABOUT_REGISTRATED_CIT_RECORDS_ABOUT_REGISTRATED_CIT_SEQ = Internal.createSequence("records_about_registrated_cit_records_about_registrated_cit_seq", RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS, SQLDataType.BIGINT.nullable(false), null, null, null, null, false, null);
}

View file

@ -0,0 +1,111 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ChangeDataFromGirVu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ChangeDataPersonalVisit;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.CompareCitizenData;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InactiveAppEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InfoSentToLkEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.PersonalInfoStat;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.RecordsAboutRegistratedCitizen;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SummonsesSign;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewChangeDataFromGirVu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewChangeDataPersonalVisit;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewInfoSentToLkEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewPersonalInfoStat;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewRecordsAboutRegistratedCitizen;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewSummonsesSign;
/**
* Convenience access to all tables in registration_change_address.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Tables {
/**
* Постановка на воинский учет при смене адреса. Изменение сведений из ГИР
* ВУ
*/
public static final ChangeDataFromGirVu CHANGE_DATA_FROM_GIR_VU = ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU;
/**
* Постановка на воинский учет при смене адреса. Изменения сведений при
* личной явке
*/
public static final ChangeDataPersonalVisit CHANGE_DATA_PERSONAL_VISIT = ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT;
/**
* Постановка на воинский учет при смене адреса. Сопоставление записей о
* гражданине в ГИС ЕРВУ
*/
public static final CompareCitizenData COMPARE_CITIZEN_DATA = CompareCitizenData.COMPARE_CITIZEN_DATA;
/**
* Постановка на воинский учет при смене адреса. Кол-во неактивных заявлений
* в ЕПГУ
*/
public static final InactiveAppEpgu INACTIVE_APP_EPGU = InactiveAppEpgu.INACTIVE_APP_EPGU;
/**
* Постановка на воинский учет при смене адреса. Отправка уведомлений в ЛК
* на ЕПГУ
*/
public static final InfoSentToLkEpgu INFO_SENT_TO_LK_EPGU = InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU;
/**
* Постановка на воинский учет при смене адреса. Статистика по запросу
* личных дел
*/
public static final PersonalInfoStat PERSONAL_INFO_STAT = PersonalInfoStat.PERSONAL_INFO_STAT;
/**
* Постановка на воинский учет при смене адреса. Граждане, поставленные на
* ВУ
*/
public static final RecordsAboutRegistratedCitizen RECORDS_ABOUT_REGISTRATED_CITIZEN = RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN;
/**
* Постановка на воинский учет при смене адреса. Повестки, подписанные в
* первом ВК
*/
public static final SummonsesSign SUMMONSES_SIGN = SummonsesSign.SUMMONSES_SIGN;
/**
* The table
* <code>registration_change_address.view_change_data_from_gir_vu</code>.
*/
public static final ViewChangeDataFromGirVu VIEW_CHANGE_DATA_FROM_GIR_VU = ViewChangeDataFromGirVu.VIEW_CHANGE_DATA_FROM_GIR_VU;
/**
* The table
* <code>registration_change_address.view_change_data_personal_visit</code>.
*/
public static final ViewChangeDataPersonalVisit VIEW_CHANGE_DATA_PERSONAL_VISIT = ViewChangeDataPersonalVisit.VIEW_CHANGE_DATA_PERSONAL_VISIT;
/**
* The table
* <code>registration_change_address.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>registration_change_address.view_personal_info_stat</code>.
*/
public static final ViewPersonalInfoStat VIEW_PERSONAL_INFO_STAT = ViewPersonalInfoStat.VIEW_PERSONAL_INFO_STAT;
/**
* The table
* <code>registration_change_address.view_records_about_registrated_citizen</code>.
*/
public static final ViewRecordsAboutRegistratedCitizen VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN = ViewRecordsAboutRegistratedCitizen.VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN;
/**
* The table <code>registration_change_address.view_summonses_sign</code>.
*/
public static final ViewSummonsesSign VIEW_SUMMONSES_SIGN = ViewSummonsesSign.VIEW_SUMMONSES_SIGN;
}

View file

@ -0,0 +1,362 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ChangeDataFromGirVuRecord;
/**
* Постановка на воинский учет при смене адреса. Изменение сведений из ГИР ВУ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ChangeDataFromGirVu extends TableImpl<ChangeDataFromGirVuRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>registration_change_address.change_data_from_gir_vu</code>
*/
public static final ChangeDataFromGirVu CHANGE_DATA_FROM_GIR_VU = new ChangeDataFromGirVu();
/**
* The class holding records for this type
*/
@Override
public Class<ChangeDataFromGirVuRecord> getRecordType() {
return ChangeDataFromGirVuRecord.class;
}
/**
* The column
* <code>registration_change_address.change_data_from_gir_vu.change_data_from_gir_vu_id</code>.
*/
public final TableField<ChangeDataFromGirVuRecord, Long> CHANGE_DATA_FROM_GIR_VU_ID = createField(DSL.name("change_data_from_gir_vu_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>registration_change_address.change_data_from_gir_vu.recruitment_id</code>.
*/
public final TableField<ChangeDataFromGirVuRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column
* <code>registration_change_address.change_data_from_gir_vu.update_date</code>.
*/
public final TableField<ChangeDataFromGirVuRecord, 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>registration_change_address.change_data_from_gir_vu.info_date</code>.
*/
public final TableField<ChangeDataFromGirVuRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>registration_change_address.change_data_from_gir_vu.count_all</code>.
* всего
*/
public final TableField<ChangeDataFromGirVuRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "всего");
/**
* The column
* <code>registration_change_address.change_data_from_gir_vu.count_requested_to_send</code>.
* запрошено личных дел
*/
public final TableField<ChangeDataFromGirVuRecord, Long> COUNT_REQUESTED_TO_SEND = createField(DSL.name("count_requested_to_send"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "запрошено личных дел");
/**
* The column
* <code>registration_change_address.change_data_from_gir_vu.count_accepted_to_send_from_first</code>.
* принято решений о направлении дела из первого вк
*/
public final TableField<ChangeDataFromGirVuRecord, Long> COUNT_ACCEPTED_TO_SEND_FROM_FIRST = createField(DSL.name("count_accepted_to_send_from_first"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "принято решений о направлении дела из первого вк");
/**
* The column
* <code>registration_change_address.change_data_from_gir_vu.count_sent_from_first</code>.
* отправлено
*/
public final TableField<ChangeDataFromGirVuRecord, Long> COUNT_SENT_FROM_FIRST = createField(DSL.name("count_sent_from_first"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "отправлено");
/**
* The column
* <code>registration_change_address.change_data_from_gir_vu.count_solution_send_signed</code>.
* подписано решений о направлении
*/
public final TableField<ChangeDataFromGirVuRecord, Long> COUNT_SOLUTION_SEND_SIGNED = createField(DSL.name("count_solution_send_signed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "подписано решений о направлении");
/**
* The column
* <code>registration_change_address.change_data_from_gir_vu.count_unloaded</code>.
* выгружено дел
*/
public final TableField<ChangeDataFromGirVuRecord, Long> COUNT_UNLOADED = createField(DSL.name("count_unloaded"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "выгружено дел");
/**
* The column
* <code>registration_change_address.change_data_from_gir_vu.count_solutions_registration_formed</code>.
* сформировано решений по постановке на ВУ по новому адресу
*/
public final TableField<ChangeDataFromGirVuRecord, Long> COUNT_SOLUTIONS_REGISTRATION_FORMED = createField(DSL.name("count_solutions_registration_formed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "сформировано решений по постановке на ВУ по новому адресу");
/**
* The column
* <code>registration_change_address.change_data_from_gir_vu.count_solutions_registration_signed</code>.
* подписано решений по постановке на ВУ по новому адресу
*/
public final TableField<ChangeDataFromGirVuRecord, Long> COUNT_SOLUTIONS_REGISTRATION_SIGNED = createField(DSL.name("count_solutions_registration_signed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "подписано решений по постановке на ВУ по новому адресу");
private ChangeDataFromGirVu(Name alias, Table<ChangeDataFromGirVuRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ChangeDataFromGirVu(Name alias, Table<ChangeDataFromGirVuRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Постановка на воинский учет при смене адреса. Изменение сведений из ГИР ВУ"), TableOptions.table(), where);
}
/**
* Create an aliased
* <code>registration_change_address.change_data_from_gir_vu</code> table
* reference
*/
public ChangeDataFromGirVu(String alias) {
this(DSL.name(alias), CHANGE_DATA_FROM_GIR_VU);
}
/**
* Create an aliased
* <code>registration_change_address.change_data_from_gir_vu</code> table
* reference
*/
public ChangeDataFromGirVu(Name alias) {
this(alias, CHANGE_DATA_FROM_GIR_VU);
}
/**
* Create a <code>registration_change_address.change_data_from_gir_vu</code>
* table reference
*/
public ChangeDataFromGirVu() {
this(DSL.name("change_data_from_gir_vu"), null);
}
public <O extends Record> ChangeDataFromGirVu(Table<O> path, ForeignKey<O, ChangeDataFromGirVuRecord> childPath, InverseForeignKey<O, ChangeDataFromGirVuRecord> parentPath) {
super(path, childPath, parentPath, CHANGE_DATA_FROM_GIR_VU);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class ChangeDataFromGirVuPath extends ChangeDataFromGirVu implements Path<ChangeDataFromGirVuRecord> {
public <O extends Record> ChangeDataFromGirVuPath(Table<O> path, ForeignKey<O, ChangeDataFromGirVuRecord> childPath, InverseForeignKey<O, ChangeDataFromGirVuRecord> parentPath) {
super(path, childPath, parentPath);
}
private ChangeDataFromGirVuPath(Name alias, Table<ChangeDataFromGirVuRecord> aliased) {
super(alias, aliased);
}
@Override
public ChangeDataFromGirVuPath as(String alias) {
return new ChangeDataFromGirVuPath(DSL.name(alias), this);
}
@Override
public ChangeDataFromGirVuPath as(Name alias) {
return new ChangeDataFromGirVuPath(alias, this);
}
@Override
public ChangeDataFromGirVuPath as(Table<?> alias) {
return new ChangeDataFromGirVuPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
}
@Override
public Identity<ChangeDataFromGirVuRecord, Long> getIdentity() {
return (Identity<ChangeDataFromGirVuRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<ChangeDataFromGirVuRecord> getPrimaryKey() {
return Keys.CHANGE_DATA_FROM_GIR_VU_PKEY;
}
@Override
public List<ForeignKey<ChangeDataFromGirVuRecord, ?>> getReferences() {
return Arrays.asList(Keys.CHANGE_DATA_FROM_GIR_VU__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.CHANGE_DATA_FROM_GIR_VU__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID, null);
return _recruitment;
}
@Override
public ChangeDataFromGirVu as(String alias) {
return new ChangeDataFromGirVu(DSL.name(alias), this);
}
@Override
public ChangeDataFromGirVu as(Name alias) {
return new ChangeDataFromGirVu(alias, this);
}
@Override
public ChangeDataFromGirVu as(Table<?> alias) {
return new ChangeDataFromGirVu(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ChangeDataFromGirVu rename(String name) {
return new ChangeDataFromGirVu(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ChangeDataFromGirVu rename(Name name) {
return new ChangeDataFromGirVu(name, null);
}
/**
* Rename this table
*/
@Override
public ChangeDataFromGirVu rename(Table<?> name) {
return new ChangeDataFromGirVu(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataFromGirVu where(Condition condition) {
return new ChangeDataFromGirVu(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataFromGirVu where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataFromGirVu where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataFromGirVu where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChangeDataFromGirVu where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChangeDataFromGirVu where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChangeDataFromGirVu where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChangeDataFromGirVu where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataFromGirVu whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataFromGirVu whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,320 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ChangeDataPersonalVisitRecord;
/**
* Постановка на воинский учет при смене адреса. Изменения сведений при личной
* явке
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ChangeDataPersonalVisit extends TableImpl<ChangeDataPersonalVisitRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>registration_change_address.change_data_personal_visit</code>
*/
public static final ChangeDataPersonalVisit CHANGE_DATA_PERSONAL_VISIT = new ChangeDataPersonalVisit();
/**
* The class holding records for this type
*/
@Override
public Class<ChangeDataPersonalVisitRecord> getRecordType() {
return ChangeDataPersonalVisitRecord.class;
}
/**
* The column
* <code>registration_change_address.change_data_personal_visit.change_data_personal_visit_id</code>.
*/
public final TableField<ChangeDataPersonalVisitRecord, Long> CHANGE_DATA_PERSONAL_VISIT_ID = createField(DSL.name("change_data_personal_visit_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>registration_change_address.change_data_personal_visit.recruitment_id</code>.
*/
public final TableField<ChangeDataPersonalVisitRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column
* <code>registration_change_address.change_data_personal_visit.update_date</code>.
*/
public final TableField<ChangeDataPersonalVisitRecord, 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>registration_change_address.change_data_personal_visit.info_date</code>.
*/
public final TableField<ChangeDataPersonalVisitRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>registration_change_address.change_data_personal_visit.count_for_sign</code>.
*/
public final TableField<ChangeDataPersonalVisitRecord, 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>registration_change_address.change_data_personal_visit.count_signed</code>.
*/
public final TableField<ChangeDataPersonalVisitRecord, Long> COUNT_SIGNED = createField(DSL.name("count_signed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
private ChangeDataPersonalVisit(Name alias, Table<ChangeDataPersonalVisitRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ChangeDataPersonalVisit(Name alias, Table<ChangeDataPersonalVisitRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Постановка на воинский учет при смене адреса. Изменения сведений при личной явке"), TableOptions.table(), where);
}
/**
* Create an aliased
* <code>registration_change_address.change_data_personal_visit</code> table
* reference
*/
public ChangeDataPersonalVisit(String alias) {
this(DSL.name(alias), CHANGE_DATA_PERSONAL_VISIT);
}
/**
* Create an aliased
* <code>registration_change_address.change_data_personal_visit</code> table
* reference
*/
public ChangeDataPersonalVisit(Name alias) {
this(alias, CHANGE_DATA_PERSONAL_VISIT);
}
/**
* Create a
* <code>registration_change_address.change_data_personal_visit</code> table
* reference
*/
public ChangeDataPersonalVisit() {
this(DSL.name("change_data_personal_visit"), null);
}
public <O extends Record> ChangeDataPersonalVisit(Table<O> path, ForeignKey<O, ChangeDataPersonalVisitRecord> childPath, InverseForeignKey<O, ChangeDataPersonalVisitRecord> parentPath) {
super(path, childPath, parentPath, CHANGE_DATA_PERSONAL_VISIT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class ChangeDataPersonalVisitPath extends ChangeDataPersonalVisit implements Path<ChangeDataPersonalVisitRecord> {
public <O extends Record> ChangeDataPersonalVisitPath(Table<O> path, ForeignKey<O, ChangeDataPersonalVisitRecord> childPath, InverseForeignKey<O, ChangeDataPersonalVisitRecord> parentPath) {
super(path, childPath, parentPath);
}
private ChangeDataPersonalVisitPath(Name alias, Table<ChangeDataPersonalVisitRecord> aliased) {
super(alias, aliased);
}
@Override
public ChangeDataPersonalVisitPath as(String alias) {
return new ChangeDataPersonalVisitPath(DSL.name(alias), this);
}
@Override
public ChangeDataPersonalVisitPath as(Name alias) {
return new ChangeDataPersonalVisitPath(alias, this);
}
@Override
public ChangeDataPersonalVisitPath as(Table<?> alias) {
return new ChangeDataPersonalVisitPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
}
@Override
public Identity<ChangeDataPersonalVisitRecord, Long> getIdentity() {
return (Identity<ChangeDataPersonalVisitRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<ChangeDataPersonalVisitRecord> getPrimaryKey() {
return Keys.CHANGE_DATA_PERSONAL_VISIT_PKEY;
}
@Override
public List<ForeignKey<ChangeDataPersonalVisitRecord, ?>> getReferences() {
return Arrays.asList(Keys.CHANGE_DATA_PERSONAL_VISIT__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.CHANGE_DATA_PERSONAL_VISIT__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID, null);
return _recruitment;
}
@Override
public ChangeDataPersonalVisit as(String alias) {
return new ChangeDataPersonalVisit(DSL.name(alias), this);
}
@Override
public ChangeDataPersonalVisit as(Name alias) {
return new ChangeDataPersonalVisit(alias, this);
}
@Override
public ChangeDataPersonalVisit as(Table<?> alias) {
return new ChangeDataPersonalVisit(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ChangeDataPersonalVisit rename(String name) {
return new ChangeDataPersonalVisit(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ChangeDataPersonalVisit rename(Name name) {
return new ChangeDataPersonalVisit(name, null);
}
/**
* Rename this table
*/
@Override
public ChangeDataPersonalVisit rename(Table<?> name) {
return new ChangeDataPersonalVisit(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataPersonalVisit where(Condition condition) {
return new ChangeDataPersonalVisit(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataPersonalVisit where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataPersonalVisit where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataPersonalVisit where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChangeDataPersonalVisit where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChangeDataPersonalVisit where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChangeDataPersonalVisit where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChangeDataPersonalVisit where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataPersonalVisit whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataPersonalVisit whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,313 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.CompareCitizenDataRecord;
/**
* Постановка на воинский учет при смене адреса. Сопоставление записей о
* гражданине в ГИС ЕРВУ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CompareCitizenData extends TableImpl<CompareCitizenDataRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>registration_change_address.compare_citizen_data</code>
*/
public static final CompareCitizenData COMPARE_CITIZEN_DATA = new CompareCitizenData();
/**
* The class holding records for this type
*/
@Override
public Class<CompareCitizenDataRecord> getRecordType() {
return CompareCitizenDataRecord.class;
}
/**
* The column
* <code>registration_change_address.compare_citizen_data.compare_citizen_data_id</code>.
*/
public final TableField<CompareCitizenDataRecord, Long> COMPARE_CITIZEN_DATA_ID = createField(DSL.name("compare_citizen_data_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>registration_change_address.compare_citizen_data.recruitment_id</code>.
*/
public final TableField<CompareCitizenDataRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column
* <code>registration_change_address.compare_citizen_data.update_date</code>.
*/
public final TableField<CompareCitizenDataRecord, 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>registration_change_address.compare_citizen_data.info_date</code>.
*/
public final TableField<CompareCitizenDataRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>registration_change_address.compare_citizen_data.count_compare_record</code>.
*/
public final TableField<CompareCitizenDataRecord, Long> COUNT_COMPARE_RECORD = createField(DSL.name("count_compare_record"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
private CompareCitizenData(Name alias, Table<CompareCitizenDataRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private CompareCitizenData(Name alias, Table<CompareCitizenDataRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Постановка на воинский учет при смене адреса. Сопоставление записей о гражданине в ГИС ЕРВУ"), TableOptions.table(), where);
}
/**
* Create an aliased
* <code>registration_change_address.compare_citizen_data</code> table
* reference
*/
public CompareCitizenData(String alias) {
this(DSL.name(alias), COMPARE_CITIZEN_DATA);
}
/**
* Create an aliased
* <code>registration_change_address.compare_citizen_data</code> table
* reference
*/
public CompareCitizenData(Name alias) {
this(alias, COMPARE_CITIZEN_DATA);
}
/**
* Create a <code>registration_change_address.compare_citizen_data</code>
* table reference
*/
public CompareCitizenData() {
this(DSL.name("compare_citizen_data"), null);
}
public <O extends Record> CompareCitizenData(Table<O> path, ForeignKey<O, CompareCitizenDataRecord> childPath, InverseForeignKey<O, CompareCitizenDataRecord> parentPath) {
super(path, childPath, parentPath, COMPARE_CITIZEN_DATA);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class CompareCitizenDataPath extends CompareCitizenData implements Path<CompareCitizenDataRecord> {
public <O extends Record> CompareCitizenDataPath(Table<O> path, ForeignKey<O, CompareCitizenDataRecord> childPath, InverseForeignKey<O, CompareCitizenDataRecord> parentPath) {
super(path, childPath, parentPath);
}
private CompareCitizenDataPath(Name alias, Table<CompareCitizenDataRecord> aliased) {
super(alias, aliased);
}
@Override
public CompareCitizenDataPath as(String alias) {
return new CompareCitizenDataPath(DSL.name(alias), this);
}
@Override
public CompareCitizenDataPath as(Name alias) {
return new CompareCitizenDataPath(alias, this);
}
@Override
public CompareCitizenDataPath as(Table<?> alias) {
return new CompareCitizenDataPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
}
@Override
public Identity<CompareCitizenDataRecord, Long> getIdentity() {
return (Identity<CompareCitizenDataRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<CompareCitizenDataRecord> getPrimaryKey() {
return Keys.COMPARE_CITIZEN_DATA_PKEY;
}
@Override
public List<ForeignKey<CompareCitizenDataRecord, ?>> getReferences() {
return Arrays.asList(Keys.COMPARE_CITIZEN_DATA__FK_CONV_INFO_RECORDS_FROM_EASU_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.COMPARE_CITIZEN_DATA__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID, null);
return _recruitment;
}
@Override
public CompareCitizenData as(String alias) {
return new CompareCitizenData(DSL.name(alias), this);
}
@Override
public CompareCitizenData as(Name alias) {
return new CompareCitizenData(alias, this);
}
@Override
public CompareCitizenData as(Table<?> alias) {
return new CompareCitizenData(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public CompareCitizenData rename(String name) {
return new CompareCitizenData(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public CompareCitizenData rename(Name name) {
return new CompareCitizenData(name, null);
}
/**
* Rename this table
*/
@Override
public CompareCitizenData rename(Table<?> name) {
return new CompareCitizenData(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public CompareCitizenData where(Condition condition) {
return new CompareCitizenData(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public CompareCitizenData where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public CompareCitizenData where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public CompareCitizenData where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CompareCitizenData where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CompareCitizenData where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CompareCitizenData where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CompareCitizenData where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public CompareCitizenData whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public CompareCitizenData whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,313 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.InactiveAppEpguRecord;
/**
* Постановка на воинский учет при смене адреса. Кол-во неактивных заявлений в
* ЕПГУ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class InactiveAppEpgu extends TableImpl<InactiveAppEpguRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>registration_change_address.inactive_app_epgu</code>
*/
public static final InactiveAppEpgu INACTIVE_APP_EPGU = new InactiveAppEpgu();
/**
* The class holding records for this type
*/
@Override
public Class<InactiveAppEpguRecord> getRecordType() {
return InactiveAppEpguRecord.class;
}
/**
* The column
* <code>registration_change_address.inactive_app_epgu.inactive_app_epgu_id</code>.
*/
public final TableField<InactiveAppEpguRecord, Long> INACTIVE_APP_EPGU_ID = createField(DSL.name("inactive_app_epgu_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>registration_change_address.inactive_app_epgu.recruitment_id</code>.
*/
public final TableField<InactiveAppEpguRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column
* <code>registration_change_address.inactive_app_epgu.update_date</code>.
*/
public final TableField<InactiveAppEpguRecord, 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>registration_change_address.inactive_app_epgu.info_date</code>.
*/
public final TableField<InactiveAppEpguRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>registration_change_address.inactive_app_epgu.count_inactive_app_epgu</code>.
*/
public final TableField<InactiveAppEpguRecord, Long> COUNT_INACTIVE_APP_EPGU = createField(DSL.name("count_inactive_app_epgu"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
private InactiveAppEpgu(Name alias, Table<InactiveAppEpguRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private InactiveAppEpgu(Name alias, Table<InactiveAppEpguRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Постановка на воинский учет при смене адреса. Кол-во неактивных заявлений в ЕПГУ"), TableOptions.table(), where);
}
/**
* Create an aliased
* <code>registration_change_address.inactive_app_epgu</code> table
* reference
*/
public InactiveAppEpgu(String alias) {
this(DSL.name(alias), INACTIVE_APP_EPGU);
}
/**
* Create an aliased
* <code>registration_change_address.inactive_app_epgu</code> table
* reference
*/
public InactiveAppEpgu(Name alias) {
this(alias, INACTIVE_APP_EPGU);
}
/**
* Create a <code>registration_change_address.inactive_app_epgu</code> table
* reference
*/
public InactiveAppEpgu() {
this(DSL.name("inactive_app_epgu"), null);
}
public <O extends Record> InactiveAppEpgu(Table<O> path, ForeignKey<O, InactiveAppEpguRecord> childPath, InverseForeignKey<O, InactiveAppEpguRecord> parentPath) {
super(path, childPath, parentPath, INACTIVE_APP_EPGU);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class InactiveAppEpguPath extends InactiveAppEpgu implements Path<InactiveAppEpguRecord> {
public <O extends Record> InactiveAppEpguPath(Table<O> path, ForeignKey<O, InactiveAppEpguRecord> childPath, InverseForeignKey<O, InactiveAppEpguRecord> parentPath) {
super(path, childPath, parentPath);
}
private InactiveAppEpguPath(Name alias, Table<InactiveAppEpguRecord> aliased) {
super(alias, aliased);
}
@Override
public InactiveAppEpguPath as(String alias) {
return new InactiveAppEpguPath(DSL.name(alias), this);
}
@Override
public InactiveAppEpguPath as(Name alias) {
return new InactiveAppEpguPath(alias, this);
}
@Override
public InactiveAppEpguPath as(Table<?> alias) {
return new InactiveAppEpguPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
}
@Override
public Identity<InactiveAppEpguRecord, Long> getIdentity() {
return (Identity<InactiveAppEpguRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<InactiveAppEpguRecord> getPrimaryKey() {
return Keys.INACTIVE_APP_EPGU_PKEY;
}
@Override
public List<ForeignKey<InactiveAppEpguRecord, ?>> getReferences() {
return Arrays.asList(Keys.INACTIVE_APP_EPGU__FK_CONV_INFO_RECORDS_FROM_EASU_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.INACTIVE_APP_EPGU__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID, null);
return _recruitment;
}
@Override
public InactiveAppEpgu as(String alias) {
return new InactiveAppEpgu(DSL.name(alias), this);
}
@Override
public InactiveAppEpgu as(Name alias) {
return new InactiveAppEpgu(alias, this);
}
@Override
public InactiveAppEpgu as(Table<?> alias) {
return new InactiveAppEpgu(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public InactiveAppEpgu rename(String name) {
return new InactiveAppEpgu(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public InactiveAppEpgu rename(Name name) {
return new InactiveAppEpgu(name, null);
}
/**
* Rename this table
*/
@Override
public InactiveAppEpgu rename(Table<?> name) {
return new InactiveAppEpgu(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public InactiveAppEpgu where(Condition condition) {
return new InactiveAppEpgu(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public InactiveAppEpgu where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public InactiveAppEpgu where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public InactiveAppEpgu where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public InactiveAppEpgu where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public InactiveAppEpgu where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public InactiveAppEpgu where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public InactiveAppEpgu where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public InactiveAppEpgu whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public InactiveAppEpgu whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,355 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.InfoSentToLkEpguRecord;
/**
* Постановка на воинский учет при смене адреса. Отправка уведомлений в ЛК на
* ЕПГУ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class InfoSentToLkEpgu extends TableImpl<InfoSentToLkEpguRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.info_sent_to_lk_epgu.info_source</code>.
*/
public final TableField<InfoSentToLkEpguRecord, String> INFO_SOURCE = createField(DSL.name("info_source"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column
* <code>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.info_sent_to_lk_epgu</code> table
* reference
*/
public InfoSentToLkEpgu(Name alias) {
this(alias, INFO_SENT_TO_LK_EPGU);
}
/**
* Create a <code>registration_change_address.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 : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
}
@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);
}
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;
}
@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,325 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.PersonalInfoStatRecord;
/**
* Постановка на воинский учет при смене адреса. Статистика по запросу личных
* дел
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PersonalInfoStat extends TableImpl<PersonalInfoStatRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>registration_change_address.personal_info_stat</code>
*/
public static final PersonalInfoStat PERSONAL_INFO_STAT = new PersonalInfoStat();
/**
* The class holding records for this type
*/
@Override
public Class<PersonalInfoStatRecord> getRecordType() {
return PersonalInfoStatRecord.class;
}
/**
* The column
* <code>registration_change_address.personal_info_stat.personal_info_stat_id</code>.
*/
public final TableField<PersonalInfoStatRecord, Long> PERSONAL_INFO_STAT_ID = createField(DSL.name("personal_info_stat_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>registration_change_address.personal_info_stat.recruitment_id</code>.
*/
public final TableField<PersonalInfoStatRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column
* <code>registration_change_address.personal_info_stat.update_date</code>.
*/
public final TableField<PersonalInfoStatRecord, 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>registration_change_address.personal_info_stat.info_date</code>.
*/
public final TableField<PersonalInfoStatRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>registration_change_address.personal_info_stat.count_refused</code>.
*/
public final TableField<PersonalInfoStatRecord, Long> COUNT_REFUSED = createField(DSL.name("count_refused"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>registration_change_address.personal_info_stat.count_unloaded</code>.
*/
public final TableField<PersonalInfoStatRecord, Long> COUNT_UNLOADED = createField(DSL.name("count_unloaded"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>registration_change_address.personal_info_stat.count_accepted_to_send</code>.
*/
public final TableField<PersonalInfoStatRecord, Long> COUNT_ACCEPTED_TO_SEND = createField(DSL.name("count_accepted_to_send"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
private PersonalInfoStat(Name alias, Table<PersonalInfoStatRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private PersonalInfoStat(Name alias, Table<PersonalInfoStatRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Постановка на воинский учет при смене адреса. Статистика по запросу личных дел"), TableOptions.table(), where);
}
/**
* Create an aliased
* <code>registration_change_address.personal_info_stat</code> table
* reference
*/
public PersonalInfoStat(String alias) {
this(DSL.name(alias), PERSONAL_INFO_STAT);
}
/**
* Create an aliased
* <code>registration_change_address.personal_info_stat</code> table
* reference
*/
public PersonalInfoStat(Name alias) {
this(alias, PERSONAL_INFO_STAT);
}
/**
* Create a <code>registration_change_address.personal_info_stat</code>
* table reference
*/
public PersonalInfoStat() {
this(DSL.name("personal_info_stat"), null);
}
public <O extends Record> PersonalInfoStat(Table<O> path, ForeignKey<O, PersonalInfoStatRecord> childPath, InverseForeignKey<O, PersonalInfoStatRecord> parentPath) {
super(path, childPath, parentPath, PERSONAL_INFO_STAT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class PersonalInfoStatPath extends PersonalInfoStat implements Path<PersonalInfoStatRecord> {
public <O extends Record> PersonalInfoStatPath(Table<O> path, ForeignKey<O, PersonalInfoStatRecord> childPath, InverseForeignKey<O, PersonalInfoStatRecord> parentPath) {
super(path, childPath, parentPath);
}
private PersonalInfoStatPath(Name alias, Table<PersonalInfoStatRecord> aliased) {
super(alias, aliased);
}
@Override
public PersonalInfoStatPath as(String alias) {
return new PersonalInfoStatPath(DSL.name(alias), this);
}
@Override
public PersonalInfoStatPath as(Name alias) {
return new PersonalInfoStatPath(alias, this);
}
@Override
public PersonalInfoStatPath as(Table<?> alias) {
return new PersonalInfoStatPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
}
@Override
public Identity<PersonalInfoStatRecord, Long> getIdentity() {
return (Identity<PersonalInfoStatRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<PersonalInfoStatRecord> getPrimaryKey() {
return Keys.PERSONAL_INFO_STAT_PKEY;
}
@Override
public List<ForeignKey<PersonalInfoStatRecord, ?>> getReferences() {
return Arrays.asList(Keys.PERSONAL_INFO_STAT__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.PERSONAL_INFO_STAT__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID, null);
return _recruitment;
}
@Override
public PersonalInfoStat as(String alias) {
return new PersonalInfoStat(DSL.name(alias), this);
}
@Override
public PersonalInfoStat as(Name alias) {
return new PersonalInfoStat(alias, this);
}
@Override
public PersonalInfoStat as(Table<?> alias) {
return new PersonalInfoStat(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public PersonalInfoStat rename(String name) {
return new PersonalInfoStat(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public PersonalInfoStat rename(Name name) {
return new PersonalInfoStat(name, null);
}
/**
* Rename this table
*/
@Override
public PersonalInfoStat rename(Table<?> name) {
return new PersonalInfoStat(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public PersonalInfoStat where(Condition condition) {
return new PersonalInfoStat(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public PersonalInfoStat where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public PersonalInfoStat where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public PersonalInfoStat where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PersonalInfoStat where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PersonalInfoStat where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PersonalInfoStat where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PersonalInfoStat where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public PersonalInfoStat whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public PersonalInfoStat whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,319 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.RecordsAboutRegistratedCitizenRecord;
/**
* Постановка на воинский учет при смене адреса. Граждане, поставленные на ВУ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RecordsAboutRegistratedCitizen extends TableImpl<RecordsAboutRegistratedCitizenRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>registration_change_address.records_about_registrated_citizen</code>
*/
public static final RecordsAboutRegistratedCitizen RECORDS_ABOUT_REGISTRATED_CITIZEN = new RecordsAboutRegistratedCitizen();
/**
* The class holding records for this type
*/
@Override
public Class<RecordsAboutRegistratedCitizenRecord> getRecordType() {
return RecordsAboutRegistratedCitizenRecord.class;
}
/**
* The column
* <code>registration_change_address.records_about_registrated_citizen.records_about_registrated_citizen_id</code>.
*/
public final TableField<RecordsAboutRegistratedCitizenRecord, Long> RECORDS_ABOUT_REGISTRATED_CITIZEN_ID = createField(DSL.name("records_about_registrated_citizen_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>registration_change_address.records_about_registrated_citizen.recruitment_id</code>.
*/
public final TableField<RecordsAboutRegistratedCitizenRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column
* <code>registration_change_address.records_about_registrated_citizen.update_date</code>.
*/
public final TableField<RecordsAboutRegistratedCitizenRecord, 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>registration_change_address.records_about_registrated_citizen.info_date</code>.
*/
public final TableField<RecordsAboutRegistratedCitizenRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>registration_change_address.records_about_registrated_citizen.count_registrated_by_app_vk</code>.
*/
public final TableField<RecordsAboutRegistratedCitizenRecord, Long> COUNT_REGISTRATED_BY_APP_VK = createField(DSL.name("count_registrated_by_app_vk"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>registration_change_address.records_about_registrated_citizen.count_registrated_another_vk</code>.
*/
public final TableField<RecordsAboutRegistratedCitizenRecord, Long> COUNT_REGISTRATED_ANOTHER_VK = createField(DSL.name("count_registrated_another_vk"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
private RecordsAboutRegistratedCitizen(Name alias, Table<RecordsAboutRegistratedCitizenRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private RecordsAboutRegistratedCitizen(Name alias, Table<RecordsAboutRegistratedCitizenRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Постановка на воинский учет при смене адреса. Граждане, поставленные на ВУ"), TableOptions.table(), where);
}
/**
* Create an aliased
* <code>registration_change_address.records_about_registrated_citizen</code>
* table reference
*/
public RecordsAboutRegistratedCitizen(String alias) {
this(DSL.name(alias), RECORDS_ABOUT_REGISTRATED_CITIZEN);
}
/**
* Create an aliased
* <code>registration_change_address.records_about_registrated_citizen</code>
* table reference
*/
public RecordsAboutRegistratedCitizen(Name alias) {
this(alias, RECORDS_ABOUT_REGISTRATED_CITIZEN);
}
/**
* Create a
* <code>registration_change_address.records_about_registrated_citizen</code>
* table reference
*/
public RecordsAboutRegistratedCitizen() {
this(DSL.name("records_about_registrated_citizen"), null);
}
public <O extends Record> RecordsAboutRegistratedCitizen(Table<O> path, ForeignKey<O, RecordsAboutRegistratedCitizenRecord> childPath, InverseForeignKey<O, RecordsAboutRegistratedCitizenRecord> parentPath) {
super(path, childPath, parentPath, RECORDS_ABOUT_REGISTRATED_CITIZEN);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class RecordsAboutRegistratedCitizenPath extends RecordsAboutRegistratedCitizen implements Path<RecordsAboutRegistratedCitizenRecord> {
public <O extends Record> RecordsAboutRegistratedCitizenPath(Table<O> path, ForeignKey<O, RecordsAboutRegistratedCitizenRecord> childPath, InverseForeignKey<O, RecordsAboutRegistratedCitizenRecord> parentPath) {
super(path, childPath, parentPath);
}
private RecordsAboutRegistratedCitizenPath(Name alias, Table<RecordsAboutRegistratedCitizenRecord> aliased) {
super(alias, aliased);
}
@Override
public RecordsAboutRegistratedCitizenPath as(String alias) {
return new RecordsAboutRegistratedCitizenPath(DSL.name(alias), this);
}
@Override
public RecordsAboutRegistratedCitizenPath as(Name alias) {
return new RecordsAboutRegistratedCitizenPath(alias, this);
}
@Override
public RecordsAboutRegistratedCitizenPath as(Table<?> alias) {
return new RecordsAboutRegistratedCitizenPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
}
@Override
public Identity<RecordsAboutRegistratedCitizenRecord, Long> getIdentity() {
return (Identity<RecordsAboutRegistratedCitizenRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<RecordsAboutRegistratedCitizenRecord> getPrimaryKey() {
return Keys.RECORDS_ABOUT_REGISTRATED_CITIZEN_PKEY;
}
@Override
public List<ForeignKey<RecordsAboutRegistratedCitizenRecord, ?>> getReferences() {
return Arrays.asList(Keys.RECORDS_ABOUT_REGISTRATED_CITIZEN__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.RECORDS_ABOUT_REGISTRATED_CITIZEN__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID, null);
return _recruitment;
}
@Override
public RecordsAboutRegistratedCitizen as(String alias) {
return new RecordsAboutRegistratedCitizen(DSL.name(alias), this);
}
@Override
public RecordsAboutRegistratedCitizen as(Name alias) {
return new RecordsAboutRegistratedCitizen(alias, this);
}
@Override
public RecordsAboutRegistratedCitizen as(Table<?> alias) {
return new RecordsAboutRegistratedCitizen(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public RecordsAboutRegistratedCitizen rename(String name) {
return new RecordsAboutRegistratedCitizen(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public RecordsAboutRegistratedCitizen rename(Name name) {
return new RecordsAboutRegistratedCitizen(name, null);
}
/**
* Rename this table
*/
@Override
public RecordsAboutRegistratedCitizen rename(Table<?> name) {
return new RecordsAboutRegistratedCitizen(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public RecordsAboutRegistratedCitizen where(Condition condition) {
return new RecordsAboutRegistratedCitizen(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public RecordsAboutRegistratedCitizen where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public RecordsAboutRegistratedCitizen where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public RecordsAboutRegistratedCitizen where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RecordsAboutRegistratedCitizen where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RecordsAboutRegistratedCitizen where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RecordsAboutRegistratedCitizen where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public RecordsAboutRegistratedCitizen where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public RecordsAboutRegistratedCitizen whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public RecordsAboutRegistratedCitizen whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,326 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.SummonsesSignRecord;
/**
* Постановка на воинский учет при смене адреса. Повестки, подписанные в первом
* ВК
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class SummonsesSign extends TableImpl<SummonsesSignRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>registration_change_address.summonses_sign</code>
*/
public static final SummonsesSign SUMMONSES_SIGN = new SummonsesSign();
/**
* The class holding records for this type
*/
@Override
public Class<SummonsesSignRecord> getRecordType() {
return SummonsesSignRecord.class;
}
/**
* The column
* <code>registration_change_address.summonses_sign.summonses_sign_id</code>.
*/
public final TableField<SummonsesSignRecord, Long> SUMMONSES_SIGN_ID = createField(DSL.name("summonses_sign_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>registration_change_address.summonses_sign.recruitment_id</code>.
*/
public final TableField<SummonsesSignRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column
* <code>registration_change_address.summonses_sign.update_date</code>.
*/
public final TableField<SummonsesSignRecord, 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>registration_change_address.summonses_sign.info_date</code>.
*/
public final TableField<SummonsesSignRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>registration_change_address.summonses_sign.info_source</code>.
* информация об источнике - PERSONAL_VISIT, GIR_VU, EPGU
*/
public final TableField<SummonsesSignRecord, String> INFO_SOURCE = createField(DSL.name("info_source"), SQLDataType.VARCHAR.nullable(false), this, "информация об источнике - PERSONAL_VISIT, GIR_VU, EPGU");
/**
* The column
* <code>registration_change_address.summonses_sign.count_refused_in_second</code>.
* отмененные во 2 ВК
*/
public final TableField<SummonsesSignRecord, Long> COUNT_REFUSED_IN_SECOND = createField(DSL.name("count_refused_in_second"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "отмененные во 2 ВК");
/**
* The column
* <code>registration_change_address.summonses_sign.count_accepted_in_second</code>.
* подтвержденные во 2 ВК
*/
public final TableField<SummonsesSignRecord, Long> COUNT_ACCEPTED_IN_SECOND = createField(DSL.name("count_accepted_in_second"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "подтвержденные во 2 ВК");
private SummonsesSign(Name alias, Table<SummonsesSignRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private SummonsesSign(Name alias, Table<SummonsesSignRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Постановка на воинский учет при смене адреса. Повестки, подписанные в первом ВК"), TableOptions.table(), where);
}
/**
* Create an aliased <code>registration_change_address.summonses_sign</code>
* table reference
*/
public SummonsesSign(String alias) {
this(DSL.name(alias), SUMMONSES_SIGN);
}
/**
* Create an aliased <code>registration_change_address.summonses_sign</code>
* table reference
*/
public SummonsesSign(Name alias) {
this(alias, SUMMONSES_SIGN);
}
/**
* Create a <code>registration_change_address.summonses_sign</code> table
* reference
*/
public SummonsesSign() {
this(DSL.name("summonses_sign"), null);
}
public <O extends Record> SummonsesSign(Table<O> path, ForeignKey<O, SummonsesSignRecord> childPath, InverseForeignKey<O, SummonsesSignRecord> parentPath) {
super(path, childPath, parentPath, SUMMONSES_SIGN);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class SummonsesSignPath extends SummonsesSign implements Path<SummonsesSignRecord> {
public <O extends Record> SummonsesSignPath(Table<O> path, ForeignKey<O, SummonsesSignRecord> childPath, InverseForeignKey<O, SummonsesSignRecord> parentPath) {
super(path, childPath, parentPath);
}
private SummonsesSignPath(Name alias, Table<SummonsesSignRecord> aliased) {
super(alias, aliased);
}
@Override
public SummonsesSignPath as(String alias) {
return new SummonsesSignPath(DSL.name(alias), this);
}
@Override
public SummonsesSignPath as(Name alias) {
return new SummonsesSignPath(alias, this);
}
@Override
public SummonsesSignPath as(Table<?> alias) {
return new SummonsesSignPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
}
@Override
public Identity<SummonsesSignRecord, Long> getIdentity() {
return (Identity<SummonsesSignRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<SummonsesSignRecord> getPrimaryKey() {
return Keys.SUMMONSES_SIGN_PKEY;
}
@Override
public List<ForeignKey<SummonsesSignRecord, ?>> getReferences() {
return Arrays.asList(Keys.SUMMONSES_SIGN__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.SUMMONSES_SIGN__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID, null);
return _recruitment;
}
@Override
public SummonsesSign as(String alias) {
return new SummonsesSign(DSL.name(alias), this);
}
@Override
public SummonsesSign as(Name alias) {
return new SummonsesSign(alias, this);
}
@Override
public SummonsesSign as(Table<?> alias) {
return new SummonsesSign(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public SummonsesSign rename(String name) {
return new SummonsesSign(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public SummonsesSign rename(Name name) {
return new SummonsesSign(name, null);
}
/**
* Rename this table
*/
@Override
public SummonsesSign rename(Table<?> name) {
return new SummonsesSign(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public SummonsesSign where(Condition condition) {
return new SummonsesSign(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public SummonsesSign where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public SummonsesSign where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public SummonsesSign where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public SummonsesSign where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public SummonsesSign where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public SummonsesSign where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public SummonsesSign where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public SummonsesSign whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public SummonsesSign whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,272 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ViewChangeDataFromGirVuRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewChangeDataFromGirVu extends TableImpl<ViewChangeDataFromGirVuRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>registration_change_address.view_change_data_from_gir_vu</code>
*/
public static final ViewChangeDataFromGirVu VIEW_CHANGE_DATA_FROM_GIR_VU = new ViewChangeDataFromGirVu();
/**
* The class holding records for this type
*/
@Override
public Class<ViewChangeDataFromGirVuRecord> getRecordType() {
return ViewChangeDataFromGirVuRecord.class;
}
/**
* The column
* <code>registration_change_address.view_change_data_from_gir_vu.change_data_from_gir_vu_id</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, Long> CHANGE_DATA_FROM_GIR_VU_ID = createField(DSL.name("change_data_from_gir_vu_id"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>registration_change_address.view_change_data_from_gir_vu.percent_requested_to_send</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, BigDecimal> PERCENT_REQUESTED_TO_SEND = createField(DSL.name("percent_requested_to_send"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>registration_change_address.view_change_data_from_gir_vu.percent_accepted_to_send_from_first</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, BigDecimal> PERCENT_ACCEPTED_TO_SEND_FROM_FIRST = createField(DSL.name("percent_accepted_to_send_from_first"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>registration_change_address.view_change_data_from_gir_vu.percent_sent_from_first</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, BigDecimal> PERCENT_SENT_FROM_FIRST = createField(DSL.name("percent_sent_from_first"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>registration_change_address.view_change_data_from_gir_vu.percent_requested_solution_send_signed</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, BigDecimal> PERCENT_REQUESTED_SOLUTION_SEND_SIGNED = createField(DSL.name("percent_requested_solution_send_signed"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>registration_change_address.view_change_data_from_gir_vu.percent_requested_unloaded</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, BigDecimal> PERCENT_REQUESTED_UNLOADED = createField(DSL.name("percent_requested_unloaded"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>registration_change_address.view_change_data_from_gir_vu.percent_requested_solutions_formed</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, BigDecimal> PERCENT_REQUESTED_SOLUTIONS_FORMED = createField(DSL.name("percent_requested_solutions_formed"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>registration_change_address.view_change_data_from_gir_vu.percent_solutions_registration_signed</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, BigDecimal> PERCENT_SOLUTIONS_REGISTRATION_SIGNED = createField(DSL.name("percent_solutions_registration_signed"), SQLDataType.NUMERIC, this, "");
private ViewChangeDataFromGirVu(Name alias, Table<ViewChangeDataFromGirVuRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ViewChangeDataFromGirVu(Name alias, Table<ViewChangeDataFromGirVuRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "view_change_data_from_gir_vu" as SELECT change_data_from_gir_vu.change_data_from_gir_vu_id,
round((((change_data_from_gir_vu.count_requested_to_send)::numeric * (100)::numeric) / (change_data_from_gir_vu.count_all)::numeric)) AS percent_requested_to_send,
round((((change_data_from_gir_vu.count_accepted_to_send_from_first)::numeric * (100)::numeric) / (change_data_from_gir_vu.count_all)::numeric)) AS percent_accepted_to_send_from_first,
round((((change_data_from_gir_vu.count_sent_from_first)::numeric * (100)::numeric) / (change_data_from_gir_vu.count_all)::numeric)) AS percent_sent_from_first,
round((((change_data_from_gir_vu.count_solution_send_signed)::numeric * (100)::numeric) / (change_data_from_gir_vu.count_all)::numeric)) AS percent_requested_solution_send_signed,
round((((change_data_from_gir_vu.count_unloaded)::numeric * (100)::numeric) / (change_data_from_gir_vu.count_all)::numeric)) AS percent_requested_unloaded,
round((((change_data_from_gir_vu.count_solutions_registration_formed)::numeric * (100)::numeric) / (change_data_from_gir_vu.count_all)::numeric)) AS percent_requested_solutions_formed,
round((((change_data_from_gir_vu.count_solutions_registration_signed)::numeric * (100)::numeric) / (change_data_from_gir_vu.count_all)::numeric)) AS percent_solutions_registration_signed
FROM registration_change_address.change_data_from_gir_vu;
"""), where);
}
/**
* Create an aliased
* <code>registration_change_address.view_change_data_from_gir_vu</code>
* table reference
*/
public ViewChangeDataFromGirVu(String alias) {
this(DSL.name(alias), VIEW_CHANGE_DATA_FROM_GIR_VU);
}
/**
* Create an aliased
* <code>registration_change_address.view_change_data_from_gir_vu</code>
* table reference
*/
public ViewChangeDataFromGirVu(Name alias) {
this(alias, VIEW_CHANGE_DATA_FROM_GIR_VU);
}
/**
* Create a
* <code>registration_change_address.view_change_data_from_gir_vu</code>
* table reference
*/
public ViewChangeDataFromGirVu() {
this(DSL.name("view_change_data_from_gir_vu"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
}
@Override
public ViewChangeDataFromGirVu as(String alias) {
return new ViewChangeDataFromGirVu(DSL.name(alias), this);
}
@Override
public ViewChangeDataFromGirVu as(Name alias) {
return new ViewChangeDataFromGirVu(alias, this);
}
@Override
public ViewChangeDataFromGirVu as(Table<?> alias) {
return new ViewChangeDataFromGirVu(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ViewChangeDataFromGirVu rename(String name) {
return new ViewChangeDataFromGirVu(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ViewChangeDataFromGirVu rename(Name name) {
return new ViewChangeDataFromGirVu(name, null);
}
/**
* Rename this table
*/
@Override
public ViewChangeDataFromGirVu rename(Table<?> name) {
return new ViewChangeDataFromGirVu(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewChangeDataFromGirVu where(Condition condition) {
return new ViewChangeDataFromGirVu(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewChangeDataFromGirVu where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewChangeDataFromGirVu where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewChangeDataFromGirVu where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewChangeDataFromGirVu where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewChangeDataFromGirVu where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewChangeDataFromGirVu where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewChangeDataFromGirVu where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewChangeDataFromGirVu whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewChangeDataFromGirVu whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,244 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ViewChangeDataPersonalVisitRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewChangeDataPersonalVisit extends TableImpl<ViewChangeDataPersonalVisitRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>registration_change_address.view_change_data_personal_visit</code>
*/
public static final ViewChangeDataPersonalVisit VIEW_CHANGE_DATA_PERSONAL_VISIT = new ViewChangeDataPersonalVisit();
/**
* The class holding records for this type
*/
@Override
public Class<ViewChangeDataPersonalVisitRecord> getRecordType() {
return ViewChangeDataPersonalVisitRecord.class;
}
/**
* The column
* <code>registration_change_address.view_change_data_personal_visit.change_data_personal_visit_id</code>.
*/
public final TableField<ViewChangeDataPersonalVisitRecord, Long> CHANGE_DATA_PERSONAL_VISIT_ID = createField(DSL.name("change_data_personal_visit_id"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>registration_change_address.view_change_data_personal_visit.count_all</code>.
*/
public final TableField<ViewChangeDataPersonalVisitRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>registration_change_address.view_change_data_personal_visit.percent_for_sign</code>.
*/
public final TableField<ViewChangeDataPersonalVisitRecord, BigDecimal> PERCENT_FOR_SIGN = createField(DSL.name("percent_for_sign"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>registration_change_address.view_change_data_personal_visit.percent_signed</code>.
*/
public final TableField<ViewChangeDataPersonalVisitRecord, BigDecimal> PERCENT_SIGNED = createField(DSL.name("percent_signed"), SQLDataType.NUMERIC, this, "");
private ViewChangeDataPersonalVisit(Name alias, Table<ViewChangeDataPersonalVisitRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ViewChangeDataPersonalVisit(Name alias, Table<ViewChangeDataPersonalVisitRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "view_change_data_personal_visit" as SELECT change_data_personal_visit.change_data_personal_visit_id,
(change_data_personal_visit.count_for_sign + change_data_personal_visit.count_signed) AS count_all,
round((((change_data_personal_visit.count_for_sign)::numeric * (100)::numeric) / ((change_data_personal_visit.count_for_sign + change_data_personal_visit.count_signed))::numeric)) AS percent_for_sign,
round((((change_data_personal_visit.count_signed)::numeric * (100)::numeric) / ((change_data_personal_visit.count_for_sign + change_data_personal_visit.count_signed))::numeric)) AS percent_signed
FROM registration_change_address.change_data_personal_visit;
"""), where);
}
/**
* Create an aliased
* <code>registration_change_address.view_change_data_personal_visit</code>
* table reference
*/
public ViewChangeDataPersonalVisit(String alias) {
this(DSL.name(alias), VIEW_CHANGE_DATA_PERSONAL_VISIT);
}
/**
* Create an aliased
* <code>registration_change_address.view_change_data_personal_visit</code>
* table reference
*/
public ViewChangeDataPersonalVisit(Name alias) {
this(alias, VIEW_CHANGE_DATA_PERSONAL_VISIT);
}
/**
* Create a
* <code>registration_change_address.view_change_data_personal_visit</code>
* table reference
*/
public ViewChangeDataPersonalVisit() {
this(DSL.name("view_change_data_personal_visit"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
}
@Override
public ViewChangeDataPersonalVisit as(String alias) {
return new ViewChangeDataPersonalVisit(DSL.name(alias), this);
}
@Override
public ViewChangeDataPersonalVisit as(Name alias) {
return new ViewChangeDataPersonalVisit(alias, this);
}
@Override
public ViewChangeDataPersonalVisit as(Table<?> alias) {
return new ViewChangeDataPersonalVisit(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ViewChangeDataPersonalVisit rename(String name) {
return new ViewChangeDataPersonalVisit(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ViewChangeDataPersonalVisit rename(Name name) {
return new ViewChangeDataPersonalVisit(name, null);
}
/**
* Rename this table
*/
@Override
public ViewChangeDataPersonalVisit rename(Table<?> name) {
return new ViewChangeDataPersonalVisit(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewChangeDataPersonalVisit where(Condition condition) {
return new ViewChangeDataPersonalVisit(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewChangeDataPersonalVisit where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewChangeDataPersonalVisit where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewChangeDataPersonalVisit where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewChangeDataPersonalVisit where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewChangeDataPersonalVisit where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewChangeDataPersonalVisit where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewChangeDataPersonalVisit where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewChangeDataPersonalVisit whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewChangeDataPersonalVisit whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,272 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.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 registration_change_address.info_sent_to_lk_epgu;
"""), where);
}
/**
* Create an aliased
* <code>registration_change_address.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>registration_change_address.view_info_sent_to_lk_epgu</code> table
* reference
*/
public ViewInfoSentToLkEpgu(Name alias) {
this(alias, VIEW_INFO_SENT_TO_LK_EPGU);
}
/**
* Create a
* <code>registration_change_address.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 : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
}
@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,250 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ViewPersonalInfoStatRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewPersonalInfoStat extends TableImpl<ViewPersonalInfoStatRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>registration_change_address.view_personal_info_stat</code>
*/
public static final ViewPersonalInfoStat VIEW_PERSONAL_INFO_STAT = new ViewPersonalInfoStat();
/**
* The class holding records for this type
*/
@Override
public Class<ViewPersonalInfoStatRecord> getRecordType() {
return ViewPersonalInfoStatRecord.class;
}
/**
* The column
* <code>registration_change_address.view_personal_info_stat.personal_info_stat_id</code>.
*/
public final TableField<ViewPersonalInfoStatRecord, Long> PERSONAL_INFO_STAT_ID = createField(DSL.name("personal_info_stat_id"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>registration_change_address.view_personal_info_stat.count_all</code>.
*/
public final TableField<ViewPersonalInfoStatRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>registration_change_address.view_personal_info_stat.percent_refused</code>.
*/
public final TableField<ViewPersonalInfoStatRecord, BigDecimal> PERCENT_REFUSED = createField(DSL.name("percent_refused"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>registration_change_address.view_personal_info_stat.percent_unloaded</code>.
*/
public final TableField<ViewPersonalInfoStatRecord, BigDecimal> PERCENT_UNLOADED = createField(DSL.name("percent_unloaded"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>registration_change_address.view_personal_info_stat.percent_accepted_to_send</code>.
*/
public final TableField<ViewPersonalInfoStatRecord, BigDecimal> PERCENT_ACCEPTED_TO_SEND = createField(DSL.name("percent_accepted_to_send"), SQLDataType.NUMERIC, this, "");
private ViewPersonalInfoStat(Name alias, Table<ViewPersonalInfoStatRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ViewPersonalInfoStat(Name alias, Table<ViewPersonalInfoStatRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "view_personal_info_stat" as SELECT personal_info_stat.personal_info_stat_id,
(personal_info_stat.count_refused + personal_info_stat.count_accepted_to_send) AS count_all,
round((((personal_info_stat.count_refused)::numeric * (100)::numeric) / ((personal_info_stat.count_refused + personal_info_stat.count_accepted_to_send))::numeric)) AS percent_refused,
round((((personal_info_stat.count_unloaded)::numeric * (100)::numeric) / ((personal_info_stat.count_refused + personal_info_stat.count_accepted_to_send))::numeric)) AS percent_unloaded,
round((((personal_info_stat.count_accepted_to_send)::numeric * (100)::numeric) / ((personal_info_stat.count_refused + personal_info_stat.count_accepted_to_send))::numeric)) AS percent_accepted_to_send
FROM registration_change_address.personal_info_stat;
"""), where);
}
/**
* Create an aliased
* <code>registration_change_address.view_personal_info_stat</code> table
* reference
*/
public ViewPersonalInfoStat(String alias) {
this(DSL.name(alias), VIEW_PERSONAL_INFO_STAT);
}
/**
* Create an aliased
* <code>registration_change_address.view_personal_info_stat</code> table
* reference
*/
public ViewPersonalInfoStat(Name alias) {
this(alias, VIEW_PERSONAL_INFO_STAT);
}
/**
* Create a <code>registration_change_address.view_personal_info_stat</code>
* table reference
*/
public ViewPersonalInfoStat() {
this(DSL.name("view_personal_info_stat"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
}
@Override
public ViewPersonalInfoStat as(String alias) {
return new ViewPersonalInfoStat(DSL.name(alias), this);
}
@Override
public ViewPersonalInfoStat as(Name alias) {
return new ViewPersonalInfoStat(alias, this);
}
@Override
public ViewPersonalInfoStat as(Table<?> alias) {
return new ViewPersonalInfoStat(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ViewPersonalInfoStat rename(String name) {
return new ViewPersonalInfoStat(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ViewPersonalInfoStat rename(Name name) {
return new ViewPersonalInfoStat(name, null);
}
/**
* Rename this table
*/
@Override
public ViewPersonalInfoStat rename(Table<?> name) {
return new ViewPersonalInfoStat(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewPersonalInfoStat where(Condition condition) {
return new ViewPersonalInfoStat(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewPersonalInfoStat where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewPersonalInfoStat where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewPersonalInfoStat where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewPersonalInfoStat where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewPersonalInfoStat where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewPersonalInfoStat where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewPersonalInfoStat where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewPersonalInfoStat whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewPersonalInfoStat whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,244 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ViewRecordsAboutRegistratedCitizenRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewRecordsAboutRegistratedCitizen extends TableImpl<ViewRecordsAboutRegistratedCitizenRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>registration_change_address.view_records_about_registrated_citizen</code>
*/
public static final ViewRecordsAboutRegistratedCitizen VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN = new ViewRecordsAboutRegistratedCitizen();
/**
* The class holding records for this type
*/
@Override
public Class<ViewRecordsAboutRegistratedCitizenRecord> getRecordType() {
return ViewRecordsAboutRegistratedCitizenRecord.class;
}
/**
* The column
* <code>registration_change_address.view_records_about_registrated_citizen.records_about_registrated_citizen_id</code>.
*/
public final TableField<ViewRecordsAboutRegistratedCitizenRecord, Long> RECORDS_ABOUT_REGISTRATED_CITIZEN_ID = createField(DSL.name("records_about_registrated_citizen_id"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>registration_change_address.view_records_about_registrated_citizen.count_all</code>.
*/
public final TableField<ViewRecordsAboutRegistratedCitizenRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>registration_change_address.view_records_about_registrated_citizen.percent_registrated_by_app_vk</code>.
*/
public final TableField<ViewRecordsAboutRegistratedCitizenRecord, BigDecimal> PERCENT_REGISTRATED_BY_APP_VK = createField(DSL.name("percent_registrated_by_app_vk"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>registration_change_address.view_records_about_registrated_citizen.percent_registrated_another_vk</code>.
*/
public final TableField<ViewRecordsAboutRegistratedCitizenRecord, BigDecimal> PERCENT_REGISTRATED_ANOTHER_VK = createField(DSL.name("percent_registrated_another_vk"), SQLDataType.NUMERIC, this, "");
private ViewRecordsAboutRegistratedCitizen(Name alias, Table<ViewRecordsAboutRegistratedCitizenRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ViewRecordsAboutRegistratedCitizen(Name alias, Table<ViewRecordsAboutRegistratedCitizenRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "view_records_about_registrated_citizen" as SELECT records_about_registrated_citizen.records_about_registrated_citizen_id,
(records_about_registrated_citizen.count_registrated_by_app_vk + records_about_registrated_citizen.count_registrated_another_vk) AS count_all,
round((((records_about_registrated_citizen.count_registrated_by_app_vk)::numeric * (100)::numeric) / ((records_about_registrated_citizen.count_registrated_by_app_vk + records_about_registrated_citizen.count_registrated_another_vk))::numeric)) AS percent_registrated_by_app_vk,
round((((records_about_registrated_citizen.count_registrated_another_vk)::numeric * (100)::numeric) / ((records_about_registrated_citizen.count_registrated_by_app_vk + records_about_registrated_citizen.count_registrated_another_vk))::numeric)) AS percent_registrated_another_vk
FROM registration_change_address.records_about_registrated_citizen;
"""), where);
}
/**
* Create an aliased
* <code>registration_change_address.view_records_about_registrated_citizen</code>
* table reference
*/
public ViewRecordsAboutRegistratedCitizen(String alias) {
this(DSL.name(alias), VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN);
}
/**
* Create an aliased
* <code>registration_change_address.view_records_about_registrated_citizen</code>
* table reference
*/
public ViewRecordsAboutRegistratedCitizen(Name alias) {
this(alias, VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN);
}
/**
* Create a
* <code>registration_change_address.view_records_about_registrated_citizen</code>
* table reference
*/
public ViewRecordsAboutRegistratedCitizen() {
this(DSL.name("view_records_about_registrated_citizen"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
}
@Override
public ViewRecordsAboutRegistratedCitizen as(String alias) {
return new ViewRecordsAboutRegistratedCitizen(DSL.name(alias), this);
}
@Override
public ViewRecordsAboutRegistratedCitizen as(Name alias) {
return new ViewRecordsAboutRegistratedCitizen(alias, this);
}
@Override
public ViewRecordsAboutRegistratedCitizen as(Table<?> alias) {
return new ViewRecordsAboutRegistratedCitizen(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ViewRecordsAboutRegistratedCitizen rename(String name) {
return new ViewRecordsAboutRegistratedCitizen(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ViewRecordsAboutRegistratedCitizen rename(Name name) {
return new ViewRecordsAboutRegistratedCitizen(name, null);
}
/**
* Rename this table
*/
@Override
public ViewRecordsAboutRegistratedCitizen rename(Table<?> name) {
return new ViewRecordsAboutRegistratedCitizen(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRecordsAboutRegistratedCitizen where(Condition condition) {
return new ViewRecordsAboutRegistratedCitizen(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRecordsAboutRegistratedCitizen where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRecordsAboutRegistratedCitizen where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRecordsAboutRegistratedCitizen where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewRecordsAboutRegistratedCitizen where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewRecordsAboutRegistratedCitizen where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewRecordsAboutRegistratedCitizen where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewRecordsAboutRegistratedCitizen where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRecordsAboutRegistratedCitizen whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewRecordsAboutRegistratedCitizen whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,243 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.RegistrationChangeAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ViewSummonsesSignRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewSummonsesSign extends TableImpl<ViewSummonsesSignRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>registration_change_address.view_summonses_sign</code>
*/
public static final ViewSummonsesSign VIEW_SUMMONSES_SIGN = new ViewSummonsesSign();
/**
* The class holding records for this type
*/
@Override
public Class<ViewSummonsesSignRecord> getRecordType() {
return ViewSummonsesSignRecord.class;
}
/**
* The column
* <code>registration_change_address.view_summonses_sign.summonses_sign_id</code>.
*/
public final TableField<ViewSummonsesSignRecord, Long> SUMMONSES_SIGN_ID = createField(DSL.name("summonses_sign_id"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>registration_change_address.view_summonses_sign.count_all</code>.
*/
public final TableField<ViewSummonsesSignRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>registration_change_address.view_summonses_sign.percent_refused_in_second</code>.
*/
public final TableField<ViewSummonsesSignRecord, BigDecimal> PERCENT_REFUSED_IN_SECOND = createField(DSL.name("percent_refused_in_second"), SQLDataType.NUMERIC, this, "");
/**
* The column
* <code>registration_change_address.view_summonses_sign.percent_accepted_in_second</code>.
*/
public final TableField<ViewSummonsesSignRecord, BigDecimal> PERCENT_ACCEPTED_IN_SECOND = createField(DSL.name("percent_accepted_in_second"), SQLDataType.NUMERIC, this, "");
private ViewSummonsesSign(Name alias, Table<ViewSummonsesSignRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ViewSummonsesSign(Name alias, Table<ViewSummonsesSignRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "view_summonses_sign" as SELECT summonses_sign.summonses_sign_id,
(summonses_sign.count_refused_in_second + summonses_sign.count_accepted_in_second) AS count_all,
round((((summonses_sign.count_refused_in_second)::numeric * (100)::numeric) / ((summonses_sign.count_refused_in_second + summonses_sign.count_accepted_in_second))::numeric)) AS percent_refused_in_second,
round((((summonses_sign.count_accepted_in_second)::numeric * (100)::numeric) / ((summonses_sign.count_refused_in_second + summonses_sign.count_accepted_in_second))::numeric)) AS percent_accepted_in_second
FROM registration_change_address.summonses_sign;
"""), where);
}
/**
* Create an aliased
* <code>registration_change_address.view_summonses_sign</code> table
* reference
*/
public ViewSummonsesSign(String alias) {
this(DSL.name(alias), VIEW_SUMMONSES_SIGN);
}
/**
* Create an aliased
* <code>registration_change_address.view_summonses_sign</code> table
* reference
*/
public ViewSummonsesSign(Name alias) {
this(alias, VIEW_SUMMONSES_SIGN);
}
/**
* Create a <code>registration_change_address.view_summonses_sign</code>
* table reference
*/
public ViewSummonsesSign() {
this(DSL.name("view_summonses_sign"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
}
@Override
public ViewSummonsesSign as(String alias) {
return new ViewSummonsesSign(DSL.name(alias), this);
}
@Override
public ViewSummonsesSign as(Name alias) {
return new ViewSummonsesSign(alias, this);
}
@Override
public ViewSummonsesSign as(Table<?> alias) {
return new ViewSummonsesSign(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ViewSummonsesSign rename(String name) {
return new ViewSummonsesSign(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ViewSummonsesSign rename(Name name) {
return new ViewSummonsesSign(name, null);
}
/**
* Rename this table
*/
@Override
public ViewSummonsesSign rename(Table<?> name) {
return new ViewSummonsesSign(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewSummonsesSign where(Condition condition) {
return new ViewSummonsesSign(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewSummonsesSign where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewSummonsesSign where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewSummonsesSign where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewSummonsesSign where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewSummonsesSign where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewSummonsesSign where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ViewSummonsesSign where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewSummonsesSign whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ViewSummonsesSign whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,272 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.tables.ChangeDataFromGirVu;
/**
* Постановка на воинский учет при смене адреса. Изменение сведений из ГИР ВУ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ChangeDataFromGirVuRecord extends UpdatableRecordImpl<ChangeDataFromGirVuRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>registration_change_address.change_data_from_gir_vu.change_data_from_gir_vu_id</code>.
*/
public void setChangeDataFromGirVuId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_from_gir_vu.change_data_from_gir_vu_id</code>.
*/
public Long getChangeDataFromGirVuId() {
return (Long) get(0);
}
/**
* Setter for
* <code>registration_change_address.change_data_from_gir_vu.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_from_gir_vu.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for
* <code>registration_change_address.change_data_from_gir_vu.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_from_gir_vu.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for
* <code>registration_change_address.change_data_from_gir_vu.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_from_gir_vu.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>registration_change_address.change_data_from_gir_vu.count_all</code>.
* всего
*/
public void setCountAll(Long value) {
set(4, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_from_gir_vu.count_all</code>.
* всего
*/
public Long getCountAll() {
return (Long) get(4);
}
/**
* Setter for
* <code>registration_change_address.change_data_from_gir_vu.count_requested_to_send</code>.
* запрошено личных дел
*/
public void setCountRequestedToSend(Long value) {
set(5, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_from_gir_vu.count_requested_to_send</code>.
* запрошено личных дел
*/
public Long getCountRequestedToSend() {
return (Long) get(5);
}
/**
* Setter for
* <code>registration_change_address.change_data_from_gir_vu.count_accepted_to_send_from_first</code>.
* принято решений о направлении дела из первого вк
*/
public void setCountAcceptedToSendFromFirst(Long value) {
set(6, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_from_gir_vu.count_accepted_to_send_from_first</code>.
* принято решений о направлении дела из первого вк
*/
public Long getCountAcceptedToSendFromFirst() {
return (Long) get(6);
}
/**
* Setter for
* <code>registration_change_address.change_data_from_gir_vu.count_sent_from_first</code>.
* отправлено
*/
public void setCountSentFromFirst(Long value) {
set(7, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_from_gir_vu.count_sent_from_first</code>.
* отправлено
*/
public Long getCountSentFromFirst() {
return (Long) get(7);
}
/**
* Setter for
* <code>registration_change_address.change_data_from_gir_vu.count_solution_send_signed</code>.
* подписано решений о направлении
*/
public void setCountSolutionSendSigned(Long value) {
set(8, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_from_gir_vu.count_solution_send_signed</code>.
* подписано решений о направлении
*/
public Long getCountSolutionSendSigned() {
return (Long) get(8);
}
/**
* Setter for
* <code>registration_change_address.change_data_from_gir_vu.count_unloaded</code>.
* выгружено дел
*/
public void setCountUnloaded(Long value) {
set(9, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_from_gir_vu.count_unloaded</code>.
* выгружено дел
*/
public Long getCountUnloaded() {
return (Long) get(9);
}
/**
* Setter for
* <code>registration_change_address.change_data_from_gir_vu.count_solutions_registration_formed</code>.
* сформировано решений по постановке на ВУ по новому адресу
*/
public void setCountSolutionsRegistrationFormed(Long value) {
set(10, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_from_gir_vu.count_solutions_registration_formed</code>.
* сформировано решений по постановке на ВУ по новому адресу
*/
public Long getCountSolutionsRegistrationFormed() {
return (Long) get(10);
}
/**
* Setter for
* <code>registration_change_address.change_data_from_gir_vu.count_solutions_registration_signed</code>.
* подписано решений по постановке на ВУ по новому адресу
*/
public void setCountSolutionsRegistrationSigned(Long value) {
set(11, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_from_gir_vu.count_solutions_registration_signed</code>.
* подписано решений по постановке на ВУ по новому адресу
*/
public Long getCountSolutionsRegistrationSigned() {
return (Long) get(11);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ChangeDataFromGirVuRecord
*/
public ChangeDataFromGirVuRecord() {
super(ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU);
}
/**
* Create a detached, initialised ChangeDataFromGirVuRecord
*/
public ChangeDataFromGirVuRecord(Long changeDataFromGirVuId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countAll, Long countRequestedToSend, Long countAcceptedToSendFromFirst, Long countSentFromFirst, Long countSolutionSendSigned, Long countUnloaded, Long countSolutionsRegistrationFormed, Long countSolutionsRegistrationSigned) {
super(ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU);
setChangeDataFromGirVuId(changeDataFromGirVuId);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setCountAll(countAll);
setCountRequestedToSend(countRequestedToSend);
setCountAcceptedToSendFromFirst(countAcceptedToSendFromFirst);
setCountSentFromFirst(countSentFromFirst);
setCountSolutionSendSigned(countSolutionSendSigned);
setCountUnloaded(countUnloaded);
setCountSolutionsRegistrationFormed(countSolutionsRegistrationFormed);
setCountSolutionsRegistrationSigned(countSolutionsRegistrationSigned);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,155 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.tables.ChangeDataPersonalVisit;
/**
* Постановка на воинский учет при смене адреса. Изменения сведений при личной
* явке
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ChangeDataPersonalVisitRecord extends UpdatableRecordImpl<ChangeDataPersonalVisitRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>registration_change_address.change_data_personal_visit.change_data_personal_visit_id</code>.
*/
public void setChangeDataPersonalVisitId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_personal_visit.change_data_personal_visit_id</code>.
*/
public Long getChangeDataPersonalVisitId() {
return (Long) get(0);
}
/**
* Setter for
* <code>registration_change_address.change_data_personal_visit.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_personal_visit.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for
* <code>registration_change_address.change_data_personal_visit.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_personal_visit.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for
* <code>registration_change_address.change_data_personal_visit.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_personal_visit.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>registration_change_address.change_data_personal_visit.count_for_sign</code>.
*/
public void setCountForSign(Long value) {
set(4, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_personal_visit.count_for_sign</code>.
*/
public Long getCountForSign() {
return (Long) get(4);
}
/**
* Setter for
* <code>registration_change_address.change_data_personal_visit.count_signed</code>.
*/
public void setCountSigned(Long value) {
set(5, value);
}
/**
* Getter for
* <code>registration_change_address.change_data_personal_visit.count_signed</code>.
*/
public Long getCountSigned() {
return (Long) get(5);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ChangeDataPersonalVisitRecord
*/
public ChangeDataPersonalVisitRecord() {
super(ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT);
}
/**
* Create a detached, initialised ChangeDataPersonalVisitRecord
*/
public ChangeDataPersonalVisitRecord(Long changeDataPersonalVisitId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countForSign, Long countSigned) {
super(ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT);
setChangeDataPersonalVisitId(changeDataPersonalVisitId);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setCountForSign(countForSign);
setCountSigned(countSigned);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,138 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.tables.CompareCitizenData;
/**
* Постановка на воинский учет при смене адреса. Сопоставление записей о
* гражданине в ГИС ЕРВУ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CompareCitizenDataRecord extends UpdatableRecordImpl<CompareCitizenDataRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>registration_change_address.compare_citizen_data.compare_citizen_data_id</code>.
*/
public void setCompareCitizenDataId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>registration_change_address.compare_citizen_data.compare_citizen_data_id</code>.
*/
public Long getCompareCitizenDataId() {
return (Long) get(0);
}
/**
* Setter for
* <code>registration_change_address.compare_citizen_data.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for
* <code>registration_change_address.compare_citizen_data.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for
* <code>registration_change_address.compare_citizen_data.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for
* <code>registration_change_address.compare_citizen_data.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for
* <code>registration_change_address.compare_citizen_data.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for
* <code>registration_change_address.compare_citizen_data.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>registration_change_address.compare_citizen_data.count_compare_record</code>.
*/
public void setCountCompareRecord(Long value) {
set(4, value);
}
/**
* Getter for
* <code>registration_change_address.compare_citizen_data.count_compare_record</code>.
*/
public Long getCountCompareRecord() {
return (Long) get(4);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached CompareCitizenDataRecord
*/
public CompareCitizenDataRecord() {
super(CompareCitizenData.COMPARE_CITIZEN_DATA);
}
/**
* Create a detached, initialised CompareCitizenDataRecord
*/
public CompareCitizenDataRecord(Long compareCitizenDataId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countCompareRecord) {
super(CompareCitizenData.COMPARE_CITIZEN_DATA);
setCompareCitizenDataId(compareCitizenDataId);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setCountCompareRecord(countCompareRecord);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,138 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.tables.InactiveAppEpgu;
/**
* Постановка на воинский учет при смене адреса. Кол-во неактивных заявлений в
* ЕПГУ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class InactiveAppEpguRecord extends UpdatableRecordImpl<InactiveAppEpguRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>registration_change_address.inactive_app_epgu.inactive_app_epgu_id</code>.
*/
public void setInactiveAppEpguId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>registration_change_address.inactive_app_epgu.inactive_app_epgu_id</code>.
*/
public Long getInactiveAppEpguId() {
return (Long) get(0);
}
/**
* Setter for
* <code>registration_change_address.inactive_app_epgu.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for
* <code>registration_change_address.inactive_app_epgu.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for
* <code>registration_change_address.inactive_app_epgu.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for
* <code>registration_change_address.inactive_app_epgu.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for
* <code>registration_change_address.inactive_app_epgu.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for
* <code>registration_change_address.inactive_app_epgu.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>registration_change_address.inactive_app_epgu.count_inactive_app_epgu</code>.
*/
public void setCountInactiveAppEpgu(Long value) {
set(4, value);
}
/**
* Getter for
* <code>registration_change_address.inactive_app_epgu.count_inactive_app_epgu</code>.
*/
public Long getCountInactiveAppEpgu() {
return (Long) get(4);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached InactiveAppEpguRecord
*/
public InactiveAppEpguRecord() {
super(InactiveAppEpgu.INACTIVE_APP_EPGU);
}
/**
* Create a detached, initialised InactiveAppEpguRecord
*/
public InactiveAppEpguRecord(Long inactiveAppEpguId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countInactiveAppEpgu) {
super(InactiveAppEpgu.INACTIVE_APP_EPGU);
setInactiveAppEpguId(inactiveAppEpguId);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setCountInactiveAppEpgu(countInactiveAppEpgu);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,257 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.tables.InfoSentToLkEpgu;
/**
* Постановка на воинский учет при смене адреса. Отправка уведомлений в ЛК на
* ЕПГУ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class InfoSentToLkEpguRecord extends UpdatableRecordImpl<InfoSentToLkEpguRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>registration_change_address.info_sent_to_lk_epgu.info_sent_to_lk_epgu_id</code>.
*/
public void setInfoSentToLkEpguId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>registration_change_address.info_sent_to_lk_epgu.info_sent_to_lk_epgu_id</code>.
*/
public Long getInfoSentToLkEpguId() {
return (Long) get(0);
}
/**
* Setter for
* <code>registration_change_address.info_sent_to_lk_epgu.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for
* <code>registration_change_address.info_sent_to_lk_epgu.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for
* <code>registration_change_address.info_sent_to_lk_epgu.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for
* <code>registration_change_address.info_sent_to_lk_epgu.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for
* <code>registration_change_address.info_sent_to_lk_epgu.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for
* <code>registration_change_address.info_sent_to_lk_epgu.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>registration_change_address.info_sent_to_lk_epgu.info_source</code>.
*/
public void setInfoSource(String value) {
set(4, value);
}
/**
* Getter for
* <code>registration_change_address.info_sent_to_lk_epgu.info_source</code>.
*/
public String getInfoSource() {
return (String) get(4);
}
/**
* Setter for
* <code>registration_change_address.info_sent_to_lk_epgu.count_status_formed</code>.
*/
public void setCountStatusFormed(Long value) {
set(5, value);
}
/**
* Getter for
* <code>registration_change_address.info_sent_to_lk_epgu.count_status_formed</code>.
*/
public Long getCountStatusFormed() {
return (Long) get(5);
}
/**
* Setter for
* <code>registration_change_address.info_sent_to_lk_epgu.count_sended</code>.
*/
public void setCountSended(Long value) {
set(6, value);
}
/**
* Getter for
* <code>registration_change_address.info_sent_to_lk_epgu.count_sended</code>.
*/
public Long getCountSended() {
return (Long) get(6);
}
/**
* Setter for
* <code>registration_change_address.info_sent_to_lk_epgu.count_delivered</code>.
*/
public void setCountDelivered(Long value) {
set(7, value);
}
/**
* Getter for
* <code>registration_change_address.info_sent_to_lk_epgu.count_delivered</code>.
*/
public Long getCountDelivered() {
return (Long) get(7);
}
/**
* Setter for
* <code>registration_change_address.info_sent_to_lk_epgu.count_error</code>.
*/
public void setCountError(Long value) {
set(8, value);
}
/**
* Getter for
* <code>registration_change_address.info_sent_to_lk_epgu.count_error</code>.
*/
public Long getCountError() {
return (Long) get(8);
}
/**
* Setter for
* <code>registration_change_address.info_sent_to_lk_epgu.count_viewed</code>.
*/
public void setCountViewed(Long value) {
set(9, value);
}
/**
* Getter for
* <code>registration_change_address.info_sent_to_lk_epgu.count_viewed</code>.
*/
public Long getCountViewed() {
return (Long) get(9);
}
/**
* Setter for
* <code>registration_change_address.info_sent_to_lk_epgu.count_not_viewed</code>.
*/
public void setCountNotViewed(Long value) {
set(10, value);
}
/**
* Getter for
* <code>registration_change_address.info_sent_to_lk_epgu.count_not_viewed</code>.
*/
public Long getCountNotViewed() {
return (Long) get(10);
}
/**
* Setter for
* <code>registration_change_address.info_sent_to_lk_epgu.count_status_not_formed</code>.
*/
public void setCountStatusNotFormed(Long value) {
set(11, value);
}
/**
* Getter for
* <code>registration_change_address.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, String infoSource, 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);
setInfoSource(infoSource);
setCountStatusFormed(countStatusFormed);
setCountSended(countSended);
setCountDelivered(countDelivered);
setCountError(countError);
setCountViewed(countViewed);
setCountNotViewed(countNotViewed);
setCountStatusNotFormed(countStatusNotFormed);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,172 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.tables.PersonalInfoStat;
/**
* Постановка на воинский учет при смене адреса. Статистика по запросу личных
* дел
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PersonalInfoStatRecord extends UpdatableRecordImpl<PersonalInfoStatRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>registration_change_address.personal_info_stat.personal_info_stat_id</code>.
*/
public void setPersonalInfoStatId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>registration_change_address.personal_info_stat.personal_info_stat_id</code>.
*/
public Long getPersonalInfoStatId() {
return (Long) get(0);
}
/**
* Setter for
* <code>registration_change_address.personal_info_stat.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for
* <code>registration_change_address.personal_info_stat.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for
* <code>registration_change_address.personal_info_stat.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for
* <code>registration_change_address.personal_info_stat.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for
* <code>registration_change_address.personal_info_stat.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for
* <code>registration_change_address.personal_info_stat.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>registration_change_address.personal_info_stat.count_refused</code>.
*/
public void setCountRefused(Long value) {
set(4, value);
}
/**
* Getter for
* <code>registration_change_address.personal_info_stat.count_refused</code>.
*/
public Long getCountRefused() {
return (Long) get(4);
}
/**
* Setter for
* <code>registration_change_address.personal_info_stat.count_unloaded</code>.
*/
public void setCountUnloaded(Long value) {
set(5, value);
}
/**
* Getter for
* <code>registration_change_address.personal_info_stat.count_unloaded</code>.
*/
public Long getCountUnloaded() {
return (Long) get(5);
}
/**
* Setter for
* <code>registration_change_address.personal_info_stat.count_accepted_to_send</code>.
*/
public void setCountAcceptedToSend(Long value) {
set(6, value);
}
/**
* Getter for
* <code>registration_change_address.personal_info_stat.count_accepted_to_send</code>.
*/
public Long getCountAcceptedToSend() {
return (Long) get(6);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached PersonalInfoStatRecord
*/
public PersonalInfoStatRecord() {
super(PersonalInfoStat.PERSONAL_INFO_STAT);
}
/**
* Create a detached, initialised PersonalInfoStatRecord
*/
public PersonalInfoStatRecord(Long personalInfoStatId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countRefused, Long countUnloaded, Long countAcceptedToSend) {
super(PersonalInfoStat.PERSONAL_INFO_STAT);
setPersonalInfoStatId(personalInfoStatId);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setCountRefused(countRefused);
setCountUnloaded(countUnloaded);
setCountAcceptedToSend(countAcceptedToSend);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,154 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.tables.RecordsAboutRegistratedCitizen;
/**
* Постановка на воинский учет при смене адреса. Граждане, поставленные на ВУ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RecordsAboutRegistratedCitizenRecord extends UpdatableRecordImpl<RecordsAboutRegistratedCitizenRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>registration_change_address.records_about_registrated_citizen.records_about_registrated_citizen_id</code>.
*/
public void setRecordsAboutRegistratedCitizenId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>registration_change_address.records_about_registrated_citizen.records_about_registrated_citizen_id</code>.
*/
public Long getRecordsAboutRegistratedCitizenId() {
return (Long) get(0);
}
/**
* Setter for
* <code>registration_change_address.records_about_registrated_citizen.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for
* <code>registration_change_address.records_about_registrated_citizen.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for
* <code>registration_change_address.records_about_registrated_citizen.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for
* <code>registration_change_address.records_about_registrated_citizen.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for
* <code>registration_change_address.records_about_registrated_citizen.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for
* <code>registration_change_address.records_about_registrated_citizen.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>registration_change_address.records_about_registrated_citizen.count_registrated_by_app_vk</code>.
*/
public void setCountRegistratedByAppVk(Long value) {
set(4, value);
}
/**
* Getter for
* <code>registration_change_address.records_about_registrated_citizen.count_registrated_by_app_vk</code>.
*/
public Long getCountRegistratedByAppVk() {
return (Long) get(4);
}
/**
* Setter for
* <code>registration_change_address.records_about_registrated_citizen.count_registrated_another_vk</code>.
*/
public void setCountRegistratedAnotherVk(Long value) {
set(5, value);
}
/**
* Getter for
* <code>registration_change_address.records_about_registrated_citizen.count_registrated_another_vk</code>.
*/
public Long getCountRegistratedAnotherVk() {
return (Long) get(5);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached RecordsAboutRegistratedCitizenRecord
*/
public RecordsAboutRegistratedCitizenRecord() {
super(RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN);
}
/**
* Create a detached, initialised RecordsAboutRegistratedCitizenRecord
*/
public RecordsAboutRegistratedCitizenRecord(Long recordsAboutRegistratedCitizenId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countRegistratedByAppVk, Long countRegistratedAnotherVk) {
super(RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN);
setRecordsAboutRegistratedCitizenId(recordsAboutRegistratedCitizenId);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setCountRegistratedByAppVk(countRegistratedByAppVk);
setCountRegistratedAnotherVk(countRegistratedAnotherVk);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,178 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.tables.SummonsesSign;
/**
* Постановка на воинский учет при смене адреса. Повестки, подписанные в первом
* ВК
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class SummonsesSignRecord extends UpdatableRecordImpl<SummonsesSignRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>registration_change_address.summonses_sign.summonses_sign_id</code>.
*/
public void setSummonsesSignId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>registration_change_address.summonses_sign.summonses_sign_id</code>.
*/
public Long getSummonsesSignId() {
return (Long) get(0);
}
/**
* Setter for
* <code>registration_change_address.summonses_sign.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for
* <code>registration_change_address.summonses_sign.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for
* <code>registration_change_address.summonses_sign.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for
* <code>registration_change_address.summonses_sign.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for
* <code>registration_change_address.summonses_sign.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for
* <code>registration_change_address.summonses_sign.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>registration_change_address.summonses_sign.info_source</code>.
* информация об источнике - PERSONAL_VISIT, GIR_VU, EPGU
*/
public void setInfoSource(String value) {
set(4, value);
}
/**
* Getter for
* <code>registration_change_address.summonses_sign.info_source</code>.
* информация об источнике - PERSONAL_VISIT, GIR_VU, EPGU
*/
public String getInfoSource() {
return (String) get(4);
}
/**
* Setter for
* <code>registration_change_address.summonses_sign.count_refused_in_second</code>.
* отмененные во 2 ВК
*/
public void setCountRefusedInSecond(Long value) {
set(5, value);
}
/**
* Getter for
* <code>registration_change_address.summonses_sign.count_refused_in_second</code>.
* отмененные во 2 ВК
*/
public Long getCountRefusedInSecond() {
return (Long) get(5);
}
/**
* Setter for
* <code>registration_change_address.summonses_sign.count_accepted_in_second</code>.
* подтвержденные во 2 ВК
*/
public void setCountAcceptedInSecond(Long value) {
set(6, value);
}
/**
* Getter for
* <code>registration_change_address.summonses_sign.count_accepted_in_second</code>.
* подтвержденные во 2 ВК
*/
public Long getCountAcceptedInSecond() {
return (Long) get(6);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached SummonsesSignRecord
*/
public SummonsesSignRecord() {
super(SummonsesSign.SUMMONSES_SIGN);
}
/**
* Create a detached, initialised SummonsesSignRecord
*/
public SummonsesSignRecord(Long summonsesSignId, String recruitmentId, Timestamp updateDate, Date infoDate, String infoSource, Long countRefusedInSecond, Long countAcceptedInSecond) {
super(SummonsesSign.SUMMONSES_SIGN);
setSummonsesSignId(summonsesSignId);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setInfoSource(infoSource);
setCountRefusedInSecond(countRefusedInSecond);
setCountAcceptedInSecond(countAcceptedInSecond);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,177 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records;
import java.math.BigDecimal;
import org.jooq.impl.TableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewChangeDataFromGirVu;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDataFromGirVuRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>registration_change_address.view_change_data_from_gir_vu.change_data_from_gir_vu_id</code>.
*/
public void setChangeDataFromGirVuId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>registration_change_address.view_change_data_from_gir_vu.change_data_from_gir_vu_id</code>.
*/
public Long getChangeDataFromGirVuId() {
return (Long) get(0);
}
/**
* Setter for
* <code>registration_change_address.view_change_data_from_gir_vu.percent_requested_to_send</code>.
*/
public void setPercentRequestedToSend(BigDecimal value) {
set(1, value);
}
/**
* Getter for
* <code>registration_change_address.view_change_data_from_gir_vu.percent_requested_to_send</code>.
*/
public BigDecimal getPercentRequestedToSend() {
return (BigDecimal) get(1);
}
/**
* Setter for
* <code>registration_change_address.view_change_data_from_gir_vu.percent_accepted_to_send_from_first</code>.
*/
public void setPercentAcceptedToSendFromFirst(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>registration_change_address.view_change_data_from_gir_vu.percent_accepted_to_send_from_first</code>.
*/
public BigDecimal getPercentAcceptedToSendFromFirst() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>registration_change_address.view_change_data_from_gir_vu.percent_sent_from_first</code>.
*/
public void setPercentSentFromFirst(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>registration_change_address.view_change_data_from_gir_vu.percent_sent_from_first</code>.
*/
public BigDecimal getPercentSentFromFirst() {
return (BigDecimal) get(3);
}
/**
* Setter for
* <code>registration_change_address.view_change_data_from_gir_vu.percent_requested_solution_send_signed</code>.
*/
public void setPercentRequestedSolutionSendSigned(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>registration_change_address.view_change_data_from_gir_vu.percent_requested_solution_send_signed</code>.
*/
public BigDecimal getPercentRequestedSolutionSendSigned() {
return (BigDecimal) get(4);
}
/**
* Setter for
* <code>registration_change_address.view_change_data_from_gir_vu.percent_requested_unloaded</code>.
*/
public void setPercentRequestedUnloaded(BigDecimal value) {
set(5, value);
}
/**
* Getter for
* <code>registration_change_address.view_change_data_from_gir_vu.percent_requested_unloaded</code>.
*/
public BigDecimal getPercentRequestedUnloaded() {
return (BigDecimal) get(5);
}
/**
* Setter for
* <code>registration_change_address.view_change_data_from_gir_vu.percent_requested_solutions_formed</code>.
*/
public void setPercentRequestedSolutionsFormed(BigDecimal value) {
set(6, value);
}
/**
* Getter for
* <code>registration_change_address.view_change_data_from_gir_vu.percent_requested_solutions_formed</code>.
*/
public BigDecimal getPercentRequestedSolutionsFormed() {
return (BigDecimal) get(6);
}
/**
* Setter for
* <code>registration_change_address.view_change_data_from_gir_vu.percent_solutions_registration_signed</code>.
*/
public void setPercentSolutionsRegistrationSigned(BigDecimal value) {
set(7, value);
}
/**
* Getter for
* <code>registration_change_address.view_change_data_from_gir_vu.percent_solutions_registration_signed</code>.
*/
public BigDecimal getPercentSolutionsRegistrationSigned() {
return (BigDecimal) get(7);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ViewChangeDataFromGirVuRecord
*/
public ViewChangeDataFromGirVuRecord() {
super(ViewChangeDataFromGirVu.VIEW_CHANGE_DATA_FROM_GIR_VU);
}
/**
* Create a detached, initialised ViewChangeDataFromGirVuRecord
*/
public ViewChangeDataFromGirVuRecord(Long changeDataFromGirVuId, BigDecimal percentRequestedToSend, BigDecimal percentAcceptedToSendFromFirst, BigDecimal percentSentFromFirst, BigDecimal percentRequestedSolutionSendSigned, BigDecimal percentRequestedUnloaded, BigDecimal percentRequestedSolutionsFormed, BigDecimal percentSolutionsRegistrationSigned) {
super(ViewChangeDataFromGirVu.VIEW_CHANGE_DATA_FROM_GIR_VU);
setChangeDataFromGirVuId(changeDataFromGirVuId);
setPercentRequestedToSend(percentRequestedToSend);
setPercentAcceptedToSendFromFirst(percentAcceptedToSendFromFirst);
setPercentSentFromFirst(percentSentFromFirst);
setPercentRequestedSolutionSendSigned(percentRequestedSolutionSendSigned);
setPercentRequestedUnloaded(percentRequestedUnloaded);
setPercentRequestedSolutionsFormed(percentRequestedSolutionsFormed);
setPercentSolutionsRegistrationSigned(percentSolutionsRegistrationSigned);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,109 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records;
import java.math.BigDecimal;
import org.jooq.impl.TableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewChangeDataPersonalVisit;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewChangeDataPersonalVisitRecord extends TableRecordImpl<ViewChangeDataPersonalVisitRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>registration_change_address.view_change_data_personal_visit.change_data_personal_visit_id</code>.
*/
public void setChangeDataPersonalVisitId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>registration_change_address.view_change_data_personal_visit.change_data_personal_visit_id</code>.
*/
public Long getChangeDataPersonalVisitId() {
return (Long) get(0);
}
/**
* Setter for
* <code>registration_change_address.view_change_data_personal_visit.count_all</code>.
*/
public void setCountAll(Long value) {
set(1, value);
}
/**
* Getter for
* <code>registration_change_address.view_change_data_personal_visit.count_all</code>.
*/
public Long getCountAll() {
return (Long) get(1);
}
/**
* Setter for
* <code>registration_change_address.view_change_data_personal_visit.percent_for_sign</code>.
*/
public void setPercentForSign(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>registration_change_address.view_change_data_personal_visit.percent_for_sign</code>.
*/
public BigDecimal getPercentForSign() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>registration_change_address.view_change_data_personal_visit.percent_signed</code>.
*/
public void setPercentSigned(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>registration_change_address.view_change_data_personal_visit.percent_signed</code>.
*/
public BigDecimal getPercentSigned() {
return (BigDecimal) get(3);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ViewChangeDataPersonalVisitRecord
*/
public ViewChangeDataPersonalVisitRecord() {
super(ViewChangeDataPersonalVisit.VIEW_CHANGE_DATA_PERSONAL_VISIT);
}
/**
* Create a detached, initialised ViewChangeDataPersonalVisitRecord
*/
public ViewChangeDataPersonalVisitRecord(Long changeDataPersonalVisitId, Long countAll, BigDecimal percentForSign, BigDecimal percentSigned) {
super(ViewChangeDataPersonalVisit.VIEW_CHANGE_DATA_PERSONAL_VISIT);
setChangeDataPersonalVisitId(changeDataPersonalVisitId);
setCountAll(countAll);
setPercentForSign(percentForSign);
setPercentSigned(percentSigned);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,177 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records;
import java.math.BigDecimal;
import org.jooq.impl.TableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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>registration_change_address.view_info_sent_to_lk_epgu.info_sent_to_lk_epgu_id</code>.
*/
public void setInfoSentToLkEpguId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>registration_change_address.view_info_sent_to_lk_epgu.info_sent_to_lk_epgu_id</code>.
*/
public Long getInfoSentToLkEpguId() {
return (Long) get(0);
}
/**
* Setter for
* <code>registration_change_address.view_info_sent_to_lk_epgu.percent_status_formed</code>.
*/
public void setPercentStatusFormed(BigDecimal value) {
set(1, value);
}
/**
* Getter for
* <code>registration_change_address.view_info_sent_to_lk_epgu.percent_status_formed</code>.
*/
public BigDecimal getPercentStatusFormed() {
return (BigDecimal) get(1);
}
/**
* Setter for
* <code>registration_change_address.view_info_sent_to_lk_epgu.percent_status_not_formed</code>.
*/
public void setPercentStatusNotFormed(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>registration_change_address.view_info_sent_to_lk_epgu.percent_status_not_formed</code>.
*/
public BigDecimal getPercentStatusNotFormed() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>registration_change_address.view_info_sent_to_lk_epgu.percent_sended</code>.
*/
public void setPercentSended(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>registration_change_address.view_info_sent_to_lk_epgu.percent_sended</code>.
*/
public BigDecimal getPercentSended() {
return (BigDecimal) get(3);
}
/**
* Setter for
* <code>registration_change_address.view_info_sent_to_lk_epgu.percent_delivered</code>.
*/
public void setPercentDelivered(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>registration_change_address.view_info_sent_to_lk_epgu.percent_delivered</code>.
*/
public BigDecimal getPercentDelivered() {
return (BigDecimal) get(4);
}
/**
* Setter for
* <code>registration_change_address.view_info_sent_to_lk_epgu.percent_error</code>.
*/
public void setPercentError(BigDecimal value) {
set(5, value);
}
/**
* Getter for
* <code>registration_change_address.view_info_sent_to_lk_epgu.percent_error</code>.
*/
public BigDecimal getPercentError() {
return (BigDecimal) get(5);
}
/**
* Setter for
* <code>registration_change_address.view_info_sent_to_lk_epgu.percent_viewed</code>.
*/
public void setPercentViewed(BigDecimal value) {
set(6, value);
}
/**
* Getter for
* <code>registration_change_address.view_info_sent_to_lk_epgu.percent_viewed</code>.
*/
public BigDecimal getPercentViewed() {
return (BigDecimal) get(6);
}
/**
* Setter for
* <code>registration_change_address.view_info_sent_to_lk_epgu.percent_not_viewed</code>.
*/
public void setPercentNotViewed(BigDecimal value) {
set(7, value);
}
/**
* Getter for
* <code>registration_change_address.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,126 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records;
import java.math.BigDecimal;
import org.jooq.impl.TableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewPersonalInfoStat;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewPersonalInfoStatRecord extends TableRecordImpl<ViewPersonalInfoStatRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>registration_change_address.view_personal_info_stat.personal_info_stat_id</code>.
*/
public void setPersonalInfoStatId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>registration_change_address.view_personal_info_stat.personal_info_stat_id</code>.
*/
public Long getPersonalInfoStatId() {
return (Long) get(0);
}
/**
* Setter for
* <code>registration_change_address.view_personal_info_stat.count_all</code>.
*/
public void setCountAll(Long value) {
set(1, value);
}
/**
* Getter for
* <code>registration_change_address.view_personal_info_stat.count_all</code>.
*/
public Long getCountAll() {
return (Long) get(1);
}
/**
* Setter for
* <code>registration_change_address.view_personal_info_stat.percent_refused</code>.
*/
public void setPercentRefused(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>registration_change_address.view_personal_info_stat.percent_refused</code>.
*/
public BigDecimal getPercentRefused() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>registration_change_address.view_personal_info_stat.percent_unloaded</code>.
*/
public void setPercentUnloaded(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>registration_change_address.view_personal_info_stat.percent_unloaded</code>.
*/
public BigDecimal getPercentUnloaded() {
return (BigDecimal) get(3);
}
/**
* Setter for
* <code>registration_change_address.view_personal_info_stat.percent_accepted_to_send</code>.
*/
public void setPercentAcceptedToSend(BigDecimal value) {
set(4, value);
}
/**
* Getter for
* <code>registration_change_address.view_personal_info_stat.percent_accepted_to_send</code>.
*/
public BigDecimal getPercentAcceptedToSend() {
return (BigDecimal) get(4);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ViewPersonalInfoStatRecord
*/
public ViewPersonalInfoStatRecord() {
super(ViewPersonalInfoStat.VIEW_PERSONAL_INFO_STAT);
}
/**
* Create a detached, initialised ViewPersonalInfoStatRecord
*/
public ViewPersonalInfoStatRecord(Long personalInfoStatId, Long countAll, BigDecimal percentRefused, BigDecimal percentUnloaded, BigDecimal percentAcceptedToSend) {
super(ViewPersonalInfoStat.VIEW_PERSONAL_INFO_STAT);
setPersonalInfoStatId(personalInfoStatId);
setCountAll(countAll);
setPercentRefused(percentRefused);
setPercentUnloaded(percentUnloaded);
setPercentAcceptedToSend(percentAcceptedToSend);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,109 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records;
import java.math.BigDecimal;
import org.jooq.impl.TableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewRecordsAboutRegistratedCitizen;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewRecordsAboutRegistratedCitizenRecord extends TableRecordImpl<ViewRecordsAboutRegistratedCitizenRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>registration_change_address.view_records_about_registrated_citizen.records_about_registrated_citizen_id</code>.
*/
public void setRecordsAboutRegistratedCitizenId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>registration_change_address.view_records_about_registrated_citizen.records_about_registrated_citizen_id</code>.
*/
public Long getRecordsAboutRegistratedCitizenId() {
return (Long) get(0);
}
/**
* Setter for
* <code>registration_change_address.view_records_about_registrated_citizen.count_all</code>.
*/
public void setCountAll(Long value) {
set(1, value);
}
/**
* Getter for
* <code>registration_change_address.view_records_about_registrated_citizen.count_all</code>.
*/
public Long getCountAll() {
return (Long) get(1);
}
/**
* Setter for
* <code>registration_change_address.view_records_about_registrated_citizen.percent_registrated_by_app_vk</code>.
*/
public void setPercentRegistratedByAppVk(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>registration_change_address.view_records_about_registrated_citizen.percent_registrated_by_app_vk</code>.
*/
public BigDecimal getPercentRegistratedByAppVk() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>registration_change_address.view_records_about_registrated_citizen.percent_registrated_another_vk</code>.
*/
public void setPercentRegistratedAnotherVk(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>registration_change_address.view_records_about_registrated_citizen.percent_registrated_another_vk</code>.
*/
public BigDecimal getPercentRegistratedAnotherVk() {
return (BigDecimal) get(3);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ViewRecordsAboutRegistratedCitizenRecord
*/
public ViewRecordsAboutRegistratedCitizenRecord() {
super(ViewRecordsAboutRegistratedCitizen.VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN);
}
/**
* Create a detached, initialised ViewRecordsAboutRegistratedCitizenRecord
*/
public ViewRecordsAboutRegistratedCitizenRecord(Long recordsAboutRegistratedCitizenId, Long countAll, BigDecimal percentRegistratedByAppVk, BigDecimal percentRegistratedAnotherVk) {
super(ViewRecordsAboutRegistratedCitizen.VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN);
setRecordsAboutRegistratedCitizenId(recordsAboutRegistratedCitizenId);
setCountAll(countAll);
setPercentRegistratedByAppVk(percentRegistratedByAppVk);
setPercentRegistratedAnotherVk(percentRegistratedAnotherVk);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,109 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records;
import java.math.BigDecimal;
import org.jooq.impl.TableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewSummonsesSign;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ViewSummonsesSignRecord extends TableRecordImpl<ViewSummonsesSignRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>registration_change_address.view_summonses_sign.summonses_sign_id</code>.
*/
public void setSummonsesSignId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>registration_change_address.view_summonses_sign.summonses_sign_id</code>.
*/
public Long getSummonsesSignId() {
return (Long) get(0);
}
/**
* Setter for
* <code>registration_change_address.view_summonses_sign.count_all</code>.
*/
public void setCountAll(Long value) {
set(1, value);
}
/**
* Getter for
* <code>registration_change_address.view_summonses_sign.count_all</code>.
*/
public Long getCountAll() {
return (Long) get(1);
}
/**
* Setter for
* <code>registration_change_address.view_summonses_sign.percent_refused_in_second</code>.
*/
public void setPercentRefusedInSecond(BigDecimal value) {
set(2, value);
}
/**
* Getter for
* <code>registration_change_address.view_summonses_sign.percent_refused_in_second</code>.
*/
public BigDecimal getPercentRefusedInSecond() {
return (BigDecimal) get(2);
}
/**
* Setter for
* <code>registration_change_address.view_summonses_sign.percent_accepted_in_second</code>.
*/
public void setPercentAcceptedInSecond(BigDecimal value) {
set(3, value);
}
/**
* Getter for
* <code>registration_change_address.view_summonses_sign.percent_accepted_in_second</code>.
*/
public BigDecimal getPercentAcceptedInSecond() {
return (BigDecimal) get(3);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ViewSummonsesSignRecord
*/
public ViewSummonsesSignRecord() {
super(ViewSummonsesSign.VIEW_SUMMONSES_SIGN);
}
/**
* Create a detached, initialised ViewSummonsesSignRecord
*/
public ViewSummonsesSignRecord(Long summonsesSignId, Long countAll, BigDecimal percentRefusedInSecond, BigDecimal percentAcceptedInSecond) {
super(ViewSummonsesSign.VIEW_SUMMONSES_SIGN);
setSummonsesSignId(summonsesSignId);
setCountAll(countAll);
setPercentRefusedInSecond(percentRefusedInSecond);
setPercentAcceptedInSecond(percentAcceptedInSecond);
resetChangedOnNotNull();
}
}

View file

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