fix 12
This commit is contained in:
parent
05704228aa
commit
2618a9298b
11 changed files with 851 additions and 25 deletions
|
|
@ -44,6 +44,7 @@ import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangelog
|
|||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Decision;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.DefermentReason;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.DefermentUnifiedData;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Delta;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Deputy;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
|
||||
|
|
@ -64,6 +65,7 @@ import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
|
|||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Prosecution;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Punishment;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.ReasonDict;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.RecruitErvuStatus;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
|
||||
|
|
@ -242,6 +244,11 @@ public class ErvuDashboard extends SchemaImpl {
|
|||
*/
|
||||
public final DefermentReason DEFERMENT_REASON = DefermentReason.DEFERMENT_REASON;
|
||||
|
||||
/**
|
||||
* Унифицированные данные об отсрочках и правах на отсрочку
|
||||
*/
|
||||
public final DefermentUnifiedData DEFERMENT_UNIFIED_DATA = DefermentUnifiedData.DEFERMENT_UNIFIED_DATA;
|
||||
|
||||
/**
|
||||
* таблица с параметром, на основе которого загружается дельта по гражданам
|
||||
*/
|
||||
|
|
@ -343,6 +350,11 @@ public class ErvuDashboard extends SchemaImpl {
|
|||
*/
|
||||
public final Punishment PUNISHMENT = Punishment.PUNISHMENT;
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.reason_dict</code>.
|
||||
*/
|
||||
public final ReasonDict REASON_DICT = ReasonDict.REASON_DICT;
|
||||
|
||||
/**
|
||||
* Справочник статусов ЕРВУ
|
||||
*/
|
||||
|
|
@ -431,6 +443,7 @@ public class ErvuDashboard extends SchemaImpl {
|
|||
Databasechangeloglock.DATABASECHANGELOGLOCK,
|
||||
Decision.DECISION,
|
||||
DefermentReason.DEFERMENT_REASON,
|
||||
DefermentUnifiedData.DEFERMENT_UNIFIED_DATA,
|
||||
Delta.DELTA,
|
||||
Deputy.DEPUTY,
|
||||
Disability.DISABILITY,
|
||||
|
|
@ -451,6 +464,7 @@ public class ErvuDashboard extends SchemaImpl {
|
|||
Prosecution.PROSECUTION,
|
||||
PubRecruitment.PUB_RECRUITMENT,
|
||||
Punishment.PUNISHMENT,
|
||||
ReasonDict.REASON_DICT,
|
||||
RecruitErvuStatus.RECRUIT_ERVU_STATUS,
|
||||
Recruitment.RECRUITMENT,
|
||||
Subpoena.SUBPOENA,
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.CountryOksm;
|
|||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Decision;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.DefermentReason;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.DefermentUnifiedData;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Delta;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Deputy;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
|
||||
|
|
@ -60,6 +61,7 @@ import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
|
|||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Prosecution;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Punishment;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.ReasonDict;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.RecruitErvuStatus;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
|
||||
|
|
@ -96,6 +98,7 @@ import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CountryOk
|
|||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DatabasechangeloglockRecord;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DecisionRecord;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DefermentReasonRecord;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DefermentUnifiedDataRecord;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DeltaRecord;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DeputyRecord;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DisabilityRecord;
|
||||
|
|
@ -116,6 +119,7 @@ import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PropertyR
|
|||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.ProsecutionRecord;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PubRecruitmentRecord;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PunishmentRecord;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.ReasonDictRecord;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.RecruitErvuStatusRecord;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.RecruitmentRecord;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.SubpoenaRecord;
|
||||
|
|
@ -167,6 +171,7 @@ public class Keys {
|
|||
public static final UniqueKey<DecisionRecord> DECISION_PKEY = Internal.createUniqueKey(Decision.DECISION, DSL.name("decision_pkey"), new TableField[] { Decision.DECISION.DECISION_ID }, true);
|
||||
public static final UniqueKey<DefermentReasonRecord> DEFERMENT_REASON_CODE_UNIQUE_KEY = Internal.createUniqueKey(DefermentReason.DEFERMENT_REASON, DSL.name("deferment_reason_code_unique_key"), new TableField[] { DefermentReason.DEFERMENT_REASON.CODE }, true);
|
||||
public static final UniqueKey<DefermentReasonRecord> DEFERMENT_REASON_PKEY = Internal.createUniqueKey(DefermentReason.DEFERMENT_REASON, DSL.name("deferment_reason_pkey"), new TableField[] { DefermentReason.DEFERMENT_REASON.DEFERMENT_REASON_ID }, true);
|
||||
public static final UniqueKey<DefermentUnifiedDataRecord> DEFERMENT_UNIFIED_DATA_PKEY = Internal.createUniqueKey(DefermentUnifiedData.DEFERMENT_UNIFIED_DATA, DSL.name("deferment_unified_data_pkey"), new TableField[] { DefermentUnifiedData.DEFERMENT_UNIFIED_DATA.ID }, true);
|
||||
public static final UniqueKey<DeltaRecord> PK_DELTA = Internal.createUniqueKey(Delta.DELTA, DSL.name("pk_delta"), new TableField[] { Delta.DELTA.DELTA_ID }, true);
|
||||
public static final UniqueKey<DeputyRecord> PK_DEPUTY = Internal.createUniqueKey(Deputy.DEPUTY, DSL.name("pk_deputy"), new TableField[] { Deputy.DEPUTY.DEPUTY_ID }, true);
|
||||
public static final UniqueKey<DisabilityRecord> PK_DISABILITY = Internal.createUniqueKey(Disability.DISABILITY, DSL.name("pk_disability"), new TableField[] { Disability.DISABILITY.DISABILITY_ID }, true);
|
||||
|
|
@ -197,6 +202,7 @@ public class Keys {
|
|||
public static final UniqueKey<PubRecruitmentRecord> PUB_RECRUITMENT_PKEY = Internal.createUniqueKey(PubRecruitment.PUB_RECRUITMENT, DSL.name("pub_recruitment_pkey"), new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
|
||||
public static final UniqueKey<PubRecruitmentRecord> RECRUITMENT_IDM_ID_KEY = Internal.createUniqueKey(PubRecruitment.PUB_RECRUITMENT, DSL.name("recruitment_idm_id_key"), new TableField[] { PubRecruitment.PUB_RECRUITMENT.IDM_ID }, true);
|
||||
public static final UniqueKey<PunishmentRecord> PK_PUNISHMENT = Internal.createUniqueKey(Punishment.PUNISHMENT, DSL.name("pk_punishment"), new TableField[] { Punishment.PUNISHMENT.PUNISHMENT_ID }, true);
|
||||
public static final UniqueKey<ReasonDictRecord> REASON_DICT_PKEY = Internal.createUniqueKey(ReasonDict.REASON_DICT, DSL.name("reason_dict_pkey"), new TableField[] { ReasonDict.REASON_DICT.CODE }, true);
|
||||
public static final UniqueKey<RecruitErvuStatusRecord> RECRUIT_ERVU_STATUS_CODE_UNIQUE_KEY = Internal.createUniqueKey(RecruitErvuStatus.RECRUIT_ERVU_STATUS, DSL.name("recruit_ervu_status_code_unique_key"), new TableField[] { RecruitErvuStatus.RECRUIT_ERVU_STATUS.CODE }, true);
|
||||
public static final UniqueKey<RecruitErvuStatusRecord> RECRUIT_ERVU_STATUS_PKEY = Internal.createUniqueKey(RecruitErvuStatus.RECRUIT_ERVU_STATUS, DSL.name("recruit_ervu_status_pkey"), new TableField[] { RecruitErvuStatus.RECRUIT_ERVU_STATUS.RECRUIT_ERVU_STATUS_ID }, true);
|
||||
public static final UniqueKey<RecruitmentRecord> RECRUITMENT_PKEY = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("recruitment_pkey"), new TableField[] { Recruitment.RECRUITMENT.IDM_ID }, true);
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangelog
|
|||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Decision;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.DefermentReason;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.DefermentUnifiedData;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Delta;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Deputy;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
|
||||
|
|
@ -55,6 +56,7 @@ import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
|
|||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Prosecution;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Punishment;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.ReasonDict;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.RecruitErvuStatus;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
|
||||
|
|
@ -226,6 +228,11 @@ public class Tables {
|
|||
*/
|
||||
public static final DefermentReason DEFERMENT_REASON = DefermentReason.DEFERMENT_REASON;
|
||||
|
||||
/**
|
||||
* Унифицированные данные об отсрочках и правах на отсрочку
|
||||
*/
|
||||
public static final DefermentUnifiedData DEFERMENT_UNIFIED_DATA = DefermentUnifiedData.DEFERMENT_UNIFIED_DATA;
|
||||
|
||||
/**
|
||||
* таблица с параметром, на основе которого загружается дельта по гражданам
|
||||
*/
|
||||
|
|
@ -327,6 +334,11 @@ public class Tables {
|
|||
*/
|
||||
public static final Punishment PUNISHMENT = Punishment.PUNISHMENT;
|
||||
|
||||
/**
|
||||
* The table <code>ervu_dashboard.reason_dict</code>.
|
||||
*/
|
||||
public static final ReasonDict REASON_DICT = ReasonDict.REASON_DICT;
|
||||
|
||||
/**
|
||||
* Справочник статусов ЕРВУ
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ public class Citizen extends TableImpl<CitizenRecord> {
|
|||
* The column <code>ervu_dashboard.citizen.reason_registration</code>.
|
||||
* Причина постановки на учёт
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> REASON_REGISTRATION = createField(DSL.name("reason_registration"), SQLDataType.VARCHAR, this, "Причина постановки на учёт");
|
||||
public final TableField<CitizenRecord, Integer> REASON_REGISTRATION = createField(DSL.name("reason_registration"), SQLDataType.INTEGER, this, "Причина постановки на учёт");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.citizen.driver_license</code>.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,276 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.Collection;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DefermentUnifiedDataRecord;
|
||||
|
||||
|
||||
/**
|
||||
* Унифицированные данные об отсрочках и правах на отсрочку
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DefermentUnifiedData extends TableImpl<DefermentUnifiedDataRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>ervu_dashboard.deferment_unified_data</code>
|
||||
*/
|
||||
public static final DefermentUnifiedData DEFERMENT_UNIFIED_DATA = new DefermentUnifiedData();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<DefermentUnifiedDataRecord> getRecordType() {
|
||||
return DefermentUnifiedDataRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.deferment_unified_data.id</code>.
|
||||
* Уникальный идентификатор записи
|
||||
*/
|
||||
public final TableField<DefermentUnifiedDataRecord, Long> ID = createField(DSL.name("id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "Уникальный идентификатор записи");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.deferment_unified_data.recruit_id</code>.
|
||||
* ID призывника
|
||||
*/
|
||||
public final TableField<DefermentUnifiedDataRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ID призывника");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.deferment_unified_data.decision_number</code>. Номер
|
||||
* решения
|
||||
*/
|
||||
public final TableField<DefermentUnifiedDataRecord, String> DECISION_NUMBER = createField(DSL.name("decision_number"), SQLDataType.VARCHAR(255), this, "Номер решения");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.deferment_unified_data.deferment_type</code>. Тип
|
||||
* отсрочки/освобождения
|
||||
*/
|
||||
public final TableField<DefermentUnifiedDataRecord, String> DEFERMENT_TYPE = createField(DSL.name("deferment_type"), SQLDataType.VARCHAR(255), this, "Тип отсрочки/освобождения");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.deferment_unified_data.start_date</code>.
|
||||
* Дата начала действия
|
||||
*/
|
||||
public final TableField<DefermentUnifiedDataRecord, Date> START_DATE = createField(DSL.name("start_date"), SQLDataType.DATE, this, "Дата начала действия");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.deferment_unified_data.end_date</code>.
|
||||
* Дата окончания действия
|
||||
*/
|
||||
public final TableField<DefermentUnifiedDataRecord, Date> END_DATE = createField(DSL.name("end_date"), SQLDataType.DATE, this, "Дата окончания действия");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>ervu_dashboard.deferment_unified_data.reason_code</code>. Код
|
||||
* причины отсрочки
|
||||
*/
|
||||
public final TableField<DefermentUnifiedDataRecord, String> REASON_CODE = createField(DSL.name("reason_code"), SQLDataType.VARCHAR(255), this, "Код причины отсрочки");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.deferment_unified_data.active</code>.
|
||||
* Активна ли запись
|
||||
*/
|
||||
public final TableField<DefermentUnifiedDataRecord, Boolean> ACTIVE = createField(DSL.name("active"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "Активна ли запись");
|
||||
|
||||
private DefermentUnifiedData(Name alias, Table<DefermentUnifiedDataRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private DefermentUnifiedData(Name alias, Table<DefermentUnifiedDataRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("Унифицированные данные об отсрочках и правах на отсрочку"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.deferment_unified_data</code>
|
||||
* table reference
|
||||
*/
|
||||
public DefermentUnifiedData(String alias) {
|
||||
this(DSL.name(alias), DEFERMENT_UNIFIED_DATA);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.deferment_unified_data</code>
|
||||
* table reference
|
||||
*/
|
||||
public DefermentUnifiedData(Name alias) {
|
||||
this(alias, DEFERMENT_UNIFIED_DATA);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.deferment_unified_data</code> table
|
||||
* reference
|
||||
*/
|
||||
public DefermentUnifiedData() {
|
||||
this(DSL.name("deferment_unified_data"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<DefermentUnifiedDataRecord, Long> getIdentity() {
|
||||
return (Identity<DefermentUnifiedDataRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<DefermentUnifiedDataRecord> getPrimaryKey() {
|
||||
return Keys.DEFERMENT_UNIFIED_DATA_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public DefermentUnifiedData as(String alias) {
|
||||
return new DefermentUnifiedData(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DefermentUnifiedData as(Name alias) {
|
||||
return new DefermentUnifiedData(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DefermentUnifiedData as(Table<?> alias) {
|
||||
return new DefermentUnifiedData(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DefermentUnifiedData rename(String name) {
|
||||
return new DefermentUnifiedData(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DefermentUnifiedData rename(Name name) {
|
||||
return new DefermentUnifiedData(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DefermentUnifiedData rename(Table<?> name) {
|
||||
return new DefermentUnifiedData(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public DefermentUnifiedData where(Condition condition) {
|
||||
return new DefermentUnifiedData(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public DefermentUnifiedData where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public DefermentUnifiedData where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public DefermentUnifiedData where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public DefermentUnifiedData where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public DefermentUnifiedData where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public DefermentUnifiedData where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public DefermentUnifiedData where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public DefermentUnifiedData whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public DefermentUnifiedData whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,229 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.Keys;
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records.ReasonDictRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ReasonDict extends TableImpl<ReasonDictRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>ervu_dashboard.reason_dict</code>
|
||||
*/
|
||||
public static final ReasonDict REASON_DICT = new ReasonDict();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ReasonDictRecord> getRecordType() {
|
||||
return ReasonDictRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.reason_dict.code</code>.
|
||||
*/
|
||||
public final TableField<ReasonDictRecord, Integer> CODE = createField(DSL.name("code"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.reason_dict.description</code>.
|
||||
*/
|
||||
public final TableField<ReasonDictRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>ervu_dashboard.reason_dict.created_at</code>.
|
||||
*/
|
||||
public final TableField<ReasonDictRecord, Timestamp> CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("CURRENT_TIMESTAMP"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private ReasonDict(Name alias, Table<ReasonDictRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ReasonDict(Name alias, Table<ReasonDictRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.reason_dict</code> table reference
|
||||
*/
|
||||
public ReasonDict(String alias) {
|
||||
this(DSL.name(alias), REASON_DICT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>ervu_dashboard.reason_dict</code> table reference
|
||||
*/
|
||||
public ReasonDict(Name alias) {
|
||||
this(alias, REASON_DICT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>ervu_dashboard.reason_dict</code> table reference
|
||||
*/
|
||||
public ReasonDict() {
|
||||
this(DSL.name("reason_dict"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<ReasonDictRecord> getPrimaryKey() {
|
||||
return Keys.REASON_DICT_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ReasonDict as(String alias) {
|
||||
return new ReasonDict(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ReasonDict as(Name alias) {
|
||||
return new ReasonDict(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ReasonDict as(Table<?> alias) {
|
||||
return new ReasonDict(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ReasonDict rename(String name) {
|
||||
return new ReasonDict(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ReasonDict rename(Name name) {
|
||||
return new ReasonDict(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ReasonDict rename(Table<?> name) {
|
||||
return new ReasonDict(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ReasonDict where(Condition condition) {
|
||||
return new ReasonDict(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ReasonDict where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ReasonDict where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ReasonDict where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ReasonDict where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ReasonDict where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ReasonDict where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ReasonDict where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ReasonDict whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ReasonDict whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -196,7 +196,7 @@ public class CitizenRecord extends UpdatableRecordImpl<CitizenRecord> {
|
|||
* Setter for <code>ervu_dashboard.citizen.reason_registration</code>.
|
||||
* Причина постановки на учёт
|
||||
*/
|
||||
public void setReasonRegistration(String value) {
|
||||
public void setReasonRegistration(Integer value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
|
|
@ -204,8 +204,8 @@ public class CitizenRecord extends UpdatableRecordImpl<CitizenRecord> {
|
|||
* Getter for <code>ervu_dashboard.citizen.reason_registration</code>.
|
||||
* Причина постановки на учёт
|
||||
*/
|
||||
public String getReasonRegistration() {
|
||||
return (String) get(11);
|
||||
public Integer getReasonRegistration() {
|
||||
return (Integer) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -1909,7 +1909,7 @@ public class CitizenRecord extends UpdatableRecordImpl<CitizenRecord> {
|
|||
/**
|
||||
* Create a detached, initialised CitizenRecord
|
||||
*/
|
||||
public CitizenRecord(String residence, String isRegistered, String passportSeries, String passportNumber, String phone, String medicalRequirements, String defermentLiberation, String gender, String maritalStatus, String education, String employment, String reasonRegistration, String driverLicense, String disabilityGroup, String dispensaryRegistrationCode, String regionBirth, String cityBirth, Boolean rightDeferment, Boolean tookBreak, Boolean medic, Boolean sportsCategory, Boolean tractorLicense, Boolean isWanted, Boolean isInPrison, Boolean acquiredCitizenship, Boolean urgentService, Boolean contractService, Boolean mobilization, String fullName, String lastName, String firstName, String middleName, BigDecimal age, String birthPlace, BigDecimal numberChildren, Date birthDate, UUID recruitId, UUID recruitmentId, Date issueDate, BigDecimal numberChildren_18Old, String snils, String inn, String email, Date diedDate, Date startDateResidence, Date endDateResidence, String addressPlaceStay, Date startDatePlaceStay, Date endDatePlaceStay, String typePlaceStay, String addressActual, String sourceInfoActual, Date dateInfoActual, Date dateLossInfoActual, Timestamp updateDate, String countryBirth, String factIssuanceMilitaryRegistration, Date dateRegistration, Date dateDeregistration, Boolean personalData, String groundsExemption, Date startDateRight, Date endDateRight, String decisionNumber, Date startDateDecision, Date endDateDecision, String deferConscription, Boolean signDeferredRelease, String idErn, JSONB idEcia, UUID targetRecruitmentId, String systemPgsStatus, String defermentDecisionType, Boolean havingSportTitle, Boolean employed, Boolean activeRegIp, Boolean activeParentalLeave, Boolean selfEmployed, Boolean hasDisease, Boolean hasVich, Boolean registeredInPnd, Boolean hasDisability, Boolean isIncompetent, Boolean hasDeferment, Boolean hasDefermentRight, Boolean hasExemption, Boolean isGuardian, Integer minorsCount, Boolean hasDeadChild, Boolean hasMinorChild, Boolean hasRussianCitizenship, Boolean hasForeignCitizenship, Boolean hasGroundTransport, Boolean hasAirTransport, Boolean hasWaterTransport, Boolean hasProperty, Boolean hasDriverLicense, Boolean isDeputy, Boolean isDeputyCandidate, Boolean hasCriminalLiabilityFz53, Boolean hasLiabilityFz53, Boolean hasAppealingViolationsFz53, Boolean hasTractorLicense, Boolean hasCriminalProsecution, Boolean hasSentence, Boolean servingSentence, Boolean hasCriminalRecord, Boolean hasSentSummons, Boolean hasServedSummons, Boolean appearedToRecruitmentCenter, Boolean notAppearedByValidExcuse, Boolean hasActiveTemporaryMeasure, String systemEsiaId, Boolean educated, Boolean hasEducationDiploma, Boolean hasForeignEducationDiploma, Boolean hasMilitaryDepartmentEducation, Boolean hasMilitaryTrainingCenterEducation, Boolean hasActualAcademicLeave) {
|
||||
public CitizenRecord(String residence, String isRegistered, String passportSeries, String passportNumber, String phone, String medicalRequirements, String defermentLiberation, String gender, String maritalStatus, String education, String employment, Integer reasonRegistration, String driverLicense, String disabilityGroup, String dispensaryRegistrationCode, String regionBirth, String cityBirth, Boolean rightDeferment, Boolean tookBreak, Boolean medic, Boolean sportsCategory, Boolean tractorLicense, Boolean isWanted, Boolean isInPrison, Boolean acquiredCitizenship, Boolean urgentService, Boolean contractService, Boolean mobilization, String fullName, String lastName, String firstName, String middleName, BigDecimal age, String birthPlace, BigDecimal numberChildren, Date birthDate, UUID recruitId, UUID recruitmentId, Date issueDate, BigDecimal numberChildren_18Old, String snils, String inn, String email, Date diedDate, Date startDateResidence, Date endDateResidence, String addressPlaceStay, Date startDatePlaceStay, Date endDatePlaceStay, String typePlaceStay, String addressActual, String sourceInfoActual, Date dateInfoActual, Date dateLossInfoActual, Timestamp updateDate, String countryBirth, String factIssuanceMilitaryRegistration, Date dateRegistration, Date dateDeregistration, Boolean personalData, String groundsExemption, Date startDateRight, Date endDateRight, String decisionNumber, Date startDateDecision, Date endDateDecision, String deferConscription, Boolean signDeferredRelease, String idErn, JSONB idEcia, UUID targetRecruitmentId, String systemPgsStatus, String defermentDecisionType, Boolean havingSportTitle, Boolean employed, Boolean activeRegIp, Boolean activeParentalLeave, Boolean selfEmployed, Boolean hasDisease, Boolean hasVich, Boolean registeredInPnd, Boolean hasDisability, Boolean isIncompetent, Boolean hasDeferment, Boolean hasDefermentRight, Boolean hasExemption, Boolean isGuardian, Integer minorsCount, Boolean hasDeadChild, Boolean hasMinorChild, Boolean hasRussianCitizenship, Boolean hasForeignCitizenship, Boolean hasGroundTransport, Boolean hasAirTransport, Boolean hasWaterTransport, Boolean hasProperty, Boolean hasDriverLicense, Boolean isDeputy, Boolean isDeputyCandidate, Boolean hasCriminalLiabilityFz53, Boolean hasLiabilityFz53, Boolean hasAppealingViolationsFz53, Boolean hasTractorLicense, Boolean hasCriminalProsecution, Boolean hasSentence, Boolean servingSentence, Boolean hasCriminalRecord, Boolean hasSentSummons, Boolean hasServedSummons, Boolean appearedToRecruitmentCenter, Boolean notAppearedByValidExcuse, Boolean hasActiveTemporaryMeasure, String systemEsiaId, Boolean educated, Boolean hasEducationDiploma, Boolean hasForeignEducationDiploma, Boolean hasMilitaryDepartmentEducation, Boolean hasMilitaryTrainingCenterEducation, Boolean hasActualAcademicLeave) {
|
||||
super(Citizen.CITIZEN);
|
||||
|
||||
setResidence(residence);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,194 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import java.sql.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.DefermentUnifiedData;
|
||||
|
||||
|
||||
/**
|
||||
* Унифицированные данные об отсрочках и правах на отсрочку
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DefermentUnifiedDataRecord extends UpdatableRecordImpl<DefermentUnifiedDataRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.deferment_unified_data.id</code>.
|
||||
* Уникальный идентификатор записи
|
||||
*/
|
||||
public void setId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.deferment_unified_data.id</code>.
|
||||
* Уникальный идентификатор записи
|
||||
*/
|
||||
public Long getId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.deferment_unified_data.recruit_id</code>.
|
||||
* ID призывника
|
||||
*/
|
||||
public void setRecruitId(UUID value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.deferment_unified_data.recruit_id</code>.
|
||||
* ID призывника
|
||||
*/
|
||||
public UUID getRecruitId() {
|
||||
return (UUID) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.deferment_unified_data.decision_number</code>. Номер
|
||||
* решения
|
||||
*/
|
||||
public void setDecisionNumber(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.deferment_unified_data.decision_number</code>. Номер
|
||||
* решения
|
||||
*/
|
||||
public String getDecisionNumber() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.deferment_unified_data.deferment_type</code>. Тип
|
||||
* отсрочки/освобождения
|
||||
*/
|
||||
public void setDefermentType(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.deferment_unified_data.deferment_type</code>. Тип
|
||||
* отсрочки/освобождения
|
||||
*/
|
||||
public String getDefermentType() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.deferment_unified_data.start_date</code>.
|
||||
* Дата начала действия
|
||||
*/
|
||||
public void setStartDate(Date value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.deferment_unified_data.start_date</code>.
|
||||
* Дата начала действия
|
||||
*/
|
||||
public Date getStartDate() {
|
||||
return (Date) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.deferment_unified_data.end_date</code>.
|
||||
* Дата окончания действия
|
||||
*/
|
||||
public void setEndDate(Date value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.deferment_unified_data.end_date</code>.
|
||||
* Дата окончания действия
|
||||
*/
|
||||
public Date getEndDate() {
|
||||
return (Date) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>ervu_dashboard.deferment_unified_data.reason_code</code>. Код
|
||||
* причины отсрочки
|
||||
*/
|
||||
public void setReasonCode(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>ervu_dashboard.deferment_unified_data.reason_code</code>. Код
|
||||
* причины отсрочки
|
||||
*/
|
||||
public String getReasonCode() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.deferment_unified_data.active</code>.
|
||||
* Активна ли запись
|
||||
*/
|
||||
public void setActive(Boolean value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.deferment_unified_data.active</code>.
|
||||
* Активна ли запись
|
||||
*/
|
||||
public Boolean getActive() {
|
||||
return (Boolean) get(7);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached DefermentUnifiedDataRecord
|
||||
*/
|
||||
public DefermentUnifiedDataRecord() {
|
||||
super(DefermentUnifiedData.DEFERMENT_UNIFIED_DATA);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DefermentUnifiedDataRecord
|
||||
*/
|
||||
public DefermentUnifiedDataRecord(Long id, UUID recruitId, String decisionNumber, String defermentType, Date startDate, Date endDate, String reasonCode, Boolean active) {
|
||||
super(DefermentUnifiedData.DEFERMENT_UNIFIED_DATA);
|
||||
|
||||
setId(id);
|
||||
setRecruitId(recruitId);
|
||||
setDecisionNumber(decisionNumber);
|
||||
setDefermentType(defermentType);
|
||||
setStartDate(startDate);
|
||||
setEndDate(endDate);
|
||||
setReasonCode(reasonCode);
|
||||
setActive(active);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu_dashboard.db_beans.ervu_dashboard.tables.ReasonDict;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ReasonDictRecord extends UpdatableRecordImpl<ReasonDictRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.reason_dict.code</code>.
|
||||
*/
|
||||
public void setCode(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.reason_dict.code</code>.
|
||||
*/
|
||||
public Integer getCode() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.reason_dict.description</code>.
|
||||
*/
|
||||
public void setDescription(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.reason_dict.description</code>.
|
||||
*/
|
||||
public String getDescription() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>ervu_dashboard.reason_dict.created_at</code>.
|
||||
*/
|
||||
public void setCreatedAt(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>ervu_dashboard.reason_dict.created_at</code>.
|
||||
*/
|
||||
public Timestamp getCreatedAt() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ReasonDictRecord
|
||||
*/
|
||||
public ReasonDictRecord() {
|
||||
super(ReasonDict.REASON_DICT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ReasonDictRecord
|
||||
*/
|
||||
public ReasonDictRecord(Integer code, String description, Timestamp createdAt) {
|
||||
super(ReasonDict.REASON_DICT);
|
||||
|
||||
setCode(code);
|
||||
setDescription(description);
|
||||
setCreatedAt(createdAt);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue