version>1.5.0-SNAPSHOT

This commit is contained in:
Булат Хайруллин 2024-09-25 16:43:51 +03:00
parent 2312476565
commit d3047eb80d
382 changed files with 54072 additions and 15705 deletions

View file

@ -5,16 +5,12 @@
<parent>
<groupId>ru.micord.ervu</groupId>
<artifactId>dashboard</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.5.0-SNAPSHOT</version>
</parent>
<groupId>ru.micord.ervu.dashboard</groupId>
<artifactId>backend</artifactId>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-jwt</artifactId>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
@ -24,6 +20,11 @@
<artifactId>jjwt-impl</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>ru.micord.ervu.dashboard</groupId>
<artifactId>resources</artifactId>
@ -53,7 +54,6 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
@ -130,6 +130,7 @@
<dependency>
<groupId>ru.cg.webbpm.modules.database</groupId>
<artifactId>database-impl</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>ru.cg.webbpm.modules.jndi</groupId>
@ -208,18 +209,6 @@
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
</dependency>
<dependency>
<groupId>org.mnode.ical4j</groupId>
<artifactId>ical4j</artifactId>
</dependency>
<dependency>
<groupId>net.javacrumbs.shedlock</groupId>
<artifactId>shedlock-spring</artifactId>
@ -232,6 +221,22 @@
<groupId>ru.cg.webbpm.packages.base</groupId>
<artifactId>backend</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-jul</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-web</artifactId>
</dependency>
</dependencies>
<build>
<finalName>${parent.artifactId}</finalName>

View file

@ -34,9 +34,11 @@ import org.springframework.web.servlet.config.annotation.EnableWebMvc;
"component.addresses",
"gen",
"ru.cg",
"ru.micord"
"ru.micord",
"ervu_dashboard"
}, excludeFilters = {
@ComponentScan.Filter(type = FilterType.REGEX, pattern = "security.WebSecurityConfig")
@ComponentScan.Filter(type = FilterType.REGEX, pattern = "security.WebSecurityConfig"),
@ComponentScan.Filter(type = FilterType.REGEX, pattern = "ru.cg.webbpm.modules.database.impl.DatabaseConfiguration"),
})
@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableWebMvc

View file

@ -0,0 +1,6 @@
package ervu_dashboard;
import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer;
public class SecurityWebAppInitializer extends AbstractSecurityWebApplicationInitializer {
}

View file

@ -5,6 +5,7 @@ package ervu_dashboard.ervu_dashboard.db_beans;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.MainDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.Ratings;
@ -39,6 +40,11 @@ public class DefaultCatalog extends CatalogImpl {
*/
public final Appeals APPEALS = Appeals.APPEALS;
/**
* The schema <code>ervu_dashboard</code>.
*/
public final ErvuDashboard ERVU_DASHBOARD = ErvuDashboard.ERVU_DASHBOARD;
/**
* The schema <code>main_dashboard</code>.
*/
@ -85,6 +91,7 @@ public class DefaultCatalog extends CatalogImpl {
public final List<Schema> getSchemas() {
return Arrays.asList(
Appeals.APPEALS,
ErvuDashboard.ERVU_DASHBOARD,
MainDashboard.MAIN_DASHBOARD,
Public.PUBLIC,
Ratings.RATINGS,

View file

@ -12,8 +12,8 @@ import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.MainProfile
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReasonsAppealRecord;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReviewRatingRecord;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.TopicAppealRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Region;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.records.RegionRecord;
@ -44,9 +44,9 @@ public class Keys {
// FOREIGN KEY definitions
// -------------------------------------------------------------------------
public static final ForeignKey<MainProfileRecord, PubRecruitmentRecord> MAIN_PROFILE__MAIN_PROFILE_FK1 = Internal.createForeignKey(MainProfile.MAIN_PROFILE, DSL.name("main_profile_fk1"), new TableField[] { MainProfile.MAIN_PROFILE.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<ReasonsAppealRecord, PubRecruitmentRecord> REASONS_APPEAL__REASONS_APPEAL_FK1 = Internal.createForeignKey(ReasonsAppeal.REASONS_APPEAL, DSL.name("reasons_appeal_fk1"), new TableField[] { ReasonsAppeal.REASONS_APPEAL.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<MainProfileRecord, PubRecruitmentRecord> MAIN_PROFILE__MAIN_PROFILE_FK1 = Internal.createForeignKey(MainProfile.MAIN_PROFILE, DSL.name("main_profile_fk1"), new TableField[] { MainProfile.MAIN_PROFILE.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys.PUB_RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<ReasonsAppealRecord, PubRecruitmentRecord> REASONS_APPEAL__REASONS_APPEAL_FK1 = Internal.createForeignKey(ReasonsAppeal.REASONS_APPEAL, DSL.name("reasons_appeal_fk1"), new TableField[] { ReasonsAppeal.REASONS_APPEAL.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys.PUB_RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<ReviewRatingRecord, RegionRecord> REVIEW_RATING__FK_REGION = Internal.createForeignKey(ReviewRating.REVIEW_RATING, DSL.name("fk_region"), new TableField[] { ReviewRating.REVIEW_RATING.ID_REGION }, ervu_dashboard.ervu_dashboard.db_beans.space.Keys.PK_REGION, new TableField[] { Region.REGION.ID_REGION }, true);
public static final ForeignKey<ReviewRatingRecord, PubRecruitmentRecord> REVIEW_RATING__REVIEW_RATING_FK1 = Internal.createForeignKey(ReviewRating.REVIEW_RATING, DSL.name("review_rating_fk1"), new TableField[] { ReviewRating.REVIEW_RATING.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<TopicAppealRecord, PubRecruitmentRecord> TOPIC_APPEAL__TOPIC_APPEAL_FK1 = Internal.createForeignKey(TopicAppeal.TOPIC_APPEAL, DSL.name("topic_appeal_fk1"), new TableField[] { TopicAppeal.TOPIC_APPEAL.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<ReviewRatingRecord, PubRecruitmentRecord> REVIEW_RATING__REVIEW_RATING_FK1 = Internal.createForeignKey(ReviewRating.REVIEW_RATING, DSL.name("review_rating_fk1"), new TableField[] { ReviewRating.REVIEW_RATING.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys.PUB_RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<TopicAppealRecord, PubRecruitmentRecord> TOPIC_APPEAL__TOPIC_APPEAL_FK1 = Internal.createForeignKey(TopicAppeal.TOPIC_APPEAL, DSL.name("topic_appeal_fk1"), new TableField[] { TopicAppeal.TOPIC_APPEAL.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys.PUB_RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
}

View file

@ -7,13 +7,12 @@ package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.MainProfileRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment.PubRecruitmentPath;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
@ -97,7 +96,7 @@ public class MainProfile extends TableImpl<MainProfileRecord> {
/**
* The column <code>appeals.main_profile.recruitment_id</code>.
*/
public final TableField<MainProfileRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
public final TableField<MainProfileRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36), this, "");
private MainProfile(Name alias, Table<MainProfileRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
@ -182,8 +181,8 @@ public class MainProfile extends TableImpl<MainProfileRecord> {
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
* Get the implicit join path to the
* <code>ervu_dashboard.pub_recruitment</code> table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)

View file

@ -7,14 +7,13 @@ package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReasonsAppealRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment.PubRecruitmentPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
@ -113,7 +112,7 @@ public class ReasonsAppeal extends TableImpl<ReasonsAppealRecord> {
/**
* The column <code>appeals.reasons_appeal.recruitment_id</code>.
*/
public final TableField<ReasonsAppealRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
public final TableField<ReasonsAppealRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36), this, "");
private ReasonsAppeal(Name alias, Table<ReasonsAppealRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
@ -198,8 +197,8 @@ public class ReasonsAppeal extends TableImpl<ReasonsAppealRecord> {
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
* Get the implicit join path to the
* <code>ervu_dashboard.pub_recruitment</code> table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)

View file

@ -7,7 +7,7 @@ package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.ReviewRatingRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Region.RegionPath;
import java.math.BigDecimal;
@ -15,7 +15,6 @@ import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
@ -91,7 +90,7 @@ public class ReviewRating extends TableImpl<ReviewRatingRecord> {
/**
* The column <code>appeals.review_rating.recruitment_id</code>.
*/
public final TableField<ReviewRatingRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
public final TableField<ReviewRatingRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36), this, "");
private ReviewRating(Name alias, Table<ReviewRatingRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
@ -188,8 +187,8 @@ public class ReviewRating extends TableImpl<ReviewRatingRecord> {
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
* Get the implicit join path to the
* <code>ervu_dashboard.pub_recruitment</code> table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)

View file

@ -7,14 +7,13 @@ package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Appeals;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records.TopicAppealRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment.PubRecruitmentPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
@ -121,7 +120,7 @@ public class TopicAppeal extends TableImpl<TopicAppealRecord> {
/**
* The column <code>appeals.topic_appeal.recruitment_id</code>.
*/
public final TableField<TopicAppealRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
public final TableField<TopicAppealRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36), this, "");
private TopicAppeal(Name alias, Table<TopicAppealRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
@ -206,8 +205,8 @@ public class TopicAppeal extends TableImpl<TopicAppealRecord> {
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
* Get the implicit join path to the
* <code>ervu_dashboard.pub_recruitment</code> table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)

View file

@ -7,7 +7,6 @@ package ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
@ -122,15 +121,15 @@ public class MainProfileRecord extends UpdatableRecordImpl<MainProfileRecord> {
/**
* Setter for <code>appeals.main_profile.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
public void setRecruitmentId(String value) {
set(7, value);
}
/**
* Getter for <code>appeals.main_profile.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(7);
public String getRecruitmentId() {
return (String) get(7);
}
// -------------------------------------------------------------------------
@ -156,7 +155,7 @@ public class MainProfileRecord extends UpdatableRecordImpl<MainProfileRecord> {
/**
* Create a detached, initialised MainProfileRecord
*/
public MainProfileRecord(Long idMainProfile, String gender, String age, String childMin_18, String education, String employment, Date recordingDate, UUID recruitmentId) {
public MainProfileRecord(Long idMainProfile, String gender, String age, String childMin_18, String education, String employment, Date recordingDate, String recruitmentId) {
super(MainProfile.MAIN_PROFILE);
setIdMainProfile(idMainProfile);

View file

@ -8,7 +8,6 @@ import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
@ -161,15 +160,15 @@ public class ReasonsAppealRecord extends UpdatableRecordImpl<ReasonsAppealRecord
/**
* Setter for <code>appeals.reasons_appeal.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
public void setRecruitmentId(String value) {
set(9, value);
}
/**
* Getter for <code>appeals.reasons_appeal.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(9);
public String getRecruitmentId() {
return (String) get(9);
}
// -------------------------------------------------------------------------
@ -195,7 +194,7 @@ public class ReasonsAppealRecord extends UpdatableRecordImpl<ReasonsAppealRecord
/**
* Create a detached, initialised ReasonsAppealRecord
*/
public ReasonsAppealRecord(Long idReasonsAppeal, BigDecimal appeal, BigDecimal incorrectInf, BigDecimal noData, BigDecimal other, Date recordingDate, BigDecimal incorrectInfPercent, BigDecimal noDataPercent, BigDecimal otherPercent, UUID recruitmentId) {
public ReasonsAppealRecord(Long idReasonsAppeal, BigDecimal appeal, BigDecimal incorrectInf, BigDecimal noData, BigDecimal other, Date recordingDate, BigDecimal incorrectInfPercent, BigDecimal noDataPercent, BigDecimal otherPercent, String recruitmentId) {
super(ReasonsAppeal.REASONS_APPEAL);
setIdReasonsAppeal(idReasonsAppeal);

View file

@ -8,7 +8,6 @@ import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReviewRating;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
@ -99,15 +98,15 @@ public class ReviewRatingRecord extends UpdatableRecordImpl<ReviewRatingRecord>
/**
* Setter for <code>appeals.review_rating.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
public void setRecruitmentId(String value) {
set(5, value);
}
/**
* Getter for <code>appeals.review_rating.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(5);
public String getRecruitmentId() {
return (String) get(5);
}
// -------------------------------------------------------------------------
@ -133,7 +132,7 @@ public class ReviewRatingRecord extends UpdatableRecordImpl<ReviewRatingRecord>
/**
* Create a detached, initialised ReviewRatingRecord
*/
public ReviewRatingRecord(Long idReviewRating, BigDecimal speed, BigDecimal rating, Date recordingDate, Long idRegion, UUID recruitmentId) {
public ReviewRatingRecord(Long idReviewRating, BigDecimal speed, BigDecimal rating, Date recordingDate, Long idRegion, String recruitmentId) {
super(ReviewRating.REVIEW_RATING);
setIdReviewRating(idReviewRating);

View file

@ -8,7 +8,6 @@ import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.TopicAppeal;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
@ -181,15 +180,15 @@ public class TopicAppealRecord extends UpdatableRecordImpl<TopicAppealRecord> {
/**
* Setter for <code>appeals.topic_appeal.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
public void setRecruitmentId(String value) {
set(10, value);
}
/**
* Getter for <code>appeals.topic_appeal.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(10);
public String getRecruitmentId() {
return (String) get(10);
}
// -------------------------------------------------------------------------
@ -215,7 +214,7 @@ public class TopicAppealRecord extends UpdatableRecordImpl<TopicAppealRecord> {
/**
* Create a detached, initialised TopicAppealRecord
*/
public TopicAppealRecord(Long idTopicAppeal, BigDecimal registration, BigDecimal sabpoena, BigDecimal appear, BigDecimal temporaryMeasures, Date recordingDate, BigDecimal registrationPercent, BigDecimal sabpoenaPercent, BigDecimal appearPercent, BigDecimal temporaryMeasuresPercent, UUID recruitmentId) {
public TopicAppealRecord(Long idTopicAppeal, BigDecimal registration, BigDecimal sabpoena, BigDecimal appear, BigDecimal temporaryMeasures, Date recordingDate, BigDecimal registrationPercent, BigDecimal sabpoenaPercent, BigDecimal appearPercent, BigDecimal temporaryMeasuresPercent, String recruitmentId) {
super(TopicAppeal.TOPIC_APPEAL);
setIdTopicAppeal(idTopicAppeal);

View file

@ -0,0 +1,153 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard;
import ervu_dashboard.ervu_dashboard.db_beans.DefaultCatalog;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizen;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenChild;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenGuardianship;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenSpouse;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangelog;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disease;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.DriversLicence;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.MedicalAuthorities;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.TemporaryMeasures;
import java.util.Arrays;
import java.util.List;
import org.jooq.Catalog;
import org.jooq.Table;
import org.jooq.impl.SchemaImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ErvuDashboard extends SchemaImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ervu_dashboard</code>
*/
public static final ErvuDashboard ERVU_DASHBOARD = new ErvuDashboard();
/**
* The table <code>ervu_dashboard.citizen</code>.
*/
public final Citizen CITIZEN = Citizen.CITIZEN;
/**
* сведения о детях гражданина
*/
public final CitizenChild CITIZEN_CHILD = CitizenChild.CITIZEN_CHILD;
/**
* сведения о лице, опекаемом или находящемся на попечении
*/
public final CitizenGuardianship CITIZEN_GUARDIANSHIP = CitizenGuardianship.CITIZEN_GUARDIANSHIP;
/**
* сведения о супруге (бывшей/ем супруге) гражданина
*/
public final CitizenSpouse CITIZEN_SPOUSE = CitizenSpouse.CITIZEN_SPOUSE;
/**
* The table <code>ervu_dashboard.databasechangelog</code>.
*/
public final Databasechangelog DATABASECHANGELOG = Databasechangelog.DATABASECHANGELOG;
/**
* The table <code>ervu_dashboard.databasechangeloglock</code>.
*/
public final Databasechangeloglock DATABASECHANGELOGLOCK = Databasechangeloglock.DATABASECHANGELOGLOCK;
/**
* сведения об инвалидности/недееспособности/ограниченной дееспособности
*/
public final Disability DISABILITY = Disability.DISABILITY;
/**
* сведения о заболеваниях гражданина
*/
public final Disease DISEASE = Disease.DISEASE;
/**
* удостоверение водительское/тракториста-машиниста
*/
public final DriversLicence DRIVERS_LICENCE = DriversLicence.DRIVERS_LICENCE;
/**
* сведения о гражданах, стоящих на учете в ПНД/по ВИЧ
*/
public final MedicalAuthorities MEDICAL_AUTHORITIES = MedicalAuthorities.MEDICAL_AUTHORITIES;
/**
* сведения об имуществе
*/
public final Property PROPERTY = Property.PROPERTY;
/**
* The table <code>ervu_dashboard.pub_recruitment</code>.
*/
public final PubRecruitment PUB_RECRUITMENT = PubRecruitment.PUB_RECRUITMENT;
/**
* The table <code>ervu_dashboard.recruitment</code>.
*/
public final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
/**
* The table <code>ervu_dashboard.subpoena</code>.
*/
public final Subpoena SUBPOENA = Subpoena.SUBPOENA;
/**
* The table <code>ervu_dashboard.temporary_measures</code>.
*/
public final TemporaryMeasures TEMPORARY_MEASURES = TemporaryMeasures.TEMPORARY_MEASURES;
/**
* No further instances allowed
*/
private ErvuDashboard() {
super("ervu_dashboard", null);
}
@Override
public Catalog getCatalog() {
return DefaultCatalog.DEFAULT_CATALOG;
}
@Override
public final List<Table<?>> getTables() {
return Arrays.asList(
Citizen.CITIZEN,
CitizenChild.CITIZEN_CHILD,
CitizenGuardianship.CITIZEN_GUARDIANSHIP,
CitizenSpouse.CITIZEN_SPOUSE,
Databasechangelog.DATABASECHANGELOG,
Databasechangeloglock.DATABASECHANGELOGLOCK,
Disability.DISABILITY,
Disease.DISEASE,
DriversLicence.DRIVERS_LICENCE,
MedicalAuthorities.MEDICAL_AUTHORITIES,
Property.PROPERTY,
PubRecruitment.PUB_RECRUITMENT,
Recruitment.RECRUITMENT,
Subpoena.SUBPOENA,
TemporaryMeasures.TEMPORARY_MEASURES
);
}
}

View file

@ -0,0 +1,68 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizen;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenChild;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenGuardianship;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenSpouse;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disease;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.DriversLicence;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.MedicalAuthorities;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.TemporaryMeasures;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenChildRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenGuardianshipRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenSpouseRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DatabasechangeloglockRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DisabilityRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DiseaseRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DriversLicenceRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.MedicalAuthoritiesRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PropertyRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.RecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.SubpoenaRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.TemporaryMeasuresRecord;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;
/**
* A class modelling foreign key relationships and constraints of tables in
* ervu_dashboard.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {
// -------------------------------------------------------------------------
// UNIQUE and PRIMARY KEY definitions
// -------------------------------------------------------------------------
public static final UniqueKey<CitizenRecord> CITIZEN_PKEY = Internal.createUniqueKey(Citizen.CITIZEN, DSL.name("citizen_pkey"), new TableField[] { Citizen.CITIZEN.RECRUIT_ID }, true);
public static final UniqueKey<CitizenChildRecord> PK_CITIZEN_CHILD = Internal.createUniqueKey(CitizenChild.CITIZEN_CHILD, DSL.name("pk_citizen_child"), new TableField[] { CitizenChild.CITIZEN_CHILD.CITIZEN_CHILD_ID }, true);
public static final UniqueKey<CitizenGuardianshipRecord> PK_CITIZEN_GUARDIANSHIP = Internal.createUniqueKey(CitizenGuardianship.CITIZEN_GUARDIANSHIP, DSL.name("pk_citizen_guardianship"), new TableField[] { CitizenGuardianship.CITIZEN_GUARDIANSHIP.CITIZEN_GUARDIANSHIP_ID }, true);
public static final UniqueKey<CitizenSpouseRecord> PK_CITIZEN_SPOUSE = Internal.createUniqueKey(CitizenSpouse.CITIZEN_SPOUSE, DSL.name("pk_citizen_spouse"), new TableField[] { CitizenSpouse.CITIZEN_SPOUSE.CITIZEN_SPOUSE_ID }, true);
public static final UniqueKey<DatabasechangeloglockRecord> DATABASECHANGELOGLOCK_PKEY = Internal.createUniqueKey(Databasechangeloglock.DATABASECHANGELOGLOCK, DSL.name("databasechangeloglock_pkey"), new TableField[] { Databasechangeloglock.DATABASECHANGELOGLOCK.ID }, true);
public static final UniqueKey<DisabilityRecord> PK_DISABILITY = Internal.createUniqueKey(Disability.DISABILITY, DSL.name("pk_disability"), new TableField[] { Disability.DISABILITY.DISABILITY_ID }, true);
public static final UniqueKey<DiseaseRecord> PK_DISEASE = Internal.createUniqueKey(Disease.DISEASE, DSL.name("pk_disease"), new TableField[] { Disease.DISEASE.DISEASE_ID }, true);
public static final UniqueKey<DriversLicenceRecord> PK_DRIVERS_LICENCE = Internal.createUniqueKey(DriversLicence.DRIVERS_LICENCE, DSL.name("pk_drivers_licence"), new TableField[] { DriversLicence.DRIVERS_LICENCE.DRIVERS_LICENCE_ID }, true);
public static final UniqueKey<MedicalAuthoritiesRecord> PK_MEDICAL_AUTHORITIES = Internal.createUniqueKey(MedicalAuthorities.MEDICAL_AUTHORITIES, DSL.name("pk_medical_authorities"), new TableField[] { MedicalAuthorities.MEDICAL_AUTHORITIES.MEDICAL_AUTHORITIES_ID }, true);
public static final UniqueKey<PropertyRecord> PK_PROPERTY = Internal.createUniqueKey(Property.PROPERTY, DSL.name("pk_property"), new TableField[] { Property.PROPERTY.PROPERTY_ID }, true);
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<RecruitmentRecord> RECRUITMENT_PKEY = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("recruitment_pkey"), new TableField[] { Recruitment.RECRUITMENT.ID }, true);
public static final UniqueKey<SubpoenaRecord> SUBPOENA_PKEY = Internal.createUniqueKey(Subpoena.SUBPOENA, DSL.name("subpoena_pkey"), new TableField[] { Subpoena.SUBPOENA.SUBPOENA_ID }, true);
public static final UniqueKey<TemporaryMeasuresRecord> TEMPORARY_MEASURES_PKEY = Internal.createUniqueKey(TemporaryMeasures.TEMPORARY_MEASURES, DSL.name("temporary_measures_pkey"), new TableField[] { TemporaryMeasures.TEMPORARY_MEASURES.TEMPORARY_MEASURES_ID }, true);
}

View file

@ -0,0 +1,285 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV1;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV1mc;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV3;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV4;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidGenerateV5;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNil;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNsDns;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNsOid;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNsUrl;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines.UuidNsX500;
import java.util.UUID;
import org.jooq.Configuration;
import org.jooq.Field;
/**
* Convenience access to all stored procedures and functions in ervu_dashboard.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Routines {
/**
* Call <code>ervu_dashboard.uuid_generate_v1</code>
*/
public static UUID uuidGenerateV1(
Configuration configuration
) {
UuidGenerateV1 f = new UuidGenerateV1();
f.execute(configuration);
return f.getReturnValue();
}
/**
* Get <code>ervu_dashboard.uuid_generate_v1</code> as a field.
*/
public static Field<UUID> uuidGenerateV1() {
UuidGenerateV1 f = new UuidGenerateV1();
return f.asField();
}
/**
* Call <code>ervu_dashboard.uuid_generate_v1mc</code>
*/
public static UUID uuidGenerateV1mc(
Configuration configuration
) {
UuidGenerateV1mc f = new UuidGenerateV1mc();
f.execute(configuration);
return f.getReturnValue();
}
/**
* Get <code>ervu_dashboard.uuid_generate_v1mc</code> as a field.
*/
public static Field<UUID> uuidGenerateV1mc() {
UuidGenerateV1mc f = new UuidGenerateV1mc();
return f.asField();
}
/**
* Call <code>ervu_dashboard.uuid_generate_v3</code>
*/
public static UUID uuidGenerateV3(
Configuration configuration
, UUID namespace
, String name
) {
UuidGenerateV3 f = new UuidGenerateV3();
f.setNamespace(namespace);
f.setName_(name);
f.execute(configuration);
return f.getReturnValue();
}
/**
* Get <code>ervu_dashboard.uuid_generate_v3</code> as a field.
*/
public static Field<UUID> uuidGenerateV3(
UUID namespace
, String name
) {
UuidGenerateV3 f = new UuidGenerateV3();
f.setNamespace(namespace);
f.setName_(name);
return f.asField();
}
/**
* Get <code>ervu_dashboard.uuid_generate_v3</code> as a field.
*/
public static Field<UUID> uuidGenerateV3(
Field<UUID> namespace
, Field<String> name
) {
UuidGenerateV3 f = new UuidGenerateV3();
f.setNamespace(namespace);
f.setName_(name);
return f.asField();
}
/**
* Call <code>ervu_dashboard.uuid_generate_v4</code>
*/
public static UUID uuidGenerateV4(
Configuration configuration
) {
UuidGenerateV4 f = new UuidGenerateV4();
f.execute(configuration);
return f.getReturnValue();
}
/**
* Get <code>ervu_dashboard.uuid_generate_v4</code> as a field.
*/
public static Field<UUID> uuidGenerateV4() {
UuidGenerateV4 f = new UuidGenerateV4();
return f.asField();
}
/**
* Call <code>ervu_dashboard.uuid_generate_v5</code>
*/
public static UUID uuidGenerateV5(
Configuration configuration
, UUID namespace
, String name
) {
UuidGenerateV5 f = new UuidGenerateV5();
f.setNamespace(namespace);
f.setName_(name);
f.execute(configuration);
return f.getReturnValue();
}
/**
* Get <code>ervu_dashboard.uuid_generate_v5</code> as a field.
*/
public static Field<UUID> uuidGenerateV5(
UUID namespace
, String name
) {
UuidGenerateV5 f = new UuidGenerateV5();
f.setNamespace(namespace);
f.setName_(name);
return f.asField();
}
/**
* Get <code>ervu_dashboard.uuid_generate_v5</code> as a field.
*/
public static Field<UUID> uuidGenerateV5(
Field<UUID> namespace
, Field<String> name
) {
UuidGenerateV5 f = new UuidGenerateV5();
f.setNamespace(namespace);
f.setName_(name);
return f.asField();
}
/**
* Call <code>ervu_dashboard.uuid_nil</code>
*/
public static UUID uuidNil(
Configuration configuration
) {
UuidNil f = new UuidNil();
f.execute(configuration);
return f.getReturnValue();
}
/**
* Get <code>ervu_dashboard.uuid_nil</code> as a field.
*/
public static Field<UUID> uuidNil() {
UuidNil f = new UuidNil();
return f.asField();
}
/**
* Call <code>ervu_dashboard.uuid_ns_dns</code>
*/
public static UUID uuidNsDns(
Configuration configuration
) {
UuidNsDns f = new UuidNsDns();
f.execute(configuration);
return f.getReturnValue();
}
/**
* Get <code>ervu_dashboard.uuid_ns_dns</code> as a field.
*/
public static Field<UUID> uuidNsDns() {
UuidNsDns f = new UuidNsDns();
return f.asField();
}
/**
* Call <code>ervu_dashboard.uuid_ns_oid</code>
*/
public static UUID uuidNsOid(
Configuration configuration
) {
UuidNsOid f = new UuidNsOid();
f.execute(configuration);
return f.getReturnValue();
}
/**
* Get <code>ervu_dashboard.uuid_ns_oid</code> as a field.
*/
public static Field<UUID> uuidNsOid() {
UuidNsOid f = new UuidNsOid();
return f.asField();
}
/**
* Call <code>ervu_dashboard.uuid_ns_url</code>
*/
public static UUID uuidNsUrl(
Configuration configuration
) {
UuidNsUrl f = new UuidNsUrl();
f.execute(configuration);
return f.getReturnValue();
}
/**
* Get <code>ervu_dashboard.uuid_ns_url</code> as a field.
*/
public static Field<UUID> uuidNsUrl() {
UuidNsUrl f = new UuidNsUrl();
return f.asField();
}
/**
* Call <code>ervu_dashboard.uuid_ns_x500</code>
*/
public static UUID uuidNsX500(
Configuration configuration
) {
UuidNsX500 f = new UuidNsX500();
f.execute(configuration);
return f.getReturnValue();
}
/**
* Get <code>ervu_dashboard.uuid_ns_x500</code> as a field.
*/
public static Field<UUID> uuidNsX500() {
UuidNsX500 f = new UuidNsX500();
return f.asField();
}
}

View file

@ -0,0 +1,104 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizen;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenChild;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenGuardianship;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenSpouse;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangelog;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disease;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.DriversLicence;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.MedicalAuthorities;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.TemporaryMeasures;
/**
* Convenience access to all tables in ervu_dashboard.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Tables {
/**
* The table <code>ervu_dashboard.citizen</code>.
*/
public static final Citizen CITIZEN = Citizen.CITIZEN;
/**
* сведения о детях гражданина
*/
public static final CitizenChild CITIZEN_CHILD = CitizenChild.CITIZEN_CHILD;
/**
* сведения о лице, опекаемом или находящемся на попечении
*/
public static final CitizenGuardianship CITIZEN_GUARDIANSHIP = CitizenGuardianship.CITIZEN_GUARDIANSHIP;
/**
* сведения о супруге (бывшей/ем супруге) гражданина
*/
public static final CitizenSpouse CITIZEN_SPOUSE = CitizenSpouse.CITIZEN_SPOUSE;
/**
* The table <code>ervu_dashboard.databasechangelog</code>.
*/
public static final Databasechangelog DATABASECHANGELOG = Databasechangelog.DATABASECHANGELOG;
/**
* The table <code>ervu_dashboard.databasechangeloglock</code>.
*/
public static final Databasechangeloglock DATABASECHANGELOGLOCK = Databasechangeloglock.DATABASECHANGELOGLOCK;
/**
* сведения об инвалидности/недееспособности/ограниченной дееспособности
*/
public static final Disability DISABILITY = Disability.DISABILITY;
/**
* сведения о заболеваниях гражданина
*/
public static final Disease DISEASE = Disease.DISEASE;
/**
* удостоверение водительское/тракториста-машиниста
*/
public static final DriversLicence DRIVERS_LICENCE = DriversLicence.DRIVERS_LICENCE;
/**
* сведения о гражданах, стоящих на учете в ПНД/по ВИЧ
*/
public static final MedicalAuthorities MEDICAL_AUTHORITIES = MedicalAuthorities.MEDICAL_AUTHORITIES;
/**
* сведения об имуществе
*/
public static final Property PROPERTY = Property.PROPERTY;
/**
* The table <code>ervu_dashboard.pub_recruitment</code>.
*/
public static final PubRecruitment PUB_RECRUITMENT = PubRecruitment.PUB_RECRUITMENT;
/**
* The table <code>ervu_dashboard.recruitment</code>.
*/
public static final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
/**
* The table <code>ervu_dashboard.subpoena</code>.
*/
public static final Subpoena SUBPOENA = Subpoena.SUBPOENA;
/**
* The table <code>ervu_dashboard.temporary_measures</code>.
*/
public static final TemporaryMeasures TEMPORARY_MEASURES = TemporaryMeasures.TEMPORARY_MEASURES;
}

View file

@ -0,0 +1,38 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import java.util.UUID;
import org.jooq.Parameter;
import org.jooq.impl.AbstractRoutine;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UuidGenerateV1 extends AbstractRoutine<UUID> {
private static final long serialVersionUID = 1L;
/**
* The parameter <code>ervu_dashboard.uuid_generate_v1.RETURN_VALUE</code>.
*/
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
/**
* Create a new routine call instance
*/
public UuidGenerateV1() {
super("uuid_generate_v1", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
setReturnParameter(RETURN_VALUE);
}
}

View file

@ -0,0 +1,39 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import java.util.UUID;
import org.jooq.Parameter;
import org.jooq.impl.AbstractRoutine;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UuidGenerateV1mc extends AbstractRoutine<UUID> {
private static final long serialVersionUID = 1L;
/**
* The parameter
* <code>ervu_dashboard.uuid_generate_v1mc.RETURN_VALUE</code>.
*/
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
/**
* Create a new routine call instance
*/
public UuidGenerateV1mc() {
super("uuid_generate_v1mc", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
setReturnParameter(RETURN_VALUE);
}
}

View file

@ -0,0 +1,81 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import java.util.UUID;
import org.jooq.Field;
import org.jooq.Parameter;
import org.jooq.impl.AbstractRoutine;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UuidGenerateV3 extends AbstractRoutine<UUID> {
private static final long serialVersionUID = 1L;
/**
* The parameter <code>ervu_dashboard.uuid_generate_v3.RETURN_VALUE</code>.
*/
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
/**
* The parameter <code>ervu_dashboard.uuid_generate_v3.namespace</code>.
*/
public static final Parameter<UUID> NAMESPACE = Internal.createParameter("namespace", SQLDataType.UUID, false, false);
/**
* The parameter <code>ervu_dashboard.uuid_generate_v3.name</code>.
*/
public static final Parameter<String> NAME = Internal.createParameter("name", SQLDataType.CLOB, false, false);
/**
* Create a new routine call instance
*/
public UuidGenerateV3() {
super("uuid_generate_v3", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
setReturnParameter(RETURN_VALUE);
addInParameter(NAMESPACE);
addInParameter(NAME);
}
/**
* Set the <code>namespace</code> parameter IN value to the routine
*/
public void setNamespace(UUID value) {
setValue(NAMESPACE, value);
}
/**
* Set the <code>namespace</code> parameter to the function to be used with
* a {@link org.jooq.Select} statement
*/
public void setNamespace(Field<UUID> field) {
setField(NAMESPACE, field);
}
/**
* Set the <code>name</code> parameter IN value to the routine
*/
public void setName_(String value) {
setValue(NAME, value);
}
/**
* Set the <code>name</code> parameter to the function to be used with a
* {@link org.jooq.Select} statement
*/
public void setName_(Field<String> field) {
setField(NAME, field);
}
}

View file

@ -0,0 +1,38 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import java.util.UUID;
import org.jooq.Parameter;
import org.jooq.impl.AbstractRoutine;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UuidGenerateV4 extends AbstractRoutine<UUID> {
private static final long serialVersionUID = 1L;
/**
* The parameter <code>ervu_dashboard.uuid_generate_v4.RETURN_VALUE</code>.
*/
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
/**
* Create a new routine call instance
*/
public UuidGenerateV4() {
super("uuid_generate_v4", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
setReturnParameter(RETURN_VALUE);
}
}

View file

@ -0,0 +1,81 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import java.util.UUID;
import org.jooq.Field;
import org.jooq.Parameter;
import org.jooq.impl.AbstractRoutine;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UuidGenerateV5 extends AbstractRoutine<UUID> {
private static final long serialVersionUID = 1L;
/**
* The parameter <code>ervu_dashboard.uuid_generate_v5.RETURN_VALUE</code>.
*/
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
/**
* The parameter <code>ervu_dashboard.uuid_generate_v5.namespace</code>.
*/
public static final Parameter<UUID> NAMESPACE = Internal.createParameter("namespace", SQLDataType.UUID, false, false);
/**
* The parameter <code>ervu_dashboard.uuid_generate_v5.name</code>.
*/
public static final Parameter<String> NAME = Internal.createParameter("name", SQLDataType.CLOB, false, false);
/**
* Create a new routine call instance
*/
public UuidGenerateV5() {
super("uuid_generate_v5", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
setReturnParameter(RETURN_VALUE);
addInParameter(NAMESPACE);
addInParameter(NAME);
}
/**
* Set the <code>namespace</code> parameter IN value to the routine
*/
public void setNamespace(UUID value) {
setValue(NAMESPACE, value);
}
/**
* Set the <code>namespace</code> parameter to the function to be used with
* a {@link org.jooq.Select} statement
*/
public void setNamespace(Field<UUID> field) {
setField(NAMESPACE, field);
}
/**
* Set the <code>name</code> parameter IN value to the routine
*/
public void setName_(String value) {
setValue(NAME, value);
}
/**
* Set the <code>name</code> parameter to the function to be used with a
* {@link org.jooq.Select} statement
*/
public void setName_(Field<String> field) {
setField(NAME, field);
}
}

View file

@ -0,0 +1,38 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import java.util.UUID;
import org.jooq.Parameter;
import org.jooq.impl.AbstractRoutine;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UuidNil extends AbstractRoutine<UUID> {
private static final long serialVersionUID = 1L;
/**
* The parameter <code>ervu_dashboard.uuid_nil.RETURN_VALUE</code>.
*/
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
/**
* Create a new routine call instance
*/
public UuidNil() {
super("uuid_nil", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
setReturnParameter(RETURN_VALUE);
}
}

View file

@ -0,0 +1,38 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import java.util.UUID;
import org.jooq.Parameter;
import org.jooq.impl.AbstractRoutine;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UuidNsDns extends AbstractRoutine<UUID> {
private static final long serialVersionUID = 1L;
/**
* The parameter <code>ervu_dashboard.uuid_ns_dns.RETURN_VALUE</code>.
*/
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
/**
* Create a new routine call instance
*/
public UuidNsDns() {
super("uuid_ns_dns", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
setReturnParameter(RETURN_VALUE);
}
}

View file

@ -0,0 +1,38 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import java.util.UUID;
import org.jooq.Parameter;
import org.jooq.impl.AbstractRoutine;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UuidNsOid extends AbstractRoutine<UUID> {
private static final long serialVersionUID = 1L;
/**
* The parameter <code>ervu_dashboard.uuid_ns_oid.RETURN_VALUE</code>.
*/
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
/**
* Create a new routine call instance
*/
public UuidNsOid() {
super("uuid_ns_oid", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
setReturnParameter(RETURN_VALUE);
}
}

View file

@ -0,0 +1,38 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import java.util.UUID;
import org.jooq.Parameter;
import org.jooq.impl.AbstractRoutine;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UuidNsUrl extends AbstractRoutine<UUID> {
private static final long serialVersionUID = 1L;
/**
* The parameter <code>ervu_dashboard.uuid_ns_url.RETURN_VALUE</code>.
*/
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
/**
* Create a new routine call instance
*/
public UuidNsUrl() {
super("uuid_ns_url", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
setReturnParameter(RETURN_VALUE);
}
}

View file

@ -0,0 +1,38 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.routines;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import java.util.UUID;
import org.jooq.Parameter;
import org.jooq.impl.AbstractRoutine;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UuidNsX500 extends AbstractRoutine<UUID> {
private static final long serialVersionUID = 1L;
/**
* The parameter <code>ervu_dashboard.uuid_ns_x500.RETURN_VALUE</code>.
*/
public static final Parameter<UUID> RETURN_VALUE = Internal.createParameter("RETURN_VALUE", SQLDataType.UUID, false, false);
/**
* Create a new routine call instance
*/
public UuidNsX500() {
super("uuid_ns_x500", ErvuDashboard.ERVU_DASHBOARD, SQLDataType.UUID);
setReturnParameter(RETURN_VALUE);
}
}

View file

@ -0,0 +1,441 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenRecord;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Collection;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.Name;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Citizen extends TableImpl<CitizenRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ervu_dashboard.citizen</code>
*/
public static final Citizen CITIZEN = new Citizen();
/**
* The class holding records for this type
*/
@Override
public Class<CitizenRecord> getRecordType() {
return CitizenRecord.class;
}
/**
* The column <code>ervu_dashboard.citizen.residence</code>. Адрес места
* жительства
*/
public final TableField<CitizenRecord, String> RESIDENCE = createField(DSL.name("residence"), SQLDataType.VARCHAR, this, "Адрес места жительства");
/**
* The column <code>ervu_dashboard.citizen.is_registered</code>. Сведения о
* воинском учёте
*/
public final TableField<CitizenRecord, String> IS_REGISTERED = createField(DSL.name("is_registered"), SQLDataType.VARCHAR, this, "Сведения о воинском учёте");
/**
* The column <code>ervu_dashboard.citizen.passport_series</code>. Серия
* паспорта
*/
public final TableField<CitizenRecord, String> PASSPORT_SERIES = createField(DSL.name("passport_series"), SQLDataType.VARCHAR, this, "Серия паспорта");
/**
* The column <code>ervu_dashboard.citizen.passport_number</code>. Номер
* паспорта
*/
public final TableField<CitizenRecord, String> PASSPORT_NUMBER = createField(DSL.name("passport_number"), SQLDataType.VARCHAR, this, "Номер паспорта");
/**
* The column <code>ervu_dashboard.citizen.phone</code>. Телефон
*/
public final TableField<CitizenRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR, this, "Телефон");
/**
* The column <code>ervu_dashboard.citizen.medical_requirements</code>.
* Медицинские сведения
*/
public final TableField<CitizenRecord, String> MEDICAL_REQUIREMENTS = createField(DSL.name("medical_requirements"), SQLDataType.VARCHAR, this, "Медицинские сведения");
/**
* The column <code>ervu_dashboard.citizen.deferment_liberation</code>.
* Наличие отсрочки или освобождения от военной службы
*/
public final TableField<CitizenRecord, String> DEFERMENT_LIBERATION = createField(DSL.name("deferment_liberation"), SQLDataType.VARCHAR, this, "Наличие отсрочки или освобождения от военной службы");
/**
* The column <code>ervu_dashboard.citizen.gender</code>. Пол
*/
public final TableField<CitizenRecord, String> GENDER = createField(DSL.name("gender"), SQLDataType.VARCHAR, this, "Пол");
/**
* The column <code>ervu_dashboard.citizen.marital_status</code>. Семейное
* положение
*/
public final TableField<CitizenRecord, String> MARITAL_STATUS = createField(DSL.name("marital_status"), SQLDataType.VARCHAR, this, "Семейное положение");
/**
* The column <code>ervu_dashboard.citizen.education</code>. Образование
*/
public final TableField<CitizenRecord, String> EDUCATION = createField(DSL.name("education"), SQLDataType.VARCHAR, this, "Образование");
/**
* The column <code>ervu_dashboard.citizen.employment</code>. Занятость
*/
public final TableField<CitizenRecord, String> EMPLOYMENT = createField(DSL.name("employment"), SQLDataType.VARCHAR, this, "Занятость");
/**
* The column <code>ervu_dashboard.citizen.reason_registration</code>.
* Причина постановки на учёт
*/
public final TableField<CitizenRecord, String> REASON_REGISTRATION = createField(DSL.name("reason_registration"), SQLDataType.VARCHAR, this, "Причина постановки на учёт");
/**
* The column <code>ervu_dashboard.citizen.driver_license</code>.
* Водительское удостоверение
*/
public final TableField<CitizenRecord, String> DRIVER_LICENSE = createField(DSL.name("driver_license"), SQLDataType.VARCHAR, this, "Водительское удостоверение");
/**
* The column <code>ervu_dashboard.citizen.disability_group</code>. Группа
* инвалидности
*/
public final TableField<CitizenRecord, String> DISABILITY_GROUP = createField(DSL.name("disability_group"), SQLDataType.VARCHAR, this, "Группа инвалидности");
/**
* The column
* <code>ervu_dashboard.citizen.dispensary_registration_code</code>. Код
* диспансерного учета
*/
public final TableField<CitizenRecord, String> DISPENSARY_REGISTRATION_CODE = createField(DSL.name("dispensary_registration_code"), SQLDataType.VARCHAR, this, "Код диспансерного учета");
/**
* The column <code>ervu_dashboard.citizen.region_birth</code>. Регион места
* рождения
*/
public final TableField<CitizenRecord, String> REGION_BIRTH = createField(DSL.name("region_birth"), SQLDataType.VARCHAR, this, "Регион места рождения");
/**
* The column <code>ervu_dashboard.citizen.city_birth</code>. Город места
* рождения
*/
public final TableField<CitizenRecord, String> CITY_BIRTH = createField(DSL.name("city_birth"), SQLDataType.VARCHAR, this, "Город места рождения");
/**
* The column <code>ervu_dashboard.citizen.right_deferment</code>. Имеет
* право на отсрочку
*/
public final TableField<CitizenRecord, Boolean> RIGHT_DEFERMENT = createField(DSL.name("right_deferment"), SQLDataType.BOOLEAN, this, "Имеет право на отсрочку");
/**
* The column <code>ervu_dashboard.citizen.took_break</code>. Воспользовался
* отсрочкой
*/
public final TableField<CitizenRecord, Boolean> TOOK_BREAK = createField(DSL.name("took_break"), SQLDataType.BOOLEAN, this, "Воспользовался отсрочкой");
/**
* The column <code>ervu_dashboard.citizen.medic</code>. Является медиком
*/
public final TableField<CitizenRecord, Boolean> MEDIC = createField(DSL.name("medic"), SQLDataType.BOOLEAN, this, "Является медиком");
/**
* The column <code>ervu_dashboard.citizen.sports_category</code>. Имеет
* спортивный разряд/звание
*/
public final TableField<CitizenRecord, Boolean> SPORTS_CATEGORY = createField(DSL.name("sports_category"), SQLDataType.BOOLEAN, this, "Имеет спортивный разряд/звание");
/**
* The column <code>ervu_dashboard.citizen.tractor_license</code>. Имеет
* удостоверение тракториста
*/
public final TableField<CitizenRecord, Boolean> TRACTOR_LICENSE = createField(DSL.name("tractor_license"), SQLDataType.BOOLEAN, this, "Имеет удостоверение тракториста");
/**
* The column <code>ervu_dashboard.citizen.is_wanted</code>. Находится в
* розыске
*/
public final TableField<CitizenRecord, Boolean> IS_WANTED = createField(DSL.name("is_wanted"), SQLDataType.BOOLEAN, this, "Находится в розыске");
/**
* The column <code>ervu_dashboard.citizen.is_in_prison</code>. Находится в
* местах лишения свободы
*/
public final TableField<CitizenRecord, Boolean> IS_IN_PRISON = createField(DSL.name("is_in_prison"), SQLDataType.BOOLEAN, this, "Находится в местах лишения свободы");
/**
* The column <code>ervu_dashboard.citizen.acquired_citizenship</code>.
* Получивший гражданство
*/
public final TableField<CitizenRecord, Boolean> ACQUIRED_CITIZENSHIP = createField(DSL.name("acquired_citizenship"), SQLDataType.BOOLEAN, this, "Получивший гражданство");
/**
* The column <code>ervu_dashboard.citizen.urgent_service</code>. Признак
* критерия срочной службы
*/
public final TableField<CitizenRecord, Boolean> URGENT_SERVICE = createField(DSL.name("urgent_service"), SQLDataType.BOOLEAN, this, "Признак критерия срочной службы");
/**
* The column <code>ervu_dashboard.citizen.contract_service</code>. Признак
* критерия контрактной службы
*/
public final TableField<CitizenRecord, Boolean> CONTRACT_SERVICE = createField(DSL.name("contract_service"), SQLDataType.BOOLEAN, this, "Признак критерия контрактной службы");
/**
* The column <code>ervu_dashboard.citizen.mobilization</code>. Признак
* критерия службы по мобмлизации
*/
public final TableField<CitizenRecord, Boolean> MOBILIZATION = createField(DSL.name("mobilization"), SQLDataType.BOOLEAN, this, "Признак критерия службы по мобмлизации");
/**
* The column <code>ervu_dashboard.citizen.full_name</code>.
*/
public final TableField<CitizenRecord, String> FULL_NAME = createField(DSL.name("full_name"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>ervu_dashboard.citizen.last_name</code>.
*/
public final TableField<CitizenRecord, String> LAST_NAME = createField(DSL.name("last_name"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>ervu_dashboard.citizen.first_name</code>.
*/
public final TableField<CitizenRecord, String> FIRST_NAME = createField(DSL.name("first_name"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>ervu_dashboard.citizen.middle_name</code>.
*/
public final TableField<CitizenRecord, String> MIDDLE_NAME = createField(DSL.name("middle_name"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>ervu_dashboard.citizen.age</code>.
*/
public final TableField<CitizenRecord, BigDecimal> AGE = createField(DSL.name("age"), SQLDataType.NUMERIC, this, "");
/**
* The column <code>ervu_dashboard.citizen.birth_place</code>.
*/
public final TableField<CitizenRecord, String> BIRTH_PLACE = createField(DSL.name("birth_place"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>ervu_dashboard.citizen.number_children</code>.
*/
public final TableField<CitizenRecord, BigDecimal> NUMBER_CHILDREN = createField(DSL.name("number_children"), SQLDataType.NUMERIC, this, "");
/**
* The column <code>ervu_dashboard.citizen.birth_date</code>.
*/
public final TableField<CitizenRecord, Date> BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE, this, "");
/**
* The column <code>ervu_dashboard.citizen.recruit_id</code>. id рекрута из
* БД ЕРВУ
*/
public final TableField<CitizenRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "id рекрута из БД ЕРВУ");
/**
* The column <code>ervu_dashboard.citizen.recruitment_id</code>.
*/
public final TableField<CitizenRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36), this, "");
/**
* The column <code>ervu_dashboard.citizen.issue_date</code>.
*/
public final TableField<CitizenRecord, Date> ISSUE_DATE = createField(DSL.name("issue_date"), SQLDataType.DATE, this, "");
/**
* The column <code>ervu_dashboard.citizen.number_children_18_old</code>.
*/
public final TableField<CitizenRecord, BigDecimal> NUMBER_CHILDREN_18_OLD = createField(DSL.name("number_children_18_old"), SQLDataType.NUMERIC, this, "");
private Citizen(Name alias, Table<CitizenRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Citizen(Name alias, Table<CitizenRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>ervu_dashboard.citizen</code> table reference
*/
public Citizen(String alias) {
this(DSL.name(alias), CITIZEN);
}
/**
* Create an aliased <code>ervu_dashboard.citizen</code> table reference
*/
public Citizen(Name alias) {
this(alias, CITIZEN);
}
/**
* Create a <code>ervu_dashboard.citizen</code> table reference
*/
public Citizen() {
this(DSL.name("citizen"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override
public UniqueKey<CitizenRecord> getPrimaryKey() {
return Keys.CITIZEN_PKEY;
}
@Override
public Citizen as(String alias) {
return new Citizen(DSL.name(alias), this);
}
@Override
public Citizen as(Name alias) {
return new Citizen(alias, this);
}
@Override
public Citizen as(Table<?> alias) {
return new Citizen(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Citizen rename(String name) {
return new Citizen(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Citizen rename(Name name) {
return new Citizen(name, null);
}
/**
* Rename this table
*/
@Override
public Citizen rename(Table<?> name) {
return new Citizen(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen where(Condition condition) {
return new Citizen(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Citizen where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Citizen where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Citizen where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Citizen where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,267 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenChildRecord;
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;
/**
* сведения о детях гражданина
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CitizenChild extends TableImpl<CitizenChildRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ervu_dashboard.citizen_child</code>
*/
public static final CitizenChild CITIZEN_CHILD = new CitizenChild();
/**
* The class holding records for this type
*/
@Override
public Class<CitizenChildRecord> getRecordType() {
return CitizenChildRecord.class;
}
/**
* The column <code>ervu_dashboard.citizen_child.citizen_child_id</code>.
*/
public final TableField<CitizenChildRecord, Long> CITIZEN_CHILD_ID = createField(DSL.name("citizen_child_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>ervu_dashboard.citizen_child.recruit_id</code>. ссылка
* на гражданина (citizen)
*/
public final TableField<CitizenChildRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
/**
* The column <code>ervu_dashboard.citizen_child.kinship_type</code>. тип
* родственной связи: сын/дочь
*/
public final TableField<CitizenChildRecord, String> KINSHIP_TYPE = createField(DSL.name("kinship_type"), SQLDataType.VARCHAR(50), this, "тип родственной связи: сын/дочь");
/**
* The column <code>ervu_dashboard.citizen_child.full_name</code>. ФИО
*/
public final TableField<CitizenChildRecord, String> FULL_NAME = createField(DSL.name("full_name"), SQLDataType.VARCHAR, this, "ФИО");
/**
* The column <code>ervu_dashboard.citizen_child.birth_date</code>.
*/
public final TableField<CitizenChildRecord, Date> BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE, this, "");
/**
* The column <code>ervu_dashboard.citizen_child.birth_az_number</code>.
* номер актовой записи о рождении
*/
public final TableField<CitizenChildRecord, String> BIRTH_AZ_NUMBER = createField(DSL.name("birth_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о рождении");
/**
* The column <code>ervu_dashboard.citizen_child.death_date</code>.
*/
public final TableField<CitizenChildRecord, Date> DEATH_DATE = createField(DSL.name("death_date"), SQLDataType.DATE, this, "");
/**
* The column <code>ervu_dashboard.citizen_child.death_az_number</code>.
* номер актовой записи о смерти
*/
public final TableField<CitizenChildRecord, String> DEATH_AZ_NUMBER = createField(DSL.name("death_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о смерти");
private CitizenChild(Name alias, Table<CitizenChildRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private CitizenChild(Name alias, Table<CitizenChildRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("сведения о детях гражданина"), TableOptions.table(), where);
}
/**
* Create an aliased <code>ervu_dashboard.citizen_child</code> table
* reference
*/
public CitizenChild(String alias) {
this(DSL.name(alias), CITIZEN_CHILD);
}
/**
* Create an aliased <code>ervu_dashboard.citizen_child</code> table
* reference
*/
public CitizenChild(Name alias) {
this(alias, CITIZEN_CHILD);
}
/**
* Create a <code>ervu_dashboard.citizen_child</code> table reference
*/
public CitizenChild() {
this(DSL.name("citizen_child"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override
public Identity<CitizenChildRecord, Long> getIdentity() {
return (Identity<CitizenChildRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<CitizenChildRecord> getPrimaryKey() {
return Keys.PK_CITIZEN_CHILD;
}
@Override
public CitizenChild as(String alias) {
return new CitizenChild(DSL.name(alias), this);
}
@Override
public CitizenChild as(Name alias) {
return new CitizenChild(alias, this);
}
@Override
public CitizenChild as(Table<?> alias) {
return new CitizenChild(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public CitizenChild rename(String name) {
return new CitizenChild(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public CitizenChild rename(Name name) {
return new CitizenChild(name, null);
}
/**
* Rename this table
*/
@Override
public CitizenChild rename(Table<?> name) {
return new CitizenChild(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenChild where(Condition condition) {
return new CitizenChild(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenChild where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenChild where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenChild where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CitizenChild where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CitizenChild where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CitizenChild where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CitizenChild where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenChild whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenChild whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,252 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenGuardianshipRecord;
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;
/**
* сведения о лице, опекаемом или находящемся на попечении
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CitizenGuardianship extends TableImpl<CitizenGuardianshipRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>ervu_dashboard.citizen_guardianship</code>
*/
public static final CitizenGuardianship CITIZEN_GUARDIANSHIP = new CitizenGuardianship();
/**
* The class holding records for this type
*/
@Override
public Class<CitizenGuardianshipRecord> getRecordType() {
return CitizenGuardianshipRecord.class;
}
/**
* The column
* <code>ervu_dashboard.citizen_guardianship.citizen_guardianship_id</code>.
*/
public final TableField<CitizenGuardianshipRecord, Long> CITIZEN_GUARDIANSHIP_ID = createField(DSL.name("citizen_guardianship_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>ervu_dashboard.citizen_guardianship.recruit_id</code>.
* ссылка на гражданина (citizen)
*/
public final TableField<CitizenGuardianshipRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
/**
* The column <code>ervu_dashboard.citizen_guardianship.full_name</code>.
* ФИО
*/
public final TableField<CitizenGuardianshipRecord, String> FULL_NAME = createField(DSL.name("full_name"), SQLDataType.VARCHAR, this, "ФИО");
/**
* The column <code>ervu_dashboard.citizen_guardianship.birth_date</code>.
*/
public final TableField<CitizenGuardianshipRecord, Date> BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE, this, "");
/**
* The column <code>ervu_dashboard.citizen_guardianship.snils</code>.
*/
public final TableField<CitizenGuardianshipRecord, String> SNILS = createField(DSL.name("snils"), SQLDataType.VARCHAR(50), this, "");
private CitizenGuardianship(Name alias, Table<CitizenGuardianshipRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private CitizenGuardianship(Name alias, Table<CitizenGuardianshipRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("сведения о лице, опекаемом или находящемся на попечении"), TableOptions.table(), where);
}
/**
* Create an aliased <code>ervu_dashboard.citizen_guardianship</code> table
* reference
*/
public CitizenGuardianship(String alias) {
this(DSL.name(alias), CITIZEN_GUARDIANSHIP);
}
/**
* Create an aliased <code>ervu_dashboard.citizen_guardianship</code> table
* reference
*/
public CitizenGuardianship(Name alias) {
this(alias, CITIZEN_GUARDIANSHIP);
}
/**
* Create a <code>ervu_dashboard.citizen_guardianship</code> table reference
*/
public CitizenGuardianship() {
this(DSL.name("citizen_guardianship"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override
public Identity<CitizenGuardianshipRecord, Long> getIdentity() {
return (Identity<CitizenGuardianshipRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<CitizenGuardianshipRecord> getPrimaryKey() {
return Keys.PK_CITIZEN_GUARDIANSHIP;
}
@Override
public CitizenGuardianship as(String alias) {
return new CitizenGuardianship(DSL.name(alias), this);
}
@Override
public CitizenGuardianship as(Name alias) {
return new CitizenGuardianship(alias, this);
}
@Override
public CitizenGuardianship as(Table<?> alias) {
return new CitizenGuardianship(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public CitizenGuardianship rename(String name) {
return new CitizenGuardianship(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public CitizenGuardianship rename(Name name) {
return new CitizenGuardianship(name, null);
}
/**
* Rename this table
*/
@Override
public CitizenGuardianship rename(Table<?> name) {
return new CitizenGuardianship(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenGuardianship where(Condition condition) {
return new CitizenGuardianship(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenGuardianship where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenGuardianship where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenGuardianship where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CitizenGuardianship where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CitizenGuardianship where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CitizenGuardianship where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CitizenGuardianship where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenGuardianship whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenGuardianship whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,290 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.CitizenSpouseRecord;
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;
/**
* сведения о супруге (бывшей/ем супруге) гражданина
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CitizenSpouse extends TableImpl<CitizenSpouseRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ervu_dashboard.citizen_spouse</code>
*/
public static final CitizenSpouse CITIZEN_SPOUSE = new CitizenSpouse();
/**
* The class holding records for this type
*/
@Override
public Class<CitizenSpouseRecord> getRecordType() {
return CitizenSpouseRecord.class;
}
/**
* The column <code>ervu_dashboard.citizen_spouse.citizen_spouse_id</code>.
*/
public final TableField<CitizenSpouseRecord, Long> CITIZEN_SPOUSE_ID = createField(DSL.name("citizen_spouse_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>ervu_dashboard.citizen_spouse.recruit_id</code>. ссылка
* на гражданина (citizen)
*/
public final TableField<CitizenSpouseRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
/**
* The column <code>ervu_dashboard.citizen_spouse.kinship_type</code>. тип
* родственной связи: супруг/бывший супруг
*/
public final TableField<CitizenSpouseRecord, String> KINSHIP_TYPE = createField(DSL.name("kinship_type"), SQLDataType.VARCHAR(50), this, "тип родственной связи: супруг/бывший супруг");
/**
* The column <code>ervu_dashboard.citizen_spouse.full_name</code>. ФИО
*/
public final TableField<CitizenSpouseRecord, String> FULL_NAME = createField(DSL.name("full_name"), SQLDataType.VARCHAR, this, "ФИО");
/**
* The column <code>ervu_dashboard.citizen_spouse.birth_date</code>.
*/
public final TableField<CitizenSpouseRecord, Date> BIRTH_DATE = createField(DSL.name("birth_date"), SQLDataType.DATE, this, "");
/**
* The column <code>ervu_dashboard.citizen_spouse.death_az_number</code>.
* номер актовой записи о смерти
*/
public final TableField<CitizenSpouseRecord, String> DEATH_AZ_NUMBER = createField(DSL.name("death_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о смерти");
/**
* The column <code>ervu_dashboard.citizen_spouse.death_date</code>.
*/
public final TableField<CitizenSpouseRecord, Date> DEATH_DATE = createField(DSL.name("death_date"), SQLDataType.DATE, this, "");
/**
* The column <code>ervu_dashboard.citizen_spouse.marriage_az_number</code>.
* номер актовой записи о браке
*/
public final TableField<CitizenSpouseRecord, String> MARRIAGE_AZ_NUMBER = createField(DSL.name("marriage_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о браке");
/**
* The column <code>ervu_dashboard.citizen_spouse.marriage_date</code>.
*/
public final TableField<CitizenSpouseRecord, Date> MARRIAGE_DATE = createField(DSL.name("marriage_date"), SQLDataType.DATE, this, "");
/**
* The column <code>ervu_dashboard.citizen_spouse.divorce_az_number</code>.
* номер актовой записи о расторжении брака
*/
public final TableField<CitizenSpouseRecord, String> DIVORCE_AZ_NUMBER = createField(DSL.name("divorce_az_number"), SQLDataType.VARCHAR(50), this, "номер актовой записи о расторжении брака");
/**
* The column <code>ervu_dashboard.citizen_spouse.divorce_date</code>.
*/
public final TableField<CitizenSpouseRecord, Date> DIVORCE_DATE = createField(DSL.name("divorce_date"), SQLDataType.DATE, this, "");
/**
* The column
* <code>ervu_dashboard.citizen_spouse.information_excluded</code>. сведения
* о супруге исключены
*/
public final TableField<CitizenSpouseRecord, Boolean> INFORMATION_EXCLUDED = createField(DSL.name("information_excluded"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "сведения о супруге исключены");
private CitizenSpouse(Name alias, Table<CitizenSpouseRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private CitizenSpouse(Name alias, Table<CitizenSpouseRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("сведения о супруге (бывшей/ем супруге) гражданина"), TableOptions.table(), where);
}
/**
* Create an aliased <code>ervu_dashboard.citizen_spouse</code> table
* reference
*/
public CitizenSpouse(String alias) {
this(DSL.name(alias), CITIZEN_SPOUSE);
}
/**
* Create an aliased <code>ervu_dashboard.citizen_spouse</code> table
* reference
*/
public CitizenSpouse(Name alias) {
this(alias, CITIZEN_SPOUSE);
}
/**
* Create a <code>ervu_dashboard.citizen_spouse</code> table reference
*/
public CitizenSpouse() {
this(DSL.name("citizen_spouse"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override
public Identity<CitizenSpouseRecord, Long> getIdentity() {
return (Identity<CitizenSpouseRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<CitizenSpouseRecord> getPrimaryKey() {
return Keys.PK_CITIZEN_SPOUSE;
}
@Override
public CitizenSpouse as(String alias) {
return new CitizenSpouse(DSL.name(alias), this);
}
@Override
public CitizenSpouse as(Name alias) {
return new CitizenSpouse(alias, this);
}
@Override
public CitizenSpouse as(Table<?> alias) {
return new CitizenSpouse(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public CitizenSpouse rename(String name) {
return new CitizenSpouse(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public CitizenSpouse rename(Name name) {
return new CitizenSpouse(name, null);
}
/**
* Rename this table
*/
@Override
public CitizenSpouse rename(Table<?> name) {
return new CitizenSpouse(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenSpouse where(Condition condition) {
return new CitizenSpouse(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenSpouse where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenSpouse where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenSpouse where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CitizenSpouse where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CitizenSpouse where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CitizenSpouse where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public CitizenSpouse where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenSpouse whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public CitizenSpouse whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,279 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DatabasechangelogRecord;
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.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Databasechangelog extends TableImpl<DatabasechangelogRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ervu_dashboard.databasechangelog</code>
*/
public static final Databasechangelog DATABASECHANGELOG = new Databasechangelog();
/**
* The class holding records for this type
*/
@Override
public Class<DatabasechangelogRecord> getRecordType() {
return DatabasechangelogRecord.class;
}
/**
* The column <code>ervu_dashboard.databasechangelog.id</code>.
*/
public final TableField<DatabasechangelogRecord, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column <code>ervu_dashboard.databasechangelog.author</code>.
*/
public final TableField<DatabasechangelogRecord, String> AUTHOR = createField(DSL.name("author"), SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column <code>ervu_dashboard.databasechangelog.filename</code>.
*/
public final TableField<DatabasechangelogRecord, String> FILENAME = createField(DSL.name("filename"), SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column <code>ervu_dashboard.databasechangelog.dateexecuted</code>.
*/
public final TableField<DatabasechangelogRecord, Timestamp> DATEEXECUTED = createField(DSL.name("dateexecuted"), SQLDataType.TIMESTAMP(0).nullable(false), this, "");
/**
* The column <code>ervu_dashboard.databasechangelog.orderexecuted</code>.
*/
public final TableField<DatabasechangelogRecord, Integer> ORDEREXECUTED = createField(DSL.name("orderexecuted"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>ervu_dashboard.databasechangelog.exectype</code>.
*/
public final TableField<DatabasechangelogRecord, String> EXECTYPE = createField(DSL.name("exectype"), SQLDataType.VARCHAR(10).nullable(false), this, "");
/**
* The column <code>ervu_dashboard.databasechangelog.md5sum</code>.
*/
public final TableField<DatabasechangelogRecord, String> MD5SUM = createField(DSL.name("md5sum"), SQLDataType.VARCHAR(35), this, "");
/**
* The column <code>ervu_dashboard.databasechangelog.description</code>.
*/
public final TableField<DatabasechangelogRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>ervu_dashboard.databasechangelog.comments</code>.
*/
public final TableField<DatabasechangelogRecord, String> COMMENTS = createField(DSL.name("comments"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>ervu_dashboard.databasechangelog.tag</code>.
*/
public final TableField<DatabasechangelogRecord, String> TAG = createField(DSL.name("tag"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>ervu_dashboard.databasechangelog.liquibase</code>.
*/
public final TableField<DatabasechangelogRecord, String> LIQUIBASE = createField(DSL.name("liquibase"), SQLDataType.VARCHAR(20), this, "");
/**
* The column <code>ervu_dashboard.databasechangelog.contexts</code>.
*/
public final TableField<DatabasechangelogRecord, String> CONTEXTS = createField(DSL.name("contexts"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>ervu_dashboard.databasechangelog.labels</code>.
*/
public final TableField<DatabasechangelogRecord, String> LABELS = createField(DSL.name("labels"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>ervu_dashboard.databasechangelog.deployment_id</code>.
*/
public final TableField<DatabasechangelogRecord, String> DEPLOYMENT_ID = createField(DSL.name("deployment_id"), SQLDataType.VARCHAR(10), this, "");
private Databasechangelog(Name alias, Table<DatabasechangelogRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Databasechangelog(Name alias, Table<DatabasechangelogRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>ervu_dashboard.databasechangelog</code> table
* reference
*/
public Databasechangelog(String alias) {
this(DSL.name(alias), DATABASECHANGELOG);
}
/**
* Create an aliased <code>ervu_dashboard.databasechangelog</code> table
* reference
*/
public Databasechangelog(Name alias) {
this(alias, DATABASECHANGELOG);
}
/**
* Create a <code>ervu_dashboard.databasechangelog</code> table reference
*/
public Databasechangelog() {
this(DSL.name("databasechangelog"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override
public Databasechangelog as(String alias) {
return new Databasechangelog(DSL.name(alias), this);
}
@Override
public Databasechangelog as(Name alias) {
return new Databasechangelog(alias, this);
}
@Override
public Databasechangelog as(Table<?> alias) {
return new Databasechangelog(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Databasechangelog rename(String name) {
return new Databasechangelog(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Databasechangelog rename(Name name) {
return new Databasechangelog(name, null);
}
/**
* Rename this table
*/
@Override
public Databasechangelog rename(Table<?> name) {
return new Databasechangelog(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangelog where(Condition condition) {
return new Databasechangelog(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangelog where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangelog where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangelog where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangelog where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangelog where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangelog where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangelog where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangelog whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangelog whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,238 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DatabasechangeloglockRecord;
import java.sql.Timestamp;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.Name;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Databasechangeloglock extends TableImpl<DatabasechangeloglockRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>ervu_dashboard.databasechangeloglock</code>
*/
public static final Databasechangeloglock DATABASECHANGELOGLOCK = new Databasechangeloglock();
/**
* The class holding records for this type
*/
@Override
public Class<DatabasechangeloglockRecord> getRecordType() {
return DatabasechangeloglockRecord.class;
}
/**
* The column <code>ervu_dashboard.databasechangeloglock.id</code>.
*/
public final TableField<DatabasechangeloglockRecord, Integer> ID = createField(DSL.name("id"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>ervu_dashboard.databasechangeloglock.locked</code>.
*/
public final TableField<DatabasechangeloglockRecord, Boolean> LOCKED = createField(DSL.name("locked"), SQLDataType.BOOLEAN.nullable(false), this, "");
/**
* The column <code>ervu_dashboard.databasechangeloglock.lockgranted</code>.
*/
public final TableField<DatabasechangeloglockRecord, Timestamp> LOCKGRANTED = createField(DSL.name("lockgranted"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>ervu_dashboard.databasechangeloglock.lockedby</code>.
*/
public final TableField<DatabasechangeloglockRecord, String> LOCKEDBY = createField(DSL.name("lockedby"), SQLDataType.VARCHAR(255), this, "");
private Databasechangeloglock(Name alias, Table<DatabasechangeloglockRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Databasechangeloglock(Name alias, Table<DatabasechangeloglockRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>ervu_dashboard.databasechangeloglock</code> table
* reference
*/
public Databasechangeloglock(String alias) {
this(DSL.name(alias), DATABASECHANGELOGLOCK);
}
/**
* Create an aliased <code>ervu_dashboard.databasechangeloglock</code> table
* reference
*/
public Databasechangeloglock(Name alias) {
this(alias, DATABASECHANGELOGLOCK);
}
/**
* Create a <code>ervu_dashboard.databasechangeloglock</code> table
* reference
*/
public Databasechangeloglock() {
this(DSL.name("databasechangeloglock"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override
public UniqueKey<DatabasechangeloglockRecord> getPrimaryKey() {
return Keys.DATABASECHANGELOGLOCK_PKEY;
}
@Override
public Databasechangeloglock as(String alias) {
return new Databasechangeloglock(DSL.name(alias), this);
}
@Override
public Databasechangeloglock as(Name alias) {
return new Databasechangeloglock(alias, this);
}
@Override
public Databasechangeloglock as(Table<?> alias) {
return new Databasechangeloglock(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Databasechangeloglock rename(String name) {
return new Databasechangeloglock(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Databasechangeloglock rename(Name name) {
return new Databasechangeloglock(name, null);
}
/**
* Rename this table
*/
@Override
public Databasechangeloglock rename(Table<?> name) {
return new Databasechangeloglock(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangeloglock where(Condition condition) {
return new Databasechangeloglock(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangeloglock where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangeloglock where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangeloglock where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangeloglock where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangeloglock where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangeloglock where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangeloglock where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangeloglock whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangeloglock whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,274 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DisabilityRecord;
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;
/**
* сведения об инвалидности/недееспособности/ограниченной дееспособности
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Disability extends TableImpl<DisabilityRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ervu_dashboard.disability</code>
*/
public static final Disability DISABILITY = new Disability();
/**
* The class holding records for this type
*/
@Override
public Class<DisabilityRecord> getRecordType() {
return DisabilityRecord.class;
}
/**
* The column <code>ervu_dashboard.disability.disability_id</code>.
*/
public final TableField<DisabilityRecord, Long> DISABILITY_ID = createField(DSL.name("disability_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>ervu_dashboard.disability.recruit_id</code>. ссылка на
* гражданина (citizen)
*/
public final TableField<DisabilityRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
/**
* The column <code>ervu_dashboard.disability.disability</code>. сведения об
* инвалидности(true)/недееспособности(false)
*/
public final TableField<DisabilityRecord, Boolean> DISABILITY_ = createField(DSL.name("disability"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "сведения об инвалидности(true)/недееспособности(false)");
/**
* The column <code>ervu_dashboard.disability.organization_name</code>.
* наименование организации, установившей инвалидность/судебного органа
*/
public final TableField<DisabilityRecord, String> ORGANIZATION_NAME = createField(DSL.name("organization_name"), SQLDataType.VARCHAR(300), this, "наименование организации, установившей инвалидность/судебного органа");
/**
* The column <code>ervu_dashboard.disability.start_date</code>. дата
* установления инвалидности/признания гражданина недееспособным
*/
public final TableField<DisabilityRecord, Date> START_DATE = createField(DSL.name("start_date"), SQLDataType.DATE, this, "дата установления инвалидности/признания гражданина недееспособным");
/**
* The column <code>ervu_dashboard.disability.close_date</code>. дата снятия
* инвалидности/отмены ограничения гражданина в дееспособности
*/
public final TableField<DisabilityRecord, Date> CLOSE_DATE = createField(DSL.name("close_date"), SQLDataType.DATE, this, "дата снятия инвалидности/отмены ограничения гражданина в дееспособности");
/**
* The column <code>ervu_dashboard.disability.confirmation_date</code>. дата
* подтверждения инвалидности
*/
public final TableField<DisabilityRecord, Date> CONFIRMATION_DATE = createField(DSL.name("confirmation_date"), SQLDataType.DATE, this, "дата подтверждения инвалидности");
/**
* The column <code>ervu_dashboard.disability.re_examination_date</code>.
* дата переосвидетельствования по инвалидности
*/
public final TableField<DisabilityRecord, Date> RE_EXAMINATION_DATE = createField(DSL.name("re_examination_date"), SQLDataType.DATE, this, "дата переосвидетельствования по инвалидности");
/**
* The column <code>ervu_dashboard.disability.disability_group</code>.
* группа инвалидности
*/
public final TableField<DisabilityRecord, String> DISABILITY_GROUP = createField(DSL.name("disability_group"), SQLDataType.VARCHAR(30), this, "группа инвалидности");
private Disability(Name alias, Table<DisabilityRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Disability(Name alias, Table<DisabilityRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("сведения об инвалидности/недееспособности/ограниченной дееспособности"), TableOptions.table(), where);
}
/**
* Create an aliased <code>ervu_dashboard.disability</code> table reference
*/
public Disability(String alias) {
this(DSL.name(alias), DISABILITY);
}
/**
* Create an aliased <code>ervu_dashboard.disability</code> table reference
*/
public Disability(Name alias) {
this(alias, DISABILITY);
}
/**
* Create a <code>ervu_dashboard.disability</code> table reference
*/
public Disability() {
this(DSL.name("disability"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override
public Identity<DisabilityRecord, Long> getIdentity() {
return (Identity<DisabilityRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<DisabilityRecord> getPrimaryKey() {
return Keys.PK_DISABILITY;
}
@Override
public Disability as(String alias) {
return new Disability(DSL.name(alias), this);
}
@Override
public Disability as(Name alias) {
return new Disability(alias, this);
}
@Override
public Disability as(Table<?> alias) {
return new Disability(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Disability rename(String name) {
return new Disability(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Disability rename(Name name) {
return new Disability(name, null);
}
/**
* Rename this table
*/
@Override
public Disability rename(Table<?> name) {
return new Disability(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Disability where(Condition condition) {
return new Disability(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Disability where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Disability where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Disability where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Disability where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Disability where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Disability where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Disability where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Disability whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Disability whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,255 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DiseaseRecord;
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;
/**
* сведения о заболеваниях гражданина
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Disease extends TableImpl<DiseaseRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ervu_dashboard.disease</code>
*/
public static final Disease DISEASE = new Disease();
/**
* The class holding records for this type
*/
@Override
public Class<DiseaseRecord> getRecordType() {
return DiseaseRecord.class;
}
/**
* The column <code>ervu_dashboard.disease.disease_id</code>.
*/
public final TableField<DiseaseRecord, Long> DISEASE_ID = createField(DSL.name("disease_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>ervu_dashboard.disease.recruit_id</code>. ссылка на
* гражданина (citizen)
*/
public final TableField<DiseaseRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
/**
* The column <code>ervu_dashboard.disease.code</code>. код заболевания
*/
public final TableField<DiseaseRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR, this, "код заболевания");
/**
* The column <code>ervu_dashboard.disease.name</code>. наименование
* заболевания
*/
public final TableField<DiseaseRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR, this, "наименование заболевания");
/**
* The column <code>ervu_dashboard.disease.reg_date</code>. дата постановки
* диагноза
*/
public final TableField<DiseaseRecord, Date> REG_DATE = createField(DSL.name("reg_date"), SQLDataType.DATE, this, "дата постановки диагноза");
/**
* The column <code>ervu_dashboard.disease.registered</code>. поставлен на
* учет по заболеванию
*/
public final TableField<DiseaseRecord, Boolean> REGISTERED = createField(DSL.name("registered"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "поставлен на учет по заболеванию");
private Disease(Name alias, Table<DiseaseRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Disease(Name alias, Table<DiseaseRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("сведения о заболеваниях гражданина"), TableOptions.table(), where);
}
/**
* Create an aliased <code>ervu_dashboard.disease</code> table reference
*/
public Disease(String alias) {
this(DSL.name(alias), DISEASE);
}
/**
* Create an aliased <code>ervu_dashboard.disease</code> table reference
*/
public Disease(Name alias) {
this(alias, DISEASE);
}
/**
* Create a <code>ervu_dashboard.disease</code> table reference
*/
public Disease() {
this(DSL.name("disease"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override
public Identity<DiseaseRecord, Long> getIdentity() {
return (Identity<DiseaseRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<DiseaseRecord> getPrimaryKey() {
return Keys.PK_DISEASE;
}
@Override
public Disease as(String alias) {
return new Disease(DSL.name(alias), this);
}
@Override
public Disease as(Name alias) {
return new Disease(alias, this);
}
@Override
public Disease as(Table<?> alias) {
return new Disease(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Disease rename(String name) {
return new Disease(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Disease rename(Name name) {
return new Disease(name, null);
}
/**
* Rename this table
*/
@Override
public Disease rename(Table<?> name) {
return new Disease(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Disease where(Condition condition) {
return new Disease(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Disease where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Disease where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Disease where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Disease where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Disease where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Disease where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Disease where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Disease whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Disease whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,295 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.DriversLicenceRecord;
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;
/**
* удостоверение водительское/тракториста-машиниста
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DriversLicence extends TableImpl<DriversLicenceRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ervu_dashboard.drivers_licence</code>
*/
public static final DriversLicence DRIVERS_LICENCE = new DriversLicence();
/**
* The class holding records for this type
*/
@Override
public Class<DriversLicenceRecord> getRecordType() {
return DriversLicenceRecord.class;
}
/**
* The column
* <code>ervu_dashboard.drivers_licence.drivers_licence_id</code>.
*/
public final TableField<DriversLicenceRecord, Long> DRIVERS_LICENCE_ID = createField(DSL.name("drivers_licence_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>ervu_dashboard.drivers_licence.recruit_id</code>. ссылка
* на гражданина (citizen)
*/
public final TableField<DriversLicenceRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
/**
* The column <code>ervu_dashboard.drivers_licence.tractor_driver</code>.
* удостоверение тракториста
*/
public final TableField<DriversLicenceRecord, Boolean> TRACTOR_DRIVER = createField(DSL.name("tractor_driver"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "удостоверение тракториста");
/**
* The column <code>ervu_dashboard.drivers_licence.licence_series</code>.
* серия
*/
public final TableField<DriversLicenceRecord, String> LICENCE_SERIES = createField(DSL.name("licence_series"), SQLDataType.VARCHAR(50), this, "серия");
/**
* The column <code>ervu_dashboard.drivers_licence.licence_number</code>.
* номер
*/
public final TableField<DriversLicenceRecord, String> LICENCE_NUMBER = createField(DSL.name("licence_number"), SQLDataType.VARCHAR(50), this, "номер");
/**
* The column <code>ervu_dashboard.drivers_licence.start_date</code>. дата
* выдачи
*/
public final TableField<DriversLicenceRecord, Date> START_DATE = createField(DSL.name("start_date"), SQLDataType.DATE, this, "дата выдачи");
/**
* The column <code>ervu_dashboard.drivers_licence.close_date</code>. дата
* окончания действия
*/
public final TableField<DriversLicenceRecord, Date> CLOSE_DATE = createField(DSL.name("close_date"), SQLDataType.DATE, this, "дата окончания действия");
/**
* The column <code>ervu_dashboard.drivers_licence.categories</code>.
* категории
*/
public final TableField<DriversLicenceRecord, String> CATEGORIES = createField(DSL.name("categories"), SQLDataType.VARCHAR(50), this, "категории");
/**
* The column <code>ervu_dashboard.drivers_licence.status</code>. статус
* удостоверения
*/
public final TableField<DriversLicenceRecord, String> STATUS = createField(DSL.name("status"), SQLDataType.VARCHAR(50), this, "статус удостоверения");
/**
* The column <code>ervu_dashboard.drivers_licence.replacement_date</code>.
* дата замены
*/
public final TableField<DriversLicenceRecord, Date> REPLACEMENT_DATE = createField(DSL.name("replacement_date"), SQLDataType.DATE, this, "дата замены");
/**
* The column <code>ervu_dashboard.drivers_licence.return_date</code>. дата
* возврата
*/
public final TableField<DriversLicenceRecord, Date> RETURN_DATE = createField(DSL.name("return_date"), SQLDataType.DATE, this, "дата возврата");
/**
* The column <code>ervu_dashboard.drivers_licence.seizure_date</code>. дата
* изъятия
*/
public final TableField<DriversLicenceRecord, Date> SEIZURE_DATE = createField(DSL.name("seizure_date"), SQLDataType.DATE, this, "дата изъятия");
private DriversLicence(Name alias, Table<DriversLicenceRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private DriversLicence(Name alias, Table<DriversLicenceRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("удостоверение водительское/тракториста-машиниста"), TableOptions.table(), where);
}
/**
* Create an aliased <code>ervu_dashboard.drivers_licence</code> table
* reference
*/
public DriversLicence(String alias) {
this(DSL.name(alias), DRIVERS_LICENCE);
}
/**
* Create an aliased <code>ervu_dashboard.drivers_licence</code> table
* reference
*/
public DriversLicence(Name alias) {
this(alias, DRIVERS_LICENCE);
}
/**
* Create a <code>ervu_dashboard.drivers_licence</code> table reference
*/
public DriversLicence() {
this(DSL.name("drivers_licence"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override
public Identity<DriversLicenceRecord, Long> getIdentity() {
return (Identity<DriversLicenceRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<DriversLicenceRecord> getPrimaryKey() {
return Keys.PK_DRIVERS_LICENCE;
}
@Override
public DriversLicence as(String alias) {
return new DriversLicence(DSL.name(alias), this);
}
@Override
public DriversLicence as(Name alias) {
return new DriversLicence(alias, this);
}
@Override
public DriversLicence as(Table<?> alias) {
return new DriversLicence(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public DriversLicence rename(String name) {
return new DriversLicence(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public DriversLicence rename(Name name) {
return new DriversLicence(name, null);
}
/**
* Rename this table
*/
@Override
public DriversLicence rename(Table<?> name) {
return new DriversLicence(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public DriversLicence where(Condition condition) {
return new DriversLicence(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public DriversLicence where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public DriversLicence where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public DriversLicence where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public DriversLicence where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public DriversLicence where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public DriversLicence where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public DriversLicence where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public DriversLicence whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public DriversLicence whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,259 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.MedicalAuthoritiesRecord;
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;
/**
* сведения о гражданах, стоящих на учете в ПНД/по ВИЧ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class MedicalAuthorities extends TableImpl<MedicalAuthoritiesRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ervu_dashboard.medical_authorities</code>
*/
public static final MedicalAuthorities MEDICAL_AUTHORITIES = new MedicalAuthorities();
/**
* The class holding records for this type
*/
@Override
public Class<MedicalAuthoritiesRecord> getRecordType() {
return MedicalAuthoritiesRecord.class;
}
/**
* The column
* <code>ervu_dashboard.medical_authorities.medical_authorities_id</code>.
*/
public final TableField<MedicalAuthoritiesRecord, Long> MEDICAL_AUTHORITIES_ID = createField(DSL.name("medical_authorities_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>ervu_dashboard.medical_authorities.recruit_id</code>.
* ссылка на гражданина (citizen)
*/
public final TableField<MedicalAuthoritiesRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
/**
* The column <code>ervu_dashboard.medical_authorities.start_date</code>.
* дата постановки на учет
*/
public final TableField<MedicalAuthoritiesRecord, Date> START_DATE = createField(DSL.name("start_date"), SQLDataType.DATE, this, "дата постановки на учет");
/**
* The column <code>ervu_dashboard.medical_authorities.close_date</code>.
* дата снятия с учета
*/
public final TableField<MedicalAuthoritiesRecord, Date> CLOSE_DATE = createField(DSL.name("close_date"), SQLDataType.DATE, this, "дата снятия с учета");
/**
* The column <code>ervu_dashboard.medical_authorities.change_date</code>.
* дата планового срока пересмотра диагноза
*/
public final TableField<MedicalAuthoritiesRecord, Date> CHANGE_DATE = createField(DSL.name("change_date"), SQLDataType.DATE, this, "дата планового срока пересмотра диагноза");
/**
* The column <code>ervu_dashboard.medical_authorities.hiv</code>. на учете
* по ВИЧ(true) или в ПНД(false)
*/
public final TableField<MedicalAuthoritiesRecord, Boolean> HIV = createField(DSL.name("hiv"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "на учете по ВИЧ(true) или в ПНД(false)");
private MedicalAuthorities(Name alias, Table<MedicalAuthoritiesRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private MedicalAuthorities(Name alias, Table<MedicalAuthoritiesRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("сведения о гражданах, стоящих на учете в ПНД/по ВИЧ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>ervu_dashboard.medical_authorities</code> table
* reference
*/
public MedicalAuthorities(String alias) {
this(DSL.name(alias), MEDICAL_AUTHORITIES);
}
/**
* Create an aliased <code>ervu_dashboard.medical_authorities</code> table
* reference
*/
public MedicalAuthorities(Name alias) {
this(alias, MEDICAL_AUTHORITIES);
}
/**
* Create a <code>ervu_dashboard.medical_authorities</code> table reference
*/
public MedicalAuthorities() {
this(DSL.name("medical_authorities"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override
public Identity<MedicalAuthoritiesRecord, Long> getIdentity() {
return (Identity<MedicalAuthoritiesRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<MedicalAuthoritiesRecord> getPrimaryKey() {
return Keys.PK_MEDICAL_AUTHORITIES;
}
@Override
public MedicalAuthorities as(String alias) {
return new MedicalAuthorities(DSL.name(alias), this);
}
@Override
public MedicalAuthorities as(Name alias) {
return new MedicalAuthorities(alias, this);
}
@Override
public MedicalAuthorities as(Table<?> alias) {
return new MedicalAuthorities(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public MedicalAuthorities rename(String name) {
return new MedicalAuthorities(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public MedicalAuthorities rename(Name name) {
return new MedicalAuthorities(name, null);
}
/**
* Rename this table
*/
@Override
public MedicalAuthorities rename(Table<?> name) {
return new MedicalAuthorities(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public MedicalAuthorities where(Condition condition) {
return new MedicalAuthorities(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public MedicalAuthorities where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public MedicalAuthorities where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public MedicalAuthorities where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MedicalAuthorities where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MedicalAuthorities where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MedicalAuthorities where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MedicalAuthorities where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public MedicalAuthorities whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public MedicalAuthorities whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,297 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PropertyRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.enums.TypePropertyType;
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;
/**
* сведения об имуществе
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Property extends TableImpl<PropertyRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ervu_dashboard.property</code>
*/
public static final Property PROPERTY = new Property();
/**
* The class holding records for this type
*/
@Override
public Class<PropertyRecord> getRecordType() {
return PropertyRecord.class;
}
/**
* The column <code>ervu_dashboard.property.property_id</code>.
*/
public final TableField<PropertyRecord, Long> PROPERTY_ID = createField(DSL.name("property_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>ervu_dashboard.property.recruit_id</code>. ссылка на
* гражданина (citizen)
*/
public final TableField<PropertyRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID.nullable(false), this, "ссылка на гражданина (citizen)");
/**
* The column <code>ervu_dashboard.property.type_property</code>. тип
* имущества: недвижимое/наземный/воздушный/водный транспорт
*/
public final TableField<PropertyRecord, TypePropertyType> TYPE_PROPERTY = createField(DSL.name("type_property"), SQLDataType.VARCHAR.asEnumDataType(TypePropertyType.class), this, "тип имущества: недвижимое/наземный/воздушный/водный транспорт");
/**
* The column <code>ervu_dashboard.property.start_date</code>. дата
* регистрации права владения
*/
public final TableField<PropertyRecord, Date> START_DATE = createField(DSL.name("start_date"), SQLDataType.DATE, this, "дата регистрации права владения");
/**
* The column <code>ervu_dashboard.property.close_date</code>. дата
* прекращения права владения
*/
public final TableField<PropertyRecord, Date> CLOSE_DATE = createField(DSL.name("close_date"), SQLDataType.DATE, this, "дата прекращения права владения");
/**
* The column <code>ervu_dashboard.property.vehicle_type</code>. вид
* транспортного средства
*/
public final TableField<PropertyRecord, String> VEHICLE_TYPE = createField(DSL.name("vehicle_type"), SQLDataType.VARCHAR(100), this, "вид транспортного средства");
/**
* The column <code>ervu_dashboard.property.vehicle_category</code>.
* категория транспортного средства
*/
public final TableField<PropertyRecord, String> VEHICLE_CATEGORY = createField(DSL.name("vehicle_category"), SQLDataType.VARCHAR(100), this, "категория транспортного средства");
/**
* The column <code>ervu_dashboard.property.address</code>. адрес объекта
* недвижимости
*/
public final TableField<PropertyRecord, String> ADDRESS = createField(DSL.name("address"), SQLDataType.CLOB, this, "адрес объекта недвижимости");
/**
* The column <code>ervu_dashboard.property.kind_right</code>. вид права
*/
public final TableField<PropertyRecord, String> KIND_RIGHT = createField(DSL.name("kind_right"), SQLDataType.VARCHAR(50), this, "вид права");
/**
* The column <code>ervu_dashboard.property.issue_year</code>. год выпуска
* транспортного средства
*/
public final TableField<PropertyRecord, String> ISSUE_YEAR = createField(DSL.name("issue_year"), SQLDataType.VARCHAR(4), this, "год выпуска транспортного средства");
/**
* The column <code>ervu_dashboard.property.brand_model</code>. марка,
* модель транспортного средства
*/
public final TableField<PropertyRecord, String> BRAND_MODEL = createField(DSL.name("brand_model"), SQLDataType.VARCHAR(100), this, "марка, модель транспортного средства");
/**
* The column <code>ervu_dashboard.property.reg_plate</code>.
* регистрационный номер
*/
public final TableField<PropertyRecord, String> REG_PLATE = createField(DSL.name("reg_plate"), SQLDataType.VARCHAR(100), this, "регистрационный номер");
/**
* The column <code>ervu_dashboard.property.vin</code>.
*/
public final TableField<PropertyRecord, String> VIN = createField(DSL.name("vin"), SQLDataType.VARCHAR(100), this, "");
private Property(Name alias, Table<PropertyRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Property(Name alias, Table<PropertyRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("сведения об имуществе"), TableOptions.table(), where);
}
/**
* Create an aliased <code>ervu_dashboard.property</code> table reference
*/
public Property(String alias) {
this(DSL.name(alias), PROPERTY);
}
/**
* Create an aliased <code>ervu_dashboard.property</code> table reference
*/
public Property(Name alias) {
this(alias, PROPERTY);
}
/**
* Create a <code>ervu_dashboard.property</code> table reference
*/
public Property() {
this(DSL.name("property"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override
public Identity<PropertyRecord, Long> getIdentity() {
return (Identity<PropertyRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<PropertyRecord> getPrimaryKey() {
return Keys.PK_PROPERTY;
}
@Override
public Property as(String alias) {
return new Property(DSL.name(alias), this);
}
@Override
public Property as(Name alias) {
return new Property(alias, this);
}
@Override
public Property as(Table<?> alias) {
return new Property(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Property rename(String name) {
return new Property(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Property rename(Name name) {
return new Property(name, null);
}
/**
* Rename this table
*/
@Override
public Property rename(Table<?> name) {
return new Property(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Property where(Condition condition) {
return new Property(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Property where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Property where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Property where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Property where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Property where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Property where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Property where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Property whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Property whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,367 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile.MainProfilePath;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal.ReasonsAppealPath;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReviewRating.ReviewRatingPath;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.TopicAppeal.TopicAppealPath;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint.ConsiderationComplaintPath;
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.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PubRecruitment extends TableImpl<PubRecruitmentRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ervu_dashboard.pub_recruitment</code>
*/
public static final PubRecruitment PUB_RECRUITMENT = new PubRecruitment();
/**
* The class holding records for this type
*/
@Override
public Class<PubRecruitmentRecord> getRecordType() {
return PubRecruitmentRecord.class;
}
/**
* The column <code>ervu_dashboard.pub_recruitment.idm_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> IDM_ID = createField(DSL.name("idm_id"), SQLDataType.VARCHAR(256), this, "");
/**
* The column <code>ervu_dashboard.pub_recruitment.parent_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>ervu_dashboard.pub_recruitment.military_code</code>.
*/
public final TableField<PubRecruitmentRecord, String> MILITARY_CODE = createField(DSL.name("military_code"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>ervu_dashboard.pub_recruitment.shortname</code>.
*/
public final TableField<PubRecruitmentRecord, String> SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>ervu_dashboard.pub_recruitment.fullname</code>.
*/
public final TableField<PubRecruitmentRecord, String> FULLNAME = createField(DSL.name("fullname"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>ervu_dashboard.pub_recruitment.code</code>.
*/
public final TableField<PubRecruitmentRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>ervu_dashboard.pub_recruitment.id</code>.
*/
public final TableField<PubRecruitmentRecord, String> ID = createField(DSL.name("id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column <code>ervu_dashboard.pub_recruitment.sort</code>.
*/
public final TableField<PubRecruitmentRecord, String> SORT = createField(DSL.name("sort"), SQLDataType.VARCHAR.nullable(false), this, "");
private PubRecruitment(Name alias, Table<PubRecruitmentRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private PubRecruitment(Name alias, Table<PubRecruitmentRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>ervu_dashboard.pub_recruitment</code> table
* reference
*/
public PubRecruitment(String alias) {
this(DSL.name(alias), PUB_RECRUITMENT);
}
/**
* Create an aliased <code>ervu_dashboard.pub_recruitment</code> table
* reference
*/
public PubRecruitment(Name alias) {
this(alias, PUB_RECRUITMENT);
}
/**
* Create a <code>ervu_dashboard.pub_recruitment</code> table reference
*/
public PubRecruitment() {
this(DSL.name("pub_recruitment"), null);
}
public <O extends Record> PubRecruitment(Table<O> path, ForeignKey<O, PubRecruitmentRecord> childPath, InverseForeignKey<O, PubRecruitmentRecord> parentPath) {
super(path, childPath, parentPath, PUB_RECRUITMENT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class PubRecruitmentPath extends PubRecruitment implements Path<PubRecruitmentRecord> {
public <O extends Record> PubRecruitmentPath(Table<O> path, ForeignKey<O, PubRecruitmentRecord> childPath, InverseForeignKey<O, PubRecruitmentRecord> parentPath) {
super(path, childPath, parentPath);
}
private PubRecruitmentPath(Name alias, Table<PubRecruitmentRecord> aliased) {
super(alias, aliased);
}
@Override
public PubRecruitmentPath as(String alias) {
return new PubRecruitmentPath(DSL.name(alias), this);
}
@Override
public PubRecruitmentPath as(Name alias) {
return new PubRecruitmentPath(alias, this);
}
@Override
public PubRecruitmentPath as(Table<?> alias) {
return new PubRecruitmentPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override
public UniqueKey<PubRecruitmentRecord> getPrimaryKey() {
return Keys.PUB_RECRUITMENT_PKEY;
}
@Override
public List<UniqueKey<PubRecruitmentRecord>> getUniqueKeys() {
return Arrays.asList(Keys.RECRUITMENT_IDM_ID_KEY);
}
private transient MainProfilePath _mainProfile;
/**
* Get the implicit to-many join path to the
* <code>appeals.main_profile</code> table
*/
public MainProfilePath mainProfile() {
if (_mainProfile == null)
_mainProfile = new MainProfilePath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.MAIN_PROFILE__MAIN_PROFILE_FK1.getInverseKey());
return _mainProfile;
}
private transient ReasonsAppealPath _reasonsAppeal;
/**
* Get the implicit to-many join path to the
* <code>appeals.reasons_appeal</code> table
*/
public ReasonsAppealPath reasonsAppeal() {
if (_reasonsAppeal == null)
_reasonsAppeal = new ReasonsAppealPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.REASONS_APPEAL__REASONS_APPEAL_FK1.getInverseKey());
return _reasonsAppeal;
}
private transient ReviewRatingPath _reviewRating;
/**
* Get the implicit to-many join path to the
* <code>appeals.review_rating</code> table
*/
public ReviewRatingPath reviewRating() {
if (_reviewRating == null)
_reviewRating = new ReviewRatingPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.REVIEW_RATING__REVIEW_RATING_FK1.getInverseKey());
return _reviewRating;
}
private transient TopicAppealPath _topicAppeal;
/**
* Get the implicit to-many join path to the
* <code>appeals.topic_appeal</code> table
*/
public TopicAppealPath topicAppeal() {
if (_topicAppeal == null)
_topicAppeal = new TopicAppealPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.TOPIC_APPEAL__TOPIC_APPEAL_FK1.getInverseKey());
return _topicAppeal;
}
private transient ConsiderationComplaintPath _considerationComplaint;
/**
* Get the implicit to-many join path to the
* <code>ratings.consideration_complaint</code> table
*/
public ConsiderationComplaintPath considerationComplaint() {
if (_considerationComplaint == null)
_considerationComplaint = new ConsiderationComplaintPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys.CONSIDERATION_COMPLAINT__CONSIDERATION_COMPLAINT_FK1.getInverseKey());
return _considerationComplaint;
}
@Override
public PubRecruitment as(String alias) {
return new PubRecruitment(DSL.name(alias), this);
}
@Override
public PubRecruitment as(Name alias) {
return new PubRecruitment(alias, this);
}
@Override
public PubRecruitment as(Table<?> alias) {
return new PubRecruitment(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public PubRecruitment rename(String name) {
return new PubRecruitment(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public PubRecruitment rename(Name name) {
return new PubRecruitment(name, null);
}
/**
* Rename this table
*/
@Override
public PubRecruitment rename(Table<?> name) {
return new PubRecruitment(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment where(Condition condition) {
return new PubRecruitment(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PubRecruitment where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PubRecruitment where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PubRecruitment where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PubRecruitment where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -1,20 +1,18 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables;
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.RecruitmentCampaign;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.records.RecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.RecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.AppearSubppoena.AppearSubppoenaPath;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConscriptionInfo.ConscriptionInfoPath;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Appeals.AppealsPath;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.PostponementInfo.PostponementInfoPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
@ -48,7 +46,7 @@ public class Recruitment extends TableImpl<RecruitmentRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>recruitment_campaign.recruitment</code>
* The reference instance of <code>ervu_dashboard.recruitment</code>
*/
public static final Recruitment RECRUITMENT = new Recruitment();
@ -61,61 +59,34 @@ public class Recruitment extends TableImpl<RecruitmentRecord> {
}
/**
* The column <code>recruitment_campaign.recruitment.id_recruitment</code>.
* The column <code>ervu_dashboard.recruitment.id</code>.
*/
public final TableField<RecruitmentRecord, Long> ID_RECRUITMENT = createField(DSL.name("id_recruitment"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
public final TableField<RecruitmentRecord, String> ID = createField(DSL.name("id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column
* <code>recruitment_campaign.recruitment.suitable_recruit</code>. Подходят
* под призыв
* The column <code>ervu_dashboard.recruitment.shortname</code>.
*/
public final TableField<RecruitmentRecord, BigDecimal> SUITABLE_RECRUIT = createField(DSL.name("suitable_recruit"), SQLDataType.NUMERIC, this, "Подходят под призыв");
public final TableField<RecruitmentRecord, String> SHORTNAME = createField(DSL.name("shortname"), SQLDataType.CHAR(300), this, "");
/**
* The column
* <code>recruitment_campaign.recruitment.postponement_have_right</code>.
* Имеют право на отсрочку
* The column <code>ervu_dashboard.recruitment.idm_id</code>.
*/
public final TableField<RecruitmentRecord, BigDecimal> POSTPONEMENT_HAVE_RIGHT = createField(DSL.name("postponement_have_right"), SQLDataType.NUMERIC, this, "Имеют право на отсрочку");
public final TableField<RecruitmentRecord, String> IDM_ID = createField(DSL.name("idm_id"), SQLDataType.VARCHAR(36), this, "");
/**
* The column
* <code>recruitment_campaign.recruitment.postponement_granted</code>.
* Предоставлена отсрочка
* The column <code>ervu_dashboard.recruitment.code</code>.
*/
public final TableField<RecruitmentRecord, BigDecimal> POSTPONEMENT_GRANTED = createField(DSL.name("postponement_granted"), SQLDataType.NUMERIC, this, "Предоставлена отсрочка");
public final TableField<RecruitmentRecord, String> CODE = createField(DSL.name("code"), SQLDataType.CHAR(300), this, "");
/**
* The column <code>recruitment_campaign.recruitment.spring_autumn</code>.
* Осень/Весна
* The column <code>ervu_dashboard.recruitment.parent_id</code>.
*/
public final TableField<RecruitmentRecord, String> SPRING_AUTUMN = createField(DSL.name("spring_autumn"), SQLDataType.CLOB, this, "Осень/Весна");
public final TableField<RecruitmentRecord, String> PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.CHAR(300), this, "");
/**
* The column <code>recruitment_campaign.recruitment.recording_date</code>.
* Дата записи
* The column <code>ervu_dashboard.recruitment.sort</code>.
*/
public final TableField<RecruitmentRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column
* <code>recruitment_campaign.recruitment.postponement_have_right_percent</code>.
* Процент имеющих право на отсрочку
*/
public final TableField<RecruitmentRecord, BigDecimal> POSTPONEMENT_HAVE_RIGHT_PERCENT = createField(DSL.name("postponement_have_right_percent"), SQLDataType.NUMERIC, this, "Процент имеющих право на отсрочку");
/**
* The column
* <code>recruitment_campaign.recruitment.postponement_granted_percent</code>.
* Процент предоставленных отсрочек
*/
public final TableField<RecruitmentRecord, BigDecimal> POSTPONEMENT_GRANTED_PERCENT = createField(DSL.name("postponement_granted_percent"), SQLDataType.NUMERIC, this, "Процент предоставленных отсрочек");
/**
* The column <code>recruitment_campaign.recruitment.recruitment_id</code>.
*/
public final TableField<RecruitmentRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
public final TableField<RecruitmentRecord, Long> SORT = createField(DSL.name("sort"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
private Recruitment(Name alias, Table<RecruitmentRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
@ -126,23 +97,21 @@ public class Recruitment extends TableImpl<RecruitmentRecord> {
}
/**
* Create an aliased <code>recruitment_campaign.recruitment</code> table
* reference
* Create an aliased <code>ervu_dashboard.recruitment</code> table reference
*/
public Recruitment(String alias) {
this(DSL.name(alias), RECRUITMENT);
}
/**
* Create an aliased <code>recruitment_campaign.recruitment</code> table
* reference
* Create an aliased <code>ervu_dashboard.recruitment</code> table reference
*/
public Recruitment(Name alias) {
this(alias, RECRUITMENT);
}
/**
* Create a <code>recruitment_campaign.recruitment</code> table reference
* Create a <code>ervu_dashboard.recruitment</code> table reference
*/
public Recruitment() {
this(DSL.name("recruitment"), null);
@ -181,7 +150,7 @@ public class Recruitment extends TableImpl<RecruitmentRecord> {
@Override
public Schema getSchema() {
return aliased() ? null : RecruitmentCampaign.RECRUITMENT_CAMPAIGN;
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override
@ -191,25 +160,59 @@ public class Recruitment extends TableImpl<RecruitmentRecord> {
@Override
public UniqueKey<RecruitmentRecord> getPrimaryKey() {
return Keys.PK_RECRUITMENT;
return Keys.RECRUITMENT_PKEY;
}
@Override
public List<ForeignKey<RecruitmentRecord, ?>> getReferences() {
return Arrays.asList(Keys.RECRUITMENT__RC_RECRUITMENT_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
private transient AppearSubppoenaPath _appearSubppoena;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
* Get the implicit to-many join path to the
* <code>ratings.appear_subppoena</code> table
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.RECRUITMENT__RC_RECRUITMENT_FK1, null);
public AppearSubppoenaPath appearSubppoena() {
if (_appearSubppoena == null)
_appearSubppoena = new AppearSubppoenaPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys.APPEAR_SUBPPOENA__APPEAR_SUBPPOENA_FK1.getInverseKey());
return _pubRecruitment;
return _appearSubppoena;
}
private transient ConscriptionInfoPath _conscriptionInfo;
/**
* Get the implicit to-many join path to the
* <code>ratings.conscription_info</code> table
*/
public ConscriptionInfoPath conscriptionInfo() {
if (_conscriptionInfo == null)
_conscriptionInfo = new ConscriptionInfoPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys.CONSCRIPTION_INFO__CONSCRIPTION_INFO_FK1.getInverseKey());
return _conscriptionInfo;
}
private transient AppealsPath _appeals;
/**
* Get the implicit to-many join path to the
* <code>recruitment_campaign.appeals</code> table
*/
public AppealsPath appeals() {
if (_appeals == null)
_appeals = new AppealsPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.Keys.APPEALS__RC_APPEALS_FK1.getInverseKey());
return _appeals;
}
private transient PostponementInfoPath _postponementInfo;
/**
* Get the implicit to-many join path to the
* <code>recruitment_campaign.postponement_info</code> table
*/
public PostponementInfoPath postponementInfo() {
if (_postponementInfo == null)
_postponementInfo = new PostponementInfoPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.Keys.POSTPONEMENT_INFO__POSTPONEMENT_INFO_FK1.getInverseKey());
return _postponementInfo;
}
@Override

View file

@ -1,12 +1,12 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.SubpoenaRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.SubpoenaRecord;
import java.sql.Timestamp;
import java.util.Collection;
@ -40,7 +40,7 @@ public class Subpoena extends TableImpl<SubpoenaRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.subpoena</code>
* The reference instance of <code>ervu_dashboard.subpoena</code>
*/
public static final Subpoena SUBPOENA = new Subpoena();
@ -53,62 +53,57 @@ public class Subpoena extends TableImpl<SubpoenaRecord> {
}
/**
* The column <code>public.subpoena.subpoena_id</code>.
* The column <code>ervu_dashboard.subpoena.subpoena_id</code>.
*/
public final TableField<SubpoenaRecord, Long> SUBPOENA_ID = createField(DSL.name("subpoena_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>public.subpoena.series</code>.
* The column <code>ervu_dashboard.subpoena.series</code>.
*/
public final TableField<SubpoenaRecord, String> SERIES = createField(DSL.name("series"), SQLDataType.VARCHAR(16), this, "");
/**
* The column <code>public.subpoena.number</code>.
* The column <code>ervu_dashboard.subpoena.number</code>.
*/
public final TableField<SubpoenaRecord, String> NUMBER = createField(DSL.name("number"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column <code>public.subpoena.id_ern</code>.
*/
public final TableField<SubpoenaRecord, String> ID_ERN = createField(DSL.name("id_ern"), SQLDataType.VARCHAR(36), this, "");
/**
* The column <code>public.subpoena.create_date</code>.
* The column <code>ervu_dashboard.subpoena.create_date</code>.
*/
public final TableField<SubpoenaRecord, Timestamp> CREATE_DATE = createField(DSL.name("create_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>public.subpoena.visit_date</code>.
* The column <code>ervu_dashboard.subpoena.visit_date</code>.
*/
public final TableField<SubpoenaRecord, Timestamp> VISIT_DATE = createField(DSL.name("visit_date"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>public.subpoena.send_date</code>.
* The column <code>ervu_dashboard.subpoena.send_date</code>.
*/
public final TableField<SubpoenaRecord, Timestamp> SEND_DATE = createField(DSL.name("send_date"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>public.subpoena.reason_cancelled</code>.
* The column <code>ervu_dashboard.subpoena.reason_cancelled</code>.
*/
public final TableField<SubpoenaRecord, String> REASON_CANCELLED = createField(DSL.name("reason_cancelled"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>public.subpoena.recruit_id</code>.
* The column <code>ervu_dashboard.subpoena.recruit_id</code>.
*/
public final TableField<SubpoenaRecord, UUID> RECRUIT_ID = createField(DSL.name("recruit_id"), SQLDataType.UUID, this, "");
/**
* The column <code>public.subpoena.department_id</code>.
* The column <code>ervu_dashboard.subpoena.department_id</code>.
*/
public final TableField<SubpoenaRecord, UUID> DEPARTMENT_ID = createField(DSL.name("department_id"), SQLDataType.UUID, this, "");
/**
* The column <code>public.subpoena.subpoena_status</code>.
* The column <code>ervu_dashboard.subpoena.subpoena_status</code>.
*/
public final TableField<SubpoenaRecord, String> SUBPOENA_STATUS = createField(DSL.name("subpoena_status"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.subpoena.subpoena_reason</code>.
* The column <code>ervu_dashboard.subpoena.subpoena_reason</code>.
*/
public final TableField<SubpoenaRecord, String> SUBPOENA_REASON = createField(DSL.name("subpoena_reason"), SQLDataType.CLOB, this, "");
@ -121,21 +116,21 @@ public class Subpoena extends TableImpl<SubpoenaRecord> {
}
/**
* Create an aliased <code>public.subpoena</code> table reference
* Create an aliased <code>ervu_dashboard.subpoena</code> table reference
*/
public Subpoena(String alias) {
this(DSL.name(alias), SUBPOENA);
}
/**
* Create an aliased <code>public.subpoena</code> table reference
* Create an aliased <code>ervu_dashboard.subpoena</code> table reference
*/
public Subpoena(Name alias) {
this(alias, SUBPOENA);
}
/**
* Create a <code>public.subpoena</code> table reference
* Create a <code>ervu_dashboard.subpoena</code> table reference
*/
public Subpoena() {
this(DSL.name("subpoena"), null);
@ -143,7 +138,7 @@ public class Subpoena extends TableImpl<SubpoenaRecord> {
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override

View file

@ -0,0 +1,261 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.ErvuDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.TemporaryMeasuresRecord;
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;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TemporaryMeasures extends TableImpl<TemporaryMeasuresRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ervu_dashboard.temporary_measures</code>
*/
public static final TemporaryMeasures TEMPORARY_MEASURES = new TemporaryMeasures();
/**
* The class holding records for this type
*/
@Override
public Class<TemporaryMeasuresRecord> getRecordType() {
return TemporaryMeasuresRecord.class;
}
/**
* The column
* <code>ervu_dashboard.temporary_measures.temporary_measures_id</code>.
*/
public final TableField<TemporaryMeasuresRecord, Long> TEMPORARY_MEASURES_ID = createField(DSL.name("temporary_measures_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>ervu_dashboard.temporary_measures.recruitment_id</code>.
*/
public final TableField<TemporaryMeasuresRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>ervu_dashboard.temporary_measures.name</code>.
*/
public final TableField<TemporaryMeasuresRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column
* <code>ervu_dashboard.temporary_measures.date_application</code>.
*/
public final TableField<TemporaryMeasuresRecord, Date> DATE_APPLICATION = createField(DSL.name("date_application"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>ervu_dashboard.temporary_measures.withdrawal_date</code>.
*/
public final TableField<TemporaryMeasuresRecord, Date> WITHDRAWAL_DATE = createField(DSL.name("withdrawal_date"), SQLDataType.DATE, this, "");
/**
* The column <code>ervu_dashboard.temporary_measures.status</code>.
*/
public final TableField<TemporaryMeasuresRecord, String> STATUS = createField(DSL.name("status"), SQLDataType.CHAR(100), this, "");
/**
* The column <code>ervu_dashboard.temporary_measures.citizen_id</code>.
*/
public final TableField<TemporaryMeasuresRecord, UUID> CITIZEN_ID = createField(DSL.name("citizen_id"), SQLDataType.UUID, this, "");
private TemporaryMeasures(Name alias, Table<TemporaryMeasuresRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private TemporaryMeasures(Name alias, Table<TemporaryMeasuresRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>ervu_dashboard.temporary_measures</code> table
* reference
*/
public TemporaryMeasures(String alias) {
this(DSL.name(alias), TEMPORARY_MEASURES);
}
/**
* Create an aliased <code>ervu_dashboard.temporary_measures</code> table
* reference
*/
public TemporaryMeasures(Name alias) {
this(alias, TEMPORARY_MEASURES);
}
/**
* Create a <code>ervu_dashboard.temporary_measures</code> table reference
*/
public TemporaryMeasures() {
this(DSL.name("temporary_measures"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : ErvuDashboard.ERVU_DASHBOARD;
}
@Override
public Identity<TemporaryMeasuresRecord, Long> getIdentity() {
return (Identity<TemporaryMeasuresRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<TemporaryMeasuresRecord> getPrimaryKey() {
return Keys.TEMPORARY_MEASURES_PKEY;
}
@Override
public TemporaryMeasures as(String alias) {
return new TemporaryMeasures(DSL.name(alias), this);
}
@Override
public TemporaryMeasures as(Name alias) {
return new TemporaryMeasures(alias, this);
}
@Override
public TemporaryMeasures as(Table<?> alias) {
return new TemporaryMeasures(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public TemporaryMeasures rename(String name) {
return new TemporaryMeasures(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TemporaryMeasures rename(Name name) {
return new TemporaryMeasures(name, null);
}
/**
* Rename this table
*/
@Override
public TemporaryMeasures rename(Table<?> name) {
return new TemporaryMeasures(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TemporaryMeasures where(Condition condition) {
return new TemporaryMeasures(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TemporaryMeasures where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TemporaryMeasures where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TemporaryMeasures where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TemporaryMeasures where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TemporaryMeasures where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TemporaryMeasures where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TemporaryMeasures where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TemporaryMeasures whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TemporaryMeasures whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,180 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenChild;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* сведения о детях гражданина
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CitizenChildRecord extends UpdatableRecordImpl<CitizenChildRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>ervu_dashboard.citizen_child.citizen_child_id</code>.
*/
public void setCitizenChildId(Long value) {
set(0, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_child.citizen_child_id</code>.
*/
public Long getCitizenChildId() {
return (Long) get(0);
}
/**
* Setter for <code>ervu_dashboard.citizen_child.recruit_id</code>. ссылка
* на гражданина (citizen)
*/
public void setRecruitId(UUID value) {
set(1, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_child.recruit_id</code>. ссылка
* на гражданина (citizen)
*/
public UUID getRecruitId() {
return (UUID) get(1);
}
/**
* Setter for <code>ervu_dashboard.citizen_child.kinship_type</code>. тип
* родственной связи: сын/дочь
*/
public void setKinshipType(String value) {
set(2, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_child.kinship_type</code>. тип
* родственной связи: сын/дочь
*/
public String getKinshipType() {
return (String) get(2);
}
/**
* Setter for <code>ervu_dashboard.citizen_child.full_name</code>. ФИО
*/
public void setFullName(String value) {
set(3, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_child.full_name</code>. ФИО
*/
public String getFullName() {
return (String) get(3);
}
/**
* Setter for <code>ervu_dashboard.citizen_child.birth_date</code>.
*/
public void setBirthDate(Date value) {
set(4, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_child.birth_date</code>.
*/
public Date getBirthDate() {
return (Date) get(4);
}
/**
* Setter for <code>ervu_dashboard.citizen_child.birth_az_number</code>.
* номер актовой записи о рождении
*/
public void setBirthAzNumber(String value) {
set(5, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_child.birth_az_number</code>.
* номер актовой записи о рождении
*/
public String getBirthAzNumber() {
return (String) get(5);
}
/**
* Setter for <code>ervu_dashboard.citizen_child.death_date</code>.
*/
public void setDeathDate(Date value) {
set(6, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_child.death_date</code>.
*/
public Date getDeathDate() {
return (Date) get(6);
}
/**
* Setter for <code>ervu_dashboard.citizen_child.death_az_number</code>.
* номер актовой записи о смерти
*/
public void setDeathAzNumber(String value) {
set(7, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_child.death_az_number</code>.
* номер актовой записи о смерти
*/
public String getDeathAzNumber() {
return (String) get(7);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached CitizenChildRecord
*/
public CitizenChildRecord() {
super(CitizenChild.CITIZEN_CHILD);
}
/**
* Create a detached, initialised CitizenChildRecord
*/
public CitizenChildRecord(Long citizenChildId, UUID recruitId, String kinshipType, String fullName, Date birthDate, String birthAzNumber, Date deathDate, String deathAzNumber) {
super(CitizenChild.CITIZEN_CHILD);
setCitizenChildId(citizenChildId);
setRecruitId(recruitId);
setKinshipType(kinshipType);
setFullName(fullName);
setBirthDate(birthDate);
setBirthAzNumber(birthAzNumber);
setDeathDate(deathDate);
setDeathAzNumber(deathAzNumber);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,133 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenGuardianship;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* сведения о лице, опекаемом или находящемся на попечении
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CitizenGuardianshipRecord extends UpdatableRecordImpl<CitizenGuardianshipRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>ervu_dashboard.citizen_guardianship.citizen_guardianship_id</code>.
*/
public void setCitizenGuardianshipId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>ervu_dashboard.citizen_guardianship.citizen_guardianship_id</code>.
*/
public Long getCitizenGuardianshipId() {
return (Long) get(0);
}
/**
* Setter for <code>ervu_dashboard.citizen_guardianship.recruit_id</code>.
* ссылка на гражданина (citizen)
*/
public void setRecruitId(UUID value) {
set(1, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_guardianship.recruit_id</code>.
* ссылка на гражданина (citizen)
*/
public UUID getRecruitId() {
return (UUID) get(1);
}
/**
* Setter for <code>ervu_dashboard.citizen_guardianship.full_name</code>.
* ФИО
*/
public void setFullName(String value) {
set(2, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_guardianship.full_name</code>.
* ФИО
*/
public String getFullName() {
return (String) get(2);
}
/**
* Setter for <code>ervu_dashboard.citizen_guardianship.birth_date</code>.
*/
public void setBirthDate(Date value) {
set(3, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_guardianship.birth_date</code>.
*/
public Date getBirthDate() {
return (Date) get(3);
}
/**
* Setter for <code>ervu_dashboard.citizen_guardianship.snils</code>.
*/
public void setSnils(String value) {
set(4, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_guardianship.snils</code>.
*/
public String getSnils() {
return (String) get(4);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached CitizenGuardianshipRecord
*/
public CitizenGuardianshipRecord() {
super(CitizenGuardianship.CITIZEN_GUARDIANSHIP);
}
/**
* Create a detached, initialised CitizenGuardianshipRecord
*/
public CitizenGuardianshipRecord(Long citizenGuardianshipId, UUID recruitId, String fullName, Date birthDate, String snils) {
super(CitizenGuardianship.CITIZEN_GUARDIANSHIP);
setCitizenGuardianshipId(citizenGuardianshipId);
setRecruitId(recruitId);
setFullName(fullName);
setBirthDate(birthDate);
setSnils(snils);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,703 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Citizen;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CitizenRecord extends UpdatableRecordImpl<CitizenRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>ervu_dashboard.citizen.residence</code>. Адрес места
* жительства
*/
public void setResidence(String value) {
set(0, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.residence</code>. Адрес места
* жительства
*/
public String getResidence() {
return (String) get(0);
}
/**
* Setter for <code>ervu_dashboard.citizen.is_registered</code>. Сведения о
* воинском учёте
*/
public void setIsRegistered(String value) {
set(1, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.is_registered</code>. Сведения о
* воинском учёте
*/
public String getIsRegistered() {
return (String) get(1);
}
/**
* Setter for <code>ervu_dashboard.citizen.passport_series</code>. Серия
* паспорта
*/
public void setPassportSeries(String value) {
set(2, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.passport_series</code>. Серия
* паспорта
*/
public String getPassportSeries() {
return (String) get(2);
}
/**
* Setter for <code>ervu_dashboard.citizen.passport_number</code>. Номер
* паспорта
*/
public void setPassportNumber(String value) {
set(3, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.passport_number</code>. Номер
* паспорта
*/
public String getPassportNumber() {
return (String) get(3);
}
/**
* Setter for <code>ervu_dashboard.citizen.phone</code>. Телефон
*/
public void setPhone(String value) {
set(4, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.phone</code>. Телефон
*/
public String getPhone() {
return (String) get(4);
}
/**
* Setter for <code>ervu_dashboard.citizen.medical_requirements</code>.
* Медицинские сведения
*/
public void setMedicalRequirements(String value) {
set(5, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.medical_requirements</code>.
* Медицинские сведения
*/
public String getMedicalRequirements() {
return (String) get(5);
}
/**
* Setter for <code>ervu_dashboard.citizen.deferment_liberation</code>.
* Наличие отсрочки или освобождения от военной службы
*/
public void setDefermentLiberation(String value) {
set(6, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.deferment_liberation</code>.
* Наличие отсрочки или освобождения от военной службы
*/
public String getDefermentLiberation() {
return (String) get(6);
}
/**
* Setter for <code>ervu_dashboard.citizen.gender</code>. Пол
*/
public void setGender(String value) {
set(7, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.gender</code>. Пол
*/
public String getGender() {
return (String) get(7);
}
/**
* Setter for <code>ervu_dashboard.citizen.marital_status</code>. Семейное
* положение
*/
public void setMaritalStatus(String value) {
set(8, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.marital_status</code>. Семейное
* положение
*/
public String getMaritalStatus() {
return (String) get(8);
}
/**
* Setter for <code>ervu_dashboard.citizen.education</code>. Образование
*/
public void setEducation(String value) {
set(9, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.education</code>. Образование
*/
public String getEducation() {
return (String) get(9);
}
/**
* Setter for <code>ervu_dashboard.citizen.employment</code>. Занятость
*/
public void setEmployment(String value) {
set(10, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.employment</code>. Занятость
*/
public String getEmployment() {
return (String) get(10);
}
/**
* Setter for <code>ervu_dashboard.citizen.reason_registration</code>.
* Причина постановки на учёт
*/
public void setReasonRegistration(String value) {
set(11, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.reason_registration</code>.
* Причина постановки на учёт
*/
public String getReasonRegistration() {
return (String) get(11);
}
/**
* Setter for <code>ervu_dashboard.citizen.driver_license</code>.
* Водительское удостоверение
*/
public void setDriverLicense(String value) {
set(12, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.driver_license</code>.
* Водительское удостоверение
*/
public String getDriverLicense() {
return (String) get(12);
}
/**
* Setter for <code>ervu_dashboard.citizen.disability_group</code>. Группа
* инвалидности
*/
public void setDisabilityGroup(String value) {
set(13, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.disability_group</code>. Группа
* инвалидности
*/
public String getDisabilityGroup() {
return (String) get(13);
}
/**
* Setter for
* <code>ervu_dashboard.citizen.dispensary_registration_code</code>. Код
* диспансерного учета
*/
public void setDispensaryRegistrationCode(String value) {
set(14, value);
}
/**
* Getter for
* <code>ervu_dashboard.citizen.dispensary_registration_code</code>. Код
* диспансерного учета
*/
public String getDispensaryRegistrationCode() {
return (String) get(14);
}
/**
* Setter for <code>ervu_dashboard.citizen.region_birth</code>. Регион места
* рождения
*/
public void setRegionBirth(String value) {
set(15, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.region_birth</code>. Регион места
* рождения
*/
public String getRegionBirth() {
return (String) get(15);
}
/**
* Setter for <code>ervu_dashboard.citizen.city_birth</code>. Город места
* рождения
*/
public void setCityBirth(String value) {
set(16, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.city_birth</code>. Город места
* рождения
*/
public String getCityBirth() {
return (String) get(16);
}
/**
* Setter for <code>ervu_dashboard.citizen.right_deferment</code>. Имеет
* право на отсрочку
*/
public void setRightDeferment(Boolean value) {
set(17, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.right_deferment</code>. Имеет
* право на отсрочку
*/
public Boolean getRightDeferment() {
return (Boolean) get(17);
}
/**
* Setter for <code>ervu_dashboard.citizen.took_break</code>. Воспользовался
* отсрочкой
*/
public void setTookBreak(Boolean value) {
set(18, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.took_break</code>. Воспользовался
* отсрочкой
*/
public Boolean getTookBreak() {
return (Boolean) get(18);
}
/**
* Setter for <code>ervu_dashboard.citizen.medic</code>. Является медиком
*/
public void setMedic(Boolean value) {
set(19, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.medic</code>. Является медиком
*/
public Boolean getMedic() {
return (Boolean) get(19);
}
/**
* Setter for <code>ervu_dashboard.citizen.sports_category</code>. Имеет
* спортивный разряд/звание
*/
public void setSportsCategory(Boolean value) {
set(20, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.sports_category</code>. Имеет
* спортивный разряд/звание
*/
public Boolean getSportsCategory() {
return (Boolean) get(20);
}
/**
* Setter for <code>ervu_dashboard.citizen.tractor_license</code>. Имеет
* удостоверение тракториста
*/
public void setTractorLicense(Boolean value) {
set(21, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.tractor_license</code>. Имеет
* удостоверение тракториста
*/
public Boolean getTractorLicense() {
return (Boolean) get(21);
}
/**
* Setter for <code>ervu_dashboard.citizen.is_wanted</code>. Находится в
* розыске
*/
public void setIsWanted(Boolean value) {
set(22, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.is_wanted</code>. Находится в
* розыске
*/
public Boolean getIsWanted() {
return (Boolean) get(22);
}
/**
* Setter for <code>ervu_dashboard.citizen.is_in_prison</code>. Находится в
* местах лишения свободы
*/
public void setIsInPrison(Boolean value) {
set(23, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.is_in_prison</code>. Находится в
* местах лишения свободы
*/
public Boolean getIsInPrison() {
return (Boolean) get(23);
}
/**
* Setter for <code>ervu_dashboard.citizen.acquired_citizenship</code>.
* Получивший гражданство
*/
public void setAcquiredCitizenship(Boolean value) {
set(24, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.acquired_citizenship</code>.
* Получивший гражданство
*/
public Boolean getAcquiredCitizenship() {
return (Boolean) get(24);
}
/**
* Setter for <code>ervu_dashboard.citizen.urgent_service</code>. Признак
* критерия срочной службы
*/
public void setUrgentService(Boolean value) {
set(25, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.urgent_service</code>. Признак
* критерия срочной службы
*/
public Boolean getUrgentService() {
return (Boolean) get(25);
}
/**
* Setter for <code>ervu_dashboard.citizen.contract_service</code>. Признак
* критерия контрактной службы
*/
public void setContractService(Boolean value) {
set(26, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.contract_service</code>. Признак
* критерия контрактной службы
*/
public Boolean getContractService() {
return (Boolean) get(26);
}
/**
* Setter for <code>ervu_dashboard.citizen.mobilization</code>. Признак
* критерия службы по мобмлизации
*/
public void setMobilization(Boolean value) {
set(27, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.mobilization</code>. Признак
* критерия службы по мобмлизации
*/
public Boolean getMobilization() {
return (Boolean) get(27);
}
/**
* Setter for <code>ervu_dashboard.citizen.full_name</code>.
*/
public void setFullName(String value) {
set(28, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.full_name</code>.
*/
public String getFullName() {
return (String) get(28);
}
/**
* Setter for <code>ervu_dashboard.citizen.last_name</code>.
*/
public void setLastName(String value) {
set(29, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.last_name</code>.
*/
public String getLastName() {
return (String) get(29);
}
/**
* Setter for <code>ervu_dashboard.citizen.first_name</code>.
*/
public void setFirstName(String value) {
set(30, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.first_name</code>.
*/
public String getFirstName() {
return (String) get(30);
}
/**
* Setter for <code>ervu_dashboard.citizen.middle_name</code>.
*/
public void setMiddleName(String value) {
set(31, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.middle_name</code>.
*/
public String getMiddleName() {
return (String) get(31);
}
/**
* Setter for <code>ervu_dashboard.citizen.age</code>.
*/
public void setAge(BigDecimal value) {
set(32, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.age</code>.
*/
public BigDecimal getAge() {
return (BigDecimal) get(32);
}
/**
* Setter for <code>ervu_dashboard.citizen.birth_place</code>.
*/
public void setBirthPlace(String value) {
set(33, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.birth_place</code>.
*/
public String getBirthPlace() {
return (String) get(33);
}
/**
* Setter for <code>ervu_dashboard.citizen.number_children</code>.
*/
public void setNumberChildren(BigDecimal value) {
set(34, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.number_children</code>.
*/
public BigDecimal getNumberChildren() {
return (BigDecimal) get(34);
}
/**
* Setter for <code>ervu_dashboard.citizen.birth_date</code>.
*/
public void setBirthDate(Date value) {
set(35, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.birth_date</code>.
*/
public Date getBirthDate() {
return (Date) get(35);
}
/**
* Setter for <code>ervu_dashboard.citizen.recruit_id</code>. id рекрута из
* БД ЕРВУ
*/
public void setRecruitId(UUID value) {
set(36, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.recruit_id</code>. id рекрута из
* БД ЕРВУ
*/
public UUID getRecruitId() {
return (UUID) get(36);
}
/**
* Setter for <code>ervu_dashboard.citizen.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(37, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(37);
}
/**
* Setter for <code>ervu_dashboard.citizen.issue_date</code>.
*/
public void setIssueDate(Date value) {
set(38, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.issue_date</code>.
*/
public Date getIssueDate() {
return (Date) get(38);
}
/**
* Setter for <code>ervu_dashboard.citizen.number_children_18_old</code>.
*/
public void setNumberChildren_18Old(BigDecimal value) {
set(39, value);
}
/**
* Getter for <code>ervu_dashboard.citizen.number_children_18_old</code>.
*/
public BigDecimal getNumberChildren_18Old() {
return (BigDecimal) get(39);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<UUID> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached CitizenRecord
*/
public CitizenRecord() {
super(Citizen.CITIZEN);
}
/**
* 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, String recruitmentId, Date issueDate, BigDecimal numberChildren_18Old) {
super(Citizen.CITIZEN);
setResidence(residence);
setIsRegistered(isRegistered);
setPassportSeries(passportSeries);
setPassportNumber(passportNumber);
setPhone(phone);
setMedicalRequirements(medicalRequirements);
setDefermentLiberation(defermentLiberation);
setGender(gender);
setMaritalStatus(maritalStatus);
setEducation(education);
setEmployment(employment);
setReasonRegistration(reasonRegistration);
setDriverLicense(driverLicense);
setDisabilityGroup(disabilityGroup);
setDispensaryRegistrationCode(dispensaryRegistrationCode);
setRegionBirth(regionBirth);
setCityBirth(cityBirth);
setRightDeferment(rightDeferment);
setTookBreak(tookBreak);
setMedic(medic);
setSportsCategory(sportsCategory);
setTractorLicense(tractorLicense);
setIsWanted(isWanted);
setIsInPrison(isInPrison);
setAcquiredCitizenship(acquiredCitizenship);
setUrgentService(urgentService);
setContractService(contractService);
setMobilization(mobilization);
setFullName(fullName);
setLastName(lastName);
setFirstName(firstName);
setMiddleName(middleName);
setAge(age);
setBirthPlace(birthPlace);
setNumberChildren(numberChildren);
setBirthDate(birthDate);
setRecruitId(recruitId);
setRecruitmentId(recruitmentId);
setIssueDate(issueDate);
setNumberChildren_18Old(numberChildren_18Old);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,246 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.CitizenSpouse;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* сведения о супруге (бывшей/ем супруге) гражданина
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CitizenSpouseRecord extends UpdatableRecordImpl<CitizenSpouseRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>ervu_dashboard.citizen_spouse.citizen_spouse_id</code>.
*/
public void setCitizenSpouseId(Long value) {
set(0, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_spouse.citizen_spouse_id</code>.
*/
public Long getCitizenSpouseId() {
return (Long) get(0);
}
/**
* Setter for <code>ervu_dashboard.citizen_spouse.recruit_id</code>. ссылка
* на гражданина (citizen)
*/
public void setRecruitId(UUID value) {
set(1, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_spouse.recruit_id</code>. ссылка
* на гражданина (citizen)
*/
public UUID getRecruitId() {
return (UUID) get(1);
}
/**
* Setter for <code>ervu_dashboard.citizen_spouse.kinship_type</code>. тип
* родственной связи: супруг/бывший супруг
*/
public void setKinshipType(String value) {
set(2, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_spouse.kinship_type</code>. тип
* родственной связи: супруг/бывший супруг
*/
public String getKinshipType() {
return (String) get(2);
}
/**
* Setter for <code>ervu_dashboard.citizen_spouse.full_name</code>. ФИО
*/
public void setFullName(String value) {
set(3, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_spouse.full_name</code>. ФИО
*/
public String getFullName() {
return (String) get(3);
}
/**
* Setter for <code>ervu_dashboard.citizen_spouse.birth_date</code>.
*/
public void setBirthDate(Date value) {
set(4, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_spouse.birth_date</code>.
*/
public Date getBirthDate() {
return (Date) get(4);
}
/**
* Setter for <code>ervu_dashboard.citizen_spouse.death_az_number</code>.
* номер актовой записи о смерти
*/
public void setDeathAzNumber(String value) {
set(5, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_spouse.death_az_number</code>.
* номер актовой записи о смерти
*/
public String getDeathAzNumber() {
return (String) get(5);
}
/**
* Setter for <code>ervu_dashboard.citizen_spouse.death_date</code>.
*/
public void setDeathDate(Date value) {
set(6, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_spouse.death_date</code>.
*/
public Date getDeathDate() {
return (Date) get(6);
}
/**
* Setter for <code>ervu_dashboard.citizen_spouse.marriage_az_number</code>.
* номер актовой записи о браке
*/
public void setMarriageAzNumber(String value) {
set(7, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_spouse.marriage_az_number</code>.
* номер актовой записи о браке
*/
public String getMarriageAzNumber() {
return (String) get(7);
}
/**
* Setter for <code>ervu_dashboard.citizen_spouse.marriage_date</code>.
*/
public void setMarriageDate(Date value) {
set(8, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_spouse.marriage_date</code>.
*/
public Date getMarriageDate() {
return (Date) get(8);
}
/**
* Setter for <code>ervu_dashboard.citizen_spouse.divorce_az_number</code>.
* номер актовой записи о расторжении брака
*/
public void setDivorceAzNumber(String value) {
set(9, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_spouse.divorce_az_number</code>.
* номер актовой записи о расторжении брака
*/
public String getDivorceAzNumber() {
return (String) get(9);
}
/**
* Setter for <code>ervu_dashboard.citizen_spouse.divorce_date</code>.
*/
public void setDivorceDate(Date value) {
set(10, value);
}
/**
* Getter for <code>ervu_dashboard.citizen_spouse.divorce_date</code>.
*/
public Date getDivorceDate() {
return (Date) get(10);
}
/**
* Setter for
* <code>ervu_dashboard.citizen_spouse.information_excluded</code>. сведения
* о супруге исключены
*/
public void setInformationExcluded(Boolean value) {
set(11, value);
}
/**
* Getter for
* <code>ervu_dashboard.citizen_spouse.information_excluded</code>. сведения
* о супруге исключены
*/
public Boolean getInformationExcluded() {
return (Boolean) get(11);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached CitizenSpouseRecord
*/
public CitizenSpouseRecord() {
super(CitizenSpouse.CITIZEN_SPOUSE);
}
/**
* Create a detached, initialised CitizenSpouseRecord
*/
public CitizenSpouseRecord(Long citizenSpouseId, UUID recruitId, String kinshipType, String fullName, Date birthDate, String deathAzNumber, Date deathDate, String marriageAzNumber, Date marriageDate, String divorceAzNumber, Date divorceDate, Boolean informationExcluded) {
super(CitizenSpouse.CITIZEN_SPOUSE);
setCitizenSpouseId(citizenSpouseId);
setRecruitId(recruitId);
setKinshipType(kinshipType);
setFullName(fullName);
setBirthDate(birthDate);
setDeathAzNumber(deathAzNumber);
setDeathDate(deathDate);
setMarriageAzNumber(marriageAzNumber);
setMarriageDate(marriageDate);
setDivorceAzNumber(divorceAzNumber);
setDivorceDate(divorceDate);
setInformationExcluded(informationExcluded);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,251 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangelog;
import java.sql.Timestamp;
import org.jooq.impl.TableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DatabasechangelogRecord extends TableRecordImpl<DatabasechangelogRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>ervu_dashboard.databasechangelog.id</code>.
*/
public void setId(String value) {
set(0, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangelog.id</code>.
*/
public String getId() {
return (String) get(0);
}
/**
* Setter for <code>ervu_dashboard.databasechangelog.author</code>.
*/
public void setAuthor(String value) {
set(1, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangelog.author</code>.
*/
public String getAuthor() {
return (String) get(1);
}
/**
* Setter for <code>ervu_dashboard.databasechangelog.filename</code>.
*/
public void setFilename(String value) {
set(2, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangelog.filename</code>.
*/
public String getFilename() {
return (String) get(2);
}
/**
* Setter for <code>ervu_dashboard.databasechangelog.dateexecuted</code>.
*/
public void setDateexecuted(Timestamp value) {
set(3, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangelog.dateexecuted</code>.
*/
public Timestamp getDateexecuted() {
return (Timestamp) get(3);
}
/**
* Setter for <code>ervu_dashboard.databasechangelog.orderexecuted</code>.
*/
public void setOrderexecuted(Integer value) {
set(4, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangelog.orderexecuted</code>.
*/
public Integer getOrderexecuted() {
return (Integer) get(4);
}
/**
* Setter for <code>ervu_dashboard.databasechangelog.exectype</code>.
*/
public void setExectype(String value) {
set(5, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangelog.exectype</code>.
*/
public String getExectype() {
return (String) get(5);
}
/**
* Setter for <code>ervu_dashboard.databasechangelog.md5sum</code>.
*/
public void setMd5sum(String value) {
set(6, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangelog.md5sum</code>.
*/
public String getMd5sum() {
return (String) get(6);
}
/**
* Setter for <code>ervu_dashboard.databasechangelog.description</code>.
*/
public void setDescription(String value) {
set(7, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangelog.description</code>.
*/
public String getDescription() {
return (String) get(7);
}
/**
* Setter for <code>ervu_dashboard.databasechangelog.comments</code>.
*/
public void setComments(String value) {
set(8, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangelog.comments</code>.
*/
public String getComments() {
return (String) get(8);
}
/**
* Setter for <code>ervu_dashboard.databasechangelog.tag</code>.
*/
public void setTag(String value) {
set(9, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangelog.tag</code>.
*/
public String getTag() {
return (String) get(9);
}
/**
* Setter for <code>ervu_dashboard.databasechangelog.liquibase</code>.
*/
public void setLiquibase(String value) {
set(10, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangelog.liquibase</code>.
*/
public String getLiquibase() {
return (String) get(10);
}
/**
* Setter for <code>ervu_dashboard.databasechangelog.contexts</code>.
*/
public void setContexts(String value) {
set(11, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangelog.contexts</code>.
*/
public String getContexts() {
return (String) get(11);
}
/**
* Setter for <code>ervu_dashboard.databasechangelog.labels</code>.
*/
public void setLabels(String value) {
set(12, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangelog.labels</code>.
*/
public String getLabels() {
return (String) get(12);
}
/**
* Setter for <code>ervu_dashboard.databasechangelog.deployment_id</code>.
*/
public void setDeploymentId(String value) {
set(13, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangelog.deployment_id</code>.
*/
public String getDeploymentId() {
return (String) get(13);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached DatabasechangelogRecord
*/
public DatabasechangelogRecord() {
super(Databasechangelog.DATABASECHANGELOG);
}
/**
* Create a detached, initialised DatabasechangelogRecord
*/
public DatabasechangelogRecord(String id, String author, String filename, Timestamp dateexecuted, Integer orderexecuted, String exectype, String md5sum, String description, String comments, String tag, String liquibase, String contexts, String labels, String deploymentId) {
super(Databasechangelog.DATABASECHANGELOG);
setId(id);
setAuthor(author);
setFilename(filename);
setDateexecuted(dateexecuted);
setOrderexecuted(orderexecuted);
setExectype(exectype);
setMd5sum(md5sum);
setDescription(description);
setComments(comments);
setTag(tag);
setLiquibase(liquibase);
setContexts(contexts);
setLabels(labels);
setDeploymentId(deploymentId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,111 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Databasechangeloglock;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DatabasechangeloglockRecord extends UpdatableRecordImpl<DatabasechangeloglockRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>ervu_dashboard.databasechangeloglock.id</code>.
*/
public void setId(Integer value) {
set(0, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangeloglock.id</code>.
*/
public Integer getId() {
return (Integer) get(0);
}
/**
* Setter for <code>ervu_dashboard.databasechangeloglock.locked</code>.
*/
public void setLocked(Boolean value) {
set(1, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangeloglock.locked</code>.
*/
public Boolean getLocked() {
return (Boolean) get(1);
}
/**
* Setter for <code>ervu_dashboard.databasechangeloglock.lockgranted</code>.
*/
public void setLockgranted(Timestamp value) {
set(2, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangeloglock.lockgranted</code>.
*/
public Timestamp getLockgranted() {
return (Timestamp) get(2);
}
/**
* Setter for <code>ervu_dashboard.databasechangeloglock.lockedby</code>.
*/
public void setLockedby(String value) {
set(3, value);
}
/**
* Getter for <code>ervu_dashboard.databasechangeloglock.lockedby</code>.
*/
public String getLockedby() {
return (String) get(3);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached DatabasechangeloglockRecord
*/
public DatabasechangeloglockRecord() {
super(Databasechangeloglock.DATABASECHANGELOGLOCK);
}
/**
* Create a detached, initialised DatabasechangeloglockRecord
*/
public DatabasechangeloglockRecord(Integer id, Boolean locked, Timestamp lockgranted, String lockedby) {
super(Databasechangeloglock.DATABASECHANGELOGLOCK);
setId(id);
setLocked(locked);
setLockgranted(lockgranted);
setLockedby(lockedby);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,203 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disability;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* сведения об инвалидности/недееспособности/ограниченной дееспособности
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DisabilityRecord extends UpdatableRecordImpl<DisabilityRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>ervu_dashboard.disability.disability_id</code>.
*/
public void setDisabilityId(Long value) {
set(0, value);
}
/**
* Getter for <code>ervu_dashboard.disability.disability_id</code>.
*/
public Long getDisabilityId() {
return (Long) get(0);
}
/**
* Setter for <code>ervu_dashboard.disability.recruit_id</code>. ссылка на
* гражданина (citizen)
*/
public void setRecruitId(UUID value) {
set(1, value);
}
/**
* Getter for <code>ervu_dashboard.disability.recruit_id</code>. ссылка на
* гражданина (citizen)
*/
public UUID getRecruitId() {
return (UUID) get(1);
}
/**
* Setter for <code>ervu_dashboard.disability.disability</code>. сведения об
* инвалидности(true)/недееспособности(false)
*/
public void setDisability(Boolean value) {
set(2, value);
}
/**
* Getter for <code>ervu_dashboard.disability.disability</code>. сведения об
* инвалидности(true)/недееспособности(false)
*/
public Boolean getDisability() {
return (Boolean) get(2);
}
/**
* Setter for <code>ervu_dashboard.disability.organization_name</code>.
* наименование организации, установившей инвалидность/судебного органа
*/
public void setOrganizationName(String value) {
set(3, value);
}
/**
* Getter for <code>ervu_dashboard.disability.organization_name</code>.
* наименование организации, установившей инвалидность/судебного органа
*/
public String getOrganizationName() {
return (String) get(3);
}
/**
* Setter for <code>ervu_dashboard.disability.start_date</code>. дата
* установления инвалидности/признания гражданина недееспособным
*/
public void setStartDate(Date value) {
set(4, value);
}
/**
* Getter for <code>ervu_dashboard.disability.start_date</code>. дата
* установления инвалидности/признания гражданина недееспособным
*/
public Date getStartDate() {
return (Date) get(4);
}
/**
* Setter for <code>ervu_dashboard.disability.close_date</code>. дата снятия
* инвалидности/отмены ограничения гражданина в дееспособности
*/
public void setCloseDate(Date value) {
set(5, value);
}
/**
* Getter for <code>ervu_dashboard.disability.close_date</code>. дата снятия
* инвалидности/отмены ограничения гражданина в дееспособности
*/
public Date getCloseDate() {
return (Date) get(5);
}
/**
* Setter for <code>ervu_dashboard.disability.confirmation_date</code>. дата
* подтверждения инвалидности
*/
public void setConfirmationDate(Date value) {
set(6, value);
}
/**
* Getter for <code>ervu_dashboard.disability.confirmation_date</code>. дата
* подтверждения инвалидности
*/
public Date getConfirmationDate() {
return (Date) get(6);
}
/**
* Setter for <code>ervu_dashboard.disability.re_examination_date</code>.
* дата переосвидетельствования по инвалидности
*/
public void setReExaminationDate(Date value) {
set(7, value);
}
/**
* Getter for <code>ervu_dashboard.disability.re_examination_date</code>.
* дата переосвидетельствования по инвалидности
*/
public Date getReExaminationDate() {
return (Date) get(7);
}
/**
* Setter for <code>ervu_dashboard.disability.disability_group</code>.
* группа инвалидности
*/
public void setDisabilityGroup(String value) {
set(8, value);
}
/**
* Getter for <code>ervu_dashboard.disability.disability_group</code>.
* группа инвалидности
*/
public String getDisabilityGroup() {
return (String) get(8);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached DisabilityRecord
*/
public DisabilityRecord() {
super(Disability.DISABILITY);
}
/**
* Create a detached, initialised DisabilityRecord
*/
public DisabilityRecord(Long disabilityId, UUID recruitId, Boolean disability, String organizationName, Date startDate, Date closeDate, Date confirmationDate, Date reExaminationDate, String disabilityGroup) {
super(Disability.DISABILITY);
setDisabilityId(disabilityId);
setRecruitId(recruitId);
setDisability(disability);
setOrganizationName(organizationName);
setStartDate(startDate);
setCloseDate(closeDate);
setConfirmationDate(confirmationDate);
setReExaminationDate(reExaminationDate);
setDisabilityGroup(disabilityGroup);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,150 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Disease;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* сведения о заболеваниях гражданина
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DiseaseRecord extends UpdatableRecordImpl<DiseaseRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>ervu_dashboard.disease.disease_id</code>.
*/
public void setDiseaseId(Long value) {
set(0, value);
}
/**
* Getter for <code>ervu_dashboard.disease.disease_id</code>.
*/
public Long getDiseaseId() {
return (Long) get(0);
}
/**
* Setter for <code>ervu_dashboard.disease.recruit_id</code>. ссылка на
* гражданина (citizen)
*/
public void setRecruitId(UUID value) {
set(1, value);
}
/**
* Getter for <code>ervu_dashboard.disease.recruit_id</code>. ссылка на
* гражданина (citizen)
*/
public UUID getRecruitId() {
return (UUID) get(1);
}
/**
* Setter for <code>ervu_dashboard.disease.code</code>. код заболевания
*/
public void setCode(String value) {
set(2, value);
}
/**
* Getter for <code>ervu_dashboard.disease.code</code>. код заболевания
*/
public String getCode() {
return (String) get(2);
}
/**
* Setter for <code>ervu_dashboard.disease.name</code>. наименование
* заболевания
*/
public void setName(String value) {
set(3, value);
}
/**
* Getter for <code>ervu_dashboard.disease.name</code>. наименование
* заболевания
*/
public String getName() {
return (String) get(3);
}
/**
* Setter for <code>ervu_dashboard.disease.reg_date</code>. дата постановки
* диагноза
*/
public void setRegDate(Date value) {
set(4, value);
}
/**
* Getter for <code>ervu_dashboard.disease.reg_date</code>. дата постановки
* диагноза
*/
public Date getRegDate() {
return (Date) get(4);
}
/**
* Setter for <code>ervu_dashboard.disease.registered</code>. поставлен на
* учет по заболеванию
*/
public void setRegistered(Boolean value) {
set(5, value);
}
/**
* Getter for <code>ervu_dashboard.disease.registered</code>. поставлен на
* учет по заболеванию
*/
public Boolean getRegistered() {
return (Boolean) get(5);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached DiseaseRecord
*/
public DiseaseRecord() {
super(Disease.DISEASE);
}
/**
* Create a detached, initialised DiseaseRecord
*/
public DiseaseRecord(Long diseaseId, UUID recruitId, String code, String name, Date regDate, Boolean registered) {
super(Disease.DISEASE);
setDiseaseId(diseaseId);
setRecruitId(recruitId);
setCode(code);
setName(name);
setRegDate(regDate);
setRegistered(registered);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,256 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.DriversLicence;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* удостоверение водительское/тракториста-машиниста
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DriversLicenceRecord extends UpdatableRecordImpl<DriversLicenceRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>ervu_dashboard.drivers_licence.drivers_licence_id</code>.
*/
public void setDriversLicenceId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>ervu_dashboard.drivers_licence.drivers_licence_id</code>.
*/
public Long getDriversLicenceId() {
return (Long) get(0);
}
/**
* Setter for <code>ervu_dashboard.drivers_licence.recruit_id</code>. ссылка
* на гражданина (citizen)
*/
public void setRecruitId(UUID value) {
set(1, value);
}
/**
* Getter for <code>ervu_dashboard.drivers_licence.recruit_id</code>. ссылка
* на гражданина (citizen)
*/
public UUID getRecruitId() {
return (UUID) get(1);
}
/**
* Setter for <code>ervu_dashboard.drivers_licence.tractor_driver</code>.
* удостоверение тракториста
*/
public void setTractorDriver(Boolean value) {
set(2, value);
}
/**
* Getter for <code>ervu_dashboard.drivers_licence.tractor_driver</code>.
* удостоверение тракториста
*/
public Boolean getTractorDriver() {
return (Boolean) get(2);
}
/**
* Setter for <code>ervu_dashboard.drivers_licence.licence_series</code>.
* серия
*/
public void setLicenceSeries(String value) {
set(3, value);
}
/**
* Getter for <code>ervu_dashboard.drivers_licence.licence_series</code>.
* серия
*/
public String getLicenceSeries() {
return (String) get(3);
}
/**
* Setter for <code>ervu_dashboard.drivers_licence.licence_number</code>.
* номер
*/
public void setLicenceNumber(String value) {
set(4, value);
}
/**
* Getter for <code>ervu_dashboard.drivers_licence.licence_number</code>.
* номер
*/
public String getLicenceNumber() {
return (String) get(4);
}
/**
* Setter for <code>ervu_dashboard.drivers_licence.start_date</code>. дата
* выдачи
*/
public void setStartDate(Date value) {
set(5, value);
}
/**
* Getter for <code>ervu_dashboard.drivers_licence.start_date</code>. дата
* выдачи
*/
public Date getStartDate() {
return (Date) get(5);
}
/**
* Setter for <code>ervu_dashboard.drivers_licence.close_date</code>. дата
* окончания действия
*/
public void setCloseDate(Date value) {
set(6, value);
}
/**
* Getter for <code>ervu_dashboard.drivers_licence.close_date</code>. дата
* окончания действия
*/
public Date getCloseDate() {
return (Date) get(6);
}
/**
* Setter for <code>ervu_dashboard.drivers_licence.categories</code>.
* категории
*/
public void setCategories(String value) {
set(7, value);
}
/**
* Getter for <code>ervu_dashboard.drivers_licence.categories</code>.
* категории
*/
public String getCategories() {
return (String) get(7);
}
/**
* Setter for <code>ervu_dashboard.drivers_licence.status</code>. статус
* удостоверения
*/
public void setStatus(String value) {
set(8, value);
}
/**
* Getter for <code>ervu_dashboard.drivers_licence.status</code>. статус
* удостоверения
*/
public String getStatus() {
return (String) get(8);
}
/**
* Setter for <code>ervu_dashboard.drivers_licence.replacement_date</code>.
* дата замены
*/
public void setReplacementDate(Date value) {
set(9, value);
}
/**
* Getter for <code>ervu_dashboard.drivers_licence.replacement_date</code>.
* дата замены
*/
public Date getReplacementDate() {
return (Date) get(9);
}
/**
* Setter for <code>ervu_dashboard.drivers_licence.return_date</code>. дата
* возврата
*/
public void setReturnDate(Date value) {
set(10, value);
}
/**
* Getter for <code>ervu_dashboard.drivers_licence.return_date</code>. дата
* возврата
*/
public Date getReturnDate() {
return (Date) get(10);
}
/**
* Setter for <code>ervu_dashboard.drivers_licence.seizure_date</code>. дата
* изъятия
*/
public void setSeizureDate(Date value) {
set(11, value);
}
/**
* Getter for <code>ervu_dashboard.drivers_licence.seizure_date</code>. дата
* изъятия
*/
public Date getSeizureDate() {
return (Date) get(11);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached DriversLicenceRecord
*/
public DriversLicenceRecord() {
super(DriversLicence.DRIVERS_LICENCE);
}
/**
* Create a detached, initialised DriversLicenceRecord
*/
public DriversLicenceRecord(Long driversLicenceId, UUID recruitId, Boolean tractorDriver, String licenceSeries, String licenceNumber, Date startDate, Date closeDate, String categories, String status, Date replacementDate, Date returnDate, Date seizureDate) {
super(DriversLicence.DRIVERS_LICENCE);
setDriversLicenceId(driversLicenceId);
setRecruitId(recruitId);
setTractorDriver(tractorDriver);
setLicenceSeries(licenceSeries);
setLicenceNumber(licenceNumber);
setStartDate(startDate);
setCloseDate(closeDate);
setCategories(categories);
setStatus(status);
setReplacementDate(replacementDate);
setReturnDate(returnDate);
setSeizureDate(seizureDate);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,154 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.MedicalAuthorities;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* сведения о гражданах, стоящих на учете в ПНД/по ВИЧ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class MedicalAuthoritiesRecord extends UpdatableRecordImpl<MedicalAuthoritiesRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>ervu_dashboard.medical_authorities.medical_authorities_id</code>.
*/
public void setMedicalAuthoritiesId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>ervu_dashboard.medical_authorities.medical_authorities_id</code>.
*/
public Long getMedicalAuthoritiesId() {
return (Long) get(0);
}
/**
* Setter for <code>ervu_dashboard.medical_authorities.recruit_id</code>.
* ссылка на гражданина (citizen)
*/
public void setRecruitId(UUID value) {
set(1, value);
}
/**
* Getter for <code>ervu_dashboard.medical_authorities.recruit_id</code>.
* ссылка на гражданина (citizen)
*/
public UUID getRecruitId() {
return (UUID) get(1);
}
/**
* Setter for <code>ervu_dashboard.medical_authorities.start_date</code>.
* дата постановки на учет
*/
public void setStartDate(Date value) {
set(2, value);
}
/**
* Getter for <code>ervu_dashboard.medical_authorities.start_date</code>.
* дата постановки на учет
*/
public Date getStartDate() {
return (Date) get(2);
}
/**
* Setter for <code>ervu_dashboard.medical_authorities.close_date</code>.
* дата снятия с учета
*/
public void setCloseDate(Date value) {
set(3, value);
}
/**
* Getter for <code>ervu_dashboard.medical_authorities.close_date</code>.
* дата снятия с учета
*/
public Date getCloseDate() {
return (Date) get(3);
}
/**
* Setter for <code>ervu_dashboard.medical_authorities.change_date</code>.
* дата планового срока пересмотра диагноза
*/
public void setChangeDate(Date value) {
set(4, value);
}
/**
* Getter for <code>ervu_dashboard.medical_authorities.change_date</code>.
* дата планового срока пересмотра диагноза
*/
public Date getChangeDate() {
return (Date) get(4);
}
/**
* Setter for <code>ervu_dashboard.medical_authorities.hiv</code>. на учете
* по ВИЧ(true) или в ПНД(false)
*/
public void setHiv(Boolean value) {
set(5, value);
}
/**
* Getter for <code>ervu_dashboard.medical_authorities.hiv</code>. на учете
* по ВИЧ(true) или в ПНД(false)
*/
public Boolean getHiv() {
return (Boolean) get(5);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached MedicalAuthoritiesRecord
*/
public MedicalAuthoritiesRecord() {
super(MedicalAuthorities.MEDICAL_AUTHORITIES);
}
/**
* Create a detached, initialised MedicalAuthoritiesRecord
*/
public MedicalAuthoritiesRecord(Long medicalAuthoritiesId, UUID recruitId, Date startDate, Date closeDate, Date changeDate, Boolean hiv) {
super(MedicalAuthorities.MEDICAL_AUTHORITIES);
setMedicalAuthoritiesId(medicalAuthoritiesId);
setRecruitId(recruitId);
setStartDate(startDate);
setCloseDate(closeDate);
setChangeDate(changeDate);
setHiv(hiv);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,268 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Property;
import ervu_dashboard.ervu_dashboard.db_beans.public_.enums.TypePropertyType;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* сведения об имуществе
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PropertyRecord extends UpdatableRecordImpl<PropertyRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>ervu_dashboard.property.property_id</code>.
*/
public void setPropertyId(Long value) {
set(0, value);
}
/**
* Getter for <code>ervu_dashboard.property.property_id</code>.
*/
public Long getPropertyId() {
return (Long) get(0);
}
/**
* Setter for <code>ervu_dashboard.property.recruit_id</code>. ссылка на
* гражданина (citizen)
*/
public void setRecruitId(UUID value) {
set(1, value);
}
/**
* Getter for <code>ervu_dashboard.property.recruit_id</code>. ссылка на
* гражданина (citizen)
*/
public UUID getRecruitId() {
return (UUID) get(1);
}
/**
* Setter for <code>ervu_dashboard.property.type_property</code>. тип
* имущества: недвижимое/наземный/воздушный/водный транспорт
*/
public void setTypeProperty(TypePropertyType value) {
set(2, value);
}
/**
* Getter for <code>ervu_dashboard.property.type_property</code>. тип
* имущества: недвижимое/наземный/воздушный/водный транспорт
*/
public TypePropertyType getTypeProperty() {
return (TypePropertyType) get(2);
}
/**
* Setter for <code>ervu_dashboard.property.start_date</code>. дата
* регистрации права владения
*/
public void setStartDate(Date value) {
set(3, value);
}
/**
* Getter for <code>ervu_dashboard.property.start_date</code>. дата
* регистрации права владения
*/
public Date getStartDate() {
return (Date) get(3);
}
/**
* Setter for <code>ervu_dashboard.property.close_date</code>. дата
* прекращения права владения
*/
public void setCloseDate(Date value) {
set(4, value);
}
/**
* Getter for <code>ervu_dashboard.property.close_date</code>. дата
* прекращения права владения
*/
public Date getCloseDate() {
return (Date) get(4);
}
/**
* Setter for <code>ervu_dashboard.property.vehicle_type</code>. вид
* транспортного средства
*/
public void setVehicleType(String value) {
set(5, value);
}
/**
* Getter for <code>ervu_dashboard.property.vehicle_type</code>. вид
* транспортного средства
*/
public String getVehicleType() {
return (String) get(5);
}
/**
* Setter for <code>ervu_dashboard.property.vehicle_category</code>.
* категория транспортного средства
*/
public void setVehicleCategory(String value) {
set(6, value);
}
/**
* Getter for <code>ervu_dashboard.property.vehicle_category</code>.
* категория транспортного средства
*/
public String getVehicleCategory() {
return (String) get(6);
}
/**
* Setter for <code>ervu_dashboard.property.address</code>. адрес объекта
* недвижимости
*/
public void setAddress(String value) {
set(7, value);
}
/**
* Getter for <code>ervu_dashboard.property.address</code>. адрес объекта
* недвижимости
*/
public String getAddress() {
return (String) get(7);
}
/**
* Setter for <code>ervu_dashboard.property.kind_right</code>. вид права
*/
public void setKindRight(String value) {
set(8, value);
}
/**
* Getter for <code>ervu_dashboard.property.kind_right</code>. вид права
*/
public String getKindRight() {
return (String) get(8);
}
/**
* Setter for <code>ervu_dashboard.property.issue_year</code>. год выпуска
* транспортного средства
*/
public void setIssueYear(String value) {
set(9, value);
}
/**
* Getter for <code>ervu_dashboard.property.issue_year</code>. год выпуска
* транспортного средства
*/
public String getIssueYear() {
return (String) get(9);
}
/**
* Setter for <code>ervu_dashboard.property.brand_model</code>. марка,
* модель транспортного средства
*/
public void setBrandModel(String value) {
set(10, value);
}
/**
* Getter for <code>ervu_dashboard.property.brand_model</code>. марка,
* модель транспортного средства
*/
public String getBrandModel() {
return (String) get(10);
}
/**
* Setter for <code>ervu_dashboard.property.reg_plate</code>.
* регистрационный номер
*/
public void setRegPlate(String value) {
set(11, value);
}
/**
* Getter for <code>ervu_dashboard.property.reg_plate</code>.
* регистрационный номер
*/
public String getRegPlate() {
return (String) get(11);
}
/**
* Setter for <code>ervu_dashboard.property.vin</code>.
*/
public void setVin(String value) {
set(12, value);
}
/**
* Getter for <code>ervu_dashboard.property.vin</code>.
*/
public String getVin() {
return (String) get(12);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached PropertyRecord
*/
public PropertyRecord() {
super(Property.PROPERTY);
}
/**
* Create a detached, initialised PropertyRecord
*/
public PropertyRecord(Long propertyId, UUID recruitId, TypePropertyType typeProperty, Date startDate, Date closeDate, String vehicleType, String vehicleCategory, String address, String kindRight, String issueYear, String brandModel, String regPlate, String vin) {
super(Property.PROPERTY);
setPropertyId(propertyId);
setRecruitId(recruitId);
setTypeProperty(typeProperty);
setStartDate(startDate);
setCloseDate(closeDate);
setVehicleType(vehicleType);
setVehicleCategory(vehicleCategory);
setAddress(address);
setKindRight(kindRight);
setIssueYear(issueYear);
setBrandModel(brandModel);
setRegPlate(regPlate);
setVin(vin);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,169 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PubRecruitmentRecord extends UpdatableRecordImpl<PubRecruitmentRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>ervu_dashboard.pub_recruitment.idm_id</code>.
*/
public void setIdmId(String value) {
set(0, value);
}
/**
* Getter for <code>ervu_dashboard.pub_recruitment.idm_id</code>.
*/
public String getIdmId() {
return (String) get(0);
}
/**
* Setter for <code>ervu_dashboard.pub_recruitment.parent_id</code>.
*/
public void setParentId(String value) {
set(1, value);
}
/**
* Getter for <code>ervu_dashboard.pub_recruitment.parent_id</code>.
*/
public String getParentId() {
return (String) get(1);
}
/**
* Setter for <code>ervu_dashboard.pub_recruitment.military_code</code>.
*/
public void setMilitaryCode(String value) {
set(2, value);
}
/**
* Getter for <code>ervu_dashboard.pub_recruitment.military_code</code>.
*/
public String getMilitaryCode() {
return (String) get(2);
}
/**
* Setter for <code>ervu_dashboard.pub_recruitment.shortname</code>.
*/
public void setShortname(String value) {
set(3, value);
}
/**
* Getter for <code>ervu_dashboard.pub_recruitment.shortname</code>.
*/
public String getShortname() {
return (String) get(3);
}
/**
* Setter for <code>ervu_dashboard.pub_recruitment.fullname</code>.
*/
public void setFullname(String value) {
set(4, value);
}
/**
* Getter for <code>ervu_dashboard.pub_recruitment.fullname</code>.
*/
public String getFullname() {
return (String) get(4);
}
/**
* Setter for <code>ervu_dashboard.pub_recruitment.code</code>.
*/
public void setCode(String value) {
set(5, value);
}
/**
* Getter for <code>ervu_dashboard.pub_recruitment.code</code>.
*/
public String getCode() {
return (String) get(5);
}
/**
* Setter for <code>ervu_dashboard.pub_recruitment.id</code>.
*/
public void setId(String value) {
set(6, value);
}
/**
* Getter for <code>ervu_dashboard.pub_recruitment.id</code>.
*/
public String getId() {
return (String) get(6);
}
/**
* Setter for <code>ervu_dashboard.pub_recruitment.sort</code>.
*/
public void setSort(String value) {
set(7, value);
}
/**
* Getter for <code>ervu_dashboard.pub_recruitment.sort</code>.
*/
public String getSort() {
return (String) get(7);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<String> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached PubRecruitmentRecord
*/
public PubRecruitmentRecord() {
super(PubRecruitment.PUB_RECRUITMENT);
}
/**
* Create a detached, initialised PubRecruitmentRecord
*/
public PubRecruitmentRecord(String idmId, String parentId, String militaryCode, String shortname, String fullname, String code, String id, String sort) {
super(PubRecruitment.PUB_RECRUITMENT);
setIdmId(idmId);
setParentId(parentId);
setMilitaryCode(militaryCode);
setShortname(shortname);
setFullname(fullname);
setCode(code);
setId(id);
setSort(sort);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,139 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RecruitmentRecord extends UpdatableRecordImpl<RecruitmentRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>ervu_dashboard.recruitment.id</code>.
*/
public void setId(String value) {
set(0, value);
}
/**
* Getter for <code>ervu_dashboard.recruitment.id</code>.
*/
public String getId() {
return (String) get(0);
}
/**
* Setter for <code>ervu_dashboard.recruitment.shortname</code>.
*/
public void setShortname(String value) {
set(1, value);
}
/**
* Getter for <code>ervu_dashboard.recruitment.shortname</code>.
*/
public String getShortname() {
return (String) get(1);
}
/**
* Setter for <code>ervu_dashboard.recruitment.idm_id</code>.
*/
public void setIdmId(String value) {
set(2, value);
}
/**
* Getter for <code>ervu_dashboard.recruitment.idm_id</code>.
*/
public String getIdmId() {
return (String) get(2);
}
/**
* Setter for <code>ervu_dashboard.recruitment.code</code>.
*/
public void setCode(String value) {
set(3, value);
}
/**
* Getter for <code>ervu_dashboard.recruitment.code</code>.
*/
public String getCode() {
return (String) get(3);
}
/**
* Setter for <code>ervu_dashboard.recruitment.parent_id</code>.
*/
public void setParentId(String value) {
set(4, value);
}
/**
* Getter for <code>ervu_dashboard.recruitment.parent_id</code>.
*/
public String getParentId() {
return (String) get(4);
}
/**
* Setter for <code>ervu_dashboard.recruitment.sort</code>.
*/
public void setSort(Long value) {
set(5, value);
}
/**
* Getter for <code>ervu_dashboard.recruitment.sort</code>.
*/
public Long getSort() {
return (Long) get(5);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<String> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached RecruitmentRecord
*/
public RecruitmentRecord() {
super(Recruitment.RECRUITMENT);
}
/**
* Create a detached, initialised RecruitmentRecord
*/
public RecruitmentRecord(String id, String shortname, String idmId, String code, String parentId, Long sort) {
super(Recruitment.RECRUITMENT);
setId(id);
setShortname(shortname);
setIdmId(idmId);
setCode(code);
setParentId(parentId);
setSort(sort);
resetChangedOnNotNull();
}
}

View file

@ -1,10 +1,10 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Subpoena;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Subpoena;
import java.sql.Timestamp;
import java.util.UUID;
@ -22,171 +22,157 @@ public class SubpoenaRecord extends UpdatableRecordImpl<SubpoenaRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.subpoena.subpoena_id</code>.
* Setter for <code>ervu_dashboard.subpoena.subpoena_id</code>.
*/
public void setSubpoenaId(Long value) {
set(0, value);
}
/**
* Getter for <code>public.subpoena.subpoena_id</code>.
* Getter for <code>ervu_dashboard.subpoena.subpoena_id</code>.
*/
public Long getSubpoenaId() {
return (Long) get(0);
}
/**
* Setter for <code>public.subpoena.series</code>.
* Setter for <code>ervu_dashboard.subpoena.series</code>.
*/
public void setSeries(String value) {
set(1, value);
}
/**
* Getter for <code>public.subpoena.series</code>.
* Getter for <code>ervu_dashboard.subpoena.series</code>.
*/
public String getSeries() {
return (String) get(1);
}
/**
* Setter for <code>public.subpoena.number</code>.
* Setter for <code>ervu_dashboard.subpoena.number</code>.
*/
public void setNumber(String value) {
set(2, value);
}
/**
* Getter for <code>public.subpoena.number</code>.
* Getter for <code>ervu_dashboard.subpoena.number</code>.
*/
public String getNumber() {
return (String) get(2);
}
/**
* Setter for <code>public.subpoena.id_ern</code>.
* Setter for <code>ervu_dashboard.subpoena.create_date</code>.
*/
public void setIdErn(String value) {
public void setCreateDate(Timestamp value) {
set(3, value);
}
/**
* Getter for <code>public.subpoena.id_ern</code>.
* Getter for <code>ervu_dashboard.subpoena.create_date</code>.
*/
public String getIdErn() {
return (String) get(3);
public Timestamp getCreateDate() {
return (Timestamp) get(3);
}
/**
* Setter for <code>public.subpoena.create_date</code>.
* Setter for <code>ervu_dashboard.subpoena.visit_date</code>.
*/
public void setCreateDate(Timestamp value) {
public void setVisitDate(Timestamp value) {
set(4, value);
}
/**
* Getter for <code>public.subpoena.create_date</code>.
* Getter for <code>ervu_dashboard.subpoena.visit_date</code>.
*/
public Timestamp getCreateDate() {
public Timestamp getVisitDate() {
return (Timestamp) get(4);
}
/**
* Setter for <code>public.subpoena.visit_date</code>.
* Setter for <code>ervu_dashboard.subpoena.send_date</code>.
*/
public void setVisitDate(Timestamp value) {
public void setSendDate(Timestamp value) {
set(5, value);
}
/**
* Getter for <code>public.subpoena.visit_date</code>.
* Getter for <code>ervu_dashboard.subpoena.send_date</code>.
*/
public Timestamp getVisitDate() {
public Timestamp getSendDate() {
return (Timestamp) get(5);
}
/**
* Setter for <code>public.subpoena.send_date</code>.
* Setter for <code>ervu_dashboard.subpoena.reason_cancelled</code>.
*/
public void setSendDate(Timestamp value) {
public void setReasonCancelled(String value) {
set(6, value);
}
/**
* Getter for <code>public.subpoena.send_date</code>.
* Getter for <code>ervu_dashboard.subpoena.reason_cancelled</code>.
*/
public Timestamp getSendDate() {
return (Timestamp) get(6);
public String getReasonCancelled() {
return (String) get(6);
}
/**
* Setter for <code>public.subpoena.reason_cancelled</code>.
* Setter for <code>ervu_dashboard.subpoena.recruit_id</code>.
*/
public void setReasonCancelled(String value) {
public void setRecruitId(UUID value) {
set(7, value);
}
/**
* Getter for <code>public.subpoena.reason_cancelled</code>.
* Getter for <code>ervu_dashboard.subpoena.recruit_id</code>.
*/
public String getReasonCancelled() {
return (String) get(7);
public UUID getRecruitId() {
return (UUID) get(7);
}
/**
* Setter for <code>public.subpoena.recruit_id</code>.
* Setter for <code>ervu_dashboard.subpoena.department_id</code>.
*/
public void setRecruitId(UUID value) {
public void setDepartmentId(UUID value) {
set(8, value);
}
/**
* Getter for <code>public.subpoena.recruit_id</code>.
* Getter for <code>ervu_dashboard.subpoena.department_id</code>.
*/
public UUID getRecruitId() {
public UUID getDepartmentId() {
return (UUID) get(8);
}
/**
* Setter for <code>public.subpoena.department_id</code>.
* Setter for <code>ervu_dashboard.subpoena.subpoena_status</code>.
*/
public void setDepartmentId(UUID value) {
public void setSubpoenaStatus(String value) {
set(9, value);
}
/**
* Getter for <code>public.subpoena.department_id</code>.
* Getter for <code>ervu_dashboard.subpoena.subpoena_status</code>.
*/
public UUID getDepartmentId() {
return (UUID) get(9);
public String getSubpoenaStatus() {
return (String) get(9);
}
/**
* Setter for <code>public.subpoena.subpoena_status</code>.
* Setter for <code>ervu_dashboard.subpoena.subpoena_reason</code>.
*/
public void setSubpoenaStatus(String value) {
public void setSubpoenaReason(String value) {
set(10, value);
}
/**
* Getter for <code>public.subpoena.subpoena_status</code>.
*/
public String getSubpoenaStatus() {
return (String) get(10);
}
/**
* Setter for <code>public.subpoena.subpoena_reason</code>.
*/
public void setSubpoenaReason(String value) {
set(11, value);
}
/**
* Getter for <code>public.subpoena.subpoena_reason</code>.
* Getter for <code>ervu_dashboard.subpoena.subpoena_reason</code>.
*/
public String getSubpoenaReason() {
return (String) get(11);
return (String) get(10);
}
// -------------------------------------------------------------------------
@ -212,13 +198,12 @@ public class SubpoenaRecord extends UpdatableRecordImpl<SubpoenaRecord> {
/**
* Create a detached, initialised SubpoenaRecord
*/
public SubpoenaRecord(Long subpoenaId, String series, String number, String idErn, Timestamp createDate, Timestamp visitDate, Timestamp sendDate, String reasonCancelled, UUID recruitId, UUID departmentId, String subpoenaStatus, String subpoenaReason) {
public SubpoenaRecord(Long subpoenaId, String series, String number, Timestamp createDate, Timestamp visitDate, Timestamp sendDate, String reasonCancelled, UUID recruitId, UUID departmentId, String subpoenaStatus, String subpoenaReason) {
super(Subpoena.SUBPOENA);
setSubpoenaId(subpoenaId);
setSeries(series);
setNumber(number);
setIdErn(idErn);
setCreateDate(createDate);
setVisitDate(visitDate);
setSendDate(sendDate);

View file

@ -0,0 +1,163 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.TemporaryMeasures;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TemporaryMeasuresRecord extends UpdatableRecordImpl<TemporaryMeasuresRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>ervu_dashboard.temporary_measures.temporary_measures_id</code>.
*/
public void setTemporaryMeasuresId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>ervu_dashboard.temporary_measures.temporary_measures_id</code>.
*/
public Long getTemporaryMeasuresId() {
return (Long) get(0);
}
/**
* Setter for <code>ervu_dashboard.temporary_measures.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for <code>ervu_dashboard.temporary_measures.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for <code>ervu_dashboard.temporary_measures.name</code>.
*/
public void setName(String value) {
set(2, value);
}
/**
* Getter for <code>ervu_dashboard.temporary_measures.name</code>.
*/
public String getName() {
return (String) get(2);
}
/**
* Setter for
* <code>ervu_dashboard.temporary_measures.date_application</code>.
*/
public void setDateApplication(Date value) {
set(3, value);
}
/**
* Getter for
* <code>ervu_dashboard.temporary_measures.date_application</code>.
*/
public Date getDateApplication() {
return (Date) get(3);
}
/**
* Setter for
* <code>ervu_dashboard.temporary_measures.withdrawal_date</code>.
*/
public void setWithdrawalDate(Date value) {
set(4, value);
}
/**
* Getter for
* <code>ervu_dashboard.temporary_measures.withdrawal_date</code>.
*/
public Date getWithdrawalDate() {
return (Date) get(4);
}
/**
* Setter for <code>ervu_dashboard.temporary_measures.status</code>.
*/
public void setStatus(String value) {
set(5, value);
}
/**
* Getter for <code>ervu_dashboard.temporary_measures.status</code>.
*/
public String getStatus() {
return (String) get(5);
}
/**
* Setter for <code>ervu_dashboard.temporary_measures.citizen_id</code>.
*/
public void setCitizenId(UUID value) {
set(6, value);
}
/**
* Getter for <code>ervu_dashboard.temporary_measures.citizen_id</code>.
*/
public UUID getCitizenId() {
return (UUID) get(6);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TemporaryMeasuresRecord
*/
public TemporaryMeasuresRecord() {
super(TemporaryMeasures.TEMPORARY_MEASURES);
}
/**
* Create a detached, initialised TemporaryMeasuresRecord
*/
public TemporaryMeasuresRecord(Long temporaryMeasuresId, String recruitmentId, String name, Date dateApplication, Date withdrawalDate, String status, UUID citizenId) {
super(TemporaryMeasures.TEMPORARY_MEASURES);
setTemporaryMeasuresId(temporaryMeasuresId);
setRecruitmentId(recruitmentId);
setName(name);
setDateApplication(dateApplication);
setWithdrawalDate(withdrawalDate);
setStatus(status);
setCitizenId(citizenId);
resetChangedOnNotNull();
}
}

View file

@ -12,10 +12,7 @@ import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.Appe
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.RecruitmentCampaignRecord;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.TotalRegisteredRecord;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.WaitingRegistrationRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
@ -33,17 +30,8 @@ public class Keys {
// UNIQUE and PRIMARY KEY definitions
// -------------------------------------------------------------------------
public static final UniqueKey<AppealsRecord> PK_APPEAL = Internal.createUniqueKey(Appeals.APPEALS, DSL.name("pk_appeal"), new TableField[] { Appeals.APPEALS.ID_APPEAL }, true);
public static final UniqueKey<RecruitmentCampaignRecord> PK_RECRUITMENT_CAMPAIGN = Internal.createUniqueKey(RecruitmentCampaign.RECRUITMENT_CAMPAIGN, DSL.name("pk_recruitment_campaign"), new TableField[] { RecruitmentCampaign.RECRUITMENT_CAMPAIGN.ID_RECRUITMENT_CAMPAIGN }, true);
public static final UniqueKey<TotalRegisteredRecord> PK_TOTAL_REGISTERED = Internal.createUniqueKey(TotalRegistered.TOTAL_REGISTERED, DSL.name("pk_total_registered"), new TableField[] { TotalRegistered.TOTAL_REGISTERED.ID_TOTAL_REGISTERED }, true);
public static final UniqueKey<WaitingRegistrationRecord> PK_WAITING_REGISTRATION = Internal.createUniqueKey(WaitingRegistration.WAITING_REGISTRATION, DSL.name("pk_waiting_registration"), new TableField[] { WaitingRegistration.WAITING_REGISTRATION.ID_WAITING_REGISTRATION }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
// -------------------------------------------------------------------------
public static final ForeignKey<AppealsRecord, PubRecruitmentRecord> APPEALS__MD_APPEALS_FK1 = Internal.createForeignKey(Appeals.APPEALS, DSL.name("md_appeals_fk1"), new TableField[] { Appeals.APPEALS.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<RecruitmentCampaignRecord, PubRecruitmentRecord> RECRUITMENT_CAMPAIGN__RECRUITMENT_CAMPAIGN_FK1 = Internal.createForeignKey(RecruitmentCampaign.RECRUITMENT_CAMPAIGN, DSL.name("recruitment_campaign_fk1"), new TableField[] { RecruitmentCampaign.RECRUITMENT_CAMPAIGN.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<TotalRegisteredRecord, PubRecruitmentRecord> TOTAL_REGISTERED__MD_TOTAL_REGISTERED_FK1 = Internal.createForeignKey(TotalRegistered.TOTAL_REGISTERED, DSL.name("md_total_registered_fk1"), new TableField[] { TotalRegistered.TOTAL_REGISTERED.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<WaitingRegistrationRecord, PubRecruitmentRecord> WAITING_REGISTRATION__MD_WAITING_REGISTRATION_FK1 = Internal.createForeignKey(WaitingRegistration.WAITING_REGISTRATION, DSL.name("md_waiting_registration_fk1"), new TableField[] { WaitingRegistration.WAITING_REGISTRATION.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final UniqueKey<AppealsRecord> APPEALS_PKEY = Internal.createUniqueKey(Appeals.APPEALS, DSL.name("appeals_pkey"), new TableField[] { Appeals.APPEALS.RECRUITMENT_ID, Appeals.APPEALS.RECORDING_DATE }, true);
public static final UniqueKey<RecruitmentCampaignRecord> RECRUITMENT_CAMPAIGN_PKEY = Internal.createUniqueKey(RecruitmentCampaign.RECRUITMENT_CAMPAIGN, DSL.name("recruitment_campaign_pkey"), new TableField[] { RecruitmentCampaign.RECRUITMENT_CAMPAIGN.SPRING_AUTUMN, RecruitmentCampaign.RECRUITMENT_CAMPAIGN.RECRUITMENT_ID, RecruitmentCampaign.RECRUITMENT_CAMPAIGN.RECORDING_DATE }, true);
public static final UniqueKey<TotalRegisteredRecord> TOTAL_REGISTERED_PKEY = Internal.createUniqueKey(TotalRegistered.TOTAL_REGISTERED, DSL.name("total_registered_pkey"), new TableField[] { TotalRegistered.TOTAL_REGISTERED.RECRUITMENT_ID, TotalRegistered.TOTAL_REGISTERED.RECORDING_DATE }, true);
public static final UniqueKey<WaitingRegistrationRecord> WAITING_REGISTRATION_PKEY = Internal.createUniqueKey(WaitingRegistration.WAITING_REGISTRATION, DSL.name("waiting_registration_pkey"), new TableField[] { WaitingRegistration.WAITING_REGISTRATION.RECRUITMENT_ID, WaitingRegistration.WAITING_REGISTRATION.RECORDING_DATE }, true);
}

View file

@ -7,25 +7,17 @@ package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.MainDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.AppealsRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.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;
@ -60,11 +52,6 @@ public class Appeals extends TableImpl<AppealsRecord> {
return AppealsRecord.class;
}
/**
* The column <code>main_dashboard.appeals.id_appeal</code>.
*/
public final TableField<AppealsRecord, Long> ID_APPEAL = createField(DSL.name("id_appeal"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>main_dashboard.appeals.total_appeals</code>. Всего жалоб
*/
@ -104,7 +91,7 @@ public class Appeals extends TableImpl<AppealsRecord> {
* The column <code>main_dashboard.appeals.recording_date</code>. Дата
* записи
*/
public final TableField<AppealsRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
public final TableField<AppealsRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column <code>main_dashboard.appeals.average_to_face_percent</code>.
@ -121,12 +108,12 @@ public class Appeals extends TableImpl<AppealsRecord> {
/**
* The column <code>main_dashboard.appeals.recruitment_id</code>.
*/
public final TableField<AppealsRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
public final TableField<AppealsRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column <code>main_dashboard.appeals.testrecruitment_id</code>.
* The column <code>main_dashboard.appeals.id_appeal</code>.
*/
public final TableField<AppealsRecord, String> TESTRECRUITMENT_ID = createField(DSL.name("testrecruitment_id"), SQLDataType.CHAR(36), this, "");
public final TableField<AppealsRecord, Long> ID_APPEAL = createField(DSL.name("id_appeal"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
private Appeals(Name alias, Table<AppealsRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
@ -157,37 +144,6 @@ public class Appeals extends TableImpl<AppealsRecord> {
this(DSL.name("appeals"), null);
}
public <O extends Record> Appeals(Table<O> path, ForeignKey<O, AppealsRecord> childPath, InverseForeignKey<O, AppealsRecord> parentPath) {
super(path, childPath, parentPath, APPEALS);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class AppealsPath extends Appeals implements Path<AppealsRecord> {
public <O extends Record> AppealsPath(Table<O> path, ForeignKey<O, AppealsRecord> childPath, InverseForeignKey<O, AppealsRecord> parentPath) {
super(path, childPath, parentPath);
}
private AppealsPath(Name alias, Table<AppealsRecord> aliased) {
super(alias, aliased);
}
@Override
public AppealsPath as(String alias) {
return new AppealsPath(DSL.name(alias), this);
}
@Override
public AppealsPath as(Name alias) {
return new AppealsPath(alias, this);
}
@Override
public AppealsPath as(Table<?> alias) {
return new AppealsPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : MainDashboard.MAIN_DASHBOARD;
@ -200,25 +156,7 @@ public class Appeals extends TableImpl<AppealsRecord> {
@Override
public UniqueKey<AppealsRecord> getPrimaryKey() {
return Keys.PK_APPEAL;
}
@Override
public List<ForeignKey<AppealsRecord, ?>> getReferences() {
return Arrays.asList(Keys.APPEALS__MD_APPEALS_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.APPEALS__MD_APPEALS_FK1, null);
return _pubRecruitment;
return Keys.APPEALS_PKEY;
}
@Override

View file

@ -7,25 +7,17 @@ package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.MainDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.RecruitmentCampaignRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.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;
@ -61,12 +53,6 @@ public class RecruitmentCampaign extends TableImpl<RecruitmentCampaignRecord> {
return RecruitmentCampaignRecord.class;
}
/**
* The column
* <code>main_dashboard.recruitment_campaign.id_recruitment_campaign</code>.
*/
public final TableField<RecruitmentCampaignRecord, Long> ID_RECRUITMENT_CAMPAIGN = createField(DSL.name("id_recruitment_campaign"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>main_dashboard.recruitment_campaign.new_recruits</code>.
* Подпадающие под призыв
@ -113,14 +99,7 @@ public class RecruitmentCampaign extends TableImpl<RecruitmentCampaignRecord> {
* <code>main_dashboard.recruitment_campaign.recording_date</code>. Дата
* записи
*/
public final TableField<RecruitmentCampaignRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column
* <code>main_dashboard.recruitment_campaign.spring_autumn</code>.
* Весна/Осень
*/
public final TableField<RecruitmentCampaignRecord, String> SPRING_AUTUMN = createField(DSL.name("spring_autumn"), SQLDataType.CLOB, this, "Весна/Осень");
public final TableField<RecruitmentCampaignRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column
@ -154,19 +133,19 @@ public class RecruitmentCampaign extends TableImpl<RecruitmentCampaignRecord> {
* The column
* <code>main_dashboard.recruitment_campaign.recruitment_id</code>.
*/
public final TableField<RecruitmentCampaignRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
public final TableField<RecruitmentCampaignRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column
* <code>main_dashboard.recruitment_campaign.testrecruitment_id</code>.
* <code>main_dashboard.recruitment_campaign.spring_autumn</code>.
*/
public final TableField<RecruitmentCampaignRecord, String> TESTRECRUITMENT_ID = createField(DSL.name("testrecruitment_id"), SQLDataType.CHAR(36), this, "");
public final TableField<RecruitmentCampaignRecord, String> SPRING_AUTUMN = createField(DSL.name("spring_autumn"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column
* <code>main_dashboard.recruitment_campaign.testspring_autumn</code>.
* <code>main_dashboard.recruitment_campaign.id_recruitment_campaign</code>.
*/
public final TableField<RecruitmentCampaignRecord, String> TESTSPRING_AUTUMN = createField(DSL.name("testspring_autumn"), SQLDataType.CHAR(36), this, "");
public final TableField<RecruitmentCampaignRecord, Long> ID_RECRUITMENT_CAMPAIGN = createField(DSL.name("id_recruitment_campaign"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
private RecruitmentCampaign(Name alias, Table<RecruitmentCampaignRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
@ -199,37 +178,6 @@ public class RecruitmentCampaign extends TableImpl<RecruitmentCampaignRecord> {
this(DSL.name("recruitment_campaign"), null);
}
public <O extends Record> RecruitmentCampaign(Table<O> path, ForeignKey<O, RecruitmentCampaignRecord> childPath, InverseForeignKey<O, RecruitmentCampaignRecord> parentPath) {
super(path, childPath, parentPath, RECRUITMENT_CAMPAIGN);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class RecruitmentCampaignPath extends RecruitmentCampaign implements Path<RecruitmentCampaignRecord> {
public <O extends Record> RecruitmentCampaignPath(Table<O> path, ForeignKey<O, RecruitmentCampaignRecord> childPath, InverseForeignKey<O, RecruitmentCampaignRecord> parentPath) {
super(path, childPath, parentPath);
}
private RecruitmentCampaignPath(Name alias, Table<RecruitmentCampaignRecord> aliased) {
super(alias, aliased);
}
@Override
public RecruitmentCampaignPath as(String alias) {
return new RecruitmentCampaignPath(DSL.name(alias), this);
}
@Override
public RecruitmentCampaignPath as(Name alias) {
return new RecruitmentCampaignPath(alias, this);
}
@Override
public RecruitmentCampaignPath as(Table<?> alias) {
return new RecruitmentCampaignPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : MainDashboard.MAIN_DASHBOARD;
@ -242,25 +190,7 @@ public class RecruitmentCampaign extends TableImpl<RecruitmentCampaignRecord> {
@Override
public UniqueKey<RecruitmentCampaignRecord> getPrimaryKey() {
return Keys.PK_RECRUITMENT_CAMPAIGN;
}
@Override
public List<ForeignKey<RecruitmentCampaignRecord, ?>> getReferences() {
return Arrays.asList(Keys.RECRUITMENT_CAMPAIGN__RECRUITMENT_CAMPAIGN_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.RECRUITMENT_CAMPAIGN__RECRUITMENT_CAMPAIGN_FK1, null);
return _pubRecruitment;
return Keys.RECRUITMENT_CAMPAIGN_PKEY;
}
@Override

View file

@ -7,25 +7,17 @@ package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.MainDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.TotalRegisteredRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.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;
@ -60,12 +52,6 @@ public class TotalRegistered extends TableImpl<TotalRegisteredRecord> {
return TotalRegisteredRecord.class;
}
/**
* The column
* <code>main_dashboard.total_registered.id_total_registered</code>.
*/
public final TableField<TotalRegisteredRecord, Long> ID_TOTAL_REGISTERED = createField(DSL.name("id_total_registered"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>main_dashboard.total_registered.total_registered</code>.
* Всего состоят на учете
@ -111,7 +97,7 @@ public class TotalRegistered extends TableImpl<TotalRegisteredRecord> {
* The column <code>main_dashboard.total_registered.recording_date</code>.
* дата записи
*/
public final TableField<TotalRegisteredRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "дата записи");
public final TableField<TotalRegisteredRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "дата записи");
/**
* The column
@ -137,13 +123,13 @@ public class TotalRegistered extends TableImpl<TotalRegisteredRecord> {
/**
* The column <code>main_dashboard.total_registered.recruitment_id</code>.
*/
public final TableField<TotalRegisteredRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
public final TableField<TotalRegisteredRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column
* <code>main_dashboard.total_registered.testrecruitment_id</code>.
* <code>main_dashboard.total_registered.id_total_registered</code>.
*/
public final TableField<TotalRegisteredRecord, String> TESTRECRUITMENT_ID = createField(DSL.name("testrecruitment_id"), SQLDataType.CHAR(36), this, "");
public final TableField<TotalRegisteredRecord, Long> ID_TOTAL_REGISTERED = createField(DSL.name("id_total_registered"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
private TotalRegistered(Name alias, Table<TotalRegisteredRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
@ -176,37 +162,6 @@ public class TotalRegistered extends TableImpl<TotalRegisteredRecord> {
this(DSL.name("total_registered"), null);
}
public <O extends Record> TotalRegistered(Table<O> path, ForeignKey<O, TotalRegisteredRecord> childPath, InverseForeignKey<O, TotalRegisteredRecord> parentPath) {
super(path, childPath, parentPath, TOTAL_REGISTERED);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TotalRegisteredPath extends TotalRegistered implements Path<TotalRegisteredRecord> {
public <O extends Record> TotalRegisteredPath(Table<O> path, ForeignKey<O, TotalRegisteredRecord> childPath, InverseForeignKey<O, TotalRegisteredRecord> parentPath) {
super(path, childPath, parentPath);
}
private TotalRegisteredPath(Name alias, Table<TotalRegisteredRecord> aliased) {
super(alias, aliased);
}
@Override
public TotalRegisteredPath as(String alias) {
return new TotalRegisteredPath(DSL.name(alias), this);
}
@Override
public TotalRegisteredPath as(Name alias) {
return new TotalRegisteredPath(alias, this);
}
@Override
public TotalRegisteredPath as(Table<?> alias) {
return new TotalRegisteredPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : MainDashboard.MAIN_DASHBOARD;
@ -219,25 +174,7 @@ public class TotalRegistered extends TableImpl<TotalRegisteredRecord> {
@Override
public UniqueKey<TotalRegisteredRecord> getPrimaryKey() {
return Keys.PK_TOTAL_REGISTERED;
}
@Override
public List<ForeignKey<TotalRegisteredRecord, ?>> getReferences() {
return Arrays.asList(Keys.TOTAL_REGISTERED__MD_TOTAL_REGISTERED_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.TOTAL_REGISTERED__MD_TOTAL_REGISTERED_FK1, null);
return _pubRecruitment;
return Keys.TOTAL_REGISTERED_PKEY;
}
@Override

View file

@ -7,25 +7,17 @@ package ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.MainDashboard;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.records.WaitingRegistrationRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.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;
@ -61,12 +53,6 @@ public class WaitingRegistration extends TableImpl<WaitingRegistrationRecord> {
return WaitingRegistrationRecord.class;
}
/**
* The column
* <code>main_dashboard.waiting_registration.id_waiting_registration</code>.
*/
public final TableField<WaitingRegistrationRecord, Long> ID_WAITING_REGISTRATION = createField(DSL.name("id_waiting_registration"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>main_dashboard.waiting_registration.waiting_registration</code>.
@ -114,7 +100,7 @@ public class WaitingRegistration extends TableImpl<WaitingRegistrationRecord> {
* <code>main_dashboard.waiting_registration.recording_date</code>. Дата
* записи
*/
public final TableField<WaitingRegistrationRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
public final TableField<WaitingRegistrationRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE.nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.DATE)), this, "Дата записи");
/**
* The column
@ -148,13 +134,13 @@ public class WaitingRegistration extends TableImpl<WaitingRegistrationRecord> {
* The column
* <code>main_dashboard.waiting_registration.recruitment_id</code>.
*/
public final TableField<WaitingRegistrationRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
public final TableField<WaitingRegistrationRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column
* <code>main_dashboard.waiting_registration.testrecruitment_id</code>.
* <code>main_dashboard.waiting_registration.id_waiting_registration</code>.
*/
public final TableField<WaitingRegistrationRecord, String> TESTRECRUITMENT_ID = createField(DSL.name("testrecruitment_id"), SQLDataType.CHAR(36), this, "");
public final TableField<WaitingRegistrationRecord, Long> ID_WAITING_REGISTRATION = createField(DSL.name("id_waiting_registration"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
private WaitingRegistration(Name alias, Table<WaitingRegistrationRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
@ -187,37 +173,6 @@ public class WaitingRegistration extends TableImpl<WaitingRegistrationRecord> {
this(DSL.name("waiting_registration"), null);
}
public <O extends Record> WaitingRegistration(Table<O> path, ForeignKey<O, WaitingRegistrationRecord> childPath, InverseForeignKey<O, WaitingRegistrationRecord> parentPath) {
super(path, childPath, parentPath, WAITING_REGISTRATION);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class WaitingRegistrationPath extends WaitingRegistration implements Path<WaitingRegistrationRecord> {
public <O extends Record> WaitingRegistrationPath(Table<O> path, ForeignKey<O, WaitingRegistrationRecord> childPath, InverseForeignKey<O, WaitingRegistrationRecord> parentPath) {
super(path, childPath, parentPath);
}
private WaitingRegistrationPath(Name alias, Table<WaitingRegistrationRecord> aliased) {
super(alias, aliased);
}
@Override
public WaitingRegistrationPath as(String alias) {
return new WaitingRegistrationPath(DSL.name(alias), this);
}
@Override
public WaitingRegistrationPath as(Name alias) {
return new WaitingRegistrationPath(alias, this);
}
@Override
public WaitingRegistrationPath as(Table<?> alias) {
return new WaitingRegistrationPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : MainDashboard.MAIN_DASHBOARD;
@ -230,25 +185,7 @@ public class WaitingRegistration extends TableImpl<WaitingRegistrationRecord> {
@Override
public UniqueKey<WaitingRegistrationRecord> getPrimaryKey() {
return Keys.PK_WAITING_REGISTRATION;
}
@Override
public List<ForeignKey<WaitingRegistrationRecord, ?>> getReferences() {
return Arrays.asList(Keys.WAITING_REGISTRATION__MD_WAITING_REGISTRATION_FK1);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.WAITING_REGISTRATION__MD_WAITING_REGISTRATION_FK1, null);
return _pubRecruitment;
return Keys.WAITING_REGISTRATION_PKEY;
}
@Override

View file

@ -8,9 +8,8 @@ import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.Appeals;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.Record2;
import org.jooq.impl.UpdatableRecordImpl;
@ -22,32 +21,18 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>main_dashboard.appeals.id_appeal</code>.
*/
public void setIdAppeal(Long value) {
set(0, value);
}
/**
* Getter for <code>main_dashboard.appeals.id_appeal</code>.
*/
public Long getIdAppeal() {
return (Long) get(0);
}
/**
* Setter for <code>main_dashboard.appeals.total_appeals</code>. Всего жалоб
*/
public void setTotalAppeals(BigDecimal value) {
set(1, value);
set(0, value);
}
/**
* Getter for <code>main_dashboard.appeals.total_appeals</code>. Всего жалоб
*/
public BigDecimal getTotalAppeals() {
return (BigDecimal) get(1);
return (BigDecimal) get(0);
}
/**
@ -55,7 +40,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* решенных
*/
public void setResolved(BigDecimal value) {
set(2, value);
set(1, value);
}
/**
@ -63,7 +48,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* решенных
*/
public BigDecimal getResolved() {
return (BigDecimal) get(2);
return (BigDecimal) get(1);
}
/**
@ -71,7 +56,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* Средний срок рассмотрения
*/
public void setAverageConsideration(BigDecimal value) {
set(3, value);
set(2, value);
}
/**
@ -79,7 +64,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* Средний срок рассмотрения
*/
public BigDecimal getAverageConsideration() {
return (BigDecimal) get(3);
return (BigDecimal) get(2);
}
/**
@ -87,7 +72,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* удовлетворенности
*/
public void setAverageRating(BigDecimal value) {
set(4, value);
set(3, value);
}
/**
@ -95,7 +80,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* удовлетворенности
*/
public BigDecimal getAverageRating() {
return (BigDecimal) get(4);
return (BigDecimal) get(3);
}
/**
@ -103,7 +88,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* подачи жалоб очно
*/
public void setAverageToFace(BigDecimal value) {
set(5, value);
set(4, value);
}
/**
@ -111,7 +96,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* подачи жалоб очно
*/
public BigDecimal getAverageToFace() {
return (BigDecimal) get(5);
return (BigDecimal) get(4);
}
/**
@ -119,7 +104,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* подачи ЕПГУ
*/
public void setAverageEpgu(BigDecimal value) {
set(6, value);
set(5, value);
}
/**
@ -127,7 +112,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* подачи ЕПГУ
*/
public BigDecimal getAverageEpgu() {
return (BigDecimal) get(6);
return (BigDecimal) get(5);
}
/**
@ -135,7 +120,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* записи
*/
public void setRecordingDate(Date value) {
set(7, value);
set(6, value);
}
/**
@ -143,7 +128,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* записи
*/
public Date getRecordingDate() {
return (Date) get(7);
return (Date) get(6);
}
/**
@ -151,7 +136,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* Способ подачи жалоб очно в процентах
*/
public void setAverageToFacePercent(BigDecimal value) {
set(8, value);
set(7, value);
}
/**
@ -159,7 +144,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* Способ подачи жалоб очно в процентах
*/
public BigDecimal getAverageToFacePercent() {
return (BigDecimal) get(8);
return (BigDecimal) get(7);
}
/**
@ -167,7 +152,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* Способ подачи ЕПГУ в процентах
*/
public void setAverageEpguPercent(BigDecimal value) {
set(9, value);
set(8, value);
}
/**
@ -175,35 +160,35 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
* Способ подачи ЕПГУ в процентах
*/
public BigDecimal getAverageEpguPercent() {
return (BigDecimal) get(9);
return (BigDecimal) get(8);
}
/**
* Setter for <code>main_dashboard.appeals.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(10, value);
public void setRecruitmentId(String value) {
set(9, value);
}
/**
* Getter for <code>main_dashboard.appeals.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(10);
public String getRecruitmentId() {
return (String) get(9);
}
/**
* Setter for <code>main_dashboard.appeals.testrecruitment_id</code>.
* Setter for <code>main_dashboard.appeals.id_appeal</code>.
*/
public void setTestrecruitmentId(String value) {
set(11, value);
public void setIdAppeal(Long value) {
set(10, value);
}
/**
* Getter for <code>main_dashboard.appeals.testrecruitment_id</code>.
* Getter for <code>main_dashboard.appeals.id_appeal</code>.
*/
public String getTestrecruitmentId() {
return (String) get(11);
public Long getIdAppeal() {
return (Long) get(10);
}
// -------------------------------------------------------------------------
@ -211,8 +196,8 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
public Record2<String, Date> key() {
return (Record2) super.key();
}
// -------------------------------------------------------------------------
@ -229,10 +214,9 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
/**
* Create a detached, initialised AppealsRecord
*/
public AppealsRecord(Long idAppeal, BigDecimal totalAppeals, BigDecimal resolved, BigDecimal averageConsideration, BigDecimal averageRating, BigDecimal averageToFace, BigDecimal averageEpgu, Date recordingDate, BigDecimal averageToFacePercent, BigDecimal averageEpguPercent, UUID recruitmentId, String testrecruitmentId) {
public AppealsRecord(BigDecimal totalAppeals, BigDecimal resolved, BigDecimal averageConsideration, BigDecimal averageRating, BigDecimal averageToFace, BigDecimal averageEpgu, Date recordingDate, BigDecimal averageToFacePercent, BigDecimal averageEpguPercent, String recruitmentId, Long idAppeal) {
super(Appeals.APPEALS);
setIdAppeal(idAppeal);
setTotalAppeals(totalAppeals);
setResolved(resolved);
setAverageConsideration(averageConsideration);
@ -243,7 +227,7 @@ public class AppealsRecord extends UpdatableRecordImpl<AppealsRecord> {
setAverageToFacePercent(averageToFacePercent);
setAverageEpguPercent(averageEpguPercent);
setRecruitmentId(recruitmentId);
setTestrecruitmentId(testrecruitmentId);
setIdAppeal(idAppeal);
resetChangedOnNotNull();
}
}

View file

@ -8,9 +8,8 @@ import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.RecruitmentC
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.Record3;
import org.jooq.impl.UpdatableRecordImpl;
@ -22,28 +21,12 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.id_recruitment_campaign</code>.
*/
public void setIdRecruitmentCampaign(Long value) {
set(0, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.id_recruitment_campaign</code>.
*/
public Long getIdRecruitmentCampaign() {
return (Long) get(0);
}
/**
* Setter for <code>main_dashboard.recruitment_campaign.new_recruits</code>.
* Подпадающие под призыв
*/
public void setNewRecruits(BigDecimal value) {
set(1, value);
set(0, value);
}
/**
@ -51,7 +34,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Подпадающие под призыв
*/
public BigDecimal getNewRecruits() {
return (BigDecimal) get(1);
return (BigDecimal) get(0);
}
/**
@ -60,7 +43,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Направлено повесток
*/
public void setSubpoenasSent(BigDecimal value) {
set(2, value);
set(1, value);
}
/**
@ -69,7 +52,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Направлено повесток
*/
public BigDecimal getSubpoenasSent() {
return (BigDecimal) get(2);
return (BigDecimal) get(1);
}
/**
@ -78,7 +61,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Явились по повесткам
*/
public void setAppearedOnSubpoenas(BigDecimal value) {
set(3, value);
set(2, value);
}
/**
@ -87,7 +70,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Явились по повесткам
*/
public BigDecimal getAppearedOnSubpoenas() {
return (BigDecimal) get(3);
return (BigDecimal) get(2);
}
/**
@ -96,7 +79,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Не явились по повесткам
*/
public void setNotAppearedOnSubpoenas(BigDecimal value) {
set(4, value);
set(3, value);
}
/**
@ -105,7 +88,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Не явились по повесткам
*/
public BigDecimal getNotAppearedOnSubpoenas() {
return (BigDecimal) get(4);
return (BigDecimal) get(3);
}
/**
@ -114,7 +97,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Имеют право на отсрочку
*/
public void setPostponementHaveRight(BigDecimal value) {
set(5, value);
set(4, value);
}
/**
@ -123,7 +106,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Имеют право на отсрочку
*/
public BigDecimal getPostponementHaveRight() {
return (BigDecimal) get(5);
return (BigDecimal) get(4);
}
/**
@ -132,7 +115,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Предоставлена отсрочка
*/
public void setPostponementGranted(BigDecimal value) {
set(6, value);
set(5, value);
}
/**
@ -141,7 +124,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Предоставлена отсрочка
*/
public BigDecimal getPostponementGranted() {
return (BigDecimal) get(6);
return (BigDecimal) get(5);
}
/**
@ -150,7 +133,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* записи
*/
public void setRecordingDate(Date value) {
set(7, value);
set(6, value);
}
/**
@ -159,25 +142,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* записи
*/
public Date getRecordingDate() {
return (Date) get(7);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.spring_autumn</code>.
* Весна/Осень
*/
public void setSpringAutumn(String value) {
set(8, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.spring_autumn</code>.
* Весна/Осень
*/
public String getSpringAutumn() {
return (String) get(8);
return (Date) get(6);
}
/**
@ -186,7 +151,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Явились по повесткам процент
*/
public void setAppearedOnSubpoenasPercent(BigDecimal value) {
set(9, value);
set(7, value);
}
/**
@ -195,7 +160,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Явились по повесткам процент
*/
public BigDecimal getAppearedOnSubpoenasPercent() {
return (BigDecimal) get(9);
return (BigDecimal) get(7);
}
/**
@ -204,7 +169,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Не явились по повесткам процент
*/
public void setNotAppearedOnSubpoenasPercent(BigDecimal value) {
set(10, value);
set(8, value);
}
/**
@ -213,7 +178,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Не явились по повесткам процент
*/
public BigDecimal getNotAppearedOnSubpoenasPercent() {
return (BigDecimal) get(10);
return (BigDecimal) get(8);
}
/**
@ -222,7 +187,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Имеют право на отсрочку процент
*/
public void setPostponementHaveRightPercent(BigDecimal value) {
set(11, value);
set(9, value);
}
/**
@ -231,7 +196,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Имеют право на отсрочку процент
*/
public BigDecimal getPostponementHaveRightPercent() {
return (BigDecimal) get(11);
return (BigDecimal) get(9);
}
/**
@ -240,7 +205,7 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Предоставлена отсрочка процент
*/
public void setPostponementGrantedPercent(BigDecimal value) {
set(12, value);
set(10, value);
}
/**
@ -249,55 +214,55 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
* Предоставлена отсрочка процент
*/
public BigDecimal getPostponementGrantedPercent() {
return (BigDecimal) get(12);
return (BigDecimal) get(10);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
public void setRecruitmentId(String value) {
set(11, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(11);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.spring_autumn</code>.
*/
public void setSpringAutumn(String value) {
set(12, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.spring_autumn</code>.
*/
public String getSpringAutumn() {
return (String) get(12);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.id_recruitment_campaign</code>.
*/
public void setIdRecruitmentCampaign(Long value) {
set(13, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.recruitment_id</code>.
* <code>main_dashboard.recruitment_campaign.id_recruitment_campaign</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(13);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.testrecruitment_id</code>.
*/
public void setTestrecruitmentId(String value) {
set(14, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.testrecruitment_id</code>.
*/
public String getTestrecruitmentId() {
return (String) get(14);
}
/**
* Setter for
* <code>main_dashboard.recruitment_campaign.testspring_autumn</code>.
*/
public void setTestspringAutumn(String value) {
set(15, value);
}
/**
* Getter for
* <code>main_dashboard.recruitment_campaign.testspring_autumn</code>.
*/
public String getTestspringAutumn() {
return (String) get(15);
public Long getIdRecruitmentCampaign() {
return (Long) get(13);
}
// -------------------------------------------------------------------------
@ -305,8 +270,8 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
public Record3<String, String, Date> key() {
return (Record3) super.key();
}
// -------------------------------------------------------------------------
@ -323,10 +288,9 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
/**
* Create a detached, initialised RecruitmentCampaignRecord
*/
public RecruitmentCampaignRecord(Long idRecruitmentCampaign, BigDecimal newRecruits, BigDecimal subpoenasSent, BigDecimal appearedOnSubpoenas, BigDecimal notAppearedOnSubpoenas, BigDecimal postponementHaveRight, BigDecimal postponementGranted, Date recordingDate, String springAutumn, BigDecimal appearedOnSubpoenasPercent, BigDecimal notAppearedOnSubpoenasPercent, BigDecimal postponementHaveRightPercent, BigDecimal postponementGrantedPercent, UUID recruitmentId, String testrecruitmentId, String testspringAutumn) {
public RecruitmentCampaignRecord(BigDecimal newRecruits, BigDecimal subpoenasSent, BigDecimal appearedOnSubpoenas, BigDecimal notAppearedOnSubpoenas, BigDecimal postponementHaveRight, BigDecimal postponementGranted, Date recordingDate, BigDecimal appearedOnSubpoenasPercent, BigDecimal notAppearedOnSubpoenasPercent, BigDecimal postponementHaveRightPercent, BigDecimal postponementGrantedPercent, String recruitmentId, String springAutumn, Long idRecruitmentCampaign) {
super(RecruitmentCampaign.RECRUITMENT_CAMPAIGN);
setIdRecruitmentCampaign(idRecruitmentCampaign);
setNewRecruits(newRecruits);
setSubpoenasSent(subpoenasSent);
setAppearedOnSubpoenas(appearedOnSubpoenas);
@ -334,14 +298,13 @@ public class RecruitmentCampaignRecord extends UpdatableRecordImpl<RecruitmentCa
setPostponementHaveRight(postponementHaveRight);
setPostponementGranted(postponementGranted);
setRecordingDate(recordingDate);
setSpringAutumn(springAutumn);
setAppearedOnSubpoenasPercent(appearedOnSubpoenasPercent);
setNotAppearedOnSubpoenasPercent(notAppearedOnSubpoenasPercent);
setPostponementHaveRightPercent(postponementHaveRightPercent);
setPostponementGrantedPercent(postponementGrantedPercent);
setRecruitmentId(recruitmentId);
setTestrecruitmentId(testrecruitmentId);
setTestspringAutumn(testspringAutumn);
setSpringAutumn(springAutumn);
setIdRecruitmentCampaign(idRecruitmentCampaign);
resetChangedOnNotNull();
}
}

View file

@ -8,9 +8,8 @@ import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.TotalRegiste
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.Record2;
import org.jooq.impl.UpdatableRecordImpl;
@ -22,28 +21,12 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>main_dashboard.total_registered.id_total_registered</code>.
*/
public void setIdTotalRegistered(Long value) {
set(0, value);
}
/**
* Getter for
* <code>main_dashboard.total_registered.id_total_registered</code>.
*/
public Long getIdTotalRegistered() {
return (Long) get(0);
}
/**
* Setter for <code>main_dashboard.total_registered.total_registered</code>.
* Всего состоят на учете
*/
public void setTotalRegistered(BigDecimal value) {
set(1, value);
set(0, value);
}
/**
@ -51,7 +34,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* Всего состоят на учете
*/
public BigDecimal getTotalRegistered() {
return (BigDecimal) get(1);
return (BigDecimal) get(0);
}
/**
@ -60,7 +43,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* учете мужчин
*/
public void setTotalRegisteredM(BigDecimal value) {
set(2, value);
set(1, value);
}
/**
@ -69,7 +52,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* учете мужчин
*/
public BigDecimal getTotalRegisteredM() {
return (BigDecimal) get(2);
return (BigDecimal) get(1);
}
/**
@ -78,7 +61,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* учете женщин
*/
public void setTotalRegisteredW(BigDecimal value) {
set(3, value);
set(2, value);
}
/**
@ -87,7 +70,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* учете женщин
*/
public BigDecimal getTotalRegisteredW() {
return (BigDecimal) get(3);
return (BigDecimal) get(2);
}
/**
@ -96,7 +79,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* Количество подходящих под критерии мобилизации
*/
public void setMobilizationCriterion(BigDecimal value) {
set(4, value);
set(3, value);
}
/**
@ -105,7 +88,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* Количество подходящих под критерии мобилизации
*/
public BigDecimal getMobilizationCriterion() {
return (BigDecimal) get(4);
return (BigDecimal) get(3);
}
/**
@ -114,7 +97,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* Количество подходящих под критерии добровольной службы
*/
public void setVolunteerCriterion(BigDecimal value) {
set(5, value);
set(4, value);
}
/**
@ -123,7 +106,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* Количество подходящих под критерии добровольной службы
*/
public BigDecimal getVolunteerCriterion() {
return (BigDecimal) get(5);
return (BigDecimal) get(4);
}
/**
@ -132,7 +115,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* Количество подходящих под критерии контрактной службы
*/
public void setContractCriterion(BigDecimal value) {
set(6, value);
set(5, value);
}
/**
@ -141,7 +124,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* Количество подходящих под критерии контрактной службы
*/
public BigDecimal getContractCriterion() {
return (BigDecimal) get(6);
return (BigDecimal) get(5);
}
/**
@ -149,7 +132,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* дата записи
*/
public void setRecordingDate(Date value) {
set(7, value);
set(6, value);
}
/**
@ -157,7 +140,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* дата записи
*/
public Date getRecordingDate() {
return (Date) get(7);
return (Date) get(6);
}
/**
@ -166,7 +149,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* Процент подходящих под критерии мобилизации
*/
public void setMobilizationCriterionPercent(BigDecimal value) {
set(8, value);
set(7, value);
}
/**
@ -175,7 +158,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* Процент подходящих под критерии мобилизации
*/
public BigDecimal getMobilizationCriterionPercent() {
return (BigDecimal) get(8);
return (BigDecimal) get(7);
}
/**
@ -184,7 +167,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* Процент подходящих под критерии добровольной службы
*/
public void setVolunteerCriterionPercent(BigDecimal value) {
set(9, value);
set(8, value);
}
/**
@ -193,7 +176,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* Процент подходящих под критерии добровольной службы
*/
public BigDecimal getVolunteerCriterionPercent() {
return (BigDecimal) get(9);
return (BigDecimal) get(8);
}
/**
@ -202,7 +185,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* Процент подходящих под критерии контрактрой службы
*/
public void setContractCriterionPercent(BigDecimal value) {
set(10, value);
set(9, value);
}
/**
@ -211,37 +194,37 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
* Процент подходящих под критерии контрактрой службы
*/
public BigDecimal getContractCriterionPercent() {
return (BigDecimal) get(10);
return (BigDecimal) get(9);
}
/**
* Setter for <code>main_dashboard.total_registered.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(11, value);
public void setRecruitmentId(String value) {
set(10, value);
}
/**
* Getter for <code>main_dashboard.total_registered.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(11);
public String getRecruitmentId() {
return (String) get(10);
}
/**
* Setter for
* <code>main_dashboard.total_registered.testrecruitment_id</code>.
* <code>main_dashboard.total_registered.id_total_registered</code>.
*/
public void setTestrecruitmentId(String value) {
set(12, value);
public void setIdTotalRegistered(Long value) {
set(11, value);
}
/**
* Getter for
* <code>main_dashboard.total_registered.testrecruitment_id</code>.
* <code>main_dashboard.total_registered.id_total_registered</code>.
*/
public String getTestrecruitmentId() {
return (String) get(12);
public Long getIdTotalRegistered() {
return (Long) get(11);
}
// -------------------------------------------------------------------------
@ -249,8 +232,8 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
public Record2<String, Date> key() {
return (Record2) super.key();
}
// -------------------------------------------------------------------------
@ -267,10 +250,9 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
/**
* Create a detached, initialised TotalRegisteredRecord
*/
public TotalRegisteredRecord(Long idTotalRegistered, BigDecimal totalRegistered, BigDecimal totalRegisteredM, BigDecimal totalRegisteredW, BigDecimal mobilizationCriterion, BigDecimal volunteerCriterion, BigDecimal contractCriterion, Date recordingDate, BigDecimal mobilizationCriterionPercent, BigDecimal volunteerCriterionPercent, BigDecimal contractCriterionPercent, UUID recruitmentId, String testrecruitmentId) {
public TotalRegisteredRecord(BigDecimal totalRegistered, BigDecimal totalRegisteredM, BigDecimal totalRegisteredW, BigDecimal mobilizationCriterion, BigDecimal volunteerCriterion, BigDecimal contractCriterion, Date recordingDate, BigDecimal mobilizationCriterionPercent, BigDecimal volunteerCriterionPercent, BigDecimal contractCriterionPercent, String recruitmentId, Long idTotalRegistered) {
super(TotalRegistered.TOTAL_REGISTERED);
setIdTotalRegistered(idTotalRegistered);
setTotalRegistered(totalRegistered);
setTotalRegisteredM(totalRegisteredM);
setTotalRegisteredW(totalRegisteredW);
@ -282,7 +264,7 @@ public class TotalRegisteredRecord extends UpdatableRecordImpl<TotalRegisteredRe
setVolunteerCriterionPercent(volunteerCriterionPercent);
setContractCriterionPercent(contractCriterionPercent);
setRecruitmentId(recruitmentId);
setTestrecruitmentId(testrecruitmentId);
setIdTotalRegistered(idTotalRegistered);
resetChangedOnNotNull();
}
}

View file

@ -8,9 +8,8 @@ import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.WaitingRegis
import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.Record2;
import org.jooq.impl.UpdatableRecordImpl;
@ -22,29 +21,13 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>main_dashboard.waiting_registration.id_waiting_registration</code>.
*/
public void setIdWaitingRegistration(Long value) {
set(0, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.id_waiting_registration</code>.
*/
public Long getIdWaitingRegistration() {
return (Long) get(0);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.waiting_registration</code>.
* Всего подлежат постановке на учет
*/
public void setWaitingRegistration(BigDecimal value) {
set(1, value);
set(0, value);
}
/**
@ -53,7 +36,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Всего подлежат постановке на учет
*/
public BigDecimal getWaitingRegistration() {
return (BigDecimal) get(1);
return (BigDecimal) get(0);
}
/**
@ -62,7 +45,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Подлежат постановке мужчины
*/
public void setWaitingRegistrationM(BigDecimal value) {
set(2, value);
set(1, value);
}
/**
@ -71,7 +54,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Подлежат постановке мужчины
*/
public BigDecimal getWaitingRegistrationM() {
return (BigDecimal) get(2);
return (BigDecimal) get(1);
}
/**
@ -80,7 +63,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Подлежат постановке женщины
*/
public void setWaitingRegistrationW(BigDecimal value) {
set(3, value);
set(2, value);
}
/**
@ -89,7 +72,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Подлежат постановке женщины
*/
public BigDecimal getWaitingRegistrationW() {
return (BigDecimal) get(3);
return (BigDecimal) get(2);
}
/**
@ -98,7 +81,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Количество подлежащих под критерии мобилизации
*/
public void setMobilizationCriterion(BigDecimal value) {
set(4, value);
set(3, value);
}
/**
@ -107,7 +90,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Количество подлежащих под критерии мобилизации
*/
public BigDecimal getMobilizationCriterion() {
return (BigDecimal) get(4);
return (BigDecimal) get(3);
}
/**
@ -116,7 +99,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Количество подлежащих под критерии добровольной службы
*/
public void setVolunteerCriterion(BigDecimal value) {
set(5, value);
set(4, value);
}
/**
@ -125,7 +108,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Количество подлежащих под критерии добровольной службы
*/
public BigDecimal getVolunteerCriterion() {
return (BigDecimal) get(5);
return (BigDecimal) get(4);
}
/**
@ -134,7 +117,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Количество подлежащих под критерии контрактной службы
*/
public void setContractCriterion(BigDecimal value) {
set(6, value);
set(5, value);
}
/**
@ -143,7 +126,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Количество подлежащих под критерии контрактной службы
*/
public BigDecimal getContractCriterion() {
return (BigDecimal) get(6);
return (BigDecimal) get(5);
}
/**
@ -152,7 +135,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* записи
*/
public void setRecordingDate(Date value) {
set(7, value);
set(6, value);
}
/**
@ -161,7 +144,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* записи
*/
public Date getRecordingDate() {
return (Date) get(7);
return (Date) get(6);
}
/**
@ -170,7 +153,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Всего подлежат постановке процент
*/
public void setWaitingRegistrationPercent(BigDecimal value) {
set(8, value);
set(7, value);
}
/**
@ -179,7 +162,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Всего подлежат постановке процент
*/
public BigDecimal getWaitingRegistrationPercent() {
return (BigDecimal) get(8);
return (BigDecimal) get(7);
}
/**
@ -188,7 +171,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Процент подлежащих под критерии мобилизации
*/
public void setMobilizationCriterionPercent(BigDecimal value) {
set(9, value);
set(8, value);
}
/**
@ -197,7 +180,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Процент подлежащих под критерии мобилизации
*/
public BigDecimal getMobilizationCriterionPercent() {
return (BigDecimal) get(9);
return (BigDecimal) get(8);
}
/**
@ -206,7 +189,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Процент подлежащих под критерии добровольной службы
*/
public void setVolunteerCriterionPercent(BigDecimal value) {
set(10, value);
set(9, value);
}
/**
@ -215,7 +198,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Процент подлежащих под критерии добровольной службы
*/
public BigDecimal getVolunteerCriterionPercent() {
return (BigDecimal) get(10);
return (BigDecimal) get(9);
}
/**
@ -224,7 +207,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Процент подлежащих под критерии контрактной службы
*/
public void setContractCriterionPercent(BigDecimal value) {
set(11, value);
set(10, value);
}
/**
@ -233,39 +216,39 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
* Процент подлежащих под критерии контрактной службы
*/
public BigDecimal getContractCriterionPercent() {
return (BigDecimal) get(11);
return (BigDecimal) get(10);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
public void setRecruitmentId(String value) {
set(11, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(11);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.id_waiting_registration</code>.
*/
public void setIdWaitingRegistration(Long value) {
set(12, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.recruitment_id</code>.
* <code>main_dashboard.waiting_registration.id_waiting_registration</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(12);
}
/**
* Setter for
* <code>main_dashboard.waiting_registration.testrecruitment_id</code>.
*/
public void setTestrecruitmentId(String value) {
set(13, value);
}
/**
* Getter for
* <code>main_dashboard.waiting_registration.testrecruitment_id</code>.
*/
public String getTestrecruitmentId() {
return (String) get(13);
public Long getIdWaitingRegistration() {
return (Long) get(12);
}
// -------------------------------------------------------------------------
@ -273,8 +256,8 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
public Record2<String, Date> key() {
return (Record2) super.key();
}
// -------------------------------------------------------------------------
@ -291,10 +274,9 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
/**
* Create a detached, initialised WaitingRegistrationRecord
*/
public WaitingRegistrationRecord(Long idWaitingRegistration, BigDecimal waitingRegistration, BigDecimal waitingRegistrationM, BigDecimal waitingRegistrationW, BigDecimal mobilizationCriterion, BigDecimal volunteerCriterion, BigDecimal contractCriterion, Date recordingDate, BigDecimal waitingRegistrationPercent, BigDecimal mobilizationCriterionPercent, BigDecimal volunteerCriterionPercent, BigDecimal contractCriterionPercent, UUID recruitmentId, String testrecruitmentId) {
public WaitingRegistrationRecord(BigDecimal waitingRegistration, BigDecimal waitingRegistrationM, BigDecimal waitingRegistrationW, BigDecimal mobilizationCriterion, BigDecimal volunteerCriterion, BigDecimal contractCriterion, Date recordingDate, BigDecimal waitingRegistrationPercent, BigDecimal mobilizationCriterionPercent, BigDecimal volunteerCriterionPercent, BigDecimal contractCriterionPercent, String recruitmentId, Long idWaitingRegistration) {
super(WaitingRegistration.WAITING_REGISTRATION);
setIdWaitingRegistration(idWaitingRegistration);
setWaitingRegistration(waitingRegistration);
setWaitingRegistrationM(waitingRegistrationM);
setWaitingRegistrationW(waitingRegistrationW);
@ -307,7 +289,7 @@ public class WaitingRegistrationRecord extends UpdatableRecordImpl<WaitingRegist
setVolunteerCriterionPercent(volunteerCriterionPercent);
setContractCriterionPercent(contractCriterionPercent);
setRecruitmentId(recruitmentId);
setTestrecruitmentId(testrecruitmentId);
setIdWaitingRegistration(idWaitingRegistration);
resetChangedOnNotNull();
}
}

View file

@ -4,24 +4,11 @@
package ervu_dashboard.ervu_dashboard.db_beans.public_;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Education;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Employment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Gender;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.MaritalStatus;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.ReasonRegistration;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Subpoena;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.CitizenRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.EducationRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.EmploymentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.GenderRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.MaritalStatusRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.ReasonRegistrationRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.SubpoenaRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Databasechangeloglock;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.JobLog;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.DatabasechangeloglockRecord;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.JobLogRecord;
import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
@ -39,25 +26,6 @@ public class Keys {
// UNIQUE and PRIMARY KEY definitions
// -------------------------------------------------------------------------
public static final UniqueKey<CitizenRecord> CITIZEN_PKEY = Internal.createUniqueKey(Citizen.CITIZEN, DSL.name("citizen_pkey"), new TableField[] { Citizen.CITIZEN.ID_ERN }, true);
public static final UniqueKey<EducationRecord> EDUCATION_PKEY = Internal.createUniqueKey(Education.EDUCATION, DSL.name("education_pkey"), new TableField[] { Education.EDUCATION.EDUCATION_ID }, true);
public static final UniqueKey<EmploymentRecord> EMPLOYMENT_PKEY = Internal.createUniqueKey(Employment.EMPLOYMENT, DSL.name("employment_pkey"), new TableField[] { Employment.EMPLOYMENT.EMPLOYMENT_ID }, true);
public static final UniqueKey<GenderRecord> GENDER_PKEY = Internal.createUniqueKey(Gender.GENDER, DSL.name("gender_pkey"), new TableField[] { Gender.GENDER.GENDER_ID }, true);
public static final UniqueKey<MaritalStatusRecord> MARITAL_STATUS_PKEY = Internal.createUniqueKey(MaritalStatus.MARITAL_STATUS, DSL.name("marital_status_pkey"), new TableField[] { MaritalStatus.MARITAL_STATUS.MARITAL_STATUS_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<PubRecruitmentRecord> RECRUITMENT_PKEY = Internal.createUniqueKey(PubRecruitment.PUB_RECRUITMENT, DSL.name("recruitment_pkey"), new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final UniqueKey<ReasonRegistrationRecord> REASON_REGISTRATION_PKEY = Internal.createUniqueKey(ReasonRegistration.REASON_REGISTRATION, DSL.name("reason_registration_pkey"), new TableField[] { ReasonRegistration.REASON_REGISTRATION.REASON_REGISTRATION_ID }, true);
public static final UniqueKey<SubpoenaRecord> SUBPOENA_PKEY = Internal.createUniqueKey(Subpoena.SUBPOENA, DSL.name("subpoena_pkey"), new TableField[] { Subpoena.SUBPOENA.SUBPOENA_ID }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
// -------------------------------------------------------------------------
public static final ForeignKey<CitizenRecord, PubRecruitmentRecord> CITIZEN__P_CITIZEN_FK1 = Internal.createForeignKey(Citizen.CITIZEN, DSL.name("p_citizen_fk1"), new TableField[] { Citizen.CITIZEN.RECRUITMENT_ID }, Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<CitizenRecord, GenderRecord> CITIZEN__P_CITIZEN_FK2 = Internal.createForeignKey(Citizen.CITIZEN, DSL.name("p_citizen_fk2"), new TableField[] { Citizen.CITIZEN.GENDER_ID }, Keys.GENDER_PKEY, new TableField[] { Gender.GENDER.GENDER_ID }, true);
public static final ForeignKey<CitizenRecord, MaritalStatusRecord> CITIZEN__P_CITIZEN_FK3 = Internal.createForeignKey(Citizen.CITIZEN, DSL.name("p_citizen_fk3"), new TableField[] { Citizen.CITIZEN.MARITAL_STATUS_ID }, Keys.MARITAL_STATUS_PKEY, new TableField[] { MaritalStatus.MARITAL_STATUS.MARITAL_STATUS_ID }, true);
public static final ForeignKey<CitizenRecord, EmploymentRecord> CITIZEN__P_CITIZEN_FK4 = Internal.createForeignKey(Citizen.CITIZEN, DSL.name("p_citizen_fk4"), new TableField[] { Citizen.CITIZEN.EMPLOYMENT_ID }, Keys.EMPLOYMENT_PKEY, new TableField[] { Employment.EMPLOYMENT.EMPLOYMENT_ID }, true);
public static final ForeignKey<CitizenRecord, EducationRecord> CITIZEN__P_CITIZEN_FK5 = Internal.createForeignKey(Citizen.CITIZEN, DSL.name("p_citizen_fk5"), new TableField[] { Citizen.CITIZEN.EDUCATION_ID }, Keys.EDUCATION_PKEY, new TableField[] { Education.EDUCATION.EDUCATION_ID }, true);
public static final ForeignKey<CitizenRecord, ReasonRegistrationRecord> CITIZEN__P_CITIZEN_FK6 = Internal.createForeignKey(Citizen.CITIZEN, DSL.name("p_citizen_fk6"), new TableField[] { Citizen.CITIZEN.REASON_REGISTRATION_ID }, Keys.REASON_REGISTRATION_PKEY, new TableField[] { ReasonRegistration.REASON_REGISTRATION.REASON_REGISTRATION_ID }, true);
public static final ForeignKey<MaritalStatusRecord, GenderRecord> MARITAL_STATUS__MARITAL_STATUS_FK1 = Internal.createForeignKey(MaritalStatus.MARITAL_STATUS, DSL.name("marital_status_fk1"), new TableField[] { MaritalStatus.MARITAL_STATUS.GENDER_ID }, Keys.GENDER_PKEY, new TableField[] { Gender.GENDER.GENDER_ID }, true);
public static final UniqueKey<DatabasechangeloglockRecord> DATABASECHANGELOGLOCK_PKEY = Internal.createUniqueKey(Databasechangeloglock.DATABASECHANGELOGLOCK, DSL.name("databasechangeloglock_pkey"), new TableField[] { Databasechangeloglock.DATABASECHANGELOGLOCK.ID }, true);
public static final UniqueKey<JobLogRecord> JOB_LOG_PKEY = Internal.createUniqueKey(JobLog.JOB_LOG, DSL.name("job_log_pkey"), new TableField[] { JobLog.JOB_LOG.ID_JOB }, true);
}

View file

@ -5,14 +5,11 @@ package ervu_dashboard.ervu_dashboard.db_beans.public_;
import ervu_dashboard.ervu_dashboard.db_beans.DefaultCatalog;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Education;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Employment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Gender;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.MaritalStatus;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.ReasonRegistration;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Subpoena;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.ChannelLog;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Databasechangelog;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Databasechangeloglock;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.JobEntryLog;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.JobLog;
import java.util.Arrays;
import java.util.List;
@ -36,44 +33,29 @@ public class Public extends SchemaImpl {
public static final Public PUBLIC = new Public();
/**
* The table <code>public.citizen</code>.
* The table <code>public.channel_log</code>.
*/
public final Citizen CITIZEN = Citizen.CITIZEN;
public final ChannelLog CHANNEL_LOG = ChannelLog.CHANNEL_LOG;
/**
* The table <code>public.education</code>.
* The table <code>public.databasechangelog</code>.
*/
public final Education EDUCATION = Education.EDUCATION;
public final Databasechangelog DATABASECHANGELOG = Databasechangelog.DATABASECHANGELOG;
/**
* The table <code>public.employment</code>.
* The table <code>public.databasechangeloglock</code>.
*/
public final Employment EMPLOYMENT = Employment.EMPLOYMENT;
public final Databasechangeloglock DATABASECHANGELOGLOCK = Databasechangeloglock.DATABASECHANGELOGLOCK;
/**
* The table <code>public.gender</code>.
* The table <code>public.job_entry_log</code>.
*/
public final Gender GENDER = Gender.GENDER;
public final JobEntryLog JOB_ENTRY_LOG = JobEntryLog.JOB_ENTRY_LOG;
/**
* The table <code>public.marital_status</code>.
* The table <code>public.job_log</code>.
*/
public final MaritalStatus MARITAL_STATUS = MaritalStatus.MARITAL_STATUS;
/**
* The table <code>public.pub_recruitment</code>.
*/
public final PubRecruitment PUB_RECRUITMENT = PubRecruitment.PUB_RECRUITMENT;
/**
* The table <code>public.reason_registration</code>.
*/
public final ReasonRegistration REASON_REGISTRATION = ReasonRegistration.REASON_REGISTRATION;
/**
* The table <code>public.subpoena</code>.
*/
public final Subpoena SUBPOENA = Subpoena.SUBPOENA;
public final JobLog JOB_LOG = JobLog.JOB_LOG;
/**
* No further instances allowed
@ -91,14 +73,11 @@ public class Public extends SchemaImpl {
@Override
public final List<Table<?>> getTables() {
return Arrays.asList(
Citizen.CITIZEN,
Education.EDUCATION,
Employment.EMPLOYMENT,
Gender.GENDER,
MaritalStatus.MARITAL_STATUS,
PubRecruitment.PUB_RECRUITMENT,
ReasonRegistration.REASON_REGISTRATION,
Subpoena.SUBPOENA
ChannelLog.CHANNEL_LOG,
Databasechangelog.DATABASECHANGELOG,
Databasechangeloglock.DATABASECHANGELOGLOCK,
JobEntryLog.JOB_ENTRY_LOG,
JobLog.JOB_LOG
);
}
}

View file

@ -4,14 +4,11 @@
package ervu_dashboard.ervu_dashboard.db_beans.public_;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Education;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Employment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Gender;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.MaritalStatus;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.ReasonRegistration;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Subpoena;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.ChannelLog;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Databasechangelog;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Databasechangeloglock;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.JobEntryLog;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.JobLog;
/**
@ -21,42 +18,27 @@ import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Subpoena;
public class Tables {
/**
* The table <code>public.citizen</code>.
* The table <code>public.channel_log</code>.
*/
public static final Citizen CITIZEN = Citizen.CITIZEN;
public static final ChannelLog CHANNEL_LOG = ChannelLog.CHANNEL_LOG;
/**
* The table <code>public.education</code>.
* The table <code>public.databasechangelog</code>.
*/
public static final Education EDUCATION = Education.EDUCATION;
public static final Databasechangelog DATABASECHANGELOG = Databasechangelog.DATABASECHANGELOG;
/**
* The table <code>public.employment</code>.
* The table <code>public.databasechangeloglock</code>.
*/
public static final Employment EMPLOYMENT = Employment.EMPLOYMENT;
public static final Databasechangeloglock DATABASECHANGELOGLOCK = Databasechangeloglock.DATABASECHANGELOGLOCK;
/**
* The table <code>public.gender</code>.
* The table <code>public.job_entry_log</code>.
*/
public static final Gender GENDER = Gender.GENDER;
public static final JobEntryLog JOB_ENTRY_LOG = JobEntryLog.JOB_ENTRY_LOG;
/**
* The table <code>public.marital_status</code>.
* The table <code>public.job_log</code>.
*/
public static final MaritalStatus MARITAL_STATUS = MaritalStatus.MARITAL_STATUS;
/**
* The table <code>public.pub_recruitment</code>.
*/
public static final PubRecruitment PUB_RECRUITMENT = PubRecruitment.PUB_RECRUITMENT;
/**
* The table <code>public.reason_registration</code>.
*/
public static final ReasonRegistration REASON_REGISTRATION = ReasonRegistration.REASON_REGISTRATION;
/**
* The table <code>public.subpoena</code>.
*/
public static final Subpoena SUBPOENA = Subpoena.SUBPOENA;
public static final JobLog JOB_LOG = JobLog.JOB_LOG;
}

View file

@ -0,0 +1,62 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.enums;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import org.jooq.Catalog;
import org.jooq.EnumType;
import org.jooq.Schema;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public enum TypePropertyType implements EnumType {
realty("realty"),
ground_transportation("ground_transportation"),
air_vehicles("air_vehicles"),
water_vehicles("water_vehicles");
private final String literal;
private TypePropertyType(String literal) {
this.literal = literal;
}
@Override
public Catalog getCatalog() {
return getSchema().getCatalog();
}
@Override
public Schema getSchema() {
return Public.PUBLIC;
}
@Override
public String getName() {
return "type_property_type";
}
@Override
public String getLiteral() {
return literal;
}
/**
* Lookup a value of this EnumType by its literal. Returns
* <code>null</code>, if no such value could be found, see {@link
* EnumType#lookupLiteral(Class, String)}.
*/
public static TypePropertyType lookupLiteral(String literal) {
return EnumType.lookupLiteral(TypePropertyType.class, literal);
}
}

View file

@ -0,0 +1,272 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.ChannelLogRecord;
import java.sql.Date;
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;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ChannelLog extends TableImpl<ChannelLogRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.channel_log</code>
*/
public static final ChannelLog CHANNEL_LOG = new ChannelLog();
/**
* The class holding records for this type
*/
@Override
public Class<ChannelLogRecord> getRecordType() {
return ChannelLogRecord.class;
}
/**
* The column <code>public.channel_log.id_batch</code>.
*/
public final TableField<ChannelLogRecord, Long> ID_BATCH = createField(DSL.name("id_batch"), SQLDataType.BIGINT, this, "");
/**
* The column <code>public.channel_log.channel_id</code>.
*/
public final TableField<ChannelLogRecord, String> CHANNEL_ID = createField(DSL.name("channel_id"), SQLDataType.CHAR(36), this, "");
/**
* The column <code>public.channel_log.log_date</code>.
*/
public final TableField<ChannelLogRecord, Date> LOG_DATE = createField(DSL.name("log_date"), SQLDataType.DATE, this, "");
/**
* The column <code>public.channel_log.logging_object_type</code>.
*/
public final TableField<ChannelLogRecord, String> LOGGING_OBJECT_TYPE = createField(DSL.name("logging_object_type"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.channel_log.object_name</code>.
*/
public final TableField<ChannelLogRecord, String> OBJECT_NAME = createField(DSL.name("object_name"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.channel_log.object_copy</code>.
*/
public final TableField<ChannelLogRecord, String> OBJECT_COPY = createField(DSL.name("object_copy"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.channel_log.repository_directory</code>.
*/
public final TableField<ChannelLogRecord, String> REPOSITORY_DIRECTORY = createField(DSL.name("repository_directory"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.channel_log.filename</code>.
*/
public final TableField<ChannelLogRecord, String> FILENAME = createField(DSL.name("filename"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.channel_log.object_id</code>.
*/
public final TableField<ChannelLogRecord, String> OBJECT_ID = createField(DSL.name("object_id"), SQLDataType.CHAR(36), this, "");
/**
* The column <code>public.channel_log.object_version</code>.
*/
public final TableField<ChannelLogRecord, String> OBJECT_VERSION = createField(DSL.name("object_version"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.channel_log.object_revision</code>.
*/
public final TableField<ChannelLogRecord, String> OBJECT_REVISION = createField(DSL.name("object_revision"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.channel_log.parent_channel_id</code>.
*/
public final TableField<ChannelLogRecord, String> PARENT_CHANNEL_ID = createField(DSL.name("parent_channel_id"), SQLDataType.CHAR(36), this, "");
/**
* The column <code>public.channel_log.root_channel_id</code>.
*/
public final TableField<ChannelLogRecord, String> ROOT_CHANNEL_ID = createField(DSL.name("root_channel_id"), SQLDataType.CHAR(36), this, "");
private ChannelLog(Name alias, Table<ChannelLogRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ChannelLog(Name alias, Table<ChannelLogRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.channel_log</code> table reference
*/
public ChannelLog(String alias) {
this(DSL.name(alias), CHANNEL_LOG);
}
/**
* Create an aliased <code>public.channel_log</code> table reference
*/
public ChannelLog(Name alias) {
this(alias, CHANNEL_LOG);
}
/**
* Create a <code>public.channel_log</code> table reference
*/
public ChannelLog() {
this(DSL.name("channel_log"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public ChannelLog as(String alias) {
return new ChannelLog(DSL.name(alias), this);
}
@Override
public ChannelLog as(Name alias) {
return new ChannelLog(alias, this);
}
@Override
public ChannelLog as(Table<?> alias) {
return new ChannelLog(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ChannelLog rename(String name) {
return new ChannelLog(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ChannelLog rename(Name name) {
return new ChannelLog(name, null);
}
/**
* Rename this table
*/
@Override
public ChannelLog rename(Table<?> name) {
return new ChannelLog(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ChannelLog where(Condition condition) {
return new ChannelLog(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ChannelLog where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChannelLog where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChannelLog where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChannelLog where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChannelLog where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChannelLog where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChannelLog where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChannelLog whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChannelLog whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -1,438 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Education.EducationPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Employment.EmploymentPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Gender.GenderPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.MaritalStatus.MaritalStatusPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.ReasonRegistration.ReasonRegistrationPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.CitizenRecord;
import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Citizen extends TableImpl<CitizenRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.citizen</code>
*/
public static final Citizen CITIZEN = new Citizen();
/**
* The class holding records for this type
*/
@Override
public Class<CitizenRecord> getRecordType() {
return CitizenRecord.class;
}
/**
* The column <code>public.citizen.id_ERN</code>.
*/
public final TableField<CitizenRecord, String> ID_ERN = createField(DSL.name("id_ERN"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>public.citizen.fio</code>.
*/
public final TableField<CitizenRecord, String> FIO = createField(DSL.name("fio"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.citizen.residence</code>.
*/
public final TableField<CitizenRecord, String> RESIDENCE = createField(DSL.name("residence"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.citizen.age</code>.
*/
public final TableField<CitizenRecord, String> AGE = createField(DSL.name("age"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.citizen.recruitment</code>.
*/
public final TableField<CitizenRecord, String> RECRUITMENT = createField(DSL.name("recruitment"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.citizen.recruitment_id</code>.
*/
public final TableField<CitizenRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
/**
* The column <code>public.citizen.gender_id</code>.
*/
public final TableField<CitizenRecord, Long> GENDER_ID = createField(DSL.name("gender_id"), SQLDataType.BIGINT.nullable(false), this, "");
/**
* The column <code>public.citizen.marital_status_id</code>.
*/
public final TableField<CitizenRecord, Long> MARITAL_STATUS_ID = createField(DSL.name("marital_status_id"), SQLDataType.BIGINT, this, "");
/**
* The column <code>public.citizen.education_id</code>.
*/
public final TableField<CitizenRecord, Long> EDUCATION_ID = createField(DSL.name("education_id"), SQLDataType.BIGINT, this, "");
/**
* The column <code>public.citizen.employment_id</code>.
*/
public final TableField<CitizenRecord, Long> EMPLOYMENT_ID = createField(DSL.name("employment_id"), SQLDataType.BIGINT, this, "");
/**
* The column <code>public.citizen.urgent_service</code>.
*/
public final TableField<CitizenRecord, Boolean> URGENT_SERVICE = createField(DSL.name("urgent_service"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>public.citizen.contract_service</code>.
*/
public final TableField<CitizenRecord, Boolean> CONTRACT_SERVICE = createField(DSL.name("contract_service"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>public.citizen.mobilization</code>.
*/
public final TableField<CitizenRecord, Boolean> MOBILIZATION = createField(DSL.name("mobilization"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>public.citizen.is_registered</code>.
*/
public final TableField<CitizenRecord, Boolean> IS_REGISTERED = createField(DSL.name("is_registered"), SQLDataType.BOOLEAN.defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>public.citizen.reason_registration_id</code>.
*/
public final TableField<CitizenRecord, Integer> REASON_REGISTRATION_ID = createField(DSL.name("reason_registration_id"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.citizen.issue_date</code>.
*/
public final TableField<CitizenRecord, Date> ISSUE_DATE = createField(DSL.name("issue_date"), SQLDataType.DATE, this, "");
/**
* The column <code>public.citizen.passport_series</code>.
*/
public final TableField<CitizenRecord, String> PASSPORT_SERIES = createField(DSL.name("passport_series"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.citizen.passport_number</code>.
*/
public final TableField<CitizenRecord, String> PASSPORT_NUMBER = createField(DSL.name("passport_number"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.citizen.number_children</code>.
*/
public final TableField<CitizenRecord, Integer> NUMBER_CHILDREN = createField(DSL.name("number_children"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.citizen.phone</code>.
*/
public final TableField<CitizenRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR, this, "");
private Citizen(Name alias, Table<CitizenRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Citizen(Name alias, Table<CitizenRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.citizen</code> table reference
*/
public Citizen(String alias) {
this(DSL.name(alias), CITIZEN);
}
/**
* Create an aliased <code>public.citizen</code> table reference
*/
public Citizen(Name alias) {
this(alias, CITIZEN);
}
/**
* Create a <code>public.citizen</code> table reference
*/
public Citizen() {
this(DSL.name("citizen"), null);
}
public <O extends Record> Citizen(Table<O> path, ForeignKey<O, CitizenRecord> childPath, InverseForeignKey<O, CitizenRecord> parentPath) {
super(path, childPath, parentPath, CITIZEN);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class CitizenPath extends Citizen implements Path<CitizenRecord> {
public <O extends Record> CitizenPath(Table<O> path, ForeignKey<O, CitizenRecord> childPath, InverseForeignKey<O, CitizenRecord> parentPath) {
super(path, childPath, parentPath);
}
private CitizenPath(Name alias, Table<CitizenRecord> aliased) {
super(alias, aliased);
}
@Override
public CitizenPath as(String alias) {
return new CitizenPath(DSL.name(alias), this);
}
@Override
public CitizenPath as(Name alias) {
return new CitizenPath(alias, this);
}
@Override
public CitizenPath as(Table<?> alias) {
return new CitizenPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public UniqueKey<CitizenRecord> getPrimaryKey() {
return Keys.CITIZEN_PKEY;
}
@Override
public List<ForeignKey<CitizenRecord, ?>> getReferences() {
return Arrays.asList(Keys.CITIZEN__P_CITIZEN_FK1, Keys.CITIZEN__P_CITIZEN_FK2, Keys.CITIZEN__P_CITIZEN_FK3, Keys.CITIZEN__P_CITIZEN_FK5, Keys.CITIZEN__P_CITIZEN_FK4, Keys.CITIZEN__P_CITIZEN_FK6);
}
private transient PubRecruitmentPath _pubRecruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.CITIZEN__P_CITIZEN_FK1, null);
return _pubRecruitment;
}
private transient GenderPath _gender;
/**
* Get the implicit join path to the <code>public.gender</code> table.
*/
public GenderPath gender() {
if (_gender == null)
_gender = new GenderPath(this, Keys.CITIZEN__P_CITIZEN_FK2, null);
return _gender;
}
private transient MaritalStatusPath _maritalStatus;
/**
* Get the implicit join path to the <code>public.marital_status</code>
* table.
*/
public MaritalStatusPath maritalStatus() {
if (_maritalStatus == null)
_maritalStatus = new MaritalStatusPath(this, Keys.CITIZEN__P_CITIZEN_FK3, null);
return _maritalStatus;
}
private transient EducationPath _education;
/**
* Get the implicit join path to the <code>public.education</code> table.
*/
public EducationPath education() {
if (_education == null)
_education = new EducationPath(this, Keys.CITIZEN__P_CITIZEN_FK5, null);
return _education;
}
private transient EmploymentPath _employment;
/**
* Get the implicit join path to the <code>public.employment</code> table.
*/
public EmploymentPath employment() {
if (_employment == null)
_employment = new EmploymentPath(this, Keys.CITIZEN__P_CITIZEN_FK4, null);
return _employment;
}
private transient ReasonRegistrationPath _reasonRegistration;
/**
* Get the implicit join path to the <code>public.reason_registration</code>
* table.
*/
public ReasonRegistrationPath reasonRegistration() {
if (_reasonRegistration == null)
_reasonRegistration = new ReasonRegistrationPath(this, Keys.CITIZEN__P_CITIZEN_FK6, null);
return _reasonRegistration;
}
@Override
public Citizen as(String alias) {
return new Citizen(DSL.name(alias), this);
}
@Override
public Citizen as(Name alias) {
return new Citizen(alias, this);
}
@Override
public Citizen as(Table<?> alias) {
return new Citizen(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Citizen rename(String name) {
return new Citizen(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Citizen rename(Name name) {
return new Citizen(name, null);
}
/**
* Rename this table
*/
@Override
public Citizen rename(Table<?> name) {
return new Citizen(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen where(Condition condition) {
return new Citizen(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Citizen where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Citizen where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Citizen where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Citizen where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Citizen whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,277 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.DatabasechangelogRecord;
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.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Databasechangelog extends TableImpl<DatabasechangelogRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.databasechangelog</code>
*/
public static final Databasechangelog DATABASECHANGELOG = new Databasechangelog();
/**
* The class holding records for this type
*/
@Override
public Class<DatabasechangelogRecord> getRecordType() {
return DatabasechangelogRecord.class;
}
/**
* The column <code>public.databasechangelog.id</code>.
*/
public final TableField<DatabasechangelogRecord, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column <code>public.databasechangelog.author</code>.
*/
public final TableField<DatabasechangelogRecord, String> AUTHOR = createField(DSL.name("author"), SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column <code>public.databasechangelog.filename</code>.
*/
public final TableField<DatabasechangelogRecord, String> FILENAME = createField(DSL.name("filename"), SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column <code>public.databasechangelog.dateexecuted</code>.
*/
public final TableField<DatabasechangelogRecord, Timestamp> DATEEXECUTED = createField(DSL.name("dateexecuted"), SQLDataType.TIMESTAMP(0).nullable(false), this, "");
/**
* The column <code>public.databasechangelog.orderexecuted</code>.
*/
public final TableField<DatabasechangelogRecord, Integer> ORDEREXECUTED = createField(DSL.name("orderexecuted"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.databasechangelog.exectype</code>.
*/
public final TableField<DatabasechangelogRecord, String> EXECTYPE = createField(DSL.name("exectype"), SQLDataType.VARCHAR(10).nullable(false), this, "");
/**
* The column <code>public.databasechangelog.md5sum</code>.
*/
public final TableField<DatabasechangelogRecord, String> MD5SUM = createField(DSL.name("md5sum"), SQLDataType.VARCHAR(35), this, "");
/**
* The column <code>public.databasechangelog.description</code>.
*/
public final TableField<DatabasechangelogRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>public.databasechangelog.comments</code>.
*/
public final TableField<DatabasechangelogRecord, String> COMMENTS = createField(DSL.name("comments"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>public.databasechangelog.tag</code>.
*/
public final TableField<DatabasechangelogRecord, String> TAG = createField(DSL.name("tag"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>public.databasechangelog.liquibase</code>.
*/
public final TableField<DatabasechangelogRecord, String> LIQUIBASE = createField(DSL.name("liquibase"), SQLDataType.VARCHAR(20), this, "");
/**
* The column <code>public.databasechangelog.contexts</code>.
*/
public final TableField<DatabasechangelogRecord, String> CONTEXTS = createField(DSL.name("contexts"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>public.databasechangelog.labels</code>.
*/
public final TableField<DatabasechangelogRecord, String> LABELS = createField(DSL.name("labels"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>public.databasechangelog.deployment_id</code>.
*/
public final TableField<DatabasechangelogRecord, String> DEPLOYMENT_ID = createField(DSL.name("deployment_id"), SQLDataType.VARCHAR(10), this, "");
private Databasechangelog(Name alias, Table<DatabasechangelogRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Databasechangelog(Name alias, Table<DatabasechangelogRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.databasechangelog</code> table reference
*/
public Databasechangelog(String alias) {
this(DSL.name(alias), DATABASECHANGELOG);
}
/**
* Create an aliased <code>public.databasechangelog</code> table reference
*/
public Databasechangelog(Name alias) {
this(alias, DATABASECHANGELOG);
}
/**
* Create a <code>public.databasechangelog</code> table reference
*/
public Databasechangelog() {
this(DSL.name("databasechangelog"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Databasechangelog as(String alias) {
return new Databasechangelog(DSL.name(alias), this);
}
@Override
public Databasechangelog as(Name alias) {
return new Databasechangelog(alias, this);
}
@Override
public Databasechangelog as(Table<?> alias) {
return new Databasechangelog(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Databasechangelog rename(String name) {
return new Databasechangelog(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Databasechangelog rename(Name name) {
return new Databasechangelog(name, null);
}
/**
* Rename this table
*/
@Override
public Databasechangelog rename(Table<?> name) {
return new Databasechangelog(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangelog where(Condition condition) {
return new Databasechangelog(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangelog where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangelog where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangelog where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangelog where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangelog where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangelog where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangelog where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangelog whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangelog whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,236 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.DatabasechangeloglockRecord;
import java.sql.Timestamp;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.Name;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Databasechangeloglock extends TableImpl<DatabasechangeloglockRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.databasechangeloglock</code>
*/
public static final Databasechangeloglock DATABASECHANGELOGLOCK = new Databasechangeloglock();
/**
* The class holding records for this type
*/
@Override
public Class<DatabasechangeloglockRecord> getRecordType() {
return DatabasechangeloglockRecord.class;
}
/**
* The column <code>public.databasechangeloglock.id</code>.
*/
public final TableField<DatabasechangeloglockRecord, Integer> ID = createField(DSL.name("id"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.databasechangeloglock.locked</code>.
*/
public final TableField<DatabasechangeloglockRecord, Boolean> LOCKED = createField(DSL.name("locked"), SQLDataType.BOOLEAN.nullable(false), this, "");
/**
* The column <code>public.databasechangeloglock.lockgranted</code>.
*/
public final TableField<DatabasechangeloglockRecord, Timestamp> LOCKGRANTED = createField(DSL.name("lockgranted"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>public.databasechangeloglock.lockedby</code>.
*/
public final TableField<DatabasechangeloglockRecord, String> LOCKEDBY = createField(DSL.name("lockedby"), SQLDataType.VARCHAR(255), this, "");
private Databasechangeloglock(Name alias, Table<DatabasechangeloglockRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Databasechangeloglock(Name alias, Table<DatabasechangeloglockRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.databasechangeloglock</code> table
* reference
*/
public Databasechangeloglock(String alias) {
this(DSL.name(alias), DATABASECHANGELOGLOCK);
}
/**
* Create an aliased <code>public.databasechangeloglock</code> table
* reference
*/
public Databasechangeloglock(Name alias) {
this(alias, DATABASECHANGELOGLOCK);
}
/**
* Create a <code>public.databasechangeloglock</code> table reference
*/
public Databasechangeloglock() {
this(DSL.name("databasechangeloglock"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public UniqueKey<DatabasechangeloglockRecord> getPrimaryKey() {
return Keys.DATABASECHANGELOGLOCK_PKEY;
}
@Override
public Databasechangeloglock as(String alias) {
return new Databasechangeloglock(DSL.name(alias), this);
}
@Override
public Databasechangeloglock as(Name alias) {
return new Databasechangeloglock(alias, this);
}
@Override
public Databasechangeloglock as(Table<?> alias) {
return new Databasechangeloglock(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Databasechangeloglock rename(String name) {
return new Databasechangeloglock(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Databasechangeloglock rename(Name name) {
return new Databasechangeloglock(name, null);
}
/**
* Rename this table
*/
@Override
public Databasechangeloglock rename(Table<?> name) {
return new Databasechangeloglock(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangeloglock where(Condition condition) {
return new Databasechangeloglock(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangeloglock where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangeloglock where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangeloglock where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangeloglock where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangeloglock where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangeloglock where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Databasechangeloglock where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangeloglock whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Databasechangeloglock whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -1,283 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen.CitizenPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.EducationRecord;
import java.util.Collection;
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;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Education extends TableImpl<EducationRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.education</code>
*/
public static final Education EDUCATION = new Education();
/**
* The class holding records for this type
*/
@Override
public Class<EducationRecord> getRecordType() {
return EducationRecord.class;
}
/**
* The column <code>public.education.education_id</code>.
*/
public final TableField<EducationRecord, Long> EDUCATION_ID = createField(DSL.name("education_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>public.education.code</code>.
*/
public final TableField<EducationRecord, Integer> CODE = createField(DSL.name("code"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.education.name</code>.
*/
public final TableField<EducationRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.nullable(false), this, "");
private Education(Name alias, Table<EducationRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Education(Name alias, Table<EducationRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.education</code> table reference
*/
public Education(String alias) {
this(DSL.name(alias), EDUCATION);
}
/**
* Create an aliased <code>public.education</code> table reference
*/
public Education(Name alias) {
this(alias, EDUCATION);
}
/**
* Create a <code>public.education</code> table reference
*/
public Education() {
this(DSL.name("education"), null);
}
public <O extends Record> Education(Table<O> path, ForeignKey<O, EducationRecord> childPath, InverseForeignKey<O, EducationRecord> parentPath) {
super(path, childPath, parentPath, EDUCATION);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class EducationPath extends Education implements Path<EducationRecord> {
public <O extends Record> EducationPath(Table<O> path, ForeignKey<O, EducationRecord> childPath, InverseForeignKey<O, EducationRecord> parentPath) {
super(path, childPath, parentPath);
}
private EducationPath(Name alias, Table<EducationRecord> aliased) {
super(alias, aliased);
}
@Override
public EducationPath as(String alias) {
return new EducationPath(DSL.name(alias), this);
}
@Override
public EducationPath as(Name alias) {
return new EducationPath(alias, this);
}
@Override
public EducationPath as(Table<?> alias) {
return new EducationPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<EducationRecord, Long> getIdentity() {
return (Identity<EducationRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<EducationRecord> getPrimaryKey() {
return Keys.EDUCATION_PKEY;
}
private transient CitizenPath _citizen;
/**
* Get the implicit to-many join path to the <code>public.citizen</code>
* table
*/
public CitizenPath citizen() {
if (_citizen == null)
_citizen = new CitizenPath(this, null, Keys.CITIZEN__P_CITIZEN_FK5.getInverseKey());
return _citizen;
}
@Override
public Education as(String alias) {
return new Education(DSL.name(alias), this);
}
@Override
public Education as(Name alias) {
return new Education(alias, this);
}
@Override
public Education as(Table<?> alias) {
return new Education(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Education rename(String name) {
return new Education(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Education rename(Name name) {
return new Education(name, null);
}
/**
* Rename this table
*/
@Override
public Education rename(Table<?> name) {
return new Education(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Education where(Condition condition) {
return new Education(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Education where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Education where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Education where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Education where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Education where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Education where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Education where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Education whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Education whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -1,283 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen.CitizenPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.EmploymentRecord;
import java.util.Collection;
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;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Employment extends TableImpl<EmploymentRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.employment</code>
*/
public static final Employment EMPLOYMENT = new Employment();
/**
* The class holding records for this type
*/
@Override
public Class<EmploymentRecord> getRecordType() {
return EmploymentRecord.class;
}
/**
* The column <code>public.employment.employment_id</code>.
*/
public final TableField<EmploymentRecord, Long> EMPLOYMENT_ID = createField(DSL.name("employment_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>public.employment.code</code>.
*/
public final TableField<EmploymentRecord, Integer> CODE = createField(DSL.name("code"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.employment.name</code>.
*/
public final TableField<EmploymentRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.nullable(false), this, "");
private Employment(Name alias, Table<EmploymentRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Employment(Name alias, Table<EmploymentRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.employment</code> table reference
*/
public Employment(String alias) {
this(DSL.name(alias), EMPLOYMENT);
}
/**
* Create an aliased <code>public.employment</code> table reference
*/
public Employment(Name alias) {
this(alias, EMPLOYMENT);
}
/**
* Create a <code>public.employment</code> table reference
*/
public Employment() {
this(DSL.name("employment"), null);
}
public <O extends Record> Employment(Table<O> path, ForeignKey<O, EmploymentRecord> childPath, InverseForeignKey<O, EmploymentRecord> parentPath) {
super(path, childPath, parentPath, EMPLOYMENT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class EmploymentPath extends Employment implements Path<EmploymentRecord> {
public <O extends Record> EmploymentPath(Table<O> path, ForeignKey<O, EmploymentRecord> childPath, InverseForeignKey<O, EmploymentRecord> parentPath) {
super(path, childPath, parentPath);
}
private EmploymentPath(Name alias, Table<EmploymentRecord> aliased) {
super(alias, aliased);
}
@Override
public EmploymentPath as(String alias) {
return new EmploymentPath(DSL.name(alias), this);
}
@Override
public EmploymentPath as(Name alias) {
return new EmploymentPath(alias, this);
}
@Override
public EmploymentPath as(Table<?> alias) {
return new EmploymentPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<EmploymentRecord, Long> getIdentity() {
return (Identity<EmploymentRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<EmploymentRecord> getPrimaryKey() {
return Keys.EMPLOYMENT_PKEY;
}
private transient CitizenPath _citizen;
/**
* Get the implicit to-many join path to the <code>public.citizen</code>
* table
*/
public CitizenPath citizen() {
if (_citizen == null)
_citizen = new CitizenPath(this, null, Keys.CITIZEN__P_CITIZEN_FK4.getInverseKey());
return _citizen;
}
@Override
public Employment as(String alias) {
return new Employment(DSL.name(alias), this);
}
@Override
public Employment as(Name alias) {
return new Employment(alias, this);
}
@Override
public Employment as(Table<?> alias) {
return new Employment(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Employment rename(String name) {
return new Employment(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Employment rename(Name name) {
return new Employment(name, null);
}
/**
* Rename this table
*/
@Override
public Employment rename(Table<?> name) {
return new Employment(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Employment where(Condition condition) {
return new Employment(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Employment where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Employment where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Employment where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Employment where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Employment where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Employment where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Employment where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Employment whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Employment whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -1,297 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen.CitizenPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.MaritalStatus.MaritalStatusPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.GenderRecord;
import java.util.Collection;
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;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Gender extends TableImpl<GenderRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.gender</code>
*/
public static final Gender GENDER = new Gender();
/**
* The class holding records for this type
*/
@Override
public Class<GenderRecord> getRecordType() {
return GenderRecord.class;
}
/**
* The column <code>public.gender.gender_id</code>.
*/
public final TableField<GenderRecord, Long> GENDER_ID = createField(DSL.name("gender_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>public.gender.code</code>.
*/
public final TableField<GenderRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>public.gender.name</code>.
*/
public final TableField<GenderRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.nullable(false), this, "");
private Gender(Name alias, Table<GenderRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Gender(Name alias, Table<GenderRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.gender</code> table reference
*/
public Gender(String alias) {
this(DSL.name(alias), GENDER);
}
/**
* Create an aliased <code>public.gender</code> table reference
*/
public Gender(Name alias) {
this(alias, GENDER);
}
/**
* Create a <code>public.gender</code> table reference
*/
public Gender() {
this(DSL.name("gender"), null);
}
public <O extends Record> Gender(Table<O> path, ForeignKey<O, GenderRecord> childPath, InverseForeignKey<O, GenderRecord> parentPath) {
super(path, childPath, parentPath, GENDER);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class GenderPath extends Gender implements Path<GenderRecord> {
public <O extends Record> GenderPath(Table<O> path, ForeignKey<O, GenderRecord> childPath, InverseForeignKey<O, GenderRecord> parentPath) {
super(path, childPath, parentPath);
}
private GenderPath(Name alias, Table<GenderRecord> aliased) {
super(alias, aliased);
}
@Override
public GenderPath as(String alias) {
return new GenderPath(DSL.name(alias), this);
}
@Override
public GenderPath as(Name alias) {
return new GenderPath(alias, this);
}
@Override
public GenderPath as(Table<?> alias) {
return new GenderPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<GenderRecord, Long> getIdentity() {
return (Identity<GenderRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<GenderRecord> getPrimaryKey() {
return Keys.GENDER_PKEY;
}
private transient CitizenPath _citizen;
/**
* Get the implicit to-many join path to the <code>public.citizen</code>
* table
*/
public CitizenPath citizen() {
if (_citizen == null)
_citizen = new CitizenPath(this, null, Keys.CITIZEN__P_CITIZEN_FK2.getInverseKey());
return _citizen;
}
private transient MaritalStatusPath _maritalStatus;
/**
* Get the implicit to-many join path to the
* <code>public.marital_status</code> table
*/
public MaritalStatusPath maritalStatus() {
if (_maritalStatus == null)
_maritalStatus = new MaritalStatusPath(this, null, Keys.MARITAL_STATUS__MARITAL_STATUS_FK1.getInverseKey());
return _maritalStatus;
}
@Override
public Gender as(String alias) {
return new Gender(DSL.name(alias), this);
}
@Override
public Gender as(Name alias) {
return new Gender(alias, this);
}
@Override
public Gender as(Table<?> alias) {
return new Gender(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Gender rename(String name) {
return new Gender(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Gender rename(Name name) {
return new Gender(name, null);
}
/**
* Rename this table
*/
@Override
public Gender rename(Table<?> name) {
return new Gender(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Gender where(Condition condition) {
return new Gender(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Gender where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Gender where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Gender where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Gender where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Gender where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Gender where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Gender where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Gender whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Gender whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,282 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.JobEntryLogRecord;
import java.sql.Date;
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;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class JobEntryLog extends TableImpl<JobEntryLogRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.job_entry_log</code>
*/
public static final JobEntryLog JOB_ENTRY_LOG = new JobEntryLog();
/**
* The class holding records for this type
*/
@Override
public Class<JobEntryLogRecord> getRecordType() {
return JobEntryLogRecord.class;
}
/**
* The column <code>public.job_entry_log.id_batch</code>.
*/
public final TableField<JobEntryLogRecord, Long> ID_BATCH = createField(DSL.name("id_batch"), SQLDataType.BIGINT, this, "");
/**
* The column <code>public.job_entry_log.channel_id</code>.
*/
public final TableField<JobEntryLogRecord, String> CHANNEL_ID = createField(DSL.name("channel_id"), SQLDataType.CHAR(36), this, "");
/**
* The column <code>public.job_entry_log.log_date</code>.
*/
public final TableField<JobEntryLogRecord, Date> LOG_DATE = createField(DSL.name("log_date"), SQLDataType.DATE, this, "");
/**
* The column <code>public.job_entry_log.transname</code>.
*/
public final TableField<JobEntryLogRecord, String> TRANSNAME = createField(DSL.name("transname"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.job_entry_log.stepname</code>.
*/
public final TableField<JobEntryLogRecord, String> STEPNAME = createField(DSL.name("stepname"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.job_entry_log.lines_read</code>.
*/
public final TableField<JobEntryLogRecord, String> LINES_READ = createField(DSL.name("lines_read"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.job_entry_log.lines_written</code>.
*/
public final TableField<JobEntryLogRecord, String> LINES_WRITTEN = createField(DSL.name("lines_written"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.job_entry_log.lines_updated</code>.
*/
public final TableField<JobEntryLogRecord, String> LINES_UPDATED = createField(DSL.name("lines_updated"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.job_entry_log.lines_input</code>.
*/
public final TableField<JobEntryLogRecord, String> LINES_INPUT = createField(DSL.name("lines_input"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.job_entry_log.lines_output</code>.
*/
public final TableField<JobEntryLogRecord, String> LINES_OUTPUT = createField(DSL.name("lines_output"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.job_entry_log.lines_rejected</code>.
*/
public final TableField<JobEntryLogRecord, String> LINES_REJECTED = createField(DSL.name("lines_rejected"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.job_entry_log.errors</code>.
*/
public final TableField<JobEntryLogRecord, String> ERRORS = createField(DSL.name("errors"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.job_entry_log.RESULT</code>.
*/
public final TableField<JobEntryLogRecord, String> RESULT = createField(DSL.name("RESULT"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.job_entry_log.nr_result_rows</code>.
*/
public final TableField<JobEntryLogRecord, String> NR_RESULT_ROWS = createField(DSL.name("nr_result_rows"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.job_entry_log.nr_result_files</code>.
*/
public final TableField<JobEntryLogRecord, String> NR_RESULT_FILES = createField(DSL.name("nr_result_files"), SQLDataType.VARCHAR, this, "");
private JobEntryLog(Name alias, Table<JobEntryLogRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private JobEntryLog(Name alias, Table<JobEntryLogRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.job_entry_log</code> table reference
*/
public JobEntryLog(String alias) {
this(DSL.name(alias), JOB_ENTRY_LOG);
}
/**
* Create an aliased <code>public.job_entry_log</code> table reference
*/
public JobEntryLog(Name alias) {
this(alias, JOB_ENTRY_LOG);
}
/**
* Create a <code>public.job_entry_log</code> table reference
*/
public JobEntryLog() {
this(DSL.name("job_entry_log"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public JobEntryLog as(String alias) {
return new JobEntryLog(DSL.name(alias), this);
}
@Override
public JobEntryLog as(Name alias) {
return new JobEntryLog(alias, this);
}
@Override
public JobEntryLog as(Table<?> alias) {
return new JobEntryLog(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public JobEntryLog rename(String name) {
return new JobEntryLog(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public JobEntryLog rename(Name name) {
return new JobEntryLog(name, null);
}
/**
* Rename this table
*/
@Override
public JobEntryLog rename(Table<?> name) {
return new JobEntryLog(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public JobEntryLog where(Condition condition) {
return new JobEntryLog(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public JobEntryLog where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public JobEntryLog where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public JobEntryLog where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public JobEntryLog where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public JobEntryLog where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public JobEntryLog where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public JobEntryLog where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public JobEntryLog whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public JobEntryLog whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,305 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.JobLogRecord;
import java.sql.Timestamp;
import java.util.Collection;
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;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class JobLog extends TableImpl<JobLogRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.job_log</code>
*/
public static final JobLog JOB_LOG = new JobLog();
/**
* The class holding records for this type
*/
@Override
public Class<JobLogRecord> getRecordType() {
return JobLogRecord.class;
}
/**
* The column <code>public.job_log.jobname</code>.
*/
public final TableField<JobLogRecord, String> JOBNAME = createField(DSL.name("jobname"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.job_log.status</code>.
*/
public final TableField<JobLogRecord, String> STATUS = createField(DSL.name("status"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.job_log.enddate</code>.
*/
public final TableField<JobLogRecord, Timestamp> ENDDATE = createField(DSL.name("enddate"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>public.job_log.depdate</code>.
*/
public final TableField<JobLogRecord, Timestamp> DEPDATE = createField(DSL.name("depdate"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>public.job_log.startdate</code>.
*/
public final TableField<JobLogRecord, Timestamp> STARTDATE = createField(DSL.name("startdate"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>public.job_log.logdate</code>.
*/
public final TableField<JobLogRecord, Timestamp> LOGDATE = createField(DSL.name("logdate"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>public.job_log.channel_id</code>.
*/
public final TableField<JobLogRecord, String> CHANNEL_ID = createField(DSL.name("channel_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.job_log.id_job</code>.
*/
public final TableField<JobLogRecord, Long> ID_JOB = createField(DSL.name("id_job"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>public.job_log.replaydate</code>.
*/
public final TableField<JobLogRecord, Timestamp> REPLAYDATE = createField(DSL.name("replaydate"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>public.job_log.log_field</code>.
*/
public final TableField<JobLogRecord, String> LOG_FIELD = createField(DSL.name("log_field"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.job_log.errors</code>.
*/
public final TableField<JobLogRecord, Integer> ERRORS = createField(DSL.name("errors"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.job_log.lines_rejected</code>.
*/
public final TableField<JobLogRecord, Integer> LINES_REJECTED = createField(DSL.name("lines_rejected"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.job_log.lines_updated</code>.
*/
public final TableField<JobLogRecord, Integer> LINES_UPDATED = createField(DSL.name("lines_updated"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.job_log.lines_input</code>.
*/
public final TableField<JobLogRecord, Integer> LINES_INPUT = createField(DSL.name("lines_input"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.job_log.lines_output</code>.
*/
public final TableField<JobLogRecord, Integer> LINES_OUTPUT = createField(DSL.name("lines_output"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.job_log.lines_written</code>.
*/
public final TableField<JobLogRecord, Integer> LINES_WRITTEN = createField(DSL.name("lines_written"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.job_log.lines_read</code>.
*/
public final TableField<JobLogRecord, Integer> LINES_READ = createField(DSL.name("lines_read"), SQLDataType.INTEGER, this, "");
private JobLog(Name alias, Table<JobLogRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private JobLog(Name alias, Table<JobLogRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.job_log</code> table reference
*/
public JobLog(String alias) {
this(DSL.name(alias), JOB_LOG);
}
/**
* Create an aliased <code>public.job_log</code> table reference
*/
public JobLog(Name alias) {
this(alias, JOB_LOG);
}
/**
* Create a <code>public.job_log</code> table reference
*/
public JobLog() {
this(DSL.name("job_log"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<JobLogRecord, Long> getIdentity() {
return (Identity<JobLogRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<JobLogRecord> getPrimaryKey() {
return Keys.JOB_LOG_PKEY;
}
@Override
public JobLog as(String alias) {
return new JobLog(DSL.name(alias), this);
}
@Override
public JobLog as(Name alias) {
return new JobLog(alias, this);
}
@Override
public JobLog as(Table<?> alias) {
return new JobLog(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public JobLog rename(String name) {
return new JobLog(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public JobLog rename(Name name) {
return new JobLog(name, null);
}
/**
* Rename this table
*/
@Override
public JobLog rename(Table<?> name) {
return new JobLog(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public JobLog where(Condition condition) {
return new JobLog(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public JobLog where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public JobLog where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public JobLog where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public JobLog where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public JobLog where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public JobLog where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public JobLog where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public JobLog whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public JobLog whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -1,308 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen.CitizenPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Gender.GenderPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.MaritalStatusRecord;
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;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class MaritalStatus extends TableImpl<MaritalStatusRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.marital_status</code>
*/
public static final MaritalStatus MARITAL_STATUS = new MaritalStatus();
/**
* The class holding records for this type
*/
@Override
public Class<MaritalStatusRecord> getRecordType() {
return MaritalStatusRecord.class;
}
/**
* The column <code>public.marital_status.marital_status_id</code>.
*/
public final TableField<MaritalStatusRecord, Long> MARITAL_STATUS_ID = createField(DSL.name("marital_status_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>public.marital_status.code</code>.
*/
public final TableField<MaritalStatusRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>public.marital_status.name</code>.
*/
public final TableField<MaritalStatusRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>public.marital_status.gender_id</code>.
*/
public final TableField<MaritalStatusRecord, Long> GENDER_ID = createField(DSL.name("gender_id"), SQLDataType.BIGINT.nullable(false), this, "");
private MaritalStatus(Name alias, Table<MaritalStatusRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private MaritalStatus(Name alias, Table<MaritalStatusRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.marital_status</code> table reference
*/
public MaritalStatus(String alias) {
this(DSL.name(alias), MARITAL_STATUS);
}
/**
* Create an aliased <code>public.marital_status</code> table reference
*/
public MaritalStatus(Name alias) {
this(alias, MARITAL_STATUS);
}
/**
* Create a <code>public.marital_status</code> table reference
*/
public MaritalStatus() {
this(DSL.name("marital_status"), null);
}
public <O extends Record> MaritalStatus(Table<O> path, ForeignKey<O, MaritalStatusRecord> childPath, InverseForeignKey<O, MaritalStatusRecord> parentPath) {
super(path, childPath, parentPath, MARITAL_STATUS);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class MaritalStatusPath extends MaritalStatus implements Path<MaritalStatusRecord> {
public <O extends Record> MaritalStatusPath(Table<O> path, ForeignKey<O, MaritalStatusRecord> childPath, InverseForeignKey<O, MaritalStatusRecord> parentPath) {
super(path, childPath, parentPath);
}
private MaritalStatusPath(Name alias, Table<MaritalStatusRecord> aliased) {
super(alias, aliased);
}
@Override
public MaritalStatusPath as(String alias) {
return new MaritalStatusPath(DSL.name(alias), this);
}
@Override
public MaritalStatusPath as(Name alias) {
return new MaritalStatusPath(alias, this);
}
@Override
public MaritalStatusPath as(Table<?> alias) {
return new MaritalStatusPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<MaritalStatusRecord, Long> getIdentity() {
return (Identity<MaritalStatusRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<MaritalStatusRecord> getPrimaryKey() {
return Keys.MARITAL_STATUS_PKEY;
}
@Override
public List<ForeignKey<MaritalStatusRecord, ?>> getReferences() {
return Arrays.asList(Keys.MARITAL_STATUS__MARITAL_STATUS_FK1);
}
private transient GenderPath _gender;
/**
* Get the implicit join path to the <code>public.gender</code> table.
*/
public GenderPath gender() {
if (_gender == null)
_gender = new GenderPath(this, Keys.MARITAL_STATUS__MARITAL_STATUS_FK1, null);
return _gender;
}
private transient CitizenPath _citizen;
/**
* Get the implicit to-many join path to the <code>public.citizen</code>
* table
*/
public CitizenPath citizen() {
if (_citizen == null)
_citizen = new CitizenPath(this, null, Keys.CITIZEN__P_CITIZEN_FK3.getInverseKey());
return _citizen;
}
@Override
public MaritalStatus as(String alias) {
return new MaritalStatus(DSL.name(alias), this);
}
@Override
public MaritalStatus as(Name alias) {
return new MaritalStatus(alias, this);
}
@Override
public MaritalStatus as(Table<?> alias) {
return new MaritalStatus(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public MaritalStatus rename(String name) {
return new MaritalStatus(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public MaritalStatus rename(Name name) {
return new MaritalStatus(name, null);
}
/**
* Rename this table
*/
@Override
public MaritalStatus rename(Table<?> name) {
return new MaritalStatus(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public MaritalStatus where(Condition condition) {
return new MaritalStatus(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public MaritalStatus where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public MaritalStatus where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public MaritalStatus where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MaritalStatus where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MaritalStatus where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MaritalStatus where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public MaritalStatus where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public MaritalStatus whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public MaritalStatus whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -1,726 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile.MainProfilePath;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal.ReasonsAppealPath;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReviewRating.ReviewRatingPath;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.TopicAppeal.TopicAppealPath;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.Appeals.AppealsPath;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.RecruitmentCampaign.RecruitmentCampaignPath;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.TotalRegistered.TotalRegisteredPath;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.WaitingRegistration.WaitingRegistrationPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen.CitizenPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.AppearSubppoena.AppearSubppoenaPath;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint.ConsiderationComplaintPath;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.Recruitment.RecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Subpoenas.SubpoenasPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.Age.AgePath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.Busyness.BusynessPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.ChildMinor.ChildMinorPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.DriverLicense.DriverLicensePath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.EducationLevel.EducationLevelPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.MaritalStatus.MaritalStatusPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.RegMilCat.RegMilCatPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.RemovedRegistry.RemovedRegistryPath;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PubRecruitment extends TableImpl<PubRecruitmentRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.pub_recruitment</code>
*/
public static final PubRecruitment PUB_RECRUITMENT = new PubRecruitment();
/**
* The class holding records for this type
*/
@Override
public Class<PubRecruitmentRecord> getRecordType() {
return PubRecruitmentRecord.class;
}
/**
* The column <code>public.pub_recruitment.id</code>.
*/
public final TableField<PubRecruitmentRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");
/**
* The column <code>public.pub_recruitment.idm_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> IDM_ID = createField(DSL.name("idm_id"), SQLDataType.VARCHAR(256), this, "");
/**
* The column <code>public.pub_recruitment.parent_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.version</code>.
*/
public final TableField<PubRecruitmentRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER, this, "");
/**
* The column <code>public.pub_recruitment.created_at</code>.
*/
public final TableField<PubRecruitmentRecord, Timestamp> CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>public.pub_recruitment.updated_at</code>.
*/
public final TableField<PubRecruitmentRecord, Timestamp> UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column <code>public.pub_recruitment.schema</code>.
*/
public final TableField<PubRecruitmentRecord, String> SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(64).nullable(false), this, "");
/**
* The column <code>public.pub_recruitment.military_code</code>.
*/
public final TableField<PubRecruitmentRecord, String> MILITARY_CODE = createField(DSL.name("military_code"), SQLDataType.VARCHAR(16), this, "");
/**
* The column <code>public.pub_recruitment.shortname</code>.
*/
public final TableField<PubRecruitmentRecord, String> SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>public.pub_recruitment.fullname</code>.
*/
public final TableField<PubRecruitmentRecord, String> FULLNAME = createField(DSL.name("fullname"), SQLDataType.VARCHAR.nullable(false), this, "");
/**
* The column <code>public.pub_recruitment.dns</code>.
*/
public final TableField<PubRecruitmentRecord, String> DNS = createField(DSL.name("dns"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>public.pub_recruitment.email</code>.
*/
public final TableField<PubRecruitmentRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>public.pub_recruitment.phone</code>.
*/
public final TableField<PubRecruitmentRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(24), this, "");
/**
* The column <code>public.pub_recruitment.address</code>.
*/
public final TableField<PubRecruitmentRecord, String> ADDRESS = createField(DSL.name("address"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.address_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> ADDRESS_ID = createField(DSL.name("address_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.postal_address</code>.
*/
public final TableField<PubRecruitmentRecord, String> POSTAL_ADDRESS = createField(DSL.name("postal_address"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.postal_address_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> POSTAL_ADDRESS_ID = createField(DSL.name("postal_address_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.nsi_department_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> NSI_DEPARTMENT_ID = createField(DSL.name("nsi_department_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.nsi_organization_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> NSI_ORGANIZATION_ID = createField(DSL.name("nsi_organization_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.oktmo</code>.
*/
public final TableField<PubRecruitmentRecord, String> OKTMO = createField(DSL.name("oktmo"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.org_ogrn</code>.
*/
public final TableField<PubRecruitmentRecord, String> ORG_OGRN = createField(DSL.name("org_ogrn"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.dep_ogrn</code>.
*/
public final TableField<PubRecruitmentRecord, String> DEP_OGRN = createField(DSL.name("dep_ogrn"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.epgu_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> EPGU_ID = createField(DSL.name("epgu_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.kpp</code>.
*/
public final TableField<PubRecruitmentRecord, String> KPP = createField(DSL.name("kpp"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>public.pub_recruitment.inn</code>.
*/
public final TableField<PubRecruitmentRecord, String> INN = createField(DSL.name("inn"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>public.pub_recruitment.okato</code>.
*/
public final TableField<PubRecruitmentRecord, String> OKATO = createField(DSL.name("okato"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>public.pub_recruitment.division_type</code>.
*/
public final TableField<PubRecruitmentRecord, String> DIVISION_TYPE = createField(DSL.name("division_type"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>public.pub_recruitment.tns_department_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> TNS_DEPARTMENT_ID = createField(DSL.name("tns_department_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.enabled</code>.
*/
public final TableField<PubRecruitmentRecord, Boolean> ENABLED = createField(DSL.name("enabled"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>public.pub_recruitment.timezone</code>.
*/
public final TableField<PubRecruitmentRecord, String> TIMEZONE = createField(DSL.name("timezone"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>public.pub_recruitment.reports_enabled</code>.
*/
public final TableField<PubRecruitmentRecord, Boolean> REPORTS_ENABLED = createField(DSL.name("reports_enabled"), SQLDataType.BOOLEAN, this, "");
/**
* The column <code>public.pub_recruitment.region_id</code>.
*/
public final TableField<PubRecruitmentRecord, String> REGION_ID = createField(DSL.name("region_id"), SQLDataType.VARCHAR, this, "");
/**
* The column <code>public.pub_recruitment.series</code>.
*/
public final TableField<PubRecruitmentRecord, String> SERIES = createField(DSL.name("series"), SQLDataType.VARCHAR(64), this, "");
/**
* The column <code>public.pub_recruitment.hidden</code>.
*/
public final TableField<PubRecruitmentRecord, Boolean> HIDDEN = createField(DSL.name("hidden"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>public.pub_recruitment.sort</code>.
*/
public final TableField<PubRecruitmentRecord, Integer> SORT = createField(DSL.name("sort"), SQLDataType.INTEGER.nullable(false), this, "");
private PubRecruitment(Name alias, Table<PubRecruitmentRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private PubRecruitment(Name alias, Table<PubRecruitmentRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.pub_recruitment</code> table reference
*/
public PubRecruitment(String alias) {
this(DSL.name(alias), PUB_RECRUITMENT);
}
/**
* Create an aliased <code>public.pub_recruitment</code> table reference
*/
public PubRecruitment(Name alias) {
this(alias, PUB_RECRUITMENT);
}
/**
* Create a <code>public.pub_recruitment</code> table reference
*/
public PubRecruitment() {
this(DSL.name("pub_recruitment"), null);
}
public <O extends Record> PubRecruitment(Table<O> path, ForeignKey<O, PubRecruitmentRecord> childPath, InverseForeignKey<O, PubRecruitmentRecord> parentPath) {
super(path, childPath, parentPath, PUB_RECRUITMENT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class PubRecruitmentPath extends PubRecruitment implements Path<PubRecruitmentRecord> {
public <O extends Record> PubRecruitmentPath(Table<O> path, ForeignKey<O, PubRecruitmentRecord> childPath, InverseForeignKey<O, PubRecruitmentRecord> parentPath) {
super(path, childPath, parentPath);
}
private PubRecruitmentPath(Name alias, Table<PubRecruitmentRecord> aliased) {
super(alias, aliased);
}
@Override
public PubRecruitmentPath as(String alias) {
return new PubRecruitmentPath(DSL.name(alias), this);
}
@Override
public PubRecruitmentPath as(Name alias) {
return new PubRecruitmentPath(alias, this);
}
@Override
public PubRecruitmentPath as(Table<?> alias) {
return new PubRecruitmentPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public UniqueKey<PubRecruitmentRecord> getPrimaryKey() {
return Keys.RECRUITMENT_PKEY;
}
@Override
public List<UniqueKey<PubRecruitmentRecord>> getUniqueKeys() {
return Arrays.asList(Keys.RECRUITMENT_IDM_ID_KEY);
}
private transient MainProfilePath _mainProfile;
/**
* Get the implicit to-many join path to the
* <code>appeals.main_profile</code> table
*/
public MainProfilePath mainProfile() {
if (_mainProfile == null)
_mainProfile = new MainProfilePath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.MAIN_PROFILE__MAIN_PROFILE_FK1.getInverseKey());
return _mainProfile;
}
private transient ReasonsAppealPath _reasonsAppeal;
/**
* Get the implicit to-many join path to the
* <code>appeals.reasons_appeal</code> table
*/
public ReasonsAppealPath reasonsAppeal() {
if (_reasonsAppeal == null)
_reasonsAppeal = new ReasonsAppealPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.REASONS_APPEAL__REASONS_APPEAL_FK1.getInverseKey());
return _reasonsAppeal;
}
private transient ReviewRatingPath _reviewRating;
/**
* Get the implicit to-many join path to the
* <code>appeals.review_rating</code> table
*/
public ReviewRatingPath reviewRating() {
if (_reviewRating == null)
_reviewRating = new ReviewRatingPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.REVIEW_RATING__REVIEW_RATING_FK1.getInverseKey());
return _reviewRating;
}
private transient TopicAppealPath _topicAppeal;
/**
* Get the implicit to-many join path to the
* <code>appeals.topic_appeal</code> table
*/
public TopicAppealPath topicAppeal() {
if (_topicAppeal == null)
_topicAppeal = new TopicAppealPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.TOPIC_APPEAL__TOPIC_APPEAL_FK1.getInverseKey());
return _topicAppeal;
}
private transient AppealsPath _appeals;
/**
* Get the implicit to-many join path to the
* <code>main_dashboard.appeals</code> table
*/
public AppealsPath appeals() {
if (_appeals == null)
_appeals = new AppealsPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys.APPEALS__MD_APPEALS_FK1.getInverseKey());
return _appeals;
}
private transient RecruitmentCampaignPath _recruitmentCampaign;
/**
* Get the implicit to-many join path to the
* <code>main_dashboard.recruitment_campaign</code> table
*/
public RecruitmentCampaignPath recruitmentCampaign() {
if (_recruitmentCampaign == null)
_recruitmentCampaign = new RecruitmentCampaignPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys.RECRUITMENT_CAMPAIGN__RECRUITMENT_CAMPAIGN_FK1.getInverseKey());
return _recruitmentCampaign;
}
private transient TotalRegisteredPath _totalRegistered;
/**
* Get the implicit to-many join path to the
* <code>main_dashboard.total_registered</code> table
*/
public TotalRegisteredPath totalRegistered() {
if (_totalRegistered == null)
_totalRegistered = new TotalRegisteredPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys.TOTAL_REGISTERED__MD_TOTAL_REGISTERED_FK1.getInverseKey());
return _totalRegistered;
}
private transient WaitingRegistrationPath _waitingRegistration;
/**
* Get the implicit to-many join path to the
* <code>main_dashboard.waiting_registration</code> table
*/
public WaitingRegistrationPath waitingRegistration() {
if (_waitingRegistration == null)
_waitingRegistration = new WaitingRegistrationPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys.WAITING_REGISTRATION__MD_WAITING_REGISTRATION_FK1.getInverseKey());
return _waitingRegistration;
}
private transient CitizenPath _citizen;
/**
* Get the implicit to-many join path to the <code>public.citizen</code>
* table
*/
public CitizenPath citizen() {
if (_citizen == null)
_citizen = new CitizenPath(this, null, Keys.CITIZEN__P_CITIZEN_FK1.getInverseKey());
return _citizen;
}
private transient AppearSubppoenaPath _appearSubppoena;
/**
* Get the implicit to-many join path to the
* <code>ratings.appear_subppoena</code> table
*/
public AppearSubppoenaPath appearSubppoena() {
if (_appearSubppoena == null)
_appearSubppoena = new AppearSubppoenaPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys.APPEAR_SUBPPOENA__APPEAR_SUBPPOENA_FK1.getInverseKey());
return _appearSubppoena;
}
private transient ConsiderationComplaintPath _considerationComplaint;
/**
* Get the implicit to-many join path to the
* <code>ratings.consideration_complaint</code> table
*/
public ConsiderationComplaintPath considerationComplaint() {
if (_considerationComplaint == null)
_considerationComplaint = new ConsiderationComplaintPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys.CONSIDERATION_COMPLAINT__CONSIDERATION_COMPLAINT_FK1.getInverseKey());
return _considerationComplaint;
}
private transient RecruitmentPath _recruitment;
/**
* Get the implicit to-many join path to the
* <code>ratings.recruitment</code> table
*/
public RecruitmentPath recruitment() {
if (_recruitment == null)
_recruitment = new RecruitmentPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys.RECRUITMENT__R_RECRUITMENT_FK1.getInverseKey());
return _recruitment;
}
private transient SubpoenasPath _subpoenas;
/**
* Get the implicit to-many join path to the
* <code>recruitment_campaign.subpoenas</code> table
*/
public SubpoenasPath subpoenas() {
if (_subpoenas == null)
_subpoenas = new SubpoenasPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.Keys.SUBPOENAS__SUBPOENAS_FK1.getInverseKey());
return _subpoenas;
}
private transient AgePath _age;
/**
* Get the implicit to-many join path to the
* <code>total_registered.age</code> table
*/
public AgePath age() {
if (_age == null)
_age = new AgePath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.AGE__AGE_FK1.getInverseKey());
return _age;
}
private transient BusynessPath _busyness;
/**
* Get the implicit to-many join path to the
* <code>total_registered.busyness</code> table
*/
public BusynessPath busyness() {
if (_busyness == null)
_busyness = new BusynessPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.BUSYNESS__BUSYNESS_FK1.getInverseKey());
return _busyness;
}
private transient ChildMinorPath _childMinor;
/**
* Get the implicit to-many join path to the
* <code>total_registered.child_minor</code> table
*/
public ChildMinorPath childMinor() {
if (_childMinor == null)
_childMinor = new ChildMinorPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.CHILD_MINOR__CHILD_MINOR_FK1.getInverseKey());
return _childMinor;
}
private transient DriverLicensePath _driverLicense;
/**
* Get the implicit to-many join path to the
* <code>total_registered.driver_license</code> table
*/
public DriverLicensePath driverLicense() {
if (_driverLicense == null)
_driverLicense = new DriverLicensePath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.DRIVER_LICENSE__DRIVER_LICENSE_FK1.getInverseKey());
return _driverLicense;
}
private transient EducationLevelPath _educationLevel;
/**
* Get the implicit to-many join path to the
* <code>total_registered.education_level</code> table
*/
public EducationLevelPath educationLevel() {
if (_educationLevel == null)
_educationLevel = new EducationLevelPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.EDUCATION_LEVEL__EDUCATION_LEVEL_FK1.getInverseKey());
return _educationLevel;
}
private transient MaritalStatusPath _maritalStatus;
/**
* Get the implicit to-many join path to the
* <code>total_registered.marital_status</code> table
*/
public MaritalStatusPath maritalStatus() {
if (_maritalStatus == null)
_maritalStatus = new MaritalStatusPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.MARITAL_STATUS__MARITAL_STATUS_FK1.getInverseKey());
return _maritalStatus;
}
private transient RegMilCatPath _regMilCat;
/**
* Get the implicit to-many join path to the
* <code>total_registered.reg_mil_cat</code> table
*/
public RegMilCatPath regMilCat() {
if (_regMilCat == null)
_regMilCat = new RegMilCatPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.REG_MIL_CAT__REG_MIL_CAT_FK1.getInverseKey());
return _regMilCat;
}
private transient RemovedRegistryPath _removedRegistry;
/**
* Get the implicit to-many join path to the
* <code>total_registered.removed_registry</code> table
*/
public RemovedRegistryPath removedRegistry() {
if (_removedRegistry == null)
_removedRegistry = new RemovedRegistryPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.REMOVED_REGISTRY__REMOVED_REGISTRY_FK1.getInverseKey());
return _removedRegistry;
}
@Override
public PubRecruitment as(String alias) {
return new PubRecruitment(DSL.name(alias), this);
}
@Override
public PubRecruitment as(Name alias) {
return new PubRecruitment(alias, this);
}
@Override
public PubRecruitment as(Table<?> alias) {
return new PubRecruitment(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public PubRecruitment rename(String name) {
return new PubRecruitment(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public PubRecruitment rename(Name name) {
return new PubRecruitment(name, null);
}
/**
* Rename this table
*/
@Override
public PubRecruitment rename(Table<?> name) {
return new PubRecruitment(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment where(Condition condition) {
return new PubRecruitment(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PubRecruitment where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PubRecruitment where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PubRecruitment where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PubRecruitment where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public PubRecruitment whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -1,284 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen.CitizenPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.ReasonRegistrationRecord;
import java.util.Collection;
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;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ReasonRegistration extends TableImpl<ReasonRegistrationRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.reason_registration</code>
*/
public static final ReasonRegistration REASON_REGISTRATION = new ReasonRegistration();
/**
* The class holding records for this type
*/
@Override
public Class<ReasonRegistrationRecord> getRecordType() {
return ReasonRegistrationRecord.class;
}
/**
* The column
* <code>public.reason_registration.reason_registration_id</code>.
*/
public final TableField<ReasonRegistrationRecord, Long> REASON_REGISTRATION_ID = createField(DSL.name("reason_registration_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column <code>public.reason_registration.code</code>.
*/
public final TableField<ReasonRegistrationRecord, Integer> CODE = createField(DSL.name("code"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.reason_registration.name</code>.
*/
public final TableField<ReasonRegistrationRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.nullable(false), this, "");
private ReasonRegistration(Name alias, Table<ReasonRegistrationRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ReasonRegistration(Name alias, Table<ReasonRegistrationRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.reason_registration</code> table reference
*/
public ReasonRegistration(String alias) {
this(DSL.name(alias), REASON_REGISTRATION);
}
/**
* Create an aliased <code>public.reason_registration</code> table reference
*/
public ReasonRegistration(Name alias) {
this(alias, REASON_REGISTRATION);
}
/**
* Create a <code>public.reason_registration</code> table reference
*/
public ReasonRegistration() {
this(DSL.name("reason_registration"), null);
}
public <O extends Record> ReasonRegistration(Table<O> path, ForeignKey<O, ReasonRegistrationRecord> childPath, InverseForeignKey<O, ReasonRegistrationRecord> parentPath) {
super(path, childPath, parentPath, REASON_REGISTRATION);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class ReasonRegistrationPath extends ReasonRegistration implements Path<ReasonRegistrationRecord> {
public <O extends Record> ReasonRegistrationPath(Table<O> path, ForeignKey<O, ReasonRegistrationRecord> childPath, InverseForeignKey<O, ReasonRegistrationRecord> parentPath) {
super(path, childPath, parentPath);
}
private ReasonRegistrationPath(Name alias, Table<ReasonRegistrationRecord> aliased) {
super(alias, aliased);
}
@Override
public ReasonRegistrationPath as(String alias) {
return new ReasonRegistrationPath(DSL.name(alias), this);
}
@Override
public ReasonRegistrationPath as(Name alias) {
return new ReasonRegistrationPath(alias, this);
}
@Override
public ReasonRegistrationPath as(Table<?> alias) {
return new ReasonRegistrationPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<ReasonRegistrationRecord, Long> getIdentity() {
return (Identity<ReasonRegistrationRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<ReasonRegistrationRecord> getPrimaryKey() {
return Keys.REASON_REGISTRATION_PKEY;
}
private transient CitizenPath _citizen;
/**
* Get the implicit to-many join path to the <code>public.citizen</code>
* table
*/
public CitizenPath citizen() {
if (_citizen == null)
_citizen = new CitizenPath(this, null, Keys.CITIZEN__P_CITIZEN_FK6.getInverseKey());
return _citizen;
}
@Override
public ReasonRegistration as(String alias) {
return new ReasonRegistration(DSL.name(alias), this);
}
@Override
public ReasonRegistration as(Name alias) {
return new ReasonRegistration(alias, this);
}
@Override
public ReasonRegistration as(Table<?> alias) {
return new ReasonRegistration(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ReasonRegistration rename(String name) {
return new ReasonRegistration(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ReasonRegistration rename(Name name) {
return new ReasonRegistration(name, null);
}
/**
* Rename this table
*/
@Override
public ReasonRegistration rename(Table<?> name) {
return new ReasonRegistration(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonRegistration where(Condition condition) {
return new ReasonRegistration(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonRegistration where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonRegistration where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonRegistration where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReasonRegistration where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReasonRegistration where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReasonRegistration where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ReasonRegistration where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonRegistration whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ReasonRegistration whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,236 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.ChannelLog;
import java.sql.Date;
import org.jooq.impl.TableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ChannelLogRecord extends TableRecordImpl<ChannelLogRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.channel_log.id_batch</code>.
*/
public void setIdBatch(Long value) {
set(0, value);
}
/**
* Getter for <code>public.channel_log.id_batch</code>.
*/
public Long getIdBatch() {
return (Long) get(0);
}
/**
* Setter for <code>public.channel_log.channel_id</code>.
*/
public void setChannelId(String value) {
set(1, value);
}
/**
* Getter for <code>public.channel_log.channel_id</code>.
*/
public String getChannelId() {
return (String) get(1);
}
/**
* Setter for <code>public.channel_log.log_date</code>.
*/
public void setLogDate(Date value) {
set(2, value);
}
/**
* Getter for <code>public.channel_log.log_date</code>.
*/
public Date getLogDate() {
return (Date) get(2);
}
/**
* Setter for <code>public.channel_log.logging_object_type</code>.
*/
public void setLoggingObjectType(String value) {
set(3, value);
}
/**
* Getter for <code>public.channel_log.logging_object_type</code>.
*/
public String getLoggingObjectType() {
return (String) get(3);
}
/**
* Setter for <code>public.channel_log.object_name</code>.
*/
public void setObjectName(String value) {
set(4, value);
}
/**
* Getter for <code>public.channel_log.object_name</code>.
*/
public String getObjectName() {
return (String) get(4);
}
/**
* Setter for <code>public.channel_log.object_copy</code>.
*/
public void setObjectCopy(String value) {
set(5, value);
}
/**
* Getter for <code>public.channel_log.object_copy</code>.
*/
public String getObjectCopy() {
return (String) get(5);
}
/**
* Setter for <code>public.channel_log.repository_directory</code>.
*/
public void setRepositoryDirectory(String value) {
set(6, value);
}
/**
* Getter for <code>public.channel_log.repository_directory</code>.
*/
public String getRepositoryDirectory() {
return (String) get(6);
}
/**
* Setter for <code>public.channel_log.filename</code>.
*/
public void setFilename(String value) {
set(7, value);
}
/**
* Getter for <code>public.channel_log.filename</code>.
*/
public String getFilename() {
return (String) get(7);
}
/**
* Setter for <code>public.channel_log.object_id</code>.
*/
public void setObjectId(String value) {
set(8, value);
}
/**
* Getter for <code>public.channel_log.object_id</code>.
*/
public String getObjectId() {
return (String) get(8);
}
/**
* Setter for <code>public.channel_log.object_version</code>.
*/
public void setObjectVersion(String value) {
set(9, value);
}
/**
* Getter for <code>public.channel_log.object_version</code>.
*/
public String getObjectVersion() {
return (String) get(9);
}
/**
* Setter for <code>public.channel_log.object_revision</code>.
*/
public void setObjectRevision(String value) {
set(10, value);
}
/**
* Getter for <code>public.channel_log.object_revision</code>.
*/
public String getObjectRevision() {
return (String) get(10);
}
/**
* Setter for <code>public.channel_log.parent_channel_id</code>.
*/
public void setParentChannelId(String value) {
set(11, value);
}
/**
* Getter for <code>public.channel_log.parent_channel_id</code>.
*/
public String getParentChannelId() {
return (String) get(11);
}
/**
* Setter for <code>public.channel_log.root_channel_id</code>.
*/
public void setRootChannelId(String value) {
set(12, value);
}
/**
* Getter for <code>public.channel_log.root_channel_id</code>.
*/
public String getRootChannelId() {
return (String) get(12);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ChannelLogRecord
*/
public ChannelLogRecord() {
super(ChannelLog.CHANNEL_LOG);
}
/**
* Create a detached, initialised ChannelLogRecord
*/
public ChannelLogRecord(Long idBatch, String channelId, Date logDate, String loggingObjectType, String objectName, String objectCopy, String repositoryDirectory, String filename, String objectId, String objectVersion, String objectRevision, String parentChannelId, String rootChannelId) {
super(ChannelLog.CHANNEL_LOG);
setIdBatch(idBatch);
setChannelId(channelId);
setLogDate(logDate);
setLoggingObjectType(loggingObjectType);
setObjectName(objectName);
setObjectCopy(objectCopy);
setRepositoryDirectory(repositoryDirectory);
setFilename(filename);
setObjectId(objectId);
setObjectVersion(objectVersion);
setObjectRevision(objectRevision);
setParentChannelId(parentChannelId);
setRootChannelId(rootChannelId);
resetChangedOnNotNull();
}
}

View file

@ -1,352 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen;
import java.sql.Date;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class CitizenRecord extends UpdatableRecordImpl<CitizenRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.citizen.id_ERN</code>.
*/
public void setIdErn(String value) {
set(0, value);
}
/**
* Getter for <code>public.citizen.id_ERN</code>.
*/
public String getIdErn() {
return (String) get(0);
}
/**
* Setter for <code>public.citizen.fio</code>.
*/
public void setFio(String value) {
set(1, value);
}
/**
* Getter for <code>public.citizen.fio</code>.
*/
public String getFio() {
return (String) get(1);
}
/**
* Setter for <code>public.citizen.residence</code>.
*/
public void setResidence(String value) {
set(2, value);
}
/**
* Getter for <code>public.citizen.residence</code>.
*/
public String getResidence() {
return (String) get(2);
}
/**
* Setter for <code>public.citizen.age</code>.
*/
public void setAge(String value) {
set(3, value);
}
/**
* Getter for <code>public.citizen.age</code>.
*/
public String getAge() {
return (String) get(3);
}
/**
* Setter for <code>public.citizen.recruitment</code>.
*/
public void setRecruitment(String value) {
set(4, value);
}
/**
* Getter for <code>public.citizen.recruitment</code>.
*/
public String getRecruitment() {
return (String) get(4);
}
/**
* Setter for <code>public.citizen.recruitment_id</code>.
*/
public void setRecruitmentId(UUID value) {
set(5, value);
}
/**
* Getter for <code>public.citizen.recruitment_id</code>.
*/
public UUID getRecruitmentId() {
return (UUID) get(5);
}
/**
* Setter for <code>public.citizen.gender_id</code>.
*/
public void setGenderId(Long value) {
set(6, value);
}
/**
* Getter for <code>public.citizen.gender_id</code>.
*/
public Long getGenderId() {
return (Long) get(6);
}
/**
* Setter for <code>public.citizen.marital_status_id</code>.
*/
public void setMaritalStatusId(Long value) {
set(7, value);
}
/**
* Getter for <code>public.citizen.marital_status_id</code>.
*/
public Long getMaritalStatusId() {
return (Long) get(7);
}
/**
* Setter for <code>public.citizen.education_id</code>.
*/
public void setEducationId(Long value) {
set(8, value);
}
/**
* Getter for <code>public.citizen.education_id</code>.
*/
public Long getEducationId() {
return (Long) get(8);
}
/**
* Setter for <code>public.citizen.employment_id</code>.
*/
public void setEmploymentId(Long value) {
set(9, value);
}
/**
* Getter for <code>public.citizen.employment_id</code>.
*/
public Long getEmploymentId() {
return (Long) get(9);
}
/**
* Setter for <code>public.citizen.urgent_service</code>.
*/
public void setUrgentService(Boolean value) {
set(10, value);
}
/**
* Getter for <code>public.citizen.urgent_service</code>.
*/
public Boolean getUrgentService() {
return (Boolean) get(10);
}
/**
* Setter for <code>public.citizen.contract_service</code>.
*/
public void setContractService(Boolean value) {
set(11, value);
}
/**
* Getter for <code>public.citizen.contract_service</code>.
*/
public Boolean getContractService() {
return (Boolean) get(11);
}
/**
* Setter for <code>public.citizen.mobilization</code>.
*/
public void setMobilization(Boolean value) {
set(12, value);
}
/**
* Getter for <code>public.citizen.mobilization</code>.
*/
public Boolean getMobilization() {
return (Boolean) get(12);
}
/**
* Setter for <code>public.citizen.is_registered</code>.
*/
public void setIsRegistered(Boolean value) {
set(13, value);
}
/**
* Getter for <code>public.citizen.is_registered</code>.
*/
public Boolean getIsRegistered() {
return (Boolean) get(13);
}
/**
* Setter for <code>public.citizen.reason_registration_id</code>.
*/
public void setReasonRegistrationId(Integer value) {
set(14, value);
}
/**
* Getter for <code>public.citizen.reason_registration_id</code>.
*/
public Integer getReasonRegistrationId() {
return (Integer) get(14);
}
/**
* Setter for <code>public.citizen.issue_date</code>.
*/
public void setIssueDate(Date value) {
set(15, value);
}
/**
* Getter for <code>public.citizen.issue_date</code>.
*/
public Date getIssueDate() {
return (Date) get(15);
}
/**
* Setter for <code>public.citizen.passport_series</code>.
*/
public void setPassportSeries(String value) {
set(16, value);
}
/**
* Getter for <code>public.citizen.passport_series</code>.
*/
public String getPassportSeries() {
return (String) get(16);
}
/**
* Setter for <code>public.citizen.passport_number</code>.
*/
public void setPassportNumber(String value) {
set(17, value);
}
/**
* Getter for <code>public.citizen.passport_number</code>.
*/
public String getPassportNumber() {
return (String) get(17);
}
/**
* Setter for <code>public.citizen.number_children</code>.
*/
public void setNumberChildren(Integer value) {
set(18, value);
}
/**
* Getter for <code>public.citizen.number_children</code>.
*/
public Integer getNumberChildren() {
return (Integer) get(18);
}
/**
* Setter for <code>public.citizen.phone</code>.
*/
public void setPhone(String value) {
set(19, value);
}
/**
* Getter for <code>public.citizen.phone</code>.
*/
public String getPhone() {
return (String) get(19);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<String> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached CitizenRecord
*/
public CitizenRecord() {
super(Citizen.CITIZEN);
}
/**
* Create a detached, initialised CitizenRecord
*/
public CitizenRecord(String idErn, String fio, String residence, String age, String recruitment, UUID recruitmentId, Long genderId, Long maritalStatusId, Long educationId, Long employmentId, Boolean urgentService, Boolean contractService, Boolean mobilization, Boolean isRegistered, Integer reasonRegistrationId, Date issueDate, String passportSeries, String passportNumber, Integer numberChildren, String phone) {
super(Citizen.CITIZEN);
setIdErn(idErn);
setFio(fio);
setResidence(residence);
setAge(age);
setRecruitment(recruitment);
setRecruitmentId(recruitmentId);
setGenderId(genderId);
setMaritalStatusId(maritalStatusId);
setEducationId(educationId);
setEmploymentId(employmentId);
setUrgentService(urgentService);
setContractService(contractService);
setMobilization(mobilization);
setIsRegistered(isRegistered);
setReasonRegistrationId(reasonRegistrationId);
setIssueDate(issueDate);
setPassportSeries(passportSeries);
setPassportNumber(passportNumber);
setNumberChildren(numberChildren);
setPhone(phone);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,251 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Databasechangelog;
import java.sql.Timestamp;
import org.jooq.impl.TableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DatabasechangelogRecord extends TableRecordImpl<DatabasechangelogRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.databasechangelog.id</code>.
*/
public void setId(String value) {
set(0, value);
}
/**
* Getter for <code>public.databasechangelog.id</code>.
*/
public String getId() {
return (String) get(0);
}
/**
* Setter for <code>public.databasechangelog.author</code>.
*/
public void setAuthor(String value) {
set(1, value);
}
/**
* Getter for <code>public.databasechangelog.author</code>.
*/
public String getAuthor() {
return (String) get(1);
}
/**
* Setter for <code>public.databasechangelog.filename</code>.
*/
public void setFilename(String value) {
set(2, value);
}
/**
* Getter for <code>public.databasechangelog.filename</code>.
*/
public String getFilename() {
return (String) get(2);
}
/**
* Setter for <code>public.databasechangelog.dateexecuted</code>.
*/
public void setDateexecuted(Timestamp value) {
set(3, value);
}
/**
* Getter for <code>public.databasechangelog.dateexecuted</code>.
*/
public Timestamp getDateexecuted() {
return (Timestamp) get(3);
}
/**
* Setter for <code>public.databasechangelog.orderexecuted</code>.
*/
public void setOrderexecuted(Integer value) {
set(4, value);
}
/**
* Getter for <code>public.databasechangelog.orderexecuted</code>.
*/
public Integer getOrderexecuted() {
return (Integer) get(4);
}
/**
* Setter for <code>public.databasechangelog.exectype</code>.
*/
public void setExectype(String value) {
set(5, value);
}
/**
* Getter for <code>public.databasechangelog.exectype</code>.
*/
public String getExectype() {
return (String) get(5);
}
/**
* Setter for <code>public.databasechangelog.md5sum</code>.
*/
public void setMd5sum(String value) {
set(6, value);
}
/**
* Getter for <code>public.databasechangelog.md5sum</code>.
*/
public String getMd5sum() {
return (String) get(6);
}
/**
* Setter for <code>public.databasechangelog.description</code>.
*/
public void setDescription(String value) {
set(7, value);
}
/**
* Getter for <code>public.databasechangelog.description</code>.
*/
public String getDescription() {
return (String) get(7);
}
/**
* Setter for <code>public.databasechangelog.comments</code>.
*/
public void setComments(String value) {
set(8, value);
}
/**
* Getter for <code>public.databasechangelog.comments</code>.
*/
public String getComments() {
return (String) get(8);
}
/**
* Setter for <code>public.databasechangelog.tag</code>.
*/
public void setTag(String value) {
set(9, value);
}
/**
* Getter for <code>public.databasechangelog.tag</code>.
*/
public String getTag() {
return (String) get(9);
}
/**
* Setter for <code>public.databasechangelog.liquibase</code>.
*/
public void setLiquibase(String value) {
set(10, value);
}
/**
* Getter for <code>public.databasechangelog.liquibase</code>.
*/
public String getLiquibase() {
return (String) get(10);
}
/**
* Setter for <code>public.databasechangelog.contexts</code>.
*/
public void setContexts(String value) {
set(11, value);
}
/**
* Getter for <code>public.databasechangelog.contexts</code>.
*/
public String getContexts() {
return (String) get(11);
}
/**
* Setter for <code>public.databasechangelog.labels</code>.
*/
public void setLabels(String value) {
set(12, value);
}
/**
* Getter for <code>public.databasechangelog.labels</code>.
*/
public String getLabels() {
return (String) get(12);
}
/**
* Setter for <code>public.databasechangelog.deployment_id</code>.
*/
public void setDeploymentId(String value) {
set(13, value);
}
/**
* Getter for <code>public.databasechangelog.deployment_id</code>.
*/
public String getDeploymentId() {
return (String) get(13);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached DatabasechangelogRecord
*/
public DatabasechangelogRecord() {
super(Databasechangelog.DATABASECHANGELOG);
}
/**
* Create a detached, initialised DatabasechangelogRecord
*/
public DatabasechangelogRecord(String id, String author, String filename, Timestamp dateexecuted, Integer orderexecuted, String exectype, String md5sum, String description, String comments, String tag, String liquibase, String contexts, String labels, String deploymentId) {
super(Databasechangelog.DATABASECHANGELOG);
setId(id);
setAuthor(author);
setFilename(filename);
setDateexecuted(dateexecuted);
setOrderexecuted(orderexecuted);
setExectype(exectype);
setMd5sum(md5sum);
setDescription(description);
setComments(comments);
setTag(tag);
setLiquibase(liquibase);
setContexts(contexts);
setLabels(labels);
setDeploymentId(deploymentId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,111 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Databasechangeloglock;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DatabasechangeloglockRecord extends UpdatableRecordImpl<DatabasechangeloglockRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.databasechangeloglock.id</code>.
*/
public void setId(Integer value) {
set(0, value);
}
/**
* Getter for <code>public.databasechangeloglock.id</code>.
*/
public Integer getId() {
return (Integer) get(0);
}
/**
* Setter for <code>public.databasechangeloglock.locked</code>.
*/
public void setLocked(Boolean value) {
set(1, value);
}
/**
* Getter for <code>public.databasechangeloglock.locked</code>.
*/
public Boolean getLocked() {
return (Boolean) get(1);
}
/**
* Setter for <code>public.databasechangeloglock.lockgranted</code>.
*/
public void setLockgranted(Timestamp value) {
set(2, value);
}
/**
* Getter for <code>public.databasechangeloglock.lockgranted</code>.
*/
public Timestamp getLockgranted() {
return (Timestamp) get(2);
}
/**
* Setter for <code>public.databasechangeloglock.lockedby</code>.
*/
public void setLockedby(String value) {
set(3, value);
}
/**
* Getter for <code>public.databasechangeloglock.lockedby</code>.
*/
public String getLockedby() {
return (String) get(3);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached DatabasechangeloglockRecord
*/
public DatabasechangeloglockRecord() {
super(Databasechangeloglock.DATABASECHANGELOGLOCK);
}
/**
* Create a detached, initialised DatabasechangeloglockRecord
*/
public DatabasechangeloglockRecord(Integer id, Boolean locked, Timestamp lockgranted, String lockedby) {
super(Databasechangeloglock.DATABASECHANGELOGLOCK);
setId(id);
setLocked(locked);
setLockgranted(lockgranted);
setLockedby(lockedby);
resetChangedOnNotNull();
}
}

View file

@ -1,94 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Education;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class EducationRecord extends UpdatableRecordImpl<EducationRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.education.education_id</code>.
*/
public void setEducationId(Long value) {
set(0, value);
}
/**
* Getter for <code>public.education.education_id</code>.
*/
public Long getEducationId() {
return (Long) get(0);
}
/**
* Setter for <code>public.education.code</code>.
*/
public void setCode(Integer value) {
set(1, value);
}
/**
* Getter for <code>public.education.code</code>.
*/
public Integer getCode() {
return (Integer) get(1);
}
/**
* Setter for <code>public.education.name</code>.
*/
public void setName(String value) {
set(2, value);
}
/**
* Getter for <code>public.education.name</code>.
*/
public String getName() {
return (String) get(2);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached EducationRecord
*/
public EducationRecord() {
super(Education.EDUCATION);
}
/**
* Create a detached, initialised EducationRecord
*/
public EducationRecord(Long educationId, Integer code, String name) {
super(Education.EDUCATION);
setEducationId(educationId);
setCode(code);
setName(name);
resetChangedOnNotNull();
}
}

View file

@ -1,94 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Employment;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class EmploymentRecord extends UpdatableRecordImpl<EmploymentRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.employment.employment_id</code>.
*/
public void setEmploymentId(Long value) {
set(0, value);
}
/**
* Getter for <code>public.employment.employment_id</code>.
*/
public Long getEmploymentId() {
return (Long) get(0);
}
/**
* Setter for <code>public.employment.code</code>.
*/
public void setCode(Integer value) {
set(1, value);
}
/**
* Getter for <code>public.employment.code</code>.
*/
public Integer getCode() {
return (Integer) get(1);
}
/**
* Setter for <code>public.employment.name</code>.
*/
public void setName(String value) {
set(2, value);
}
/**
* Getter for <code>public.employment.name</code>.
*/
public String getName() {
return (String) get(2);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached EmploymentRecord
*/
public EmploymentRecord() {
super(Employment.EMPLOYMENT);
}
/**
* Create a detached, initialised EmploymentRecord
*/
public EmploymentRecord(Long employmentId, Integer code, String name) {
super(Employment.EMPLOYMENT);
setEmploymentId(employmentId);
setCode(code);
setName(name);
resetChangedOnNotNull();
}
}

View file

@ -1,94 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Gender;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class GenderRecord extends UpdatableRecordImpl<GenderRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.gender.gender_id</code>.
*/
public void setGenderId(Long value) {
set(0, value);
}
/**
* Getter for <code>public.gender.gender_id</code>.
*/
public Long getGenderId() {
return (Long) get(0);
}
/**
* Setter for <code>public.gender.code</code>.
*/
public void setCode(String value) {
set(1, value);
}
/**
* Getter for <code>public.gender.code</code>.
*/
public String getCode() {
return (String) get(1);
}
/**
* Setter for <code>public.gender.name</code>.
*/
public void setName(String value) {
set(2, value);
}
/**
* Getter for <code>public.gender.name</code>.
*/
public String getName() {
return (String) get(2);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached GenderRecord
*/
public GenderRecord() {
super(Gender.GENDER);
}
/**
* Create a detached, initialised GenderRecord
*/
public GenderRecord(Long genderId, String code, String name) {
super(Gender.GENDER);
setGenderId(genderId);
setCode(code);
setName(name);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,266 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.JobEntryLog;
import java.sql.Date;
import org.jooq.impl.TableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class JobEntryLogRecord extends TableRecordImpl<JobEntryLogRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.job_entry_log.id_batch</code>.
*/
public void setIdBatch(Long value) {
set(0, value);
}
/**
* Getter for <code>public.job_entry_log.id_batch</code>.
*/
public Long getIdBatch() {
return (Long) get(0);
}
/**
* Setter for <code>public.job_entry_log.channel_id</code>.
*/
public void setChannelId(String value) {
set(1, value);
}
/**
* Getter for <code>public.job_entry_log.channel_id</code>.
*/
public String getChannelId() {
return (String) get(1);
}
/**
* Setter for <code>public.job_entry_log.log_date</code>.
*/
public void setLogDate(Date value) {
set(2, value);
}
/**
* Getter for <code>public.job_entry_log.log_date</code>.
*/
public Date getLogDate() {
return (Date) get(2);
}
/**
* Setter for <code>public.job_entry_log.transname</code>.
*/
public void setTransname(String value) {
set(3, value);
}
/**
* Getter for <code>public.job_entry_log.transname</code>.
*/
public String getTransname() {
return (String) get(3);
}
/**
* Setter for <code>public.job_entry_log.stepname</code>.
*/
public void setStepname(String value) {
set(4, value);
}
/**
* Getter for <code>public.job_entry_log.stepname</code>.
*/
public String getStepname() {
return (String) get(4);
}
/**
* Setter for <code>public.job_entry_log.lines_read</code>.
*/
public void setLinesRead(String value) {
set(5, value);
}
/**
* Getter for <code>public.job_entry_log.lines_read</code>.
*/
public String getLinesRead() {
return (String) get(5);
}
/**
* Setter for <code>public.job_entry_log.lines_written</code>.
*/
public void setLinesWritten(String value) {
set(6, value);
}
/**
* Getter for <code>public.job_entry_log.lines_written</code>.
*/
public String getLinesWritten() {
return (String) get(6);
}
/**
* Setter for <code>public.job_entry_log.lines_updated</code>.
*/
public void setLinesUpdated(String value) {
set(7, value);
}
/**
* Getter for <code>public.job_entry_log.lines_updated</code>.
*/
public String getLinesUpdated() {
return (String) get(7);
}
/**
* Setter for <code>public.job_entry_log.lines_input</code>.
*/
public void setLinesInput(String value) {
set(8, value);
}
/**
* Getter for <code>public.job_entry_log.lines_input</code>.
*/
public String getLinesInput() {
return (String) get(8);
}
/**
* Setter for <code>public.job_entry_log.lines_output</code>.
*/
public void setLinesOutput(String value) {
set(9, value);
}
/**
* Getter for <code>public.job_entry_log.lines_output</code>.
*/
public String getLinesOutput() {
return (String) get(9);
}
/**
* Setter for <code>public.job_entry_log.lines_rejected</code>.
*/
public void setLinesRejected(String value) {
set(10, value);
}
/**
* Getter for <code>public.job_entry_log.lines_rejected</code>.
*/
public String getLinesRejected() {
return (String) get(10);
}
/**
* Setter for <code>public.job_entry_log.errors</code>.
*/
public void setErrors(String value) {
set(11, value);
}
/**
* Getter for <code>public.job_entry_log.errors</code>.
*/
public String getErrors() {
return (String) get(11);
}
/**
* Setter for <code>public.job_entry_log.RESULT</code>.
*/
public void setResult(String value) {
set(12, value);
}
/**
* Getter for <code>public.job_entry_log.RESULT</code>.
*/
public String getResult() {
return (String) get(12);
}
/**
* Setter for <code>public.job_entry_log.nr_result_rows</code>.
*/
public void setNrResultRows(String value) {
set(13, value);
}
/**
* Getter for <code>public.job_entry_log.nr_result_rows</code>.
*/
public String getNrResultRows() {
return (String) get(13);
}
/**
* Setter for <code>public.job_entry_log.nr_result_files</code>.
*/
public void setNrResultFiles(String value) {
set(14, value);
}
/**
* Getter for <code>public.job_entry_log.nr_result_files</code>.
*/
public String getNrResultFiles() {
return (String) get(14);
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached JobEntryLogRecord
*/
public JobEntryLogRecord() {
super(JobEntryLog.JOB_ENTRY_LOG);
}
/**
* Create a detached, initialised JobEntryLogRecord
*/
public JobEntryLogRecord(Long idBatch, String channelId, Date logDate, String transname, String stepname, String linesRead, String linesWritten, String linesUpdated, String linesInput, String linesOutput, String linesRejected, String errors, String result, String nrResultRows, String nrResultFiles) {
super(JobEntryLog.JOB_ENTRY_LOG);
setIdBatch(idBatch);
setChannelId(channelId);
setLogDate(logDate);
setTransname(transname);
setStepname(stepname);
setLinesRead(linesRead);
setLinesWritten(linesWritten);
setLinesUpdated(linesUpdated);
setLinesInput(linesInput);
setLinesOutput(linesOutput);
setLinesRejected(linesRejected);
setErrors(errors);
setResult(result);
setNrResultRows(nrResultRows);
setNrResultFiles(nrResultFiles);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,306 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.JobLog;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class JobLogRecord extends UpdatableRecordImpl<JobLogRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.job_log.jobname</code>.
*/
public void setJobname(String value) {
set(0, value);
}
/**
* Getter for <code>public.job_log.jobname</code>.
*/
public String getJobname() {
return (String) get(0);
}
/**
* Setter for <code>public.job_log.status</code>.
*/
public void setStatus(String value) {
set(1, value);
}
/**
* Getter for <code>public.job_log.status</code>.
*/
public String getStatus() {
return (String) get(1);
}
/**
* Setter for <code>public.job_log.enddate</code>.
*/
public void setEnddate(Timestamp value) {
set(2, value);
}
/**
* Getter for <code>public.job_log.enddate</code>.
*/
public Timestamp getEnddate() {
return (Timestamp) get(2);
}
/**
* Setter for <code>public.job_log.depdate</code>.
*/
public void setDepdate(Timestamp value) {
set(3, value);
}
/**
* Getter for <code>public.job_log.depdate</code>.
*/
public Timestamp getDepdate() {
return (Timestamp) get(3);
}
/**
* Setter for <code>public.job_log.startdate</code>.
*/
public void setStartdate(Timestamp value) {
set(4, value);
}
/**
* Getter for <code>public.job_log.startdate</code>.
*/
public Timestamp getStartdate() {
return (Timestamp) get(4);
}
/**
* Setter for <code>public.job_log.logdate</code>.
*/
public void setLogdate(Timestamp value) {
set(5, value);
}
/**
* Getter for <code>public.job_log.logdate</code>.
*/
public Timestamp getLogdate() {
return (Timestamp) get(5);
}
/**
* Setter for <code>public.job_log.channel_id</code>.
*/
public void setChannelId(String value) {
set(6, value);
}
/**
* Getter for <code>public.job_log.channel_id</code>.
*/
public String getChannelId() {
return (String) get(6);
}
/**
* Setter for <code>public.job_log.id_job</code>.
*/
public void setIdJob(Long value) {
set(7, value);
}
/**
* Getter for <code>public.job_log.id_job</code>.
*/
public Long getIdJob() {
return (Long) get(7);
}
/**
* Setter for <code>public.job_log.replaydate</code>.
*/
public void setReplaydate(Timestamp value) {
set(8, value);
}
/**
* Getter for <code>public.job_log.replaydate</code>.
*/
public Timestamp getReplaydate() {
return (Timestamp) get(8);
}
/**
* Setter for <code>public.job_log.log_field</code>.
*/
public void setLogField(String value) {
set(9, value);
}
/**
* Getter for <code>public.job_log.log_field</code>.
*/
public String getLogField() {
return (String) get(9);
}
/**
* Setter for <code>public.job_log.errors</code>.
*/
public void setErrors(Integer value) {
set(10, value);
}
/**
* Getter for <code>public.job_log.errors</code>.
*/
public Integer getErrors() {
return (Integer) get(10);
}
/**
* Setter for <code>public.job_log.lines_rejected</code>.
*/
public void setLinesRejected(Integer value) {
set(11, value);
}
/**
* Getter for <code>public.job_log.lines_rejected</code>.
*/
public Integer getLinesRejected() {
return (Integer) get(11);
}
/**
* Setter for <code>public.job_log.lines_updated</code>.
*/
public void setLinesUpdated(Integer value) {
set(12, value);
}
/**
* Getter for <code>public.job_log.lines_updated</code>.
*/
public Integer getLinesUpdated() {
return (Integer) get(12);
}
/**
* Setter for <code>public.job_log.lines_input</code>.
*/
public void setLinesInput(Integer value) {
set(13, value);
}
/**
* Getter for <code>public.job_log.lines_input</code>.
*/
public Integer getLinesInput() {
return (Integer) get(13);
}
/**
* Setter for <code>public.job_log.lines_output</code>.
*/
public void setLinesOutput(Integer value) {
set(14, value);
}
/**
* Getter for <code>public.job_log.lines_output</code>.
*/
public Integer getLinesOutput() {
return (Integer) get(14);
}
/**
* Setter for <code>public.job_log.lines_written</code>.
*/
public void setLinesWritten(Integer value) {
set(15, value);
}
/**
* Getter for <code>public.job_log.lines_written</code>.
*/
public Integer getLinesWritten() {
return (Integer) get(15);
}
/**
* Setter for <code>public.job_log.lines_read</code>.
*/
public void setLinesRead(Integer value) {
set(16, value);
}
/**
* Getter for <code>public.job_log.lines_read</code>.
*/
public Integer getLinesRead() {
return (Integer) get(16);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached JobLogRecord
*/
public JobLogRecord() {
super(JobLog.JOB_LOG);
}
/**
* Create a detached, initialised JobLogRecord
*/
public JobLogRecord(String jobname, String status, Timestamp enddate, Timestamp depdate, Timestamp startdate, Timestamp logdate, String channelId, Long idJob, Timestamp replaydate, String logField, Integer errors, Integer linesRejected, Integer linesUpdated, Integer linesInput, Integer linesOutput, Integer linesWritten, Integer linesRead) {
super(JobLog.JOB_LOG);
setJobname(jobname);
setStatus(status);
setEnddate(enddate);
setDepdate(depdate);
setStartdate(startdate);
setLogdate(logdate);
setChannelId(channelId);
setIdJob(idJob);
setReplaydate(replaydate);
setLogField(logField);
setErrors(errors);
setLinesRejected(linesRejected);
setLinesUpdated(linesUpdated);
setLinesInput(linesInput);
setLinesOutput(linesOutput);
setLinesWritten(linesWritten);
setLinesRead(linesRead);
resetChangedOnNotNull();
}
}

View file

@ -1,109 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.MaritalStatus;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class MaritalStatusRecord extends UpdatableRecordImpl<MaritalStatusRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.marital_status.marital_status_id</code>.
*/
public void setMaritalStatusId(Long value) {
set(0, value);
}
/**
* Getter for <code>public.marital_status.marital_status_id</code>.
*/
public Long getMaritalStatusId() {
return (Long) get(0);
}
/**
* Setter for <code>public.marital_status.code</code>.
*/
public void setCode(String value) {
set(1, value);
}
/**
* Getter for <code>public.marital_status.code</code>.
*/
public String getCode() {
return (String) get(1);
}
/**
* Setter for <code>public.marital_status.name</code>.
*/
public void setName(String value) {
set(2, value);
}
/**
* Getter for <code>public.marital_status.name</code>.
*/
public String getName() {
return (String) get(2);
}
/**
* Setter for <code>public.marital_status.gender_id</code>.
*/
public void setGenderId(Long value) {
set(3, value);
}
/**
* Getter for <code>public.marital_status.gender_id</code>.
*/
public Long getGenderId() {
return (Long) get(3);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached MaritalStatusRecord
*/
public MaritalStatusRecord() {
super(MaritalStatus.MARITAL_STATUS);
}
/**
* Create a detached, initialised MaritalStatusRecord
*/
public MaritalStatusRecord(Long maritalStatusId, String code, String name, Long genderId) {
super(MaritalStatus.MARITAL_STATUS);
setMaritalStatusId(maritalStatusId);
setCode(code);
setName(name);
setGenderId(genderId);
resetChangedOnNotNull();
}
}

View file

@ -1,577 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import java.sql.Timestamp;
import java.util.UUID;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PubRecruitmentRecord extends UpdatableRecordImpl<PubRecruitmentRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.pub_recruitment.id</code>.
*/
public void setId(UUID value) {
set(0, value);
}
/**
* Getter for <code>public.pub_recruitment.id</code>.
*/
public UUID getId() {
return (UUID) get(0);
}
/**
* Setter for <code>public.pub_recruitment.idm_id</code>.
*/
public void setIdmId(String value) {
set(1, value);
}
/**
* Getter for <code>public.pub_recruitment.idm_id</code>.
*/
public String getIdmId() {
return (String) get(1);
}
/**
* Setter for <code>public.pub_recruitment.parent_id</code>.
*/
public void setParentId(String value) {
set(2, value);
}
/**
* Getter for <code>public.pub_recruitment.parent_id</code>.
*/
public String getParentId() {
return (String) get(2);
}
/**
* Setter for <code>public.pub_recruitment.version</code>.
*/
public void setVersion(Integer value) {
set(3, value);
}
/**
* Getter for <code>public.pub_recruitment.version</code>.
*/
public Integer getVersion() {
return (Integer) get(3);
}
/**
* Setter for <code>public.pub_recruitment.created_at</code>.
*/
public void setCreatedAt(Timestamp value) {
set(4, value);
}
/**
* Getter for <code>public.pub_recruitment.created_at</code>.
*/
public Timestamp getCreatedAt() {
return (Timestamp) get(4);
}
/**
* Setter for <code>public.pub_recruitment.updated_at</code>.
*/
public void setUpdatedAt(Timestamp value) {
set(5, value);
}
/**
* Getter for <code>public.pub_recruitment.updated_at</code>.
*/
public Timestamp getUpdatedAt() {
return (Timestamp) get(5);
}
/**
* Setter for <code>public.pub_recruitment.schema</code>.
*/
public void setSchema(String value) {
set(6, value);
}
/**
* Getter for <code>public.pub_recruitment.schema</code>.
*/
public String getSchema() {
return (String) get(6);
}
/**
* Setter for <code>public.pub_recruitment.military_code</code>.
*/
public void setMilitaryCode(String value) {
set(7, value);
}
/**
* Getter for <code>public.pub_recruitment.military_code</code>.
*/
public String getMilitaryCode() {
return (String) get(7);
}
/**
* Setter for <code>public.pub_recruitment.shortname</code>.
*/
public void setShortname(String value) {
set(8, value);
}
/**
* Getter for <code>public.pub_recruitment.shortname</code>.
*/
public String getShortname() {
return (String) get(8);
}
/**
* Setter for <code>public.pub_recruitment.fullname</code>.
*/
public void setFullname(String value) {
set(9, value);
}
/**
* Getter for <code>public.pub_recruitment.fullname</code>.
*/
public String getFullname() {
return (String) get(9);
}
/**
* Setter for <code>public.pub_recruitment.dns</code>.
*/
public void setDns(String value) {
set(10, value);
}
/**
* Getter for <code>public.pub_recruitment.dns</code>.
*/
public String getDns() {
return (String) get(10);
}
/**
* Setter for <code>public.pub_recruitment.email</code>.
*/
public void setEmail(String value) {
set(11, value);
}
/**
* Getter for <code>public.pub_recruitment.email</code>.
*/
public String getEmail() {
return (String) get(11);
}
/**
* Setter for <code>public.pub_recruitment.phone</code>.
*/
public void setPhone(String value) {
set(12, value);
}
/**
* Getter for <code>public.pub_recruitment.phone</code>.
*/
public String getPhone() {
return (String) get(12);
}
/**
* Setter for <code>public.pub_recruitment.address</code>.
*/
public void setAddress(String value) {
set(13, value);
}
/**
* Getter for <code>public.pub_recruitment.address</code>.
*/
public String getAddress() {
return (String) get(13);
}
/**
* Setter for <code>public.pub_recruitment.address_id</code>.
*/
public void setAddressId(String value) {
set(14, value);
}
/**
* Getter for <code>public.pub_recruitment.address_id</code>.
*/
public String getAddressId() {
return (String) get(14);
}
/**
* Setter for <code>public.pub_recruitment.postal_address</code>.
*/
public void setPostalAddress(String value) {
set(15, value);
}
/**
* Getter for <code>public.pub_recruitment.postal_address</code>.
*/
public String getPostalAddress() {
return (String) get(15);
}
/**
* Setter for <code>public.pub_recruitment.postal_address_id</code>.
*/
public void setPostalAddressId(String value) {
set(16, value);
}
/**
* Getter for <code>public.pub_recruitment.postal_address_id</code>.
*/
public String getPostalAddressId() {
return (String) get(16);
}
/**
* Setter for <code>public.pub_recruitment.nsi_department_id</code>.
*/
public void setNsiDepartmentId(String value) {
set(17, value);
}
/**
* Getter for <code>public.pub_recruitment.nsi_department_id</code>.
*/
public String getNsiDepartmentId() {
return (String) get(17);
}
/**
* Setter for <code>public.pub_recruitment.nsi_organization_id</code>.
*/
public void setNsiOrganizationId(String value) {
set(18, value);
}
/**
* Getter for <code>public.pub_recruitment.nsi_organization_id</code>.
*/
public String getNsiOrganizationId() {
return (String) get(18);
}
/**
* Setter for <code>public.pub_recruitment.oktmo</code>.
*/
public void setOktmo(String value) {
set(19, value);
}
/**
* Getter for <code>public.pub_recruitment.oktmo</code>.
*/
public String getOktmo() {
return (String) get(19);
}
/**
* Setter for <code>public.pub_recruitment.org_ogrn</code>.
*/
public void setOrgOgrn(String value) {
set(20, value);
}
/**
* Getter for <code>public.pub_recruitment.org_ogrn</code>.
*/
public String getOrgOgrn() {
return (String) get(20);
}
/**
* Setter for <code>public.pub_recruitment.dep_ogrn</code>.
*/
public void setDepOgrn(String value) {
set(21, value);
}
/**
* Getter for <code>public.pub_recruitment.dep_ogrn</code>.
*/
public String getDepOgrn() {
return (String) get(21);
}
/**
* Setter for <code>public.pub_recruitment.epgu_id</code>.
*/
public void setEpguId(String value) {
set(22, value);
}
/**
* Getter for <code>public.pub_recruitment.epgu_id</code>.
*/
public String getEpguId() {
return (String) get(22);
}
/**
* Setter for <code>public.pub_recruitment.kpp</code>.
*/
public void setKpp(String value) {
set(23, value);
}
/**
* Getter for <code>public.pub_recruitment.kpp</code>.
*/
public String getKpp() {
return (String) get(23);
}
/**
* Setter for <code>public.pub_recruitment.inn</code>.
*/
public void setInn(String value) {
set(24, value);
}
/**
* Getter for <code>public.pub_recruitment.inn</code>.
*/
public String getInn() {
return (String) get(24);
}
/**
* Setter for <code>public.pub_recruitment.okato</code>.
*/
public void setOkato(String value) {
set(25, value);
}
/**
* Getter for <code>public.pub_recruitment.okato</code>.
*/
public String getOkato() {
return (String) get(25);
}
/**
* Setter for <code>public.pub_recruitment.division_type</code>.
*/
public void setDivisionType(String value) {
set(26, value);
}
/**
* Getter for <code>public.pub_recruitment.division_type</code>.
*/
public String getDivisionType() {
return (String) get(26);
}
/**
* Setter for <code>public.pub_recruitment.tns_department_id</code>.
*/
public void setTnsDepartmentId(String value) {
set(27, value);
}
/**
* Getter for <code>public.pub_recruitment.tns_department_id</code>.
*/
public String getTnsDepartmentId() {
return (String) get(27);
}
/**
* Setter for <code>public.pub_recruitment.enabled</code>.
*/
public void setEnabled(Boolean value) {
set(28, value);
}
/**
* Getter for <code>public.pub_recruitment.enabled</code>.
*/
public Boolean getEnabled() {
return (Boolean) get(28);
}
/**
* Setter for <code>public.pub_recruitment.timezone</code>.
*/
public void setTimezone(String value) {
set(29, value);
}
/**
* Getter for <code>public.pub_recruitment.timezone</code>.
*/
public String getTimezone() {
return (String) get(29);
}
/**
* Setter for <code>public.pub_recruitment.reports_enabled</code>.
*/
public void setReportsEnabled(Boolean value) {
set(30, value);
}
/**
* Getter for <code>public.pub_recruitment.reports_enabled</code>.
*/
public Boolean getReportsEnabled() {
return (Boolean) get(30);
}
/**
* Setter for <code>public.pub_recruitment.region_id</code>.
*/
public void setRegionId(String value) {
set(31, value);
}
/**
* Getter for <code>public.pub_recruitment.region_id</code>.
*/
public String getRegionId() {
return (String) get(31);
}
/**
* Setter for <code>public.pub_recruitment.series</code>.
*/
public void setSeries(String value) {
set(32, value);
}
/**
* Getter for <code>public.pub_recruitment.series</code>.
*/
public String getSeries() {
return (String) get(32);
}
/**
* Setter for <code>public.pub_recruitment.hidden</code>.
*/
public void setHidden(Boolean value) {
set(33, value);
}
/**
* Getter for <code>public.pub_recruitment.hidden</code>.
*/
public Boolean getHidden() {
return (Boolean) get(33);
}
/**
* Setter for <code>public.pub_recruitment.sort</code>.
*/
public void setSort(Integer value) {
set(34, value);
}
/**
* Getter for <code>public.pub_recruitment.sort</code>.
*/
public Integer getSort() {
return (Integer) get(34);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<UUID> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached PubRecruitmentRecord
*/
public PubRecruitmentRecord() {
super(PubRecruitment.PUB_RECRUITMENT);
}
/**
* Create a detached, initialised PubRecruitmentRecord
*/
public PubRecruitmentRecord(UUID id, String idmId, String parentId, Integer version, Timestamp createdAt, Timestamp updatedAt, String schema, String militaryCode, String shortname, String fullname, String dns, String email, String phone, String address, String addressId, String postalAddress, String postalAddressId, String nsiDepartmentId, String nsiOrganizationId, String oktmo, String orgOgrn, String depOgrn, String epguId, String kpp, String inn, String okato, String divisionType, String tnsDepartmentId, Boolean enabled, String timezone, Boolean reportsEnabled, String regionId, String series, Boolean hidden, Integer sort) {
super(PubRecruitment.PUB_RECRUITMENT);
setId(id);
setIdmId(idmId);
setParentId(parentId);
setVersion(version);
setCreatedAt(createdAt);
setUpdatedAt(updatedAt);
setSchema(schema);
setMilitaryCode(militaryCode);
setShortname(shortname);
setFullname(fullname);
setDns(dns);
setEmail(email);
setPhone(phone);
setAddress(address);
setAddressId(addressId);
setPostalAddress(postalAddress);
setPostalAddressId(postalAddressId);
setNsiDepartmentId(nsiDepartmentId);
setNsiOrganizationId(nsiOrganizationId);
setOktmo(oktmo);
setOrgOgrn(orgOgrn);
setDepOgrn(depOgrn);
setEpguId(epguId);
setKpp(kpp);
setInn(inn);
setOkato(okato);
setDivisionType(divisionType);
setTnsDepartmentId(tnsDepartmentId);
setEnabled(enabled);
setTimezone(timezone);
setReportsEnabled(reportsEnabled);
setRegionId(regionId);
setSeries(series);
setHidden(hidden);
setSort(sort);
resetChangedOnNotNull();
}
}

View file

@ -1,96 +0,0 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.ReasonRegistration;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ReasonRegistrationRecord extends UpdatableRecordImpl<ReasonRegistrationRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>public.reason_registration.reason_registration_id</code>.
*/
public void setReasonRegistrationId(Long value) {
set(0, value);
}
/**
* Getter for
* <code>public.reason_registration.reason_registration_id</code>.
*/
public Long getReasonRegistrationId() {
return (Long) get(0);
}
/**
* Setter for <code>public.reason_registration.code</code>.
*/
public void setCode(Integer value) {
set(1, value);
}
/**
* Getter for <code>public.reason_registration.code</code>.
*/
public Integer getCode() {
return (Integer) get(1);
}
/**
* Setter for <code>public.reason_registration.name</code>.
*/
public void setName(String value) {
set(2, value);
}
/**
* Getter for <code>public.reason_registration.name</code>.
*/
public String getName() {
return (String) get(2);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ReasonRegistrationRecord
*/
public ReasonRegistrationRecord() {
super(ReasonRegistration.REASON_REGISTRATION);
}
/**
* Create a detached, initialised ReasonRegistrationRecord
*/
public ReasonRegistrationRecord(Long reasonRegistrationId, Integer code, String name) {
super(ReasonRegistration.REASON_REGISTRATION);
setReasonRegistrationId(reasonRegistrationId);
setCode(code);
setName(name);
resetChangedOnNotNull();
}
}

View file

@ -4,14 +4,16 @@
package ervu_dashboard.ervu_dashboard.db_beans.ratings;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.PubRecruitment;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.records.RecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.AppearSubppoena;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConscriptionInfo;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.Recruitment;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.AppearSubppoenaRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.ConscriptionInfoRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.ConsiderationComplaintRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.RecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Region;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.records.RegionRecord;
@ -34,17 +36,17 @@ public class Keys {
// -------------------------------------------------------------------------
public static final UniqueKey<AppearSubppoenaRecord> PK_APPEAR_SUBPPOENA = Internal.createUniqueKey(AppearSubppoena.APPEAR_SUBPPOENA, DSL.name("pk_appear_subppoena"), new TableField[] { AppearSubppoena.APPEAR_SUBPPOENA.ID_APPEAR_SUBPPOENA }, true);
public static final UniqueKey<ConscriptionInfoRecord> PK_CONSCRIPTION_INFO = Internal.createUniqueKey(ConscriptionInfo.CONSCRIPTION_INFO, DSL.name("pk_conscription_info"), new TableField[] { ConscriptionInfo.CONSCRIPTION_INFO.CONSCRIPTION_INFO_ID }, true);
public static final UniqueKey<ConsiderationComplaintRecord> PK_CONSIDERATION_COMPLAINT = Internal.createUniqueKey(ConsiderationComplaint.CONSIDERATION_COMPLAINT, DSL.name("pk_consideration_complaint"), new TableField[] { ConsiderationComplaint.CONSIDERATION_COMPLAINT.ID_CONSIDERATION_COMPLAINT }, true);
public static final UniqueKey<RecruitmentRecord> PK_RECRUITMENT = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("pk_recruitment"), new TableField[] { Recruitment.RECRUITMENT.ID_RECRUITMENT }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
// -------------------------------------------------------------------------
public static final ForeignKey<AppearSubppoenaRecord, PubRecruitmentRecord> APPEAR_SUBPPOENA__APPEAR_SUBPPOENA_FK1 = Internal.createForeignKey(AppearSubppoena.APPEAR_SUBPPOENA, DSL.name("appear_subppoena_fk1"), new TableField[] { AppearSubppoena.APPEAR_SUBPPOENA.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<AppearSubppoenaRecord, RecruitmentRecord> APPEAR_SUBPPOENA__APPEAR_SUBPPOENA_FK1 = Internal.createForeignKey(AppearSubppoena.APPEAR_SUBPPOENA, DSL.name("appear_subppoena_fk1"), new TableField[] { AppearSubppoena.APPEAR_SUBPPOENA.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
public static final ForeignKey<AppearSubppoenaRecord, RegionRecord> APPEAR_SUBPPOENA__FK_REGION = Internal.createForeignKey(AppearSubppoena.APPEAR_SUBPPOENA, DSL.name("fk_region"), new TableField[] { AppearSubppoena.APPEAR_SUBPPOENA.ID_REGION }, ervu_dashboard.ervu_dashboard.db_beans.space.Keys.PK_REGION, new TableField[] { Region.REGION.ID_REGION }, true);
public static final ForeignKey<ConsiderationComplaintRecord, PubRecruitmentRecord> CONSIDERATION_COMPLAINT__CONSIDERATION_COMPLAINT_FK1 = Internal.createForeignKey(ConsiderationComplaint.CONSIDERATION_COMPLAINT, DSL.name("consideration_complaint_fk1"), new TableField[] { ConsiderationComplaint.CONSIDERATION_COMPLAINT.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<ConscriptionInfoRecord, RecruitmentRecord> CONSCRIPTION_INFO__CONSCRIPTION_INFO_FK1 = Internal.createForeignKey(ConscriptionInfo.CONSCRIPTION_INFO, DSL.name("conscription_info_fk1"), new TableField[] { ConscriptionInfo.CONSCRIPTION_INFO.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
public static final ForeignKey<ConscriptionInfoRecord, RegionRecord> CONSCRIPTION_INFO__CONSCRIPTION_INFO_FK2 = Internal.createForeignKey(ConscriptionInfo.CONSCRIPTION_INFO, DSL.name("conscription_info_fk2"), new TableField[] { ConscriptionInfo.CONSCRIPTION_INFO.ID_REGION }, ervu_dashboard.ervu_dashboard.db_beans.space.Keys.PK_REGION, new TableField[] { Region.REGION.ID_REGION }, true);
public static final ForeignKey<ConsiderationComplaintRecord, PubRecruitmentRecord> CONSIDERATION_COMPLAINT__CONSIDERATION_COMPLAINT_FK1 = Internal.createForeignKey(ConsiderationComplaint.CONSIDERATION_COMPLAINT, DSL.name("consideration_complaint_fk1"), new TableField[] { ConsiderationComplaint.CONSIDERATION_COMPLAINT.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.Keys.PUB_RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
public static final ForeignKey<ConsiderationComplaintRecord, RegionRecord> CONSIDERATION_COMPLAINT__FK_REGION = Internal.createForeignKey(ConsiderationComplaint.CONSIDERATION_COMPLAINT, DSL.name("fk_region"), new TableField[] { ConsiderationComplaint.CONSIDERATION_COMPLAINT.ID_REGION }, ervu_dashboard.ervu_dashboard.db_beans.space.Keys.PK_REGION, new TableField[] { Region.REGION.ID_REGION }, true);
public static final ForeignKey<RecruitmentRecord, RegionRecord> RECRUITMENT__FK_REGION = Internal.createForeignKey(Recruitment.RECRUITMENT, DSL.name("fk_region"), new TableField[] { Recruitment.RECRUITMENT.ID_REGION }, ervu_dashboard.ervu_dashboard.db_beans.space.Keys.PK_REGION, new TableField[] { Region.REGION.ID_REGION }, true);
public static final ForeignKey<RecruitmentRecord, PubRecruitmentRecord> RECRUITMENT__R_RECRUITMENT_FK1 = Internal.createForeignKey(Recruitment.RECRUITMENT, DSL.name("r_recruitment_fk1"), new TableField[] { Recruitment.RECRUITMENT.RECRUITMENT_ID }, ervu_dashboard.ervu_dashboard.db_beans.public_.Keys.RECRUITMENT_PKEY, new TableField[] { PubRecruitment.PUB_RECRUITMENT.ID }, true);
}

View file

@ -6,13 +6,14 @@ package ervu_dashboard.ervu_dashboard.db_beans.ratings;
import ervu_dashboard.ervu_dashboard.db_beans.DefaultCatalog;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.AppearSubppoena;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConscriptionInfo;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.Recruitment;
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;
@ -35,16 +36,16 @@ public class Ratings extends SchemaImpl {
*/
public final AppearSubppoena APPEAR_SUBPPOENA = AppearSubppoena.APPEAR_SUBPPOENA;
/**
* Призыв уровень РФ
*/
public final ConscriptionInfo CONSCRIPTION_INFO = ConscriptionInfo.CONSCRIPTION_INFO;
/**
* Рассмотрение жалоб уровень РФ
*/
public final ConsiderationComplaint CONSIDERATION_COMPLAINT = ConsiderationComplaint.CONSIDERATION_COMPLAINT;
/**
* Призыв уровень РФ
*/
public final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
/**
* No further instances allowed
*/
@ -58,12 +59,19 @@ public class Ratings extends SchemaImpl {
return DefaultCatalog.DEFAULT_CATALOG;
}
@Override
public final List<Sequence<?>> getSequences() {
return Arrays.asList(
Sequences.RATINGS_CONSCRIPTION_INFO_ID_RATINGS_CONSCRIPTION_INFO_SEQ
);
}
@Override
public final List<Table<?>> getTables() {
return Arrays.asList(
AppearSubppoena.APPEAR_SUBPPOENA,
ConsiderationComplaint.CONSIDERATION_COMPLAINT,
Recruitment.RECRUITMENT
ConscriptionInfo.CONSCRIPTION_INFO,
ConsiderationComplaint.CONSIDERATION_COMPLAINT
);
}
}

View file

@ -0,0 +1,23 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ratings;
import org.jooq.Sequence;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;
/**
* Convenience access to all sequences in ratings.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Sequences {
/**
* The sequence
* <code>ratings.ratings.conscription_info_id_ratings.conscription_info_seq</code>
*/
public static final Sequence<Long> RATINGS_CONSCRIPTION_INFO_ID_RATINGS_CONSCRIPTION_INFO_SEQ = Internal.createSequence("ratings.conscription_info_id_ratings.conscription_info_seq", Ratings.RATINGS, SQLDataType.BIGINT.nullable(false), null, null, null, null, false, null);
}

View file

@ -5,8 +5,8 @@ package ervu_dashboard.ervu_dashboard.db_beans.ratings;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.AppearSubppoena;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConscriptionInfo;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.Recruitment;
/**
@ -20,13 +20,13 @@ public class Tables {
*/
public static final AppearSubppoena APPEAR_SUBPPOENA = AppearSubppoena.APPEAR_SUBPPOENA;
/**
* Призыв уровень РФ
*/
public static final ConscriptionInfo CONSCRIPTION_INFO = ConscriptionInfo.CONSCRIPTION_INFO;
/**
* Рассмотрение жалоб уровень РФ
*/
public static final ConsiderationComplaint CONSIDERATION_COMPLAINT = ConsiderationComplaint.CONSIDERATION_COMPLAINT;
/**
* Призыв уровень РФ
*/
public static final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
}

View file

@ -4,7 +4,7 @@
package ervu_dashboard.ervu_dashboard.db_beans.ratings.tables;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment.PubRecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment.RecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.Ratings;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.AppearSubppoenaRecord;
@ -15,7 +15,6 @@ import java.sql.Date;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import org.jooq.Condition;
import org.jooq.Field;
@ -92,7 +91,7 @@ public class AppearSubppoena extends TableImpl<AppearSubppoenaRecord> {
/**
* The column <code>ratings.appear_subppoena.recruitment_id</code>.
*/
public final TableField<AppearSubppoenaRecord, UUID> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.UUID, this, "");
public final TableField<AppearSubppoenaRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36), this, "");
private AppearSubppoena(Name alias, Table<AppearSubppoenaRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
@ -186,17 +185,17 @@ public class AppearSubppoena extends TableImpl<AppearSubppoenaRecord> {
return _region;
}
private transient PubRecruitmentPath _pubRecruitment;
private transient RecruitmentPath _recruitment;
/**
* Get the implicit join path to the <code>public.pub_recruitment</code>
* Get the implicit join path to the <code>ervu_dashboard.recruitment</code>
* table.
*/
public PubRecruitmentPath pubRecruitment() {
if (_pubRecruitment == null)
_pubRecruitment = new PubRecruitmentPath(this, Keys.APPEAR_SUBPPOENA__APPEAR_SUBPPOENA_FK1, null);
public RecruitmentPath recruitment() {
if (_recruitment == null)
_recruitment = new RecruitmentPath(this, Keys.APPEAR_SUBPPOENA__APPEAR_SUBPPOENA_FK1, null);
return _pubRecruitment;
return _recruitment;
}
@Override

View file

@ -0,0 +1,323 @@
/*
* This file is generated by jOOQ.
*/
package ervu_dashboard.ervu_dashboard.db_beans.ratings.tables;
import ervu_dashboard.ervu_dashboard.db_beans.ervu_dashboard.tables.Recruitment.RecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.Ratings;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.records.ConscriptionInfoRecord;
import ervu_dashboard.ervu_dashboard.db_beans.space.tables.Region.RegionPath;
import java.math.BigDecimal;
import java.sql.Date;
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.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;
/**
* Призыв уровень РФ
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ConscriptionInfo extends TableImpl<ConscriptionInfoRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>ratings.conscription_info</code>
*/
public static final ConscriptionInfo CONSCRIPTION_INFO = new ConscriptionInfo();
/**
* The class holding records for this type
*/
@Override
public Class<ConscriptionInfoRecord> getRecordType() {
return ConscriptionInfoRecord.class;
}
/**
* The column <code>ratings.conscription_info.conscription_info_id</code>.
*/
public final TableField<ConscriptionInfoRecord, Long> CONSCRIPTION_INFO_ID = createField(DSL.name("conscription_info_id"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("nextval('ratings.\"ratings.conscription_info_id_ratings.conscription_info_seq\"'::regclass)"), SQLDataType.BIGINT)), this, "");
/**
* The column <code>ratings.conscription_info.id_region</code>.
*/
public final TableField<ConscriptionInfoRecord, Integer> ID_REGION = createField(DSL.name("id_region"), SQLDataType.INTEGER, this, "");
/**
* The column <code>ratings.conscription_info.execution</code>. Исполнение
* плана призыва
*/
public final TableField<ConscriptionInfoRecord, BigDecimal> EXECUTION = createField(DSL.name("execution"), SQLDataType.NUMERIC, this, "Исполнение плана призыва");
/**
* The column <code>ratings.conscription_info.spring_autumn</code>.
* Осень/весна
*/
public final TableField<ConscriptionInfoRecord, String> SPRING_AUTUMN = createField(DSL.name("spring_autumn"), SQLDataType.CLOB, this, "Осень/весна");
/**
* The column <code>ratings.conscription_info.recording_date</code>. Дата
* записи
*/
public final TableField<ConscriptionInfoRecord, Date> RECORDING_DATE = createField(DSL.name("recording_date"), SQLDataType.DATE, this, "Дата записи");
/**
* The column <code>ratings.conscription_info.execution_percent</code>.
* Исолнение плана призыва в процентах
*/
public final TableField<ConscriptionInfoRecord, BigDecimal> EXECUTION_PERCENT = createField(DSL.name("execution_percent"), SQLDataType.NUMERIC, this, "Исолнение плана призыва в процентах");
/**
* The column <code>ratings.conscription_info.recruitment_id</code>.
*/
public final TableField<ConscriptionInfoRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.CHAR(36), this, "");
private ConscriptionInfo(Name alias, Table<ConscriptionInfoRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ConscriptionInfo(Name alias, Table<ConscriptionInfoRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment("Призыв уровень РФ"), TableOptions.table(), where);
}
/**
* Create an aliased <code>ratings.conscription_info</code> table reference
*/
public ConscriptionInfo(String alias) {
this(DSL.name(alias), CONSCRIPTION_INFO);
}
/**
* Create an aliased <code>ratings.conscription_info</code> table reference
*/
public ConscriptionInfo(Name alias) {
this(alias, CONSCRIPTION_INFO);
}
/**
* Create a <code>ratings.conscription_info</code> table reference
*/
public ConscriptionInfo() {
this(DSL.name("conscription_info"), null);
}
public <O extends Record> ConscriptionInfo(Table<O> path, ForeignKey<O, ConscriptionInfoRecord> childPath, InverseForeignKey<O, ConscriptionInfoRecord> parentPath) {
super(path, childPath, parentPath, CONSCRIPTION_INFO);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class ConscriptionInfoPath extends ConscriptionInfo implements Path<ConscriptionInfoRecord> {
public <O extends Record> ConscriptionInfoPath(Table<O> path, ForeignKey<O, ConscriptionInfoRecord> childPath, InverseForeignKey<O, ConscriptionInfoRecord> parentPath) {
super(path, childPath, parentPath);
}
private ConscriptionInfoPath(Name alias, Table<ConscriptionInfoRecord> aliased) {
super(alias, aliased);
}
@Override
public ConscriptionInfoPath as(String alias) {
return new ConscriptionInfoPath(DSL.name(alias), this);
}
@Override
public ConscriptionInfoPath as(Name alias) {
return new ConscriptionInfoPath(alias, this);
}
@Override
public ConscriptionInfoPath as(Table<?> alias) {
return new ConscriptionInfoPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Ratings.RATINGS;
}
@Override
public UniqueKey<ConscriptionInfoRecord> getPrimaryKey() {
return Keys.PK_CONSCRIPTION_INFO;
}
@Override
public List<ForeignKey<ConscriptionInfoRecord, ?>> getReferences() {
return Arrays.asList(Keys.CONSCRIPTION_INFO__CONSCRIPTION_INFO_FK2, Keys.CONSCRIPTION_INFO__CONSCRIPTION_INFO_FK1);
}
private transient RegionPath _region;
/**
* Get the implicit join path to the <code>space.region</code> table.
*/
public RegionPath region() {
if (_region == null)
_region = new RegionPath(this, Keys.CONSCRIPTION_INFO__CONSCRIPTION_INFO_FK2, null);
return _region;
}
private transient RecruitmentPath _recruitment;
/**
* Get the implicit join path to the <code>ervu_dashboard.recruitment</code>
* table.
*/
public RecruitmentPath recruitment() {
if (_recruitment == null)
_recruitment = new RecruitmentPath(this, Keys.CONSCRIPTION_INFO__CONSCRIPTION_INFO_FK1, null);
return _recruitment;
}
@Override
public ConscriptionInfo as(String alias) {
return new ConscriptionInfo(DSL.name(alias), this);
}
@Override
public ConscriptionInfo as(Name alias) {
return new ConscriptionInfo(alias, this);
}
@Override
public ConscriptionInfo as(Table<?> alias) {
return new ConscriptionInfo(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ConscriptionInfo rename(String name) {
return new ConscriptionInfo(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ConscriptionInfo rename(Name name) {
return new ConscriptionInfo(name, null);
}
/**
* Rename this table
*/
@Override
public ConscriptionInfo rename(Table<?> name) {
return new ConscriptionInfo(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ConscriptionInfo where(Condition condition) {
return new ConscriptionInfo(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ConscriptionInfo where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ConscriptionInfo where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ConscriptionInfo where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ConscriptionInfo where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ConscriptionInfo where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ConscriptionInfo where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ConscriptionInfo where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ConscriptionInfo whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ConscriptionInfo whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

Some files were not shown because too many files have changed in this diff Show more