diff --git a/.classpath b/.classpath
index bb5e6bd..85ee848 100644
--- a/.classpath
+++ b/.classpath
@@ -12,7 +12,11 @@
-
+
+
+
+
+
diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock
index c411677..7f361c1 100644
Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ
diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs
index e613e89..998388f 100644
--- a/.settings/org.eclipse.jdt.core.prefs
+++ b/.settings/org.eclipse.jdt.core.prefs
@@ -11,9 +11,9 @@ org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled
org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=17
+org.eclipse.jdt.core.compiler.compliance=21
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -22,7 +22,7 @@ org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
-org.eclipse.jdt.core.compiler.release=disabled
-org.eclipse.jdt.core.compiler.source=17
+org.eclipse.jdt.core.compiler.release=enabled
+org.eclipse.jdt.core.compiler.source=21
org.eclipse.jdt.core.incompatibleJDKLevel=ignore
org.eclipse.jdt.core.incompleteClasspath=error
diff --git a/build.gradle b/build.gradle
index 0bd3b46..ca0ac67 100644
--- a/build.gradle
+++ b/build.gradle
@@ -7,10 +7,10 @@ buildscript {
jcenter()
}
dependencies {
- classpath 'org.jooq:jooq-codegen:latest.release'
+ classpath 'org.jooq:jooq-codegen:3.20.4'
classpath 'org.postgresql:postgresql:latest.release'
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:latest.release'
- classpath 'nu.studer.jooq:nu.studer.jooq.gradle.plugin:latest.release'
+ classpath 'nu.studer.jooq:nu.studer.jooq.gradle.plugin:10.1'
}
}
@@ -26,8 +26,8 @@ version = '2025.04.23'
description = """COJooq"""
-sourceCompatibility = 17
-targetCompatibility = 17
+sourceCompatibility = 21
+targetCompatibility = 21
repositories {
mavenLocal()
@@ -36,8 +36,8 @@ repositories {
}
dependencies {
- implementation 'org.jooq:jooq:latest.release'
- implementation 'org.jooq:jooq-codegen:latest.release'
+ implementation 'org.jooq:jooq:3.20.4'
+ implementation 'org.jooq:jooq-codegen:3.20.4'
implementation 'org.postgresql:postgresql:latest.release'
@@ -47,7 +47,7 @@ dependencies {
import org.jooq.meta.jaxb.Logging
jooq {
- version = '3.19.14'
+ version = '3.20.4'
edition = nu.studer.gradle.jooq.JooqEdition.OSS
configurations {
camporganizer {
@@ -74,16 +74,19 @@ jooq {
}
generate {
deprecated = false
- relations = true
+ relations = false
records = true
- immutablePojos = true
- fluentSetters = true
+ immutablePojos = false
+ fluentSetters = false
}
target {
packageName = 'de.jottyfan.camporganizer.db.jooq'
directory = 'src/main/java'
}
strategy.name = 'org.jooq.codegen.DefaultGeneratorStrategy'
+// strategy.name = 'org.jooq.codegen.KeepNamesGeneratorStrategy'
+// strategy.name = 'org.jooq.codegen.PascalCaseGeneratorStrategy'
+// strategy.name = 'org.jooq.codegen.PrefixSuffixGeneratorStrategy'
}
}
}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/DefaultCatalog.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/DefaultCatalog.java
index 65c455d..41150e4 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/DefaultCatalog.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/DefaultCatalog.java
@@ -26,7 +26,7 @@ public class DefaultCatalog extends CatalogImpl {
public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog();
/**
- * The schema public
.
+ * standard public schema
*/
public final Public PUBLIC = Public.PUBLIC;
@@ -45,10 +45,10 @@ public class DefaultCatalog extends CatalogImpl {
}
/**
- * A reference to the 3.19 minor release of the code generator. If this
+ * A reference to the 3.20 minor release of the code generator. If this
* doesn't compile, it's because the runtime library uses an older minor
- * release, namely: 3.19. You can turn off the generation of this reference
+ * release, namely: 3.20. You can turn off the generation of this reference
* by specifying /configuration/generator/generate/jooqVersionReference
*/
- private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_19;
+ private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_20;
}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/Keys.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/Keys.java
index ceaca72..a8cb57c 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/Keys.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/Keys.java
@@ -33,10 +33,12 @@ import de.jottyfan.camporganizer.db.jooq.tables.records.TSalesRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontentRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontenttypeRecord;
+import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;
+import org.jooq.impl.QOM.ForeignKeyRule;
/**
@@ -72,4 +74,26 @@ public class Keys {
public static final UniqueKey T_SALES_PKEY = Internal.createUniqueKey(TSales.T_SALES, DSL.name("t_sales_pkey"), new TableField[] { TSales.T_SALES.PK }, true);
public static final UniqueKey T_SALESCONTENT_FK_SALES_FK_SALESCONTENTTYPE_KEY = Internal.createUniqueKey(TSalescontent.T_SALESCONTENT, DSL.name("t_salescontent_fk_sales_fk_salescontenttype_key"), new TableField[] { TSalescontent.T_SALESCONTENT.FK_SALES, TSalescontent.T_SALESCONTENT.FK_SALESCONTENTTYPE }, true);
public static final UniqueKey T_SALESCONTENTTYPE_PKEY = Internal.createUniqueKey(TSalescontenttype.T_SALESCONTENTTYPE, DSL.name("t_salescontenttype_pkey"), new TableField[] { TSalescontenttype.T_SALESCONTENTTYPE.NAME }, true);
+
+ // -------------------------------------------------------------------------
+ // FOREIGN KEY definitions
+ // -------------------------------------------------------------------------
+
+ public static final ForeignKey T_CAMP__T_CAMP_FK_DOCUMENT_FKEY = Internal.createForeignKey(TCamp.T_CAMP, DSL.name("t_camp_fk_document_fkey"), new TableField[] { TCamp.T_CAMP.FK_DOCUMENT }, Keys.T_DOCUMENT_PKEY, new TableField[] { TDocument.T_DOCUMENT.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_CAMP__T_CAMP_FK_LOCATION_FKEY = Internal.createForeignKey(TCamp.T_CAMP, DSL.name("t_camp_fk_location_fkey"), new TableField[] { TCamp.T_CAMP.FK_LOCATION }, Keys.T_LOCATION_PKEY, new TableField[] { TLocation.T_LOCATION.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_CAMP__T_CAMP_FK_PROFILE_FKEY = Internal.createForeignKey(TCamp.T_CAMP, DSL.name("t_camp_fk_profile_fkey"), new TableField[] { TCamp.T_CAMP.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_CAMP_FKEY = Internal.createForeignKey(TCampdocument.T_CAMPDOCUMENT, DSL.name("t_campdocument_fk_camp_fkey"), new TableField[] { TCampdocument.T_CAMPDOCUMENT.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_DOCUMENT_FKEY = Internal.createForeignKey(TCampdocument.T_CAMPDOCUMENT, DSL.name("t_campdocument_fk_document_fkey"), new TableField[] { TCampdocument.T_CAMPDOCUMENT.FK_DOCUMENT }, Keys.T_DOCUMENT_PKEY, new TableField[] { TDocument.T_DOCUMENT.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY = Internal.createForeignKey(TCampprofile.T_CAMPPROFILE, DSL.name("t_campprofile_fk_camp_fkey"), new TableField[] { TCampprofile.T_CAMPPROFILE.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY = Internal.createForeignKey(TCampprofile.T_CAMPPROFILE, DSL.name("t_campprofile_fk_profile_fkey"), new TableField[] { TCampprofile.T_CAMPPROFILE.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_DOCUMENTROLE__T_DOCUMENTROLE_FK_DOCUMENT_FKEY = Internal.createForeignKey(TDocumentrole.T_DOCUMENTROLE, DSL.name("t_documentrole_fk_document_fkey"), new TableField[] { TDocumentrole.T_DOCUMENTROLE.FK_DOCUMENT }, Keys.T_DOCUMENT_PKEY, new TableField[] { TDocument.T_DOCUMENT.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_LOCATION__T_LOCATION_FK_DOCUMENT_FKEY = Internal.createForeignKey(TLocation.T_LOCATION, DSL.name("t_location_fk_document_fkey"), new TableField[] { TLocation.T_LOCATION.FK_DOCUMENT }, Keys.T_DOCUMENT_PKEY, new TableField[] { TDocument.T_DOCUMENT.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_PERSON__T_PERSON_FK_CAMP_FKEY = Internal.createForeignKey(TPerson.T_PERSON, DSL.name("t_person_fk_camp_fkey"), new TableField[] { TPerson.T_PERSON.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_PERSON__T_PERSON_FK_PROFILE_FKEY = Internal.createForeignKey(TPerson.T_PERSON, DSL.name("t_person_fk_profile_fkey"), new TableField[] { TPerson.T_PERSON.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_PERSON__T_PERSON_FK_REGISTRATOR_FKEY = Internal.createForeignKey(TPerson.T_PERSON, DSL.name("t_person_fk_registrator_fkey"), new TableField[] { TPerson.T_PERSON.FK_REGISTRATOR }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY = Internal.createForeignKey(TPersondocument.T_PERSONDOCUMENT, DSL.name("t_persondocument_fk_person_fkey"), new TableField[] { TPersondocument.T_PERSONDOCUMENT.FK_PERSON }, Keys.T_PERSON_PKEY, new TableField[] { TPerson.T_PERSON.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY = Internal.createForeignKey(TProfilerole.T_PROFILEROLE, DSL.name("t_profilerole_fk_profile_fkey"), new TableField[] { TProfilerole.T_PROFILEROLE.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_SALES__T_SALES_FK_CAMP_FKEY = Internal.createForeignKey(TSales.T_SALES, DSL.name("t_sales_fk_camp_fkey"), new TableField[] { TSales.T_SALES.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_SALESCONTENT__T_SALESCONTENT_FK_SALES_FKEY = Internal.createForeignKey(TSalescontent.T_SALESCONTENT, DSL.name("t_salescontent_fk_sales_fkey"), new TableField[] { TSalescontent.T_SALESCONTENT.FK_SALES }, Keys.T_SALES_PKEY, new TableField[] { TSales.T_SALES.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
+ public static final ForeignKey T_SALESCONTENT__T_SALESCONTENT_FK_SALESCONTENTTYPE_FKEY = Internal.createForeignKey(TSalescontent.T_SALESCONTENT, DSL.name("t_salescontent_fk_salescontenttype_fkey"), new TableField[] { TSalescontent.T_SALESCONTENT.FK_SALESCONTENTTYPE }, Keys.T_SALESCONTENTTYPE_PKEY, new TableField[] { TSalescontenttype.T_SALESCONTENTTYPE.NAME }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/Public.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/Public.java
index c50c9ee..5e6becb 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/Public.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/Public.java
@@ -39,11 +39,12 @@ import java.util.List;
import org.jooq.Catalog;
import org.jooq.Table;
+import org.jooq.impl.DSL;
import org.jooq.impl.SchemaImpl;
/**
- * This class is generated by jOOQ.
+ * standard public schema
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class Public extends SchemaImpl {
@@ -204,7 +205,7 @@ public class Public extends SchemaImpl {
* No further instances allowed
*/
private Public() {
- super("public", null);
+ super(DSL.name("public"), null, DSL.comment("standard public schema"));
}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TCamp.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TCamp.java
new file mode 100644
index 0000000..8722c30
--- /dev/null
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TCamp.java
@@ -0,0 +1,449 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package de.jottyfan.camporganizer.db.jooq.tables;
+
+
+import de.jottyfan.camporganizer.db.jooq.Keys;
+import de.jottyfan.camporganizer.db.jooq.Public;
+import de.jottyfan.camporganizer.db.jooq.tables.TCampdocument.TCampdocumentPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TCampprofile.TCampprofilePath;
+import de.jottyfan.camporganizer.db.jooq.tables.TDocument.TDocumentPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TLocation.TLocationPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TPerson.TPersonPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TProfile.TProfilePath;
+import de.jottyfan.camporganizer.db.jooq.tables.TSales.TSalesPath;
+import de.jottyfan.camporganizer.db.jooq.tables.records.TCampRecord;
+
+import java.time.LocalDateTime;
+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", "this-escape" })
+public class TCamp extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of public.t_camp
+ */
+ public static final TCamp T_CAMP = new TCamp();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return TCampRecord.class;
+ }
+
+ /**
+ * The column public.t_camp.pk
.
+ */
+ public final TableField PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
+
+ /**
+ * The column public.t_camp.name
.
+ */
+ public final TableField NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
+
+ /**
+ * The column public.t_camp.arrive
.
+ */
+ public final TableField ARRIVE = createField(DSL.name("arrive"), SQLDataType.LOCALDATETIME(6).nullable(false), this, "");
+
+ /**
+ * The column public.t_camp.depart
.
+ */
+ public final TableField DEPART = createField(DSL.name("depart"), SQLDataType.LOCALDATETIME(6).nullable(false), this, "");
+
+ /**
+ * The column public.t_camp.fk_location
.
+ */
+ public final TableField FK_LOCATION = createField(DSL.name("fk_location"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column public.t_camp.min_age
.
+ */
+ public final TableField MIN_AGE = createField(DSL.name("min_age"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column public.t_camp.max_age
.
+ */
+ public final TableField MAX_AGE = createField(DSL.name("max_age"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column public.t_camp.price
.
+ */
+ public final TableField PRICE = createField(DSL.name("price"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column public.t_camp.countries
.
+ */
+ public final TableField COUNTRIES = createField(DSL.name("countries"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column public.t_camp.fk_document
.
+ */
+ public final TableField FK_DOCUMENT = createField(DSL.name("fk_document"), SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column public.t_camp.lock_sales
.
+ */
+ public final TableField LOCK_SALES = createField(DSL.name("lock_sales"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
+
+ /**
+ * The column public.t_camp.fk_profile
.
+ */
+ public final TableField FK_PROFILE = createField(DSL.name("fk_profile"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ /**
+ * The column public.t_camp.beds_male
.
+ */
+ public final TableField BEDS_MALE = createField(DSL.name("beds_male"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "");
+
+ /**
+ * The column public.t_camp.beds_female
.
+ */
+ public final TableField BEDS_FEMALE = createField(DSL.name("beds_female"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "");
+
+ /**
+ * The column public.t_camp.blocked_beds_male
.
+ */
+ public final TableField BLOCKED_BEDS_MALE = createField(DSL.name("blocked_beds_male"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "");
+
+ /**
+ * The column public.t_camp.blocked_beds_female
.
+ */
+ public final TableField BLOCKED_BEDS_FEMALE = createField(DSL.name("blocked_beds_female"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "");
+
+ /**
+ * The column public.t_camp.start_booking
.
+ */
+ public final TableField START_BOOKING = createField(DSL.name("start_booking"), SQLDataType.LOCALDATETIME(6).nullable(false), this, "");
+
+ /**
+ * The column public.t_camp.min_teacherage
.
+ */
+ public final TableField MIN_TEACHERAGE = createField(DSL.name("min_teacherage"), SQLDataType.INTEGER, this, "");
+
+ private TCamp(Name alias, Table aliased) {
+ this(alias, aliased, (Field>[]) null, null);
+ }
+
+ private TCamp(Name alias, Table aliased, Field>[] parameters, Condition where) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ }
+
+ /**
+ * Create an aliased public.t_camp
table reference
+ */
+ public TCamp(String alias) {
+ this(DSL.name(alias), T_CAMP);
+ }
+
+ /**
+ * Create an aliased public.t_camp
table reference
+ */
+ public TCamp(Name alias) {
+ this(alias, T_CAMP);
+ }
+
+ /**
+ * Create a public.t_camp
table reference
+ */
+ public TCamp() {
+ this(DSL.name("t_camp"), null);
+ }
+
+ public TCamp(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, T_CAMP);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class TCampPath extends TCamp implements Path {
+
+ private static final long serialVersionUID = 1L;
+ public TCampPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private TCampPath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public TCampPath as(String alias) {
+ return new TCampPath(DSL.name(alias), this);
+ }
+
+ @Override
+ public TCampPath as(Name alias) {
+ return new TCampPath(alias, this);
+ }
+
+ @Override
+ public TCampPath as(Table> alias) {
+ return new TCampPath(alias.getQualifiedName(), this);
+ }
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Public.PUBLIC;
+ }
+
+ @Override
+ public Identity getIdentity() {
+ return (Identity) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.T_CAMP_PKEY;
+ }
+
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.T_CAMP__T_CAMP_FK_DOCUMENT_FKEY, Keys.T_CAMP__T_CAMP_FK_LOCATION_FKEY, Keys.T_CAMP__T_CAMP_FK_PROFILE_FKEY);
+ }
+
+ private transient TDocumentPath _tDocument;
+
+ /**
+ * Get the implicit join path to the public.t_document
table.
+ */
+ public TDocumentPath tDocument() {
+ if (_tDocument == null)
+ _tDocument = new TDocumentPath(this, Keys.T_CAMP__T_CAMP_FK_DOCUMENT_FKEY, null);
+
+ return _tDocument;
+ }
+
+ private transient TLocationPath _tLocation;
+
+ /**
+ * Get the implicit join path to the public.t_location
table.
+ */
+ public TLocationPath tLocation() {
+ if (_tLocation == null)
+ _tLocation = new TLocationPath(this, Keys.T_CAMP__T_CAMP_FK_LOCATION_FKEY, null);
+
+ return _tLocation;
+ }
+
+ private transient TProfilePath _tProfile;
+
+ /**
+ * Get the implicit join path to the public.t_profile
table.
+ */
+ public TProfilePath tProfile() {
+ if (_tProfile == null)
+ _tProfile = new TProfilePath(this, Keys.T_CAMP__T_CAMP_FK_PROFILE_FKEY, null);
+
+ return _tProfile;
+ }
+
+ private transient TCampdocumentPath _tCampdocument;
+
+ /**
+ * Get the implicit to-many join path to the
+ * public.t_campdocument
table
+ */
+ public TCampdocumentPath tCampdocument() {
+ if (_tCampdocument == null)
+ _tCampdocument = new TCampdocumentPath(this, null, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_CAMP_FKEY.getInverseKey());
+
+ return _tCampdocument;
+ }
+
+ private transient TCampprofilePath _tCampprofile;
+
+ /**
+ * Get the implicit to-many join path to the
+ * public.t_campprofile
table
+ */
+ public TCampprofilePath tCampprofile() {
+ if (_tCampprofile == null)
+ _tCampprofile = new TCampprofilePath(this, null, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY.getInverseKey());
+
+ return _tCampprofile;
+ }
+
+ private transient TPersonPath _tPerson;
+
+ /**
+ * Get the implicit to-many join path to the public.t_person
+ * table
+ */
+ public TPersonPath tPerson() {
+ if (_tPerson == null)
+ _tPerson = new TPersonPath(this, null, Keys.T_PERSON__T_PERSON_FK_CAMP_FKEY.getInverseKey());
+
+ return _tPerson;
+ }
+
+ private transient TSalesPath _tSales;
+
+ /**
+ * Get the implicit to-many join path to the public.t_sales
+ * table
+ */
+ public TSalesPath tSales() {
+ if (_tSales == null)
+ _tSales = new TSalesPath(this, null, Keys.T_SALES__T_SALES_FK_CAMP_FKEY.getInverseKey());
+
+ return _tSales;
+ }
+
+ @Override
+ public TCamp as(String alias) {
+ return new TCamp(DSL.name(alias), this);
+ }
+
+ @Override
+ public TCamp as(Name alias) {
+ return new TCamp(alias, this);
+ }
+
+ @Override
+ public TCamp as(Table> alias) {
+ return new TCamp(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TCamp rename(String name) {
+ return new TCamp(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TCamp rename(Name name) {
+ return new TCamp(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TCamp rename(Table> name) {
+ return new TCamp(name.getQualifiedName(), null);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public TCamp where(Condition condition) {
+ return new TCamp(getQualifiedName(), aliased() ? this : null, null, condition);
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public TCamp where(Collection extends Condition> conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public TCamp where(Condition... conditions) {
+ return where(DSL.and(conditions));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public TCamp where(Field condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public TCamp where(SQL condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public TCamp where(@Stringly.SQL String condition) {
+ return where(DSL.condition(condition));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public TCamp where(@Stringly.SQL String condition, Object... binds) {
+ return where(DSL.condition(condition, binds));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ @PlainSQL
+ public TCamp where(@Stringly.SQL String condition, QueryPart... parts) {
+ return where(DSL.condition(condition, parts));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public TCamp whereExists(Select> select) {
+ return where(DSL.exists(select));
+ }
+
+ /**
+ * Create an inline derived table from this table
+ */
+ @Override
+ public TCamp whereNotExists(Select> select) {
+ return where(DSL.notExists(select));
+ }
+}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TCampdocument.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TCampdocument.java
index a1ff0cd..395d5f0 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TCampdocument.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TCampdocument.java
@@ -6,6 +6,8 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
+import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TDocument.TDocumentPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampdocumentRecord;
import java.util.Arrays;
@@ -14,10 +16,14 @@ 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;
@@ -96,6 +102,39 @@ public class TCampdocument extends TableImpl {
this(DSL.name("t_campdocument"), null);
}
+ public TCampdocument(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, T_CAMPDOCUMENT);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class TCampdocumentPath extends TCampdocument implements Path {
+
+ private static final long serialVersionUID = 1L;
+ public TCampdocumentPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private TCampdocumentPath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public TCampdocumentPath as(String alias) {
+ return new TCampdocumentPath(DSL.name(alias), this);
+ }
+
+ @Override
+ public TCampdocumentPath as(Name alias) {
+ return new TCampdocumentPath(alias, this);
+ }
+
+ @Override
+ public TCampdocumentPath as(Table> alias) {
+ return new TCampdocumentPath(alias.getQualifiedName(), this);
+ }
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
@@ -116,6 +155,35 @@ public class TCampdocument extends TableImpl {
return Arrays.asList(Keys.T_CAMPDOCUMENT_FK_CAMP_FK_DOCUMENT_KEY);
}
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_CAMP_FKEY, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_DOCUMENT_FKEY);
+ }
+
+ private transient TCampPath _tCamp;
+
+ /**
+ * Get the implicit join path to the public.t_camp
table.
+ */
+ public TCampPath tCamp() {
+ if (_tCamp == null)
+ _tCamp = new TCampPath(this, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_CAMP_FKEY, null);
+
+ return _tCamp;
+ }
+
+ private transient TDocumentPath _tDocument;
+
+ /**
+ * Get the implicit join path to the public.t_document
table.
+ */
+ public TDocumentPath tDocument() {
+ if (_tDocument == null)
+ _tDocument = new TDocumentPath(this, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_DOCUMENT_FKEY, null);
+
+ return _tDocument;
+ }
+
@Override
public TCampdocument as(String alias) {
return new TCampdocument(DSL.name(alias), this);
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TCampprofile.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TCampprofile.java
index a31a703..dbea25d 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TCampprofile.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TCampprofile.java
@@ -7,6 +7,8 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
import de.jottyfan.camporganizer.db.jooq.enums.EnumModule;
+import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TProfile.TProfilePath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampprofileRecord;
import java.util.Arrays;
@@ -15,10 +17,14 @@ 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;
@@ -102,6 +108,39 @@ public class TCampprofile extends TableImpl {
this(DSL.name("t_campprofile"), null);
}
+ public TCampprofile(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, T_CAMPPROFILE);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class TCampprofilePath extends TCampprofile implements Path {
+
+ private static final long serialVersionUID = 1L;
+ public TCampprofilePath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private TCampprofilePath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public TCampprofilePath as(String alias) {
+ return new TCampprofilePath(DSL.name(alias), this);
+ }
+
+ @Override
+ public TCampprofilePath as(Name alias) {
+ return new TCampprofilePath(alias, this);
+ }
+
+ @Override
+ public TCampprofilePath as(Table> alias) {
+ return new TCampprofilePath(alias.getQualifiedName(), this);
+ }
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
@@ -122,6 +161,35 @@ public class TCampprofile extends TableImpl {
return Arrays.asList(Keys.T_CAMPPROFILE_FK_PROFILE_FK_CAMP_MODULE_KEY);
}
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY);
+ }
+
+ private transient TCampPath _tCamp;
+
+ /**
+ * Get the implicit join path to the public.t_camp
table.
+ */
+ public TCampPath tCamp() {
+ if (_tCamp == null)
+ _tCamp = new TCampPath(this, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY, null);
+
+ return _tCamp;
+ }
+
+ private transient TProfilePath _tProfile;
+
+ /**
+ * Get the implicit join path to the public.t_profile
table.
+ */
+ public TProfilePath tProfile() {
+ if (_tProfile == null)
+ _tProfile = new TProfilePath(this, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY, null);
+
+ return _tProfile;
+ }
+
@Override
public TCampprofile as(String alias) {
return new TCampprofile(DSL.name(alias), this);
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TDocument.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TDocument.java
index 9e2fc9e..d4e4d10 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TDocument.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TDocument.java
@@ -8,6 +8,10 @@ import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
+import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TCampdocument.TCampdocumentPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TDocumentrole.TDocumentrolePath;
+import de.jottyfan.camporganizer.db.jooq.tables.TLocation.TLocationPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TDocumentRecord;
import java.util.Arrays;
@@ -16,10 +20,14 @@ 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;
@@ -108,6 +116,39 @@ public class TDocument extends TableImpl {
this(DSL.name("t_document"), null);
}
+ public TDocument(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, T_DOCUMENT);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class TDocumentPath extends TDocument implements Path {
+
+ private static final long serialVersionUID = 1L;
+ public TDocumentPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private TDocumentPath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public TDocumentPath as(String alias) {
+ return new TDocumentPath(DSL.name(alias), this);
+ }
+
+ @Override
+ public TDocumentPath as(Name alias) {
+ return new TDocumentPath(alias, this);
+ }
+
+ @Override
+ public TDocumentPath as(Table> alias) {
+ return new TDocumentPath(alias.getQualifiedName(), this);
+ }
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
@@ -128,6 +169,58 @@ public class TDocument extends TableImpl {
return Arrays.asList(Keys.T_DOCUMENT_NAME_KEY);
}
+ private transient TCampPath _tCamp;
+
+ /**
+ * Get the implicit to-many join path to the public.t_camp
+ * table
+ */
+ public TCampPath tCamp() {
+ if (_tCamp == null)
+ _tCamp = new TCampPath(this, null, Keys.T_CAMP__T_CAMP_FK_DOCUMENT_FKEY.getInverseKey());
+
+ return _tCamp;
+ }
+
+ private transient TCampdocumentPath _tCampdocument;
+
+ /**
+ * Get the implicit to-many join path to the
+ * public.t_campdocument
table
+ */
+ public TCampdocumentPath tCampdocument() {
+ if (_tCampdocument == null)
+ _tCampdocument = new TCampdocumentPath(this, null, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_DOCUMENT_FKEY.getInverseKey());
+
+ return _tCampdocument;
+ }
+
+ private transient TDocumentrolePath _tDocumentrole;
+
+ /**
+ * Get the implicit to-many join path to the
+ * public.t_documentrole
table
+ */
+ public TDocumentrolePath tDocumentrole() {
+ if (_tDocumentrole == null)
+ _tDocumentrole = new TDocumentrolePath(this, null, Keys.T_DOCUMENTROLE__T_DOCUMENTROLE_FK_DOCUMENT_FKEY.getInverseKey());
+
+ return _tDocumentrole;
+ }
+
+ private transient TLocationPath _tLocation;
+
+ /**
+ * Get the implicit to-many join path to the public.t_location
+ * table
+ */
+ public TLocationPath tLocation() {
+ if (_tLocation == null)
+ _tLocation = new TLocationPath(this, null, Keys.T_LOCATION__T_LOCATION_FK_DOCUMENT_FKEY.getInverseKey());
+
+ return _tLocation;
+ }
+
@Override
public TDocument as(String alias) {
return new TDocument(DSL.name(alias), this);
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TDocumentrole.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TDocumentrole.java
index 9f636d3..8ed23d1 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TDocumentrole.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TDocumentrole.java
@@ -7,6 +7,7 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
+import de.jottyfan.camporganizer.db.jooq.tables.TDocument.TDocumentPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TDocumentroleRecord;
import java.util.Arrays;
@@ -15,10 +16,14 @@ 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;
@@ -97,6 +102,39 @@ public class TDocumentrole extends TableImpl {
this(DSL.name("t_documentrole"), null);
}
+ public TDocumentrole(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, T_DOCUMENTROLE);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class TDocumentrolePath extends TDocumentrole implements Path {
+
+ private static final long serialVersionUID = 1L;
+ public TDocumentrolePath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private TDocumentrolePath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public TDocumentrolePath as(String alias) {
+ return new TDocumentrolePath(DSL.name(alias), this);
+ }
+
+ @Override
+ public TDocumentrolePath as(Name alias) {
+ return new TDocumentrolePath(alias, this);
+ }
+
+ @Override
+ public TDocumentrolePath as(Table> alias) {
+ return new TDocumentrolePath(alias.getQualifiedName(), this);
+ }
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
@@ -117,6 +155,23 @@ public class TDocumentrole extends TableImpl {
return Arrays.asList(Keys.T_DOCUMENTROLE_FK_DOCUMENT_CAMPROLE_KEY);
}
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.T_DOCUMENTROLE__T_DOCUMENTROLE_FK_DOCUMENT_FKEY);
+ }
+
+ private transient TDocumentPath _tDocument;
+
+ /**
+ * Get the implicit join path to the public.t_document
table.
+ */
+ public TDocumentPath tDocument() {
+ if (_tDocument == null)
+ _tDocument = new TDocumentPath(this, Keys.T_DOCUMENTROLE__T_DOCUMENTROLE_FK_DOCUMENT_FKEY, null);
+
+ return _tDocument;
+ }
+
@Override
public TDocumentrole as(String alias) {
return new TDocumentrole(DSL.name(alias), this);
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TLocation.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TLocation.java
index 0e6407a..46995a6 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TLocation.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TLocation.java
@@ -6,16 +6,24 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
+import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TDocument.TDocumentPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TLocationRecord;
+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;
@@ -99,6 +107,39 @@ public class TLocation extends TableImpl {
this(DSL.name("t_location"), null);
}
+ public TLocation(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, T_LOCATION);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class TLocationPath extends TLocation implements Path {
+
+ private static final long serialVersionUID = 1L;
+ public TLocationPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private TLocationPath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public TLocationPath as(String alias) {
+ return new TLocationPath(DSL.name(alias), this);
+ }
+
+ @Override
+ public TLocationPath as(Name alias) {
+ return new TLocationPath(alias, this);
+ }
+
+ @Override
+ public TLocationPath as(Table> alias) {
+ return new TLocationPath(alias.getQualifiedName(), this);
+ }
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
@@ -114,6 +155,36 @@ public class TLocation extends TableImpl {
return Keys.T_LOCATION_PKEY;
}
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.T_LOCATION__T_LOCATION_FK_DOCUMENT_FKEY);
+ }
+
+ private transient TDocumentPath _tDocument;
+
+ /**
+ * Get the implicit join path to the public.t_document
table.
+ */
+ public TDocumentPath tDocument() {
+ if (_tDocument == null)
+ _tDocument = new TDocumentPath(this, Keys.T_LOCATION__T_LOCATION_FK_DOCUMENT_FKEY, null);
+
+ return _tDocument;
+ }
+
+ private transient TCampPath _tCamp;
+
+ /**
+ * Get the implicit to-many join path to the public.t_camp
+ * table
+ */
+ public TCampPath tCamp() {
+ if (_tCamp == null)
+ _tCamp = new TCampPath(this, null, Keys.T_CAMP__T_CAMP_FK_LOCATION_FKEY.getInverseKey());
+
+ return _tCamp;
+ }
+
@Override
public TLocation as(String alias) {
return new TLocation(DSL.name(alias), this);
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TPerson.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TPerson.java
index 5f7ce03..3ef20e3 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TPerson.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TPerson.java
@@ -9,6 +9,9 @@ import de.jottyfan.camporganizer.db.jooq.Public;
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
import de.jottyfan.camporganizer.db.jooq.enums.EnumProgress;
import de.jottyfan.camporganizer.db.jooq.enums.EnumSex;
+import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TPersondocument.TPersondocumentPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TProfile.TProfilePath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TPersonRecord;
import java.math.BigDecimal;
@@ -20,10 +23,14 @@ 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;
@@ -192,6 +199,39 @@ public class TPerson extends TableImpl {
this(DSL.name("t_person"), null);
}
+ public TPerson(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, T_PERSON);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class TPersonPath extends TPerson implements Path {
+
+ private static final long serialVersionUID = 1L;
+ public TPersonPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private TPersonPath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public TPersonPath as(String alias) {
+ return new TPersonPath(DSL.name(alias), this);
+ }
+
+ @Override
+ public TPersonPath as(Name alias) {
+ return new TPersonPath(alias, this);
+ }
+
+ @Override
+ public TPersonPath as(Table> alias) {
+ return new TPersonPath(alias.getQualifiedName(), this);
+ }
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
@@ -212,6 +252,62 @@ public class TPerson extends TableImpl {
return Arrays.asList(Keys.T_PERSON_FORENAME_SURNAME_BIRTHDATE_FK_CAMP_KEY);
}
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.T_PERSON__T_PERSON_FK_CAMP_FKEY, Keys.T_PERSON__T_PERSON_FK_PROFILE_FKEY, Keys.T_PERSON__T_PERSON_FK_REGISTRATOR_FKEY);
+ }
+
+ private transient TCampPath _tCamp;
+
+ /**
+ * Get the implicit join path to the public.t_camp
table.
+ */
+ public TCampPath tCamp() {
+ if (_tCamp == null)
+ _tCamp = new TCampPath(this, Keys.T_PERSON__T_PERSON_FK_CAMP_FKEY, null);
+
+ return _tCamp;
+ }
+
+ private transient TProfilePath _tPersonFkProfileFkey;
+
+ /**
+ * Get the implicit join path to the public.t_profile
table,
+ * via the t_person_fk_profile_fkey
key.
+ */
+ public TProfilePath tPersonFkProfileFkey() {
+ if (_tPersonFkProfileFkey == null)
+ _tPersonFkProfileFkey = new TProfilePath(this, Keys.T_PERSON__T_PERSON_FK_PROFILE_FKEY, null);
+
+ return _tPersonFkProfileFkey;
+ }
+
+ private transient TProfilePath _tPersonFkRegistratorFkey;
+
+ /**
+ * Get the implicit join path to the public.t_profile
table,
+ * via the t_person_fk_registrator_fkey
key.
+ */
+ public TProfilePath tPersonFkRegistratorFkey() {
+ if (_tPersonFkRegistratorFkey == null)
+ _tPersonFkRegistratorFkey = new TProfilePath(this, Keys.T_PERSON__T_PERSON_FK_REGISTRATOR_FKEY, null);
+
+ return _tPersonFkRegistratorFkey;
+ }
+
+ private transient TPersondocumentPath _tPersondocument;
+
+ /**
+ * Get the implicit to-many join path to the
+ * public.t_persondocument
table
+ */
+ public TPersondocumentPath tPersondocument() {
+ if (_tPersondocument == null)
+ _tPersondocument = new TPersondocumentPath(this, null, Keys.T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY.getInverseKey());
+
+ return _tPersondocument;
+ }
+
@Override
public TPerson as(String alias) {
return new TPerson(DSL.name(alias), this);
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TPersondocument.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TPersondocument.java
index 6542dea..3a45978 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TPersondocument.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TPersondocument.java
@@ -7,6 +7,7 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
+import de.jottyfan.camporganizer.db.jooq.tables.TPerson.TPersonPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TPersondocumentRecord;
import java.util.Arrays;
@@ -15,10 +16,14 @@ 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;
@@ -107,6 +112,39 @@ public class TPersondocument extends TableImpl {
this(DSL.name("t_persondocument"), null);
}
+ public TPersondocument(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, T_PERSONDOCUMENT);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class TPersondocumentPath extends TPersondocument implements Path {
+
+ private static final long serialVersionUID = 1L;
+ public TPersondocumentPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private TPersondocumentPath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public TPersondocumentPath as(String alias) {
+ return new TPersondocumentPath(DSL.name(alias), this);
+ }
+
+ @Override
+ public TPersondocumentPath as(Name alias) {
+ return new TPersondocumentPath(alias, this);
+ }
+
+ @Override
+ public TPersondocumentPath as(Table> alias) {
+ return new TPersondocumentPath(alias.getQualifiedName(), this);
+ }
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
@@ -127,6 +165,23 @@ public class TPersondocument extends TableImpl {
return Arrays.asList(Keys.T_PERSONDOCUMENT_FK_PERSON_NAME_KEY);
}
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY);
+ }
+
+ private transient TPersonPath _tPerson;
+
+ /**
+ * Get the implicit join path to the public.t_person
table.
+ */
+ public TPersonPath tPerson() {
+ if (_tPerson == null)
+ _tPerson = new TPersonPath(this, Keys.T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY, null);
+
+ return _tPerson;
+ }
+
@Override
public TPersondocument as(String alias) {
return new TPersondocument(DSL.name(alias), this);
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TProfile.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TProfile.java
index 50db9e6..c11d74f 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TProfile.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TProfile.java
@@ -6,6 +6,10 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
+import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TCampprofile.TCampprofilePath;
+import de.jottyfan.camporganizer.db.jooq.tables.TPerson.TPersonPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TProfilerole.TProfilerolePath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TProfileRecord;
import java.time.LocalDateTime;
@@ -15,10 +19,14 @@ 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;
@@ -117,6 +125,39 @@ public class TProfile extends TableImpl {
this(DSL.name("t_profile"), null);
}
+ public TProfile(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, T_PROFILE);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class TProfilePath extends TProfile implements Path {
+
+ private static final long serialVersionUID = 1L;
+ public TProfilePath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private TProfilePath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public TProfilePath as(String alias) {
+ return new TProfilePath(DSL.name(alias), this);
+ }
+
+ @Override
+ public TProfilePath as(Name alias) {
+ return new TProfilePath(alias, this);
+ }
+
+ @Override
+ public TProfilePath as(Table> alias) {
+ return new TProfilePath(alias.getQualifiedName(), this);
+ }
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
@@ -137,6 +178,71 @@ public class TProfile extends TableImpl {
return Arrays.asList(Keys.T_PROFILE_USERNAME_KEY, Keys.T_PROFILE_UUID_KEY);
}
+ private transient TCampPath _tCamp;
+
+ /**
+ * Get the implicit to-many join path to the public.t_camp
+ * table
+ */
+ public TCampPath tCamp() {
+ if (_tCamp == null)
+ _tCamp = new TCampPath(this, null, Keys.T_CAMP__T_CAMP_FK_PROFILE_FKEY.getInverseKey());
+
+ return _tCamp;
+ }
+
+ private transient TCampprofilePath _tCampprofile;
+
+ /**
+ * Get the implicit to-many join path to the
+ * public.t_campprofile
table
+ */
+ public TCampprofilePath tCampprofile() {
+ if (_tCampprofile == null)
+ _tCampprofile = new TCampprofilePath(this, null, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY.getInverseKey());
+
+ return _tCampprofile;
+ }
+
+ private transient TPersonPath _tPersonFkProfileFkey;
+
+ /**
+ * Get the implicit to-many join path to the public.t_person
+ * table, via the t_person_fk_profile_fkey
key
+ */
+ public TPersonPath tPersonFkProfileFkey() {
+ if (_tPersonFkProfileFkey == null)
+ _tPersonFkProfileFkey = new TPersonPath(this, null, Keys.T_PERSON__T_PERSON_FK_PROFILE_FKEY.getInverseKey());
+
+ return _tPersonFkProfileFkey;
+ }
+
+ private transient TPersonPath _tPersonFkRegistratorFkey;
+
+ /**
+ * Get the implicit to-many join path to the public.t_person
+ * table, via the t_person_fk_registrator_fkey
key
+ */
+ public TPersonPath tPersonFkRegistratorFkey() {
+ if (_tPersonFkRegistratorFkey == null)
+ _tPersonFkRegistratorFkey = new TPersonPath(this, null, Keys.T_PERSON__T_PERSON_FK_REGISTRATOR_FKEY.getInverseKey());
+
+ return _tPersonFkRegistratorFkey;
+ }
+
+ private transient TProfilerolePath _tProfilerole;
+
+ /**
+ * Get the implicit to-many join path to the
+ * public.t_profilerole
table
+ */
+ public TProfilerolePath tProfilerole() {
+ if (_tProfilerole == null)
+ _tProfilerole = new TProfilerolePath(this, null, Keys.T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY.getInverseKey());
+
+ return _tProfilerole;
+ }
+
@Override
public TProfile as(String alias) {
return new TProfile(DSL.name(alias), this);
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TProfilerole.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TProfilerole.java
index 4514c25..81fec47 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TProfilerole.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TProfilerole.java
@@ -7,6 +7,7 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
+import de.jottyfan.camporganizer.db.jooq.tables.TProfile.TProfilePath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TProfileroleRecord;
import java.util.Arrays;
@@ -15,9 +16,13 @@ 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;
@@ -91,6 +96,39 @@ public class TProfilerole extends TableImpl {
this(DSL.name("t_profilerole"), null);
}
+ public TProfilerole(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, T_PROFILEROLE);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class TProfilerolePath extends TProfilerole implements Path {
+
+ private static final long serialVersionUID = 1L;
+ public TProfilerolePath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private TProfilerolePath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public TProfilerolePath as(String alias) {
+ return new TProfilerolePath(DSL.name(alias), this);
+ }
+
+ @Override
+ public TProfilerolePath as(Name alias) {
+ return new TProfilerolePath(alias, this);
+ }
+
+ @Override
+ public TProfilerolePath as(Table> alias) {
+ return new TProfilerolePath(alias.getQualifiedName(), this);
+ }
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
@@ -101,6 +139,23 @@ public class TProfilerole extends TableImpl {
return Arrays.asList(Keys.T_PROFILEROLE_FK_PROFILE_ROLE_KEY);
}
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY);
+ }
+
+ private transient TProfilePath _tProfile;
+
+ /**
+ * Get the implicit join path to the public.t_profile
table.
+ */
+ public TProfilePath tProfile() {
+ if (_tProfile == null)
+ _tProfile = new TProfilePath(this, Keys.T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY, null);
+
+ return _tProfile;
+ }
+
@Override
public TProfilerole as(String alias) {
return new TProfilerole(DSL.name(alias), this);
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TSales.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TSales.java
index abfbb63..255af02 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TSales.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TSales.java
@@ -6,18 +6,27 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
+import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent.TSalescontentPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype.TSalescontenttypePath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalesRecord;
import java.math.BigDecimal;
import java.time.LocalDateTime;
+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;
@@ -136,6 +145,39 @@ public class TSales extends TableImpl {
this(DSL.name("t_sales"), null);
}
+ public TSales(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, T_SALES);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class TSalesPath extends TSales implements Path {
+
+ private static final long serialVersionUID = 1L;
+ public TSalesPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private TSalesPath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public TSalesPath as(String alias) {
+ return new TSalesPath(DSL.name(alias), this);
+ }
+
+ @Override
+ public TSalesPath as(Name alias) {
+ return new TSalesPath(alias, this);
+ }
+
+ @Override
+ public TSalesPath as(Table> alias) {
+ return new TSalesPath(alias.getQualifiedName(), this);
+ }
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
@@ -151,6 +193,44 @@ public class TSales extends TableImpl {
return Keys.T_SALES_PKEY;
}
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.T_SALES__T_SALES_FK_CAMP_FKEY);
+ }
+
+ private transient TCampPath _tCamp;
+
+ /**
+ * Get the implicit join path to the public.t_camp
table.
+ */
+ public TCampPath tCamp() {
+ if (_tCamp == null)
+ _tCamp = new TCampPath(this, Keys.T_SALES__T_SALES_FK_CAMP_FKEY, null);
+
+ return _tCamp;
+ }
+
+ private transient TSalescontentPath _tSalescontent;
+
+ /**
+ * Get the implicit to-many join path to the
+ * public.t_salescontent
table
+ */
+ public TSalescontentPath tSalescontent() {
+ if (_tSalescontent == null)
+ _tSalescontent = new TSalescontentPath(this, null, Keys.T_SALESCONTENT__T_SALESCONTENT_FK_SALES_FKEY.getInverseKey());
+
+ return _tSalescontent;
+ }
+
+ /**
+ * Get the implicit many-to-many join path to the
+ * public.t_salescontenttype
table
+ */
+ public TSalescontenttypePath tSalescontenttype() {
+ return tSalescontent().tSalescontenttype();
+ }
+
@Override
public TSales as(String alias) {
return new TSales(DSL.name(alias), this);
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TSalescontent.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TSalescontent.java
index 5ca4887..648d1f7 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TSalescontent.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TSalescontent.java
@@ -6,6 +6,8 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
+import de.jottyfan.camporganizer.db.jooq.tables.TSales.TSalesPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype.TSalescontenttypePath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontentRecord;
import java.util.Arrays;
@@ -14,9 +16,13 @@ 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;
@@ -90,6 +96,39 @@ public class TSalescontent extends TableImpl {
this(DSL.name("t_salescontent"), null);
}
+ public TSalescontent(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, T_SALESCONTENT);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class TSalescontentPath extends TSalescontent implements Path {
+
+ private static final long serialVersionUID = 1L;
+ public TSalescontentPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private TSalescontentPath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public TSalescontentPath as(String alias) {
+ return new TSalescontentPath(DSL.name(alias), this);
+ }
+
+ @Override
+ public TSalescontentPath as(Name alias) {
+ return new TSalescontentPath(alias, this);
+ }
+
+ @Override
+ public TSalescontentPath as(Table> alias) {
+ return new TSalescontentPath(alias.getQualifiedName(), this);
+ }
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
@@ -100,6 +139,36 @@ public class TSalescontent extends TableImpl {
return Arrays.asList(Keys.T_SALESCONTENT_FK_SALES_FK_SALESCONTENTTYPE_KEY);
}
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.T_SALESCONTENT__T_SALESCONTENT_FK_SALES_FKEY, Keys.T_SALESCONTENT__T_SALESCONTENT_FK_SALESCONTENTTYPE_FKEY);
+ }
+
+ private transient TSalesPath _tSales;
+
+ /**
+ * Get the implicit join path to the public.t_sales
table.
+ */
+ public TSalesPath tSales() {
+ if (_tSales == null)
+ _tSales = new TSalesPath(this, Keys.T_SALESCONTENT__T_SALESCONTENT_FK_SALES_FKEY, null);
+
+ return _tSales;
+ }
+
+ private transient TSalescontenttypePath _tSalescontenttype;
+
+ /**
+ * Get the implicit join path to the public.t_salescontenttype
+ * table.
+ */
+ public TSalescontenttypePath tSalescontenttype() {
+ if (_tSalescontenttype == null)
+ _tSalescontenttype = new TSalescontenttypePath(this, Keys.T_SALESCONTENT__T_SALESCONTENT_FK_SALESCONTENTTYPE_FKEY, null);
+
+ return _tSalescontenttype;
+ }
+
@Override
public TSalescontent as(String alias) {
return new TSalescontent(DSL.name(alias), this);
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TSalescontenttype.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TSalescontenttype.java
index 14329b5..b294898 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TSalescontenttype.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TSalescontenttype.java
@@ -6,15 +6,21 @@ package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
+import de.jottyfan.camporganizer.db.jooq.tables.TSales.TSalesPath;
+import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent.TSalescontentPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontenttypeRecord;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.InverseForeignKey;
import org.jooq.Name;
+import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
+import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
@@ -83,6 +89,39 @@ public class TSalescontenttype extends TableImpl {
this(DSL.name("t_salescontenttype"), null);
}
+ public TSalescontenttype(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath, T_SALESCONTENTTYPE);
+ }
+
+ /**
+ * A subtype implementing {@link Path} for simplified path-based joins.
+ */
+ public static class TSalescontenttypePath extends TSalescontenttype implements Path {
+
+ private static final long serialVersionUID = 1L;
+ public TSalescontenttypePath(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
+ super(path, childPath, parentPath);
+ }
+ private TSalescontenttypePath(Name alias, Table aliased) {
+ super(alias, aliased);
+ }
+
+ @Override
+ public TSalescontenttypePath as(String alias) {
+ return new TSalescontenttypePath(DSL.name(alias), this);
+ }
+
+ @Override
+ public TSalescontenttypePath as(Name alias) {
+ return new TSalescontenttypePath(alias, this);
+ }
+
+ @Override
+ public TSalescontenttypePath as(Table> alias) {
+ return new TSalescontenttypePath(alias.getQualifiedName(), this);
+ }
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
@@ -93,6 +132,27 @@ public class TSalescontenttype extends TableImpl {
return Keys.T_SALESCONTENTTYPE_PKEY;
}
+ private transient TSalescontentPath _tSalescontent;
+
+ /**
+ * Get the implicit to-many join path to the
+ * public.t_salescontent
table
+ */
+ public TSalescontentPath tSalescontent() {
+ if (_tSalescontent == null)
+ _tSalescontent = new TSalescontentPath(this, null, Keys.T_SALESCONTENT__T_SALESCONTENT_FK_SALESCONTENTTYPE_FKEY.getInverseKey());
+
+ return _tSalescontent;
+ }
+
+ /**
+ * Get the implicit many-to-many join path to the
+ * public.t_sales
table
+ */
+ public TSalesPath tSales() {
+ return tSalescontent().tSales();
+ }
+
@Override
public TSalescontenttype as(String alias) {
return new TSalescontenttype(DSL.name(alias), this);
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VAdult.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VAdult.java
index a336a78..2a90d43 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VAdult.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VAdult.java
@@ -80,7 +80,7 @@ public class VAdult extends TableImpl {
private VAdult(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_adult" as SELECT age((t_person.birthdate)::timestamp with time zone) AS age,
+ CREATE VIEW "v_adult" AS SELECT age((t_person.birthdate)::timestamp with time zone) AS age,
t_person.forename,
t_person.surname,
t_person.camprole,
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VBudget.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VBudget.java
index e8ba39a..4d3354f 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VBudget.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VBudget.java
@@ -79,7 +79,7 @@ public class VBudget extends TableImpl {
private VBudget(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_budget" as SELECT sum(v_sales.cash) AS budget,
+ CREATE VIEW "v_budget" AS SELECT sum(v_sales.cash) AS budget,
v_sales.fk_camp,
v_sales.name,
v_sales.location,
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCamp.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCamp.java
index 488cb97..4ea450c 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCamp.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCamp.java
@@ -164,7 +164,7 @@ public class VCamp extends TableImpl {
private VCamp(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_camp" as WITH female(used, fk_camp) AS (
+ CREATE VIEW "v_camp" AS WITH female(used, fk_camp) AS (
SELECT count(1) AS count,
t_person.fk_camp
FROM t_person
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCampBudget.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCampBudget.java
index 2064d42..47759e9 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCampBudget.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCampBudget.java
@@ -74,7 +74,7 @@ public class VCampBudget extends TableImpl {
private VCampBudget(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_camp_budget" as WITH x(money, camp) AS (
+ CREATE VIEW "v_camp_budget" AS WITH x(money, camp) AS (
SELECT COALESCE(t_person.paid, 0.0) AS cash,
t_person.fk_camp
FROM t_person
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCampBudgetYear.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCampBudgetYear.java
index 89eddb7..71ffa5c 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCampBudgetYear.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCampBudgetYear.java
@@ -64,7 +64,7 @@ public class VCampBudgetYear extends TableImpl {
private VCampBudgetYear(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_camp_budget_year" as SELECT sum(v_camp_budget.budget) AS sum,
+ CREATE VIEW "v_camp_budget_year" AS SELECT sum(v_camp_budget.budget) AS sum,
v_camp_budget.year
FROM v_camp_budget
GROUP BY v_camp_budget.year
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCampdocument.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCampdocument.java
index 8023b8f..666dff9 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCampdocument.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCampdocument.java
@@ -96,7 +96,7 @@ public class VCampdocument extends TableImpl {
private VCampdocument(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_campdocument" as SELECT cd.fk_camp,
+ CREATE VIEW "v_campdocument" AS SELECT cd.fk_camp,
c.name AS campname,
c.arrive,
cd.fk_document,
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCamprole.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCamprole.java
index 4da6ef4..ea14d85 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCamprole.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VCamprole.java
@@ -59,7 +59,7 @@ public class VCamprole extends TableImpl {
private VCamprole(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_camprole" as SELECT unnest(enum_range(NULL::enum_camprole)) AS name;
+ CREATE VIEW "v_camprole" AS SELECT unnest(enum_range(NULL::enum_camprole)) AS name;
"""), where);
}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VDocument.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VDocument.java
index 6fa9f27..b6b7540 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VDocument.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VDocument.java
@@ -85,7 +85,7 @@ public class VDocument extends TableImpl {
private VDocument(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_document" as SELECT d.pk,
+ CREATE VIEW "v_document" AS SELECT d.pk,
d.doctype,
d.name,
d.document,
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VDsgvoDeleteCandidate.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VDsgvoDeleteCandidate.java
index fc958a8..280363b 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VDsgvoDeleteCandidate.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VDsgvoDeleteCandidate.java
@@ -100,7 +100,7 @@ public class VDsgvoDeleteCandidate extends TableImpl aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_dsgvo_delete_candidate" as SELECT p.pk AS fk_person,
+ CREATE VIEW "v_dsgvo_delete_candidate" AS SELECT p.pk AS fk_person,
p.forename,
p.surname,
p.fk_camp,
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VFeeder.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VFeeder.java
index 153da80..69e5e7d 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VFeeder.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VFeeder.java
@@ -110,7 +110,7 @@ public class VFeeder extends TableImpl {
private VFeeder(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_feeder" as SELECT t_person.forename,
+ CREATE VIEW "v_feeder" AS SELECT t_person.forename,
t_person.surname,
t_person.street,
t_person.zip,
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VProfile.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VProfile.java
index 624deb0..83383ee 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VProfile.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VProfile.java
@@ -89,7 +89,7 @@ public class VProfile extends TableImpl {
private VProfile(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_profile" as SELECT t_profile.pk,
+ CREATE VIEW "v_profile" AS SELECT t_profile.pk,
t_profile.forename,
t_profile.surname,
t_profile.username,
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VRegistration.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VRegistration.java
index 455e41c..ca326ff 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VRegistration.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VRegistration.java
@@ -110,7 +110,7 @@ public class VRegistration extends TableImpl {
private VRegistration(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_registration" as SELECT p.pk,
+ CREATE VIEW "v_registration" AS SELECT p.pk,
p.forename,
p.surname,
p.street,
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VRole.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VRole.java
index c1a0068..55351e3 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VRole.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VRole.java
@@ -59,7 +59,7 @@ public class VRole extends TableImpl {
private VRole(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_role" as SELECT unnest(enum_range(NULL::enum_role)) AS unnest;
+ CREATE VIEW "v_role" AS SELECT unnest(enum_range(NULL::enum_role)) AS unnest;
"""), where);
}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VSales.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VSales.java
index fb0869c..b029e1b 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VSales.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VSales.java
@@ -135,7 +135,7 @@ public class VSales extends TableImpl {
private VSales(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_sales" as SELECT s.pk,
+ CREATE VIEW "v_sales" AS SELECT s.pk,
s.trader,
c.pk AS fk_camp,
c.name,
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VVersion.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VVersion.java
index 0921b6a..1e182e0 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VVersion.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/VVersion.java
@@ -58,7 +58,7 @@ public class VVersion extends TableImpl {
private VVersion(Name alias, Table aliased, Field>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_version" as SELECT '2025-04-23'::text AS version;
+ CREATE VIEW "v_version" AS SELECT '2025-04-23'::text AS version;
"""), where);
}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TCamp.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TCamp.java
deleted file mode 100644
index 95ccd97..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TCamp.java
+++ /dev/null
@@ -1,396 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import java.io.Serializable;
-import java.time.LocalDateTime;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class TCamp implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final String name;
- private final LocalDateTime arrive;
- private final LocalDateTime depart;
- private final Integer fkLocation;
- private final Integer minAge;
- private final Integer maxAge;
- private final String price;
- private final String countries;
- private final Integer fkDocument;
- private final Boolean lockSales;
- private final Integer fkProfile;
- private final Integer bedsMale;
- private final Integer bedsFemale;
- private final Integer blockedBedsMale;
- private final Integer blockedBedsFemale;
- private final LocalDateTime startBooking;
- private final Integer minTeacherage;
-
- public TCamp(TCamp value) {
- this.pk = value.pk;
- this.name = value.name;
- this.arrive = value.arrive;
- this.depart = value.depart;
- this.fkLocation = value.fkLocation;
- this.minAge = value.minAge;
- this.maxAge = value.maxAge;
- this.price = value.price;
- this.countries = value.countries;
- this.fkDocument = value.fkDocument;
- this.lockSales = value.lockSales;
- this.fkProfile = value.fkProfile;
- this.bedsMale = value.bedsMale;
- this.bedsFemale = value.bedsFemale;
- this.blockedBedsMale = value.blockedBedsMale;
- this.blockedBedsFemale = value.blockedBedsFemale;
- this.startBooking = value.startBooking;
- this.minTeacherage = value.minTeacherage;
- }
-
- public TCamp(
- Integer pk,
- String name,
- LocalDateTime arrive,
- LocalDateTime depart,
- Integer fkLocation,
- Integer minAge,
- Integer maxAge,
- String price,
- String countries,
- Integer fkDocument,
- Boolean lockSales,
- Integer fkProfile,
- Integer bedsMale,
- Integer bedsFemale,
- Integer blockedBedsMale,
- Integer blockedBedsFemale,
- LocalDateTime startBooking,
- Integer minTeacherage
- ) {
- this.pk = pk;
- this.name = name;
- this.arrive = arrive;
- this.depart = depart;
- this.fkLocation = fkLocation;
- this.minAge = minAge;
- this.maxAge = maxAge;
- this.price = price;
- this.countries = countries;
- this.fkDocument = fkDocument;
- this.lockSales = lockSales;
- this.fkProfile = fkProfile;
- this.bedsMale = bedsMale;
- this.bedsFemale = bedsFemale;
- this.blockedBedsMale = blockedBedsMale;
- this.blockedBedsFemale = blockedBedsFemale;
- this.startBooking = startBooking;
- this.minTeacherage = minTeacherage;
- }
-
- /**
- * Getter for public.t_camp.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.t_camp.name
.
- */
- public String getName() {
- return this.name;
- }
-
- /**
- * Getter for public.t_camp.arrive
.
- */
- public LocalDateTime getArrive() {
- return this.arrive;
- }
-
- /**
- * Getter for public.t_camp.depart
.
- */
- public LocalDateTime getDepart() {
- return this.depart;
- }
-
- /**
- * Getter for public.t_camp.fk_location
.
- */
- public Integer getFkLocation() {
- return this.fkLocation;
- }
-
- /**
- * Getter for public.t_camp.min_age
.
- */
- public Integer getMinAge() {
- return this.minAge;
- }
-
- /**
- * Getter for public.t_camp.max_age
.
- */
- public Integer getMaxAge() {
- return this.maxAge;
- }
-
- /**
- * Getter for public.t_camp.price
.
- */
- public String getPrice() {
- return this.price;
- }
-
- /**
- * Getter for public.t_camp.countries
.
- */
- public String getCountries() {
- return this.countries;
- }
-
- /**
- * Getter for public.t_camp.fk_document
.
- */
- public Integer getFkDocument() {
- return this.fkDocument;
- }
-
- /**
- * Getter for public.t_camp.lock_sales
.
- */
- public Boolean getLockSales() {
- return this.lockSales;
- }
-
- /**
- * Getter for public.t_camp.fk_profile
.
- */
- public Integer getFkProfile() {
- return this.fkProfile;
- }
-
- /**
- * Getter for public.t_camp.beds_male
.
- */
- public Integer getBedsMale() {
- return this.bedsMale;
- }
-
- /**
- * Getter for public.t_camp.beds_female
.
- */
- public Integer getBedsFemale() {
- return this.bedsFemale;
- }
-
- /**
- * Getter for public.t_camp.blocked_beds_male
.
- */
- public Integer getBlockedBedsMale() {
- return this.blockedBedsMale;
- }
-
- /**
- * Getter for public.t_camp.blocked_beds_female
.
- */
- public Integer getBlockedBedsFemale() {
- return this.blockedBedsFemale;
- }
-
- /**
- * Getter for public.t_camp.start_booking
.
- */
- public LocalDateTime getStartBooking() {
- return this.startBooking;
- }
-
- /**
- * Getter for public.t_camp.min_teacherage
.
- */
- public Integer getMinTeacherage() {
- return this.minTeacherage;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final TCamp other = (TCamp) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.name == null) {
- if (other.name != null)
- return false;
- }
- else if (!this.name.equals(other.name))
- return false;
- if (this.arrive == null) {
- if (other.arrive != null)
- return false;
- }
- else if (!this.arrive.equals(other.arrive))
- return false;
- if (this.depart == null) {
- if (other.depart != null)
- return false;
- }
- else if (!this.depart.equals(other.depart))
- return false;
- if (this.fkLocation == null) {
- if (other.fkLocation != null)
- return false;
- }
- else if (!this.fkLocation.equals(other.fkLocation))
- return false;
- if (this.minAge == null) {
- if (other.minAge != null)
- return false;
- }
- else if (!this.minAge.equals(other.minAge))
- return false;
- if (this.maxAge == null) {
- if (other.maxAge != null)
- return false;
- }
- else if (!this.maxAge.equals(other.maxAge))
- return false;
- if (this.price == null) {
- if (other.price != null)
- return false;
- }
- else if (!this.price.equals(other.price))
- return false;
- if (this.countries == null) {
- if (other.countries != null)
- return false;
- }
- else if (!this.countries.equals(other.countries))
- return false;
- if (this.fkDocument == null) {
- if (other.fkDocument != null)
- return false;
- }
- else if (!this.fkDocument.equals(other.fkDocument))
- return false;
- if (this.lockSales == null) {
- if (other.lockSales != null)
- return false;
- }
- else if (!this.lockSales.equals(other.lockSales))
- return false;
- if (this.fkProfile == null) {
- if (other.fkProfile != null)
- return false;
- }
- else if (!this.fkProfile.equals(other.fkProfile))
- return false;
- if (this.bedsMale == null) {
- if (other.bedsMale != null)
- return false;
- }
- else if (!this.bedsMale.equals(other.bedsMale))
- return false;
- if (this.bedsFemale == null) {
- if (other.bedsFemale != null)
- return false;
- }
- else if (!this.bedsFemale.equals(other.bedsFemale))
- return false;
- if (this.blockedBedsMale == null) {
- if (other.blockedBedsMale != null)
- return false;
- }
- else if (!this.blockedBedsMale.equals(other.blockedBedsMale))
- return false;
- if (this.blockedBedsFemale == null) {
- if (other.blockedBedsFemale != null)
- return false;
- }
- else if (!this.blockedBedsFemale.equals(other.blockedBedsFemale))
- return false;
- if (this.startBooking == null) {
- if (other.startBooking != null)
- return false;
- }
- else if (!this.startBooking.equals(other.startBooking))
- return false;
- if (this.minTeacherage == null) {
- if (other.minTeacherage != null)
- return false;
- }
- else if (!this.minTeacherage.equals(other.minTeacherage))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
- result = prime * result + ((this.arrive == null) ? 0 : this.arrive.hashCode());
- result = prime * result + ((this.depart == null) ? 0 : this.depart.hashCode());
- result = prime * result + ((this.fkLocation == null) ? 0 : this.fkLocation.hashCode());
- result = prime * result + ((this.minAge == null) ? 0 : this.minAge.hashCode());
- result = prime * result + ((this.maxAge == null) ? 0 : this.maxAge.hashCode());
- result = prime * result + ((this.price == null) ? 0 : this.price.hashCode());
- result = prime * result + ((this.countries == null) ? 0 : this.countries.hashCode());
- result = prime * result + ((this.fkDocument == null) ? 0 : this.fkDocument.hashCode());
- result = prime * result + ((this.lockSales == null) ? 0 : this.lockSales.hashCode());
- result = prime * result + ((this.fkProfile == null) ? 0 : this.fkProfile.hashCode());
- result = prime * result + ((this.bedsMale == null) ? 0 : this.bedsMale.hashCode());
- result = prime * result + ((this.bedsFemale == null) ? 0 : this.bedsFemale.hashCode());
- result = prime * result + ((this.blockedBedsMale == null) ? 0 : this.blockedBedsMale.hashCode());
- result = prime * result + ((this.blockedBedsFemale == null) ? 0 : this.blockedBedsFemale.hashCode());
- result = prime * result + ((this.startBooking == null) ? 0 : this.startBooking.hashCode());
- result = prime * result + ((this.minTeacherage == null) ? 0 : this.minTeacherage.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("TCamp (");
-
- sb.append(pk);
- sb.append(", ").append(name);
- sb.append(", ").append(arrive);
- sb.append(", ").append(depart);
- sb.append(", ").append(fkLocation);
- sb.append(", ").append(minAge);
- sb.append(", ").append(maxAge);
- sb.append(", ").append(price);
- sb.append(", ").append(countries);
- sb.append(", ").append(fkDocument);
- sb.append(", ").append(lockSales);
- sb.append(", ").append(fkProfile);
- sb.append(", ").append(bedsMale);
- sb.append(", ").append(bedsFemale);
- sb.append(", ").append(blockedBedsMale);
- sb.append(", ").append(blockedBedsFemale);
- sb.append(", ").append(startBooking);
- sb.append(", ").append(minTeacherage);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TCampdocument.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TCampdocument.java
deleted file mode 100644
index f0d90bd..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TCampdocument.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import java.io.Serializable;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class TCampdocument implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final Integer fkCamp;
- private final Integer fkDocument;
-
- public TCampdocument(TCampdocument value) {
- this.pk = value.pk;
- this.fkCamp = value.fkCamp;
- this.fkDocument = value.fkDocument;
- }
-
- public TCampdocument(
- Integer pk,
- Integer fkCamp,
- Integer fkDocument
- ) {
- this.pk = pk;
- this.fkCamp = fkCamp;
- this.fkDocument = fkDocument;
- }
-
- /**
- * Getter for public.t_campdocument.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.t_campdocument.fk_camp
.
- */
- public Integer getFkCamp() {
- return this.fkCamp;
- }
-
- /**
- * Getter for public.t_campdocument.fk_document
.
- */
- public Integer getFkDocument() {
- return this.fkDocument;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final TCampdocument other = (TCampdocument) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.fkCamp == null) {
- if (other.fkCamp != null)
- return false;
- }
- else if (!this.fkCamp.equals(other.fkCamp))
- return false;
- if (this.fkDocument == null) {
- if (other.fkDocument != null)
- return false;
- }
- else if (!this.fkDocument.equals(other.fkDocument))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
- result = prime * result + ((this.fkDocument == null) ? 0 : this.fkDocument.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("TCampdocument (");
-
- sb.append(pk);
- sb.append(", ").append(fkCamp);
- sb.append(", ").append(fkDocument);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TCampprofile.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TCampprofile.java
deleted file mode 100644
index 4d8b23d..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TCampprofile.java
+++ /dev/null
@@ -1,131 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumModule;
-
-import java.io.Serializable;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class TCampprofile implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final Integer fkProfile;
- private final Integer fkCamp;
- private final EnumModule module;
-
- public TCampprofile(TCampprofile value) {
- this.pk = value.pk;
- this.fkProfile = value.fkProfile;
- this.fkCamp = value.fkCamp;
- this.module = value.module;
- }
-
- public TCampprofile(
- Integer pk,
- Integer fkProfile,
- Integer fkCamp,
- EnumModule module
- ) {
- this.pk = pk;
- this.fkProfile = fkProfile;
- this.fkCamp = fkCamp;
- this.module = module;
- }
-
- /**
- * Getter for public.t_campprofile.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.t_campprofile.fk_profile
.
- */
- public Integer getFkProfile() {
- return this.fkProfile;
- }
-
- /**
- * Getter for public.t_campprofile.fk_camp
.
- */
- public Integer getFkCamp() {
- return this.fkCamp;
- }
-
- /**
- * Getter for public.t_campprofile.module
.
- */
- public EnumModule getModule() {
- return this.module;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final TCampprofile other = (TCampprofile) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.fkProfile == null) {
- if (other.fkProfile != null)
- return false;
- }
- else if (!this.fkProfile.equals(other.fkProfile))
- return false;
- if (this.fkCamp == null) {
- if (other.fkCamp != null)
- return false;
- }
- else if (!this.fkCamp.equals(other.fkCamp))
- return false;
- if (this.module == null) {
- if (other.module != null)
- return false;
- }
- else if (!this.module.equals(other.module))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.fkProfile == null) ? 0 : this.fkProfile.hashCode());
- result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
- result = prime * result + ((this.module == null) ? 0 : this.module.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("TCampprofile (");
-
- sb.append(pk);
- sb.append(", ").append(fkProfile);
- sb.append(", ").append(fkCamp);
- sb.append(", ").append(module);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TDocument.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TDocument.java
deleted file mode 100644
index cc797c1..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TDocument.java
+++ /dev/null
@@ -1,151 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
-import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
-
-import java.io.Serializable;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class TDocument implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final EnumDocument doctype;
- private final String name;
- private final String document;
- private final EnumFiletype filetype;
-
- public TDocument(TDocument value) {
- this.pk = value.pk;
- this.doctype = value.doctype;
- this.name = value.name;
- this.document = value.document;
- this.filetype = value.filetype;
- }
-
- public TDocument(
- Integer pk,
- EnumDocument doctype,
- String name,
- String document,
- EnumFiletype filetype
- ) {
- this.pk = pk;
- this.doctype = doctype;
- this.name = name;
- this.document = document;
- this.filetype = filetype;
- }
-
- /**
- * Getter for public.t_document.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.t_document.doctype
.
- */
- public EnumDocument getDoctype() {
- return this.doctype;
- }
-
- /**
- * Getter for public.t_document.name
.
- */
- public String getName() {
- return this.name;
- }
-
- /**
- * Getter for public.t_document.document
.
- */
- public String getDocument() {
- return this.document;
- }
-
- /**
- * Getter for public.t_document.filetype
.
- */
- public EnumFiletype getFiletype() {
- return this.filetype;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final TDocument other = (TDocument) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.doctype == null) {
- if (other.doctype != null)
- return false;
- }
- else if (!this.doctype.equals(other.doctype))
- return false;
- if (this.name == null) {
- if (other.name != null)
- return false;
- }
- else if (!this.name.equals(other.name))
- return false;
- if (this.document == null) {
- if (other.document != null)
- return false;
- }
- else if (!this.document.equals(other.document))
- return false;
- if (this.filetype == null) {
- if (other.filetype != null)
- return false;
- }
- else if (!this.filetype.equals(other.filetype))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.doctype == null) ? 0 : this.doctype.hashCode());
- result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
- result = prime * result + ((this.document == null) ? 0 : this.document.hashCode());
- result = prime * result + ((this.filetype == null) ? 0 : this.filetype.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("TDocument (");
-
- sb.append(pk);
- sb.append(", ").append(doctype);
- sb.append(", ").append(name);
- sb.append(", ").append(document);
- sb.append(", ").append(filetype);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TDocumentrole.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TDocumentrole.java
deleted file mode 100644
index c14f0a1..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TDocumentrole.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
-
-import java.io.Serializable;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class TDocumentrole implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final Integer fkDocument;
- private final EnumCamprole camprole;
-
- public TDocumentrole(TDocumentrole value) {
- this.pk = value.pk;
- this.fkDocument = value.fkDocument;
- this.camprole = value.camprole;
- }
-
- public TDocumentrole(
- Integer pk,
- Integer fkDocument,
- EnumCamprole camprole
- ) {
- this.pk = pk;
- this.fkDocument = fkDocument;
- this.camprole = camprole;
- }
-
- /**
- * Getter for public.t_documentrole.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.t_documentrole.fk_document
.
- */
- public Integer getFkDocument() {
- return this.fkDocument;
- }
-
- /**
- * Getter for public.t_documentrole.camprole
.
- */
- public EnumCamprole getCamprole() {
- return this.camprole;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final TDocumentrole other = (TDocumentrole) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.fkDocument == null) {
- if (other.fkDocument != null)
- return false;
- }
- else if (!this.fkDocument.equals(other.fkDocument))
- return false;
- if (this.camprole == null) {
- if (other.camprole != null)
- return false;
- }
- else if (!this.camprole.equals(other.camprole))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.fkDocument == null) ? 0 : this.fkDocument.hashCode());
- result = prime * result + ((this.camprole == null) ? 0 : this.camprole.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("TDocumentrole (");
-
- sb.append(pk);
- sb.append(", ").append(fkDocument);
- sb.append(", ").append(camprole);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TLocation.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TLocation.java
deleted file mode 100644
index 536a313..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TLocation.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import java.io.Serializable;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class TLocation implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final String name;
- private final String url;
- private final Integer fkDocument;
-
- public TLocation(TLocation value) {
- this.pk = value.pk;
- this.name = value.name;
- this.url = value.url;
- this.fkDocument = value.fkDocument;
- }
-
- public TLocation(
- Integer pk,
- String name,
- String url,
- Integer fkDocument
- ) {
- this.pk = pk;
- this.name = name;
- this.url = url;
- this.fkDocument = fkDocument;
- }
-
- /**
- * Getter for public.t_location.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.t_location.name
.
- */
- public String getName() {
- return this.name;
- }
-
- /**
- * Getter for public.t_location.url
.
- */
- public String getUrl() {
- return this.url;
- }
-
- /**
- * Getter for public.t_location.fk_document
.
- */
- public Integer getFkDocument() {
- return this.fkDocument;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final TLocation other = (TLocation) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.name == null) {
- if (other.name != null)
- return false;
- }
- else if (!this.name.equals(other.name))
- return false;
- if (this.url == null) {
- if (other.url != null)
- return false;
- }
- else if (!this.url.equals(other.url))
- return false;
- if (this.fkDocument == null) {
- if (other.fkDocument != null)
- return false;
- }
- else if (!this.fkDocument.equals(other.fkDocument))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
- result = prime * result + ((this.url == null) ? 0 : this.url.hashCode());
- result = prime * result + ((this.fkDocument == null) ? 0 : this.fkDocument.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("TLocation (");
-
- sb.append(pk);
- sb.append(", ").append(name);
- sb.append(", ").append(url);
- sb.append(", ").append(fkDocument);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TPerson.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TPerson.java
deleted file mode 100644
index 62e4aa9..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TPerson.java
+++ /dev/null
@@ -1,459 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
-import de.jottyfan.camporganizer.db.jooq.enums.EnumProgress;
-import de.jottyfan.camporganizer.db.jooq.enums.EnumSex;
-
-import java.io.Serializable;
-import java.math.BigDecimal;
-import java.time.LocalDate;
-import java.time.LocalDateTime;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class TPerson implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final String forename;
- private final String surname;
- private final String street;
- private final String zip;
- private final String city;
- private final String phone;
- private final LocalDate birthdate;
- private final EnumCamprole camprole;
- private final String email;
- private final Integer fkCamp;
- private final Integer fkProfile;
- private final Boolean accept;
- private final EnumProgress progress;
- private final LocalDateTime created;
- private final EnumSex sex;
- private final Integer fkRegistrator;
- private final BigDecimal paid;
- private final String comment;
- private final Boolean consentCatalogPhoto;
- private final BigDecimal requiredPrice;
-
- public TPerson(TPerson value) {
- this.pk = value.pk;
- this.forename = value.forename;
- this.surname = value.surname;
- this.street = value.street;
- this.zip = value.zip;
- this.city = value.city;
- this.phone = value.phone;
- this.birthdate = value.birthdate;
- this.camprole = value.camprole;
- this.email = value.email;
- this.fkCamp = value.fkCamp;
- this.fkProfile = value.fkProfile;
- this.accept = value.accept;
- this.progress = value.progress;
- this.created = value.created;
- this.sex = value.sex;
- this.fkRegistrator = value.fkRegistrator;
- this.paid = value.paid;
- this.comment = value.comment;
- this.consentCatalogPhoto = value.consentCatalogPhoto;
- this.requiredPrice = value.requiredPrice;
- }
-
- public TPerson(
- Integer pk,
- String forename,
- String surname,
- String street,
- String zip,
- String city,
- String phone,
- LocalDate birthdate,
- EnumCamprole camprole,
- String email,
- Integer fkCamp,
- Integer fkProfile,
- Boolean accept,
- EnumProgress progress,
- LocalDateTime created,
- EnumSex sex,
- Integer fkRegistrator,
- BigDecimal paid,
- String comment,
- Boolean consentCatalogPhoto,
- BigDecimal requiredPrice
- ) {
- this.pk = pk;
- this.forename = forename;
- this.surname = surname;
- this.street = street;
- this.zip = zip;
- this.city = city;
- this.phone = phone;
- this.birthdate = birthdate;
- this.camprole = camprole;
- this.email = email;
- this.fkCamp = fkCamp;
- this.fkProfile = fkProfile;
- this.accept = accept;
- this.progress = progress;
- this.created = created;
- this.sex = sex;
- this.fkRegistrator = fkRegistrator;
- this.paid = paid;
- this.comment = comment;
- this.consentCatalogPhoto = consentCatalogPhoto;
- this.requiredPrice = requiredPrice;
- }
-
- /**
- * Getter for public.t_person.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.t_person.forename
.
- */
- public String getForename() {
- return this.forename;
- }
-
- /**
- * Getter for public.t_person.surname
.
- */
- public String getSurname() {
- return this.surname;
- }
-
- /**
- * Getter for public.t_person.street
.
- */
- public String getStreet() {
- return this.street;
- }
-
- /**
- * Getter for public.t_person.zip
.
- */
- public String getZip() {
- return this.zip;
- }
-
- /**
- * Getter for public.t_person.city
.
- */
- public String getCity() {
- return this.city;
- }
-
- /**
- * Getter for public.t_person.phone
.
- */
- public String getPhone() {
- return this.phone;
- }
-
- /**
- * Getter for public.t_person.birthdate
.
- */
- public LocalDate getBirthdate() {
- return this.birthdate;
- }
-
- /**
- * Getter for public.t_person.camprole
.
- */
- public EnumCamprole getCamprole() {
- return this.camprole;
- }
-
- /**
- * Getter for public.t_person.email
.
- */
- public String getEmail() {
- return this.email;
- }
-
- /**
- * Getter for public.t_person.fk_camp
.
- */
- public Integer getFkCamp() {
- return this.fkCamp;
- }
-
- /**
- * Getter for public.t_person.fk_profile
.
- */
- public Integer getFkProfile() {
- return this.fkProfile;
- }
-
- /**
- * Getter for public.t_person.accept
.
- */
- public Boolean getAccept() {
- return this.accept;
- }
-
- /**
- * Getter for public.t_person.progress
.
- */
- public EnumProgress getProgress() {
- return this.progress;
- }
-
- /**
- * Getter for public.t_person.created
.
- */
- public LocalDateTime getCreated() {
- return this.created;
- }
-
- /**
- * Getter for public.t_person.sex
.
- */
- public EnumSex getSex() {
- return this.sex;
- }
-
- /**
- * Getter for public.t_person.fk_registrator
.
- */
- public Integer getFkRegistrator() {
- return this.fkRegistrator;
- }
-
- /**
- * Getter for public.t_person.paid
.
- */
- public BigDecimal getPaid() {
- return this.paid;
- }
-
- /**
- * Getter for public.t_person.comment
.
- */
- public String getComment() {
- return this.comment;
- }
-
- /**
- * Getter for public.t_person.consent_catalog_photo
.
- */
- public Boolean getConsentCatalogPhoto() {
- return this.consentCatalogPhoto;
- }
-
- /**
- * Getter for public.t_person.required_price
.
- */
- public BigDecimal getRequiredPrice() {
- return this.requiredPrice;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final TPerson other = (TPerson) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.forename == null) {
- if (other.forename != null)
- return false;
- }
- else if (!this.forename.equals(other.forename))
- return false;
- if (this.surname == null) {
- if (other.surname != null)
- return false;
- }
- else if (!this.surname.equals(other.surname))
- return false;
- if (this.street == null) {
- if (other.street != null)
- return false;
- }
- else if (!this.street.equals(other.street))
- return false;
- if (this.zip == null) {
- if (other.zip != null)
- return false;
- }
- else if (!this.zip.equals(other.zip))
- return false;
- if (this.city == null) {
- if (other.city != null)
- return false;
- }
- else if (!this.city.equals(other.city))
- return false;
- if (this.phone == null) {
- if (other.phone != null)
- return false;
- }
- else if (!this.phone.equals(other.phone))
- return false;
- if (this.birthdate == null) {
- if (other.birthdate != null)
- return false;
- }
- else if (!this.birthdate.equals(other.birthdate))
- return false;
- if (this.camprole == null) {
- if (other.camprole != null)
- return false;
- }
- else if (!this.camprole.equals(other.camprole))
- return false;
- if (this.email == null) {
- if (other.email != null)
- return false;
- }
- else if (!this.email.equals(other.email))
- return false;
- if (this.fkCamp == null) {
- if (other.fkCamp != null)
- return false;
- }
- else if (!this.fkCamp.equals(other.fkCamp))
- return false;
- if (this.fkProfile == null) {
- if (other.fkProfile != null)
- return false;
- }
- else if (!this.fkProfile.equals(other.fkProfile))
- return false;
- if (this.accept == null) {
- if (other.accept != null)
- return false;
- }
- else if (!this.accept.equals(other.accept))
- return false;
- if (this.progress == null) {
- if (other.progress != null)
- return false;
- }
- else if (!this.progress.equals(other.progress))
- return false;
- if (this.created == null) {
- if (other.created != null)
- return false;
- }
- else if (!this.created.equals(other.created))
- return false;
- if (this.sex == null) {
- if (other.sex != null)
- return false;
- }
- else if (!this.sex.equals(other.sex))
- return false;
- if (this.fkRegistrator == null) {
- if (other.fkRegistrator != null)
- return false;
- }
- else if (!this.fkRegistrator.equals(other.fkRegistrator))
- return false;
- if (this.paid == null) {
- if (other.paid != null)
- return false;
- }
- else if (!this.paid.equals(other.paid))
- return false;
- if (this.comment == null) {
- if (other.comment != null)
- return false;
- }
- else if (!this.comment.equals(other.comment))
- return false;
- if (this.consentCatalogPhoto == null) {
- if (other.consentCatalogPhoto != null)
- return false;
- }
- else if (!this.consentCatalogPhoto.equals(other.consentCatalogPhoto))
- return false;
- if (this.requiredPrice == null) {
- if (other.requiredPrice != null)
- return false;
- }
- else if (!this.requiredPrice.equals(other.requiredPrice))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.forename == null) ? 0 : this.forename.hashCode());
- result = prime * result + ((this.surname == null) ? 0 : this.surname.hashCode());
- result = prime * result + ((this.street == null) ? 0 : this.street.hashCode());
- result = prime * result + ((this.zip == null) ? 0 : this.zip.hashCode());
- result = prime * result + ((this.city == null) ? 0 : this.city.hashCode());
- result = prime * result + ((this.phone == null) ? 0 : this.phone.hashCode());
- result = prime * result + ((this.birthdate == null) ? 0 : this.birthdate.hashCode());
- result = prime * result + ((this.camprole == null) ? 0 : this.camprole.hashCode());
- result = prime * result + ((this.email == null) ? 0 : this.email.hashCode());
- result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
- result = prime * result + ((this.fkProfile == null) ? 0 : this.fkProfile.hashCode());
- result = prime * result + ((this.accept == null) ? 0 : this.accept.hashCode());
- result = prime * result + ((this.progress == null) ? 0 : this.progress.hashCode());
- result = prime * result + ((this.created == null) ? 0 : this.created.hashCode());
- result = prime * result + ((this.sex == null) ? 0 : this.sex.hashCode());
- result = prime * result + ((this.fkRegistrator == null) ? 0 : this.fkRegistrator.hashCode());
- result = prime * result + ((this.paid == null) ? 0 : this.paid.hashCode());
- result = prime * result + ((this.comment == null) ? 0 : this.comment.hashCode());
- result = prime * result + ((this.consentCatalogPhoto == null) ? 0 : this.consentCatalogPhoto.hashCode());
- result = prime * result + ((this.requiredPrice == null) ? 0 : this.requiredPrice.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("TPerson (");
-
- sb.append(pk);
- sb.append(", ").append(forename);
- sb.append(", ").append(surname);
- sb.append(", ").append(street);
- sb.append(", ").append(zip);
- sb.append(", ").append(city);
- sb.append(", ").append(phone);
- sb.append(", ").append(birthdate);
- sb.append(", ").append(camprole);
- sb.append(", ").append(email);
- sb.append(", ").append(fkCamp);
- sb.append(", ").append(fkProfile);
- sb.append(", ").append(accept);
- sb.append(", ").append(progress);
- sb.append(", ").append(created);
- sb.append(", ").append(sex);
- sb.append(", ").append(fkRegistrator);
- sb.append(", ").append(paid);
- sb.append(", ").append(comment);
- sb.append(", ").append(consentCatalogPhoto);
- sb.append(", ").append(requiredPrice);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TPersondocument.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TPersondocument.java
deleted file mode 100644
index 5812822..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TPersondocument.java
+++ /dev/null
@@ -1,150 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
-
-import java.io.Serializable;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class TPersondocument implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final Integer fkPerson;
- private final String name;
- private final String document;
- private final EnumFiletype filetype;
-
- public TPersondocument(TPersondocument value) {
- this.pk = value.pk;
- this.fkPerson = value.fkPerson;
- this.name = value.name;
- this.document = value.document;
- this.filetype = value.filetype;
- }
-
- public TPersondocument(
- Integer pk,
- Integer fkPerson,
- String name,
- String document,
- EnumFiletype filetype
- ) {
- this.pk = pk;
- this.fkPerson = fkPerson;
- this.name = name;
- this.document = document;
- this.filetype = filetype;
- }
-
- /**
- * Getter for public.t_persondocument.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.t_persondocument.fk_person
.
- */
- public Integer getFkPerson() {
- return this.fkPerson;
- }
-
- /**
- * Getter for public.t_persondocument.name
.
- */
- public String getName() {
- return this.name;
- }
-
- /**
- * Getter for public.t_persondocument.document
.
- */
- public String getDocument() {
- return this.document;
- }
-
- /**
- * Getter for public.t_persondocument.filetype
.
- */
- public EnumFiletype getFiletype() {
- return this.filetype;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final TPersondocument other = (TPersondocument) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.fkPerson == null) {
- if (other.fkPerson != null)
- return false;
- }
- else if (!this.fkPerson.equals(other.fkPerson))
- return false;
- if (this.name == null) {
- if (other.name != null)
- return false;
- }
- else if (!this.name.equals(other.name))
- return false;
- if (this.document == null) {
- if (other.document != null)
- return false;
- }
- else if (!this.document.equals(other.document))
- return false;
- if (this.filetype == null) {
- if (other.filetype != null)
- return false;
- }
- else if (!this.filetype.equals(other.filetype))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.fkPerson == null) ? 0 : this.fkPerson.hashCode());
- result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
- result = prime * result + ((this.document == null) ? 0 : this.document.hashCode());
- result = prime * result + ((this.filetype == null) ? 0 : this.filetype.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("TPersondocument (");
-
- sb.append(pk);
- sb.append(", ").append(fkPerson);
- sb.append(", ").append(name);
- sb.append(", ").append(document);
- sb.append(", ").append(filetype);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TProfile.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TProfile.java
deleted file mode 100644
index 17d0a2c..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TProfile.java
+++ /dev/null
@@ -1,187 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import java.io.Serializable;
-import java.time.LocalDateTime;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class TProfile implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final String forename;
- private final String surname;
- private final String username;
- private final String password;
- private final LocalDateTime duedate;
- private final String uuid;
-
- public TProfile(TProfile value) {
- this.pk = value.pk;
- this.forename = value.forename;
- this.surname = value.surname;
- this.username = value.username;
- this.password = value.password;
- this.duedate = value.duedate;
- this.uuid = value.uuid;
- }
-
- public TProfile(
- Integer pk,
- String forename,
- String surname,
- String username,
- String password,
- LocalDateTime duedate,
- String uuid
- ) {
- this.pk = pk;
- this.forename = forename;
- this.surname = surname;
- this.username = username;
- this.password = password;
- this.duedate = duedate;
- this.uuid = uuid;
- }
-
- /**
- * Getter for public.t_profile.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.t_profile.forename
.
- */
- public String getForename() {
- return this.forename;
- }
-
- /**
- * Getter for public.t_profile.surname
.
- */
- public String getSurname() {
- return this.surname;
- }
-
- /**
- * Getter for public.t_profile.username
.
- */
- public String getUsername() {
- return this.username;
- }
-
- /**
- * Getter for public.t_profile.password
.
- */
- public String getPassword() {
- return this.password;
- }
-
- /**
- * Getter for public.t_profile.duedate
.
- */
- public LocalDateTime getDuedate() {
- return this.duedate;
- }
-
- /**
- * Getter for public.t_profile.uuid
.
- */
- public String getUuid() {
- return this.uuid;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final TProfile other = (TProfile) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.forename == null) {
- if (other.forename != null)
- return false;
- }
- else if (!this.forename.equals(other.forename))
- return false;
- if (this.surname == null) {
- if (other.surname != null)
- return false;
- }
- else if (!this.surname.equals(other.surname))
- return false;
- if (this.username == null) {
- if (other.username != null)
- return false;
- }
- else if (!this.username.equals(other.username))
- return false;
- if (this.password == null) {
- if (other.password != null)
- return false;
- }
- else if (!this.password.equals(other.password))
- return false;
- if (this.duedate == null) {
- if (other.duedate != null)
- return false;
- }
- else if (!this.duedate.equals(other.duedate))
- return false;
- if (this.uuid == null) {
- if (other.uuid != null)
- return false;
- }
- else if (!this.uuid.equals(other.uuid))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.forename == null) ? 0 : this.forename.hashCode());
- result = prime * result + ((this.surname == null) ? 0 : this.surname.hashCode());
- result = prime * result + ((this.username == null) ? 0 : this.username.hashCode());
- result = prime * result + ((this.password == null) ? 0 : this.password.hashCode());
- result = prime * result + ((this.duedate == null) ? 0 : this.duedate.hashCode());
- result = prime * result + ((this.uuid == null) ? 0 : this.uuid.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("TProfile (");
-
- sb.append(pk);
- sb.append(", ").append(forename);
- sb.append(", ").append(surname);
- sb.append(", ").append(username);
- sb.append(", ").append(password);
- sb.append(", ").append(duedate);
- sb.append(", ").append(uuid);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TProfilerole.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TProfilerole.java
deleted file mode 100644
index 273b44c..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TProfilerole.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
-
-import java.io.Serializable;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class TProfilerole implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer fkProfile;
- private final EnumRole role;
-
- public TProfilerole(TProfilerole value) {
- this.fkProfile = value.fkProfile;
- this.role = value.role;
- }
-
- public TProfilerole(
- Integer fkProfile,
- EnumRole role
- ) {
- this.fkProfile = fkProfile;
- this.role = role;
- }
-
- /**
- * Getter for public.t_profilerole.fk_profile
.
- */
- public Integer getFkProfile() {
- return this.fkProfile;
- }
-
- /**
- * Getter for public.t_profilerole.role
.
- */
- public EnumRole getRole() {
- return this.role;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final TProfilerole other = (TProfilerole) obj;
- if (this.fkProfile == null) {
- if (other.fkProfile != null)
- return false;
- }
- else if (!this.fkProfile.equals(other.fkProfile))
- return false;
- if (this.role == null) {
- if (other.role != null)
- return false;
- }
- else if (!this.role.equals(other.role))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.fkProfile == null) ? 0 : this.fkProfile.hashCode());
- result = prime * result + ((this.role == null) ? 0 : this.role.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("TProfilerole (");
-
- sb.append(fkProfile);
- sb.append(", ").append(role);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TRss.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TRss.java
deleted file mode 100644
index 23ccb6a..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TRss.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import java.io.Serializable;
-import java.time.LocalDateTime;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class TRss implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final String msg;
- private final LocalDateTime regdate;
- private final String recipient;
-
- public TRss(TRss value) {
- this.pk = value.pk;
- this.msg = value.msg;
- this.regdate = value.regdate;
- this.recipient = value.recipient;
- }
-
- public TRss(
- Integer pk,
- String msg,
- LocalDateTime regdate,
- String recipient
- ) {
- this.pk = pk;
- this.msg = msg;
- this.regdate = regdate;
- this.recipient = recipient;
- }
-
- /**
- * Getter for public.t_rss.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.t_rss.msg
.
- */
- public String getMsg() {
- return this.msg;
- }
-
- /**
- * Getter for public.t_rss.regdate
.
- */
- public LocalDateTime getRegdate() {
- return this.regdate;
- }
-
- /**
- * Getter for public.t_rss.recipient
.
- */
- public String getRecipient() {
- return this.recipient;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final TRss other = (TRss) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.msg == null) {
- if (other.msg != null)
- return false;
- }
- else if (!this.msg.equals(other.msg))
- return false;
- if (this.regdate == null) {
- if (other.regdate != null)
- return false;
- }
- else if (!this.regdate.equals(other.regdate))
- return false;
- if (this.recipient == null) {
- if (other.recipient != null)
- return false;
- }
- else if (!this.recipient.equals(other.recipient))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.msg == null) ? 0 : this.msg.hashCode());
- result = prime * result + ((this.regdate == null) ? 0 : this.regdate.hashCode());
- result = prime * result + ((this.recipient == null) ? 0 : this.recipient.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("TRss (");
-
- sb.append(pk);
- sb.append(", ").append(msg);
- sb.append(", ").append(regdate);
- sb.append(", ").append(recipient);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TSales.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TSales.java
deleted file mode 100644
index 86b6022..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TSales.java
+++ /dev/null
@@ -1,265 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import java.io.Serializable;
-import java.math.BigDecimal;
-import java.time.LocalDateTime;
-import java.util.Arrays;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class TSales implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final String trader;
- private final Integer fkCamp;
- private final String provider;
- private final BigDecimal cash;
- private final LocalDateTime buydate;
- private final String recipenumber;
- private final byte[] recipeshot;
- private final String recipenote;
- private final String incredients;
- private final String recipefilename;
-
- public TSales(TSales value) {
- this.pk = value.pk;
- this.trader = value.trader;
- this.fkCamp = value.fkCamp;
- this.provider = value.provider;
- this.cash = value.cash;
- this.buydate = value.buydate;
- this.recipenumber = value.recipenumber;
- this.recipeshot = value.recipeshot;
- this.recipenote = value.recipenote;
- this.incredients = value.incredients;
- this.recipefilename = value.recipefilename;
- }
-
- public TSales(
- Integer pk,
- String trader,
- Integer fkCamp,
- String provider,
- BigDecimal cash,
- LocalDateTime buydate,
- String recipenumber,
- byte[] recipeshot,
- String recipenote,
- String incredients,
- String recipefilename
- ) {
- this.pk = pk;
- this.trader = trader;
- this.fkCamp = fkCamp;
- this.provider = provider;
- this.cash = cash;
- this.buydate = buydate;
- this.recipenumber = recipenumber;
- this.recipeshot = recipeshot;
- this.recipenote = recipenote;
- this.incredients = incredients;
- this.recipefilename = recipefilename;
- }
-
- /**
- * Getter for public.t_sales.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.t_sales.trader
.
- */
- public String getTrader() {
- return this.trader;
- }
-
- /**
- * Getter for public.t_sales.fk_camp
.
- */
- public Integer getFkCamp() {
- return this.fkCamp;
- }
-
- /**
- * Getter for public.t_sales.provider
.
- */
- public String getProvider() {
- return this.provider;
- }
-
- /**
- * Getter for public.t_sales.cash
.
- */
- public BigDecimal getCash() {
- return this.cash;
- }
-
- /**
- * Getter for public.t_sales.buydate
.
- */
- public LocalDateTime getBuydate() {
- return this.buydate;
- }
-
- /**
- * Getter for public.t_sales.recipenumber
.
- */
- public String getRecipenumber() {
- return this.recipenumber;
- }
-
- /**
- * Getter for public.t_sales.recipeshot
.
- */
- public byte[] getRecipeshot() {
- return this.recipeshot;
- }
-
- /**
- * Getter for public.t_sales.recipenote
.
- */
- public String getRecipenote() {
- return this.recipenote;
- }
-
- /**
- * Getter for public.t_sales.incredients
.
- */
- public String getIncredients() {
- return this.incredients;
- }
-
- /**
- * Getter for public.t_sales.recipefilename
.
- */
- public String getRecipefilename() {
- return this.recipefilename;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final TSales other = (TSales) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.trader == null) {
- if (other.trader != null)
- return false;
- }
- else if (!this.trader.equals(other.trader))
- return false;
- if (this.fkCamp == null) {
- if (other.fkCamp != null)
- return false;
- }
- else if (!this.fkCamp.equals(other.fkCamp))
- return false;
- if (this.provider == null) {
- if (other.provider != null)
- return false;
- }
- else if (!this.provider.equals(other.provider))
- return false;
- if (this.cash == null) {
- if (other.cash != null)
- return false;
- }
- else if (!this.cash.equals(other.cash))
- return false;
- if (this.buydate == null) {
- if (other.buydate != null)
- return false;
- }
- else if (!this.buydate.equals(other.buydate))
- return false;
- if (this.recipenumber == null) {
- if (other.recipenumber != null)
- return false;
- }
- else if (!this.recipenumber.equals(other.recipenumber))
- return false;
- if (this.recipeshot == null) {
- if (other.recipeshot != null)
- return false;
- }
- else if (!Arrays.equals(this.recipeshot, other.recipeshot))
- return false;
- if (this.recipenote == null) {
- if (other.recipenote != null)
- return false;
- }
- else if (!this.recipenote.equals(other.recipenote))
- return false;
- if (this.incredients == null) {
- if (other.incredients != null)
- return false;
- }
- else if (!this.incredients.equals(other.incredients))
- return false;
- if (this.recipefilename == null) {
- if (other.recipefilename != null)
- return false;
- }
- else if (!this.recipefilename.equals(other.recipefilename))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.trader == null) ? 0 : this.trader.hashCode());
- result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
- result = prime * result + ((this.provider == null) ? 0 : this.provider.hashCode());
- result = prime * result + ((this.cash == null) ? 0 : this.cash.hashCode());
- result = prime * result + ((this.buydate == null) ? 0 : this.buydate.hashCode());
- result = prime * result + ((this.recipenumber == null) ? 0 : this.recipenumber.hashCode());
- result = prime * result + ((this.recipeshot == null) ? 0 : Arrays.hashCode(this.recipeshot));
- result = prime * result + ((this.recipenote == null) ? 0 : this.recipenote.hashCode());
- result = prime * result + ((this.incredients == null) ? 0 : this.incredients.hashCode());
- result = prime * result + ((this.recipefilename == null) ? 0 : this.recipefilename.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("TSales (");
-
- sb.append(pk);
- sb.append(", ").append(trader);
- sb.append(", ").append(fkCamp);
- sb.append(", ").append(provider);
- sb.append(", ").append(cash);
- sb.append(", ").append(buydate);
- sb.append(", ").append(recipenumber);
- sb.append(", ").append("[binary...]");
- sb.append(", ").append(recipenote);
- sb.append(", ").append(incredients);
- sb.append(", ").append(recipefilename);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TSalescontent.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TSalescontent.java
deleted file mode 100644
index ff55fc3..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TSalescontent.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import java.io.Serializable;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class TSalescontent implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer fkSales;
- private final String fkSalescontenttype;
-
- public TSalescontent(TSalescontent value) {
- this.fkSales = value.fkSales;
- this.fkSalescontenttype = value.fkSalescontenttype;
- }
-
- public TSalescontent(
- Integer fkSales,
- String fkSalescontenttype
- ) {
- this.fkSales = fkSales;
- this.fkSalescontenttype = fkSalescontenttype;
- }
-
- /**
- * Getter for public.t_salescontent.fk_sales
.
- */
- public Integer getFkSales() {
- return this.fkSales;
- }
-
- /**
- * Getter for public.t_salescontent.fk_salescontenttype
.
- */
- public String getFkSalescontenttype() {
- return this.fkSalescontenttype;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final TSalescontent other = (TSalescontent) obj;
- if (this.fkSales == null) {
- if (other.fkSales != null)
- return false;
- }
- else if (!this.fkSales.equals(other.fkSales))
- return false;
- if (this.fkSalescontenttype == null) {
- if (other.fkSalescontenttype != null)
- return false;
- }
- else if (!this.fkSalescontenttype.equals(other.fkSalescontenttype))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.fkSales == null) ? 0 : this.fkSales.hashCode());
- result = prime * result + ((this.fkSalescontenttype == null) ? 0 : this.fkSalescontenttype.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("TSalescontent (");
-
- sb.append(fkSales);
- sb.append(", ").append(fkSalescontenttype);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TSalescontenttype.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TSalescontenttype.java
deleted file mode 100644
index c281d59..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/TSalescontenttype.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import java.io.Serializable;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class TSalescontenttype implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final String name;
-
- public TSalescontenttype(TSalescontenttype value) {
- this.name = value.name;
- }
-
- public TSalescontenttype(
- String name
- ) {
- this.name = name;
- }
-
- /**
- * Getter for public.t_salescontenttype.name
.
- */
- public String getName() {
- return this.name;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final TSalescontenttype other = (TSalescontenttype) obj;
- if (this.name == null) {
- if (other.name != null)
- return false;
- }
- else if (!this.name.equals(other.name))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("TSalescontenttype (");
-
- sb.append(name);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VAdult.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VAdult.java
deleted file mode 100644
index 6f141b6..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VAdult.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
-
-import java.io.Serializable;
-
-import org.jooq.types.YearToSecond;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VAdult implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final YearToSecond age;
- private final String forename;
- private final String surname;
- private final EnumCamprole camprole;
- private final Boolean adult;
-
- public VAdult(VAdult value) {
- this.age = value.age;
- this.forename = value.forename;
- this.surname = value.surname;
- this.camprole = value.camprole;
- this.adult = value.adult;
- }
-
- public VAdult(
- YearToSecond age,
- String forename,
- String surname,
- EnumCamprole camprole,
- Boolean adult
- ) {
- this.age = age;
- this.forename = forename;
- this.surname = surname;
- this.camprole = camprole;
- this.adult = adult;
- }
-
- /**
- * Getter for public.v_adult.age
.
- */
- public YearToSecond getAge() {
- return this.age;
- }
-
- /**
- * Getter for public.v_adult.forename
.
- */
- public String getForename() {
- return this.forename;
- }
-
- /**
- * Getter for public.v_adult.surname
.
- */
- public String getSurname() {
- return this.surname;
- }
-
- /**
- * Getter for public.v_adult.camprole
.
- */
- public EnumCamprole getCamprole() {
- return this.camprole;
- }
-
- /**
- * Getter for public.v_adult.adult
.
- */
- public Boolean getAdult() {
- return this.adult;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VAdult other = (VAdult) obj;
- if (this.age == null) {
- if (other.age != null)
- return false;
- }
- else if (!this.age.equals(other.age))
- return false;
- if (this.forename == null) {
- if (other.forename != null)
- return false;
- }
- else if (!this.forename.equals(other.forename))
- return false;
- if (this.surname == null) {
- if (other.surname != null)
- return false;
- }
- else if (!this.surname.equals(other.surname))
- return false;
- if (this.camprole == null) {
- if (other.camprole != null)
- return false;
- }
- else if (!this.camprole.equals(other.camprole))
- return false;
- if (this.adult == null) {
- if (other.adult != null)
- return false;
- }
- else if (!this.adult.equals(other.adult))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.age == null) ? 0 : this.age.hashCode());
- result = prime * result + ((this.forename == null) ? 0 : this.forename.hashCode());
- result = prime * result + ((this.surname == null) ? 0 : this.surname.hashCode());
- result = prime * result + ((this.camprole == null) ? 0 : this.camprole.hashCode());
- result = prime * result + ((this.adult == null) ? 0 : this.adult.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VAdult (");
-
- sb.append(age);
- sb.append(", ").append(forename);
- sb.append(", ").append(surname);
- sb.append(", ").append(camprole);
- sb.append(", ").append(adult);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VBudget.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VBudget.java
deleted file mode 100644
index a17750d..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VBudget.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import java.io.Serializable;
-import java.math.BigDecimal;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VBudget implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final BigDecimal budget;
- private final Integer fkCamp;
- private final String name;
- private final String location;
- private final Double year;
-
- public VBudget(VBudget value) {
- this.budget = value.budget;
- this.fkCamp = value.fkCamp;
- this.name = value.name;
- this.location = value.location;
- this.year = value.year;
- }
-
- public VBudget(
- BigDecimal budget,
- Integer fkCamp,
- String name,
- String location,
- Double year
- ) {
- this.budget = budget;
- this.fkCamp = fkCamp;
- this.name = name;
- this.location = location;
- this.year = year;
- }
-
- /**
- * Getter for public.v_budget.budget
.
- */
- public BigDecimal getBudget() {
- return this.budget;
- }
-
- /**
- * Getter for public.v_budget.fk_camp
.
- */
- public Integer getFkCamp() {
- return this.fkCamp;
- }
-
- /**
- * Getter for public.v_budget.name
.
- */
- public String getName() {
- return this.name;
- }
-
- /**
- * Getter for public.v_budget.location
.
- */
- public String getLocation() {
- return this.location;
- }
-
- /**
- * Getter for public.v_budget.year
.
- */
- public Double getYear() {
- return this.year;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VBudget other = (VBudget) obj;
- if (this.budget == null) {
- if (other.budget != null)
- return false;
- }
- else if (!this.budget.equals(other.budget))
- return false;
- if (this.fkCamp == null) {
- if (other.fkCamp != null)
- return false;
- }
- else if (!this.fkCamp.equals(other.fkCamp))
- return false;
- if (this.name == null) {
- if (other.name != null)
- return false;
- }
- else if (!this.name.equals(other.name))
- return false;
- if (this.location == null) {
- if (other.location != null)
- return false;
- }
- else if (!this.location.equals(other.location))
- return false;
- if (this.year == null) {
- if (other.year != null)
- return false;
- }
- else if (!this.year.equals(other.year))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.budget == null) ? 0 : this.budget.hashCode());
- result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
- result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
- result = prime * result + ((this.location == null) ? 0 : this.location.hashCode());
- result = prime * result + ((this.year == null) ? 0 : this.year.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VBudget (");
-
- sb.append(budget);
- sb.append(", ").append(fkCamp);
- sb.append(", ").append(name);
- sb.append(", ").append(location);
- sb.append(", ").append(year);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCamp.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCamp.java
deleted file mode 100644
index f05f12c..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCamp.java
+++ /dev/null
@@ -1,472 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import java.io.Serializable;
-import java.time.LocalDateTime;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VCamp implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final Boolean isOver;
- private final String name;
- private final LocalDateTime arrive;
- private final LocalDateTime depart;
- private final Double year;
- private final String locationName;
- private final Integer minAge;
- private final Integer maxAge;
- private final Integer minTeacherage;
- private final String url;
- private final String price;
- private final String countries;
- private final Integer fkDocument;
- private final Integer bedsFemale;
- private final Integer bedsMale;
- private final Integer blockedBedsFemale;
- private final Integer blockedBedsMale;
- private final Long usedBedsMale;
- private final Long usedBedsFemale;
- private final LocalDateTime startBooking;
- private final Boolean bookingHasStarted;
-
- public VCamp(VCamp value) {
- this.pk = value.pk;
- this.isOver = value.isOver;
- this.name = value.name;
- this.arrive = value.arrive;
- this.depart = value.depart;
- this.year = value.year;
- this.locationName = value.locationName;
- this.minAge = value.minAge;
- this.maxAge = value.maxAge;
- this.minTeacherage = value.minTeacherage;
- this.url = value.url;
- this.price = value.price;
- this.countries = value.countries;
- this.fkDocument = value.fkDocument;
- this.bedsFemale = value.bedsFemale;
- this.bedsMale = value.bedsMale;
- this.blockedBedsFemale = value.blockedBedsFemale;
- this.blockedBedsMale = value.blockedBedsMale;
- this.usedBedsMale = value.usedBedsMale;
- this.usedBedsFemale = value.usedBedsFemale;
- this.startBooking = value.startBooking;
- this.bookingHasStarted = value.bookingHasStarted;
- }
-
- public VCamp(
- Integer pk,
- Boolean isOver,
- String name,
- LocalDateTime arrive,
- LocalDateTime depart,
- Double year,
- String locationName,
- Integer minAge,
- Integer maxAge,
- Integer minTeacherage,
- String url,
- String price,
- String countries,
- Integer fkDocument,
- Integer bedsFemale,
- Integer bedsMale,
- Integer blockedBedsFemale,
- Integer blockedBedsMale,
- Long usedBedsMale,
- Long usedBedsFemale,
- LocalDateTime startBooking,
- Boolean bookingHasStarted
- ) {
- this.pk = pk;
- this.isOver = isOver;
- this.name = name;
- this.arrive = arrive;
- this.depart = depart;
- this.year = year;
- this.locationName = locationName;
- this.minAge = minAge;
- this.maxAge = maxAge;
- this.minTeacherage = minTeacherage;
- this.url = url;
- this.price = price;
- this.countries = countries;
- this.fkDocument = fkDocument;
- this.bedsFemale = bedsFemale;
- this.bedsMale = bedsMale;
- this.blockedBedsFemale = blockedBedsFemale;
- this.blockedBedsMale = blockedBedsMale;
- this.usedBedsMale = usedBedsMale;
- this.usedBedsFemale = usedBedsFemale;
- this.startBooking = startBooking;
- this.bookingHasStarted = bookingHasStarted;
- }
-
- /**
- * Getter for public.v_camp.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.v_camp.is_over
.
- */
- public Boolean getIsOver() {
- return this.isOver;
- }
-
- /**
- * Getter for public.v_camp.name
.
- */
- public String getName() {
- return this.name;
- }
-
- /**
- * Getter for public.v_camp.arrive
.
- */
- public LocalDateTime getArrive() {
- return this.arrive;
- }
-
- /**
- * Getter for public.v_camp.depart
.
- */
- public LocalDateTime getDepart() {
- return this.depart;
- }
-
- /**
- * Getter for public.v_camp.year
.
- */
- public Double getYear() {
- return this.year;
- }
-
- /**
- * Getter for public.v_camp.location_name
.
- */
- public String getLocationName() {
- return this.locationName;
- }
-
- /**
- * Getter for public.v_camp.min_age
.
- */
- public Integer getMinAge() {
- return this.minAge;
- }
-
- /**
- * Getter for public.v_camp.max_age
.
- */
- public Integer getMaxAge() {
- return this.maxAge;
- }
-
- /**
- * Getter for public.v_camp.min_teacherage
.
- */
- public Integer getMinTeacherage() {
- return this.minTeacherage;
- }
-
- /**
- * Getter for public.v_camp.url
.
- */
- public String getUrl() {
- return this.url;
- }
-
- /**
- * Getter for public.v_camp.price
.
- */
- public String getPrice() {
- return this.price;
- }
-
- /**
- * Getter for public.v_camp.countries
.
- */
- public String getCountries() {
- return this.countries;
- }
-
- /**
- * Getter for public.v_camp.fk_document
.
- */
- public Integer getFkDocument() {
- return this.fkDocument;
- }
-
- /**
- * Getter for public.v_camp.beds_female
.
- */
- public Integer getBedsFemale() {
- return this.bedsFemale;
- }
-
- /**
- * Getter for public.v_camp.beds_male
.
- */
- public Integer getBedsMale() {
- return this.bedsMale;
- }
-
- /**
- * Getter for public.v_camp.blocked_beds_female
.
- */
- public Integer getBlockedBedsFemale() {
- return this.blockedBedsFemale;
- }
-
- /**
- * Getter for public.v_camp.blocked_beds_male
.
- */
- public Integer getBlockedBedsMale() {
- return this.blockedBedsMale;
- }
-
- /**
- * Getter for public.v_camp.used_beds_male
.
- */
- public Long getUsedBedsMale() {
- return this.usedBedsMale;
- }
-
- /**
- * Getter for public.v_camp.used_beds_female
.
- */
- public Long getUsedBedsFemale() {
- return this.usedBedsFemale;
- }
-
- /**
- * Getter for public.v_camp.start_booking
.
- */
- public LocalDateTime getStartBooking() {
- return this.startBooking;
- }
-
- /**
- * Getter for public.v_camp.booking_has_started
.
- */
- public Boolean getBookingHasStarted() {
- return this.bookingHasStarted;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VCamp other = (VCamp) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.isOver == null) {
- if (other.isOver != null)
- return false;
- }
- else if (!this.isOver.equals(other.isOver))
- return false;
- if (this.name == null) {
- if (other.name != null)
- return false;
- }
- else if (!this.name.equals(other.name))
- return false;
- if (this.arrive == null) {
- if (other.arrive != null)
- return false;
- }
- else if (!this.arrive.equals(other.arrive))
- return false;
- if (this.depart == null) {
- if (other.depart != null)
- return false;
- }
- else if (!this.depart.equals(other.depart))
- return false;
- if (this.year == null) {
- if (other.year != null)
- return false;
- }
- else if (!this.year.equals(other.year))
- return false;
- if (this.locationName == null) {
- if (other.locationName != null)
- return false;
- }
- else if (!this.locationName.equals(other.locationName))
- return false;
- if (this.minAge == null) {
- if (other.minAge != null)
- return false;
- }
- else if (!this.minAge.equals(other.minAge))
- return false;
- if (this.maxAge == null) {
- if (other.maxAge != null)
- return false;
- }
- else if (!this.maxAge.equals(other.maxAge))
- return false;
- if (this.minTeacherage == null) {
- if (other.minTeacherage != null)
- return false;
- }
- else if (!this.minTeacherage.equals(other.minTeacherage))
- return false;
- if (this.url == null) {
- if (other.url != null)
- return false;
- }
- else if (!this.url.equals(other.url))
- return false;
- if (this.price == null) {
- if (other.price != null)
- return false;
- }
- else if (!this.price.equals(other.price))
- return false;
- if (this.countries == null) {
- if (other.countries != null)
- return false;
- }
- else if (!this.countries.equals(other.countries))
- return false;
- if (this.fkDocument == null) {
- if (other.fkDocument != null)
- return false;
- }
- else if (!this.fkDocument.equals(other.fkDocument))
- return false;
- if (this.bedsFemale == null) {
- if (other.bedsFemale != null)
- return false;
- }
- else if (!this.bedsFemale.equals(other.bedsFemale))
- return false;
- if (this.bedsMale == null) {
- if (other.bedsMale != null)
- return false;
- }
- else if (!this.bedsMale.equals(other.bedsMale))
- return false;
- if (this.blockedBedsFemale == null) {
- if (other.blockedBedsFemale != null)
- return false;
- }
- else if (!this.blockedBedsFemale.equals(other.blockedBedsFemale))
- return false;
- if (this.blockedBedsMale == null) {
- if (other.blockedBedsMale != null)
- return false;
- }
- else if (!this.blockedBedsMale.equals(other.blockedBedsMale))
- return false;
- if (this.usedBedsMale == null) {
- if (other.usedBedsMale != null)
- return false;
- }
- else if (!this.usedBedsMale.equals(other.usedBedsMale))
- return false;
- if (this.usedBedsFemale == null) {
- if (other.usedBedsFemale != null)
- return false;
- }
- else if (!this.usedBedsFemale.equals(other.usedBedsFemale))
- return false;
- if (this.startBooking == null) {
- if (other.startBooking != null)
- return false;
- }
- else if (!this.startBooking.equals(other.startBooking))
- return false;
- if (this.bookingHasStarted == null) {
- if (other.bookingHasStarted != null)
- return false;
- }
- else if (!this.bookingHasStarted.equals(other.bookingHasStarted))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.isOver == null) ? 0 : this.isOver.hashCode());
- result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
- result = prime * result + ((this.arrive == null) ? 0 : this.arrive.hashCode());
- result = prime * result + ((this.depart == null) ? 0 : this.depart.hashCode());
- result = prime * result + ((this.year == null) ? 0 : this.year.hashCode());
- result = prime * result + ((this.locationName == null) ? 0 : this.locationName.hashCode());
- result = prime * result + ((this.minAge == null) ? 0 : this.minAge.hashCode());
- result = prime * result + ((this.maxAge == null) ? 0 : this.maxAge.hashCode());
- result = prime * result + ((this.minTeacherage == null) ? 0 : this.minTeacherage.hashCode());
- result = prime * result + ((this.url == null) ? 0 : this.url.hashCode());
- result = prime * result + ((this.price == null) ? 0 : this.price.hashCode());
- result = prime * result + ((this.countries == null) ? 0 : this.countries.hashCode());
- result = prime * result + ((this.fkDocument == null) ? 0 : this.fkDocument.hashCode());
- result = prime * result + ((this.bedsFemale == null) ? 0 : this.bedsFemale.hashCode());
- result = prime * result + ((this.bedsMale == null) ? 0 : this.bedsMale.hashCode());
- result = prime * result + ((this.blockedBedsFemale == null) ? 0 : this.blockedBedsFemale.hashCode());
- result = prime * result + ((this.blockedBedsMale == null) ? 0 : this.blockedBedsMale.hashCode());
- result = prime * result + ((this.usedBedsMale == null) ? 0 : this.usedBedsMale.hashCode());
- result = prime * result + ((this.usedBedsFemale == null) ? 0 : this.usedBedsFemale.hashCode());
- result = prime * result + ((this.startBooking == null) ? 0 : this.startBooking.hashCode());
- result = prime * result + ((this.bookingHasStarted == null) ? 0 : this.bookingHasStarted.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VCamp (");
-
- sb.append(pk);
- sb.append(", ").append(isOver);
- sb.append(", ").append(name);
- sb.append(", ").append(arrive);
- sb.append(", ").append(depart);
- sb.append(", ").append(year);
- sb.append(", ").append(locationName);
- sb.append(", ").append(minAge);
- sb.append(", ").append(maxAge);
- sb.append(", ").append(minTeacherage);
- sb.append(", ").append(url);
- sb.append(", ").append(price);
- sb.append(", ").append(countries);
- sb.append(", ").append(fkDocument);
- sb.append(", ").append(bedsFemale);
- sb.append(", ").append(bedsMale);
- sb.append(", ").append(blockedBedsFemale);
- sb.append(", ").append(blockedBedsMale);
- sb.append(", ").append(usedBedsMale);
- sb.append(", ").append(usedBedsFemale);
- sb.append(", ").append(startBooking);
- sb.append(", ").append(bookingHasStarted);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCampBudget.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCampBudget.java
deleted file mode 100644
index a63cb7d..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCampBudget.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import java.io.Serializable;
-import java.math.BigDecimal;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VCampBudget implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final BigDecimal budget;
- private final Integer fkCamp;
- private final String campName;
- private final Double year;
-
- public VCampBudget(VCampBudget value) {
- this.budget = value.budget;
- this.fkCamp = value.fkCamp;
- this.campName = value.campName;
- this.year = value.year;
- }
-
- public VCampBudget(
- BigDecimal budget,
- Integer fkCamp,
- String campName,
- Double year
- ) {
- this.budget = budget;
- this.fkCamp = fkCamp;
- this.campName = campName;
- this.year = year;
- }
-
- /**
- * Getter for public.v_camp_budget.budget
.
- */
- public BigDecimal getBudget() {
- return this.budget;
- }
-
- /**
- * Getter for public.v_camp_budget.fk_camp
.
- */
- public Integer getFkCamp() {
- return this.fkCamp;
- }
-
- /**
- * Getter for public.v_camp_budget.camp_name
.
- */
- public String getCampName() {
- return this.campName;
- }
-
- /**
- * Getter for public.v_camp_budget.year
.
- */
- public Double getYear() {
- return this.year;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VCampBudget other = (VCampBudget) obj;
- if (this.budget == null) {
- if (other.budget != null)
- return false;
- }
- else if (!this.budget.equals(other.budget))
- return false;
- if (this.fkCamp == null) {
- if (other.fkCamp != null)
- return false;
- }
- else if (!this.fkCamp.equals(other.fkCamp))
- return false;
- if (this.campName == null) {
- if (other.campName != null)
- return false;
- }
- else if (!this.campName.equals(other.campName))
- return false;
- if (this.year == null) {
- if (other.year != null)
- return false;
- }
- else if (!this.year.equals(other.year))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.budget == null) ? 0 : this.budget.hashCode());
- result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
- result = prime * result + ((this.campName == null) ? 0 : this.campName.hashCode());
- result = prime * result + ((this.year == null) ? 0 : this.year.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VCampBudget (");
-
- sb.append(budget);
- sb.append(", ").append(fkCamp);
- sb.append(", ").append(campName);
- sb.append(", ").append(year);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCampBudgetYear.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCampBudgetYear.java
deleted file mode 100644
index 5f32133..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCampBudgetYear.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import java.io.Serializable;
-import java.math.BigDecimal;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VCampBudgetYear implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final BigDecimal sum;
- private final Double year;
-
- public VCampBudgetYear(VCampBudgetYear value) {
- this.sum = value.sum;
- this.year = value.year;
- }
-
- public VCampBudgetYear(
- BigDecimal sum,
- Double year
- ) {
- this.sum = sum;
- this.year = year;
- }
-
- /**
- * Getter for public.v_camp_budget_year.sum
.
- */
- public BigDecimal getSum() {
- return this.sum;
- }
-
- /**
- * Getter for public.v_camp_budget_year.year
.
- */
- public Double getYear() {
- return this.year;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VCampBudgetYear other = (VCampBudgetYear) obj;
- if (this.sum == null) {
- if (other.sum != null)
- return false;
- }
- else if (!this.sum.equals(other.sum))
- return false;
- if (this.year == null) {
- if (other.year != null)
- return false;
- }
- else if (!this.year.equals(other.year))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.sum == null) ? 0 : this.sum.hashCode());
- result = prime * result + ((this.year == null) ? 0 : this.year.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VCampBudgetYear (");
-
- sb.append(sum);
- sb.append(", ").append(year);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCampdocument.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCampdocument.java
deleted file mode 100644
index 32c28b7..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCampdocument.java
+++ /dev/null
@@ -1,209 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
-import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
-
-import java.io.Serializable;
-import java.time.LocalDateTime;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VCampdocument implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer fkCamp;
- private final String campname;
- private final LocalDateTime arrive;
- private final Integer fkDocument;
- private final String document;
- private final String documentname;
- private final EnumDocument doctype;
- private final EnumFiletype filetype;
-
- public VCampdocument(VCampdocument value) {
- this.fkCamp = value.fkCamp;
- this.campname = value.campname;
- this.arrive = value.arrive;
- this.fkDocument = value.fkDocument;
- this.document = value.document;
- this.documentname = value.documentname;
- this.doctype = value.doctype;
- this.filetype = value.filetype;
- }
-
- public VCampdocument(
- Integer fkCamp,
- String campname,
- LocalDateTime arrive,
- Integer fkDocument,
- String document,
- String documentname,
- EnumDocument doctype,
- EnumFiletype filetype
- ) {
- this.fkCamp = fkCamp;
- this.campname = campname;
- this.arrive = arrive;
- this.fkDocument = fkDocument;
- this.document = document;
- this.documentname = documentname;
- this.doctype = doctype;
- this.filetype = filetype;
- }
-
- /**
- * Getter for public.v_campdocument.fk_camp
.
- */
- public Integer getFkCamp() {
- return this.fkCamp;
- }
-
- /**
- * Getter for public.v_campdocument.campname
.
- */
- public String getCampname() {
- return this.campname;
- }
-
- /**
- * Getter for public.v_campdocument.arrive
.
- */
- public LocalDateTime getArrive() {
- return this.arrive;
- }
-
- /**
- * Getter for public.v_campdocument.fk_document
.
- */
- public Integer getFkDocument() {
- return this.fkDocument;
- }
-
- /**
- * Getter for public.v_campdocument.document
.
- */
- public String getDocument() {
- return this.document;
- }
-
- /**
- * Getter for public.v_campdocument.documentname
.
- */
- public String getDocumentname() {
- return this.documentname;
- }
-
- /**
- * Getter for public.v_campdocument.doctype
.
- */
- public EnumDocument getDoctype() {
- return this.doctype;
- }
-
- /**
- * Getter for public.v_campdocument.filetype
.
- */
- public EnumFiletype getFiletype() {
- return this.filetype;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VCampdocument other = (VCampdocument) obj;
- if (this.fkCamp == null) {
- if (other.fkCamp != null)
- return false;
- }
- else if (!this.fkCamp.equals(other.fkCamp))
- return false;
- if (this.campname == null) {
- if (other.campname != null)
- return false;
- }
- else if (!this.campname.equals(other.campname))
- return false;
- if (this.arrive == null) {
- if (other.arrive != null)
- return false;
- }
- else if (!this.arrive.equals(other.arrive))
- return false;
- if (this.fkDocument == null) {
- if (other.fkDocument != null)
- return false;
- }
- else if (!this.fkDocument.equals(other.fkDocument))
- return false;
- if (this.document == null) {
- if (other.document != null)
- return false;
- }
- else if (!this.document.equals(other.document))
- return false;
- if (this.documentname == null) {
- if (other.documentname != null)
- return false;
- }
- else if (!this.documentname.equals(other.documentname))
- return false;
- if (this.doctype == null) {
- if (other.doctype != null)
- return false;
- }
- else if (!this.doctype.equals(other.doctype))
- return false;
- if (this.filetype == null) {
- if (other.filetype != null)
- return false;
- }
- else if (!this.filetype.equals(other.filetype))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
- result = prime * result + ((this.campname == null) ? 0 : this.campname.hashCode());
- result = prime * result + ((this.arrive == null) ? 0 : this.arrive.hashCode());
- result = prime * result + ((this.fkDocument == null) ? 0 : this.fkDocument.hashCode());
- result = prime * result + ((this.document == null) ? 0 : this.document.hashCode());
- result = prime * result + ((this.documentname == null) ? 0 : this.documentname.hashCode());
- result = prime * result + ((this.doctype == null) ? 0 : this.doctype.hashCode());
- result = prime * result + ((this.filetype == null) ? 0 : this.filetype.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VCampdocument (");
-
- sb.append(fkCamp);
- sb.append(", ").append(campname);
- sb.append(", ").append(arrive);
- sb.append(", ").append(fkDocument);
- sb.append(", ").append(document);
- sb.append(", ").append(documentname);
- sb.append(", ").append(doctype);
- sb.append(", ").append(filetype);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCamprole.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCamprole.java
deleted file mode 100644
index 2a0b4e8..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VCamprole.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
-
-import java.io.Serializable;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VCamprole implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final EnumCamprole name;
-
- public VCamprole(VCamprole value) {
- this.name = value.name;
- }
-
- public VCamprole(
- EnumCamprole name
- ) {
- this.name = name;
- }
-
- /**
- * Getter for public.v_camprole.name
.
- */
- public EnumCamprole getName() {
- return this.name;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VCamprole other = (VCamprole) obj;
- if (this.name == null) {
- if (other.name != null)
- return false;
- }
- else if (!this.name.equals(other.name))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VCamprole (");
-
- sb.append(name);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VDocument.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VDocument.java
deleted file mode 100644
index a25721e..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VDocument.java
+++ /dev/null
@@ -1,170 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
-import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
-
-import java.io.Serializable;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VDocument implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final EnumDocument doctype;
- private final String name;
- private final String document;
- private final EnumFiletype filetype;
- private final String roles;
-
- public VDocument(VDocument value) {
- this.pk = value.pk;
- this.doctype = value.doctype;
- this.name = value.name;
- this.document = value.document;
- this.filetype = value.filetype;
- this.roles = value.roles;
- }
-
- public VDocument(
- Integer pk,
- EnumDocument doctype,
- String name,
- String document,
- EnumFiletype filetype,
- String roles
- ) {
- this.pk = pk;
- this.doctype = doctype;
- this.name = name;
- this.document = document;
- this.filetype = filetype;
- this.roles = roles;
- }
-
- /**
- * Getter for public.v_document.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.v_document.doctype
.
- */
- public EnumDocument getDoctype() {
- return this.doctype;
- }
-
- /**
- * Getter for public.v_document.name
.
- */
- public String getName() {
- return this.name;
- }
-
- /**
- * Getter for public.v_document.document
.
- */
- public String getDocument() {
- return this.document;
- }
-
- /**
- * Getter for public.v_document.filetype
.
- */
- public EnumFiletype getFiletype() {
- return this.filetype;
- }
-
- /**
- * Getter for public.v_document.roles
.
- */
- public String getRoles() {
- return this.roles;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VDocument other = (VDocument) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.doctype == null) {
- if (other.doctype != null)
- return false;
- }
- else if (!this.doctype.equals(other.doctype))
- return false;
- if (this.name == null) {
- if (other.name != null)
- return false;
- }
- else if (!this.name.equals(other.name))
- return false;
- if (this.document == null) {
- if (other.document != null)
- return false;
- }
- else if (!this.document.equals(other.document))
- return false;
- if (this.filetype == null) {
- if (other.filetype != null)
- return false;
- }
- else if (!this.filetype.equals(other.filetype))
- return false;
- if (this.roles == null) {
- if (other.roles != null)
- return false;
- }
- else if (!this.roles.equals(other.roles))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.doctype == null) ? 0 : this.doctype.hashCode());
- result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
- result = prime * result + ((this.document == null) ? 0 : this.document.hashCode());
- result = prime * result + ((this.filetype == null) ? 0 : this.filetype.hashCode());
- result = prime * result + ((this.roles == null) ? 0 : this.roles.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VDocument (");
-
- sb.append(pk);
- sb.append(", ").append(doctype);
- sb.append(", ").append(name);
- sb.append(", ").append(document);
- sb.append(", ").append(filetype);
- sb.append(", ").append(roles);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VDsgvoDeleteCandidate.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VDsgvoDeleteCandidate.java
deleted file mode 100644
index 7d568ee..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VDsgvoDeleteCandidate.java
+++ /dev/null
@@ -1,228 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
-
-import java.io.Serializable;
-
-import org.jooq.types.YearToSecond;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VDsgvoDeleteCandidate implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer fkPerson;
- private final String forename;
- private final String surname;
- private final Integer fkCamp;
- private final YearToSecond age;
- private final EnumCamprole camprole;
- private final String name;
- private final Double year;
- private final Boolean isOver;
-
- public VDsgvoDeleteCandidate(VDsgvoDeleteCandidate value) {
- this.fkPerson = value.fkPerson;
- this.forename = value.forename;
- this.surname = value.surname;
- this.fkCamp = value.fkCamp;
- this.age = value.age;
- this.camprole = value.camprole;
- this.name = value.name;
- this.year = value.year;
- this.isOver = value.isOver;
- }
-
- public VDsgvoDeleteCandidate(
- Integer fkPerson,
- String forename,
- String surname,
- Integer fkCamp,
- YearToSecond age,
- EnumCamprole camprole,
- String name,
- Double year,
- Boolean isOver
- ) {
- this.fkPerson = fkPerson;
- this.forename = forename;
- this.surname = surname;
- this.fkCamp = fkCamp;
- this.age = age;
- this.camprole = camprole;
- this.name = name;
- this.year = year;
- this.isOver = isOver;
- }
-
- /**
- * Getter for public.v_dsgvo_delete_candidate.fk_person
.
- */
- public Integer getFkPerson() {
- return this.fkPerson;
- }
-
- /**
- * Getter for public.v_dsgvo_delete_candidate.forename
.
- */
- public String getForename() {
- return this.forename;
- }
-
- /**
- * Getter for public.v_dsgvo_delete_candidate.surname
.
- */
- public String getSurname() {
- return this.surname;
- }
-
- /**
- * Getter for public.v_dsgvo_delete_candidate.fk_camp
.
- */
- public Integer getFkCamp() {
- return this.fkCamp;
- }
-
- /**
- * Getter for public.v_dsgvo_delete_candidate.age
.
- */
- public YearToSecond getAge() {
- return this.age;
- }
-
- /**
- * Getter for public.v_dsgvo_delete_candidate.camprole
.
- */
- public EnumCamprole getCamprole() {
- return this.camprole;
- }
-
- /**
- * Getter for public.v_dsgvo_delete_candidate.name
.
- */
- public String getName() {
- return this.name;
- }
-
- /**
- * Getter for public.v_dsgvo_delete_candidate.year
.
- */
- public Double getYear() {
- return this.year;
- }
-
- /**
- * Getter for public.v_dsgvo_delete_candidate.is_over
.
- */
- public Boolean getIsOver() {
- return this.isOver;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VDsgvoDeleteCandidate other = (VDsgvoDeleteCandidate) obj;
- if (this.fkPerson == null) {
- if (other.fkPerson != null)
- return false;
- }
- else if (!this.fkPerson.equals(other.fkPerson))
- return false;
- if (this.forename == null) {
- if (other.forename != null)
- return false;
- }
- else if (!this.forename.equals(other.forename))
- return false;
- if (this.surname == null) {
- if (other.surname != null)
- return false;
- }
- else if (!this.surname.equals(other.surname))
- return false;
- if (this.fkCamp == null) {
- if (other.fkCamp != null)
- return false;
- }
- else if (!this.fkCamp.equals(other.fkCamp))
- return false;
- if (this.age == null) {
- if (other.age != null)
- return false;
- }
- else if (!this.age.equals(other.age))
- return false;
- if (this.camprole == null) {
- if (other.camprole != null)
- return false;
- }
- else if (!this.camprole.equals(other.camprole))
- return false;
- if (this.name == null) {
- if (other.name != null)
- return false;
- }
- else if (!this.name.equals(other.name))
- return false;
- if (this.year == null) {
- if (other.year != null)
- return false;
- }
- else if (!this.year.equals(other.year))
- return false;
- if (this.isOver == null) {
- if (other.isOver != null)
- return false;
- }
- else if (!this.isOver.equals(other.isOver))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.fkPerson == null) ? 0 : this.fkPerson.hashCode());
- result = prime * result + ((this.forename == null) ? 0 : this.forename.hashCode());
- result = prime * result + ((this.surname == null) ? 0 : this.surname.hashCode());
- result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
- result = prime * result + ((this.age == null) ? 0 : this.age.hashCode());
- result = prime * result + ((this.camprole == null) ? 0 : this.camprole.hashCode());
- result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
- result = prime * result + ((this.year == null) ? 0 : this.year.hashCode());
- result = prime * result + ((this.isOver == null) ? 0 : this.isOver.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VDsgvoDeleteCandidate (");
-
- sb.append(fkPerson);
- sb.append(", ").append(forename);
- sb.append(", ").append(surname);
- sb.append(", ").append(fkCamp);
- sb.append(", ").append(age);
- sb.append(", ").append(camprole);
- sb.append(", ").append(name);
- sb.append(", ").append(year);
- sb.append(", ").append(isOver);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VFeeder.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VFeeder.java
deleted file mode 100644
index 4039bc1..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VFeeder.java
+++ /dev/null
@@ -1,266 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumSex;
-
-import java.io.Serializable;
-
-import org.jooq.types.YearToSecond;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VFeeder implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final String forename;
- private final String surname;
- private final String street;
- private final String zip;
- private final String city;
- private final String phone;
- private final YearToSecond age;
- private final String email;
- private final EnumSex sex;
- private final String name;
- private final Double year;
-
- public VFeeder(VFeeder value) {
- this.forename = value.forename;
- this.surname = value.surname;
- this.street = value.street;
- this.zip = value.zip;
- this.city = value.city;
- this.phone = value.phone;
- this.age = value.age;
- this.email = value.email;
- this.sex = value.sex;
- this.name = value.name;
- this.year = value.year;
- }
-
- public VFeeder(
- String forename,
- String surname,
- String street,
- String zip,
- String city,
- String phone,
- YearToSecond age,
- String email,
- EnumSex sex,
- String name,
- Double year
- ) {
- this.forename = forename;
- this.surname = surname;
- this.street = street;
- this.zip = zip;
- this.city = city;
- this.phone = phone;
- this.age = age;
- this.email = email;
- this.sex = sex;
- this.name = name;
- this.year = year;
- }
-
- /**
- * Getter for public.v_feeder.forename
.
- */
- public String getForename() {
- return this.forename;
- }
-
- /**
- * Getter for public.v_feeder.surname
.
- */
- public String getSurname() {
- return this.surname;
- }
-
- /**
- * Getter for public.v_feeder.street
.
- */
- public String getStreet() {
- return this.street;
- }
-
- /**
- * Getter for public.v_feeder.zip
.
- */
- public String getZip() {
- return this.zip;
- }
-
- /**
- * Getter for public.v_feeder.city
.
- */
- public String getCity() {
- return this.city;
- }
-
- /**
- * Getter for public.v_feeder.phone
.
- */
- public String getPhone() {
- return this.phone;
- }
-
- /**
- * Getter for public.v_feeder.age
.
- */
- public YearToSecond getAge() {
- return this.age;
- }
-
- /**
- * Getter for public.v_feeder.email
.
- */
- public String getEmail() {
- return this.email;
- }
-
- /**
- * Getter for public.v_feeder.sex
.
- */
- public EnumSex getSex() {
- return this.sex;
- }
-
- /**
- * Getter for public.v_feeder.name
.
- */
- public String getName() {
- return this.name;
- }
-
- /**
- * Getter for public.v_feeder.year
.
- */
- public Double getYear() {
- return this.year;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VFeeder other = (VFeeder) obj;
- if (this.forename == null) {
- if (other.forename != null)
- return false;
- }
- else if (!this.forename.equals(other.forename))
- return false;
- if (this.surname == null) {
- if (other.surname != null)
- return false;
- }
- else if (!this.surname.equals(other.surname))
- return false;
- if (this.street == null) {
- if (other.street != null)
- return false;
- }
- else if (!this.street.equals(other.street))
- return false;
- if (this.zip == null) {
- if (other.zip != null)
- return false;
- }
- else if (!this.zip.equals(other.zip))
- return false;
- if (this.city == null) {
- if (other.city != null)
- return false;
- }
- else if (!this.city.equals(other.city))
- return false;
- if (this.phone == null) {
- if (other.phone != null)
- return false;
- }
- else if (!this.phone.equals(other.phone))
- return false;
- if (this.age == null) {
- if (other.age != null)
- return false;
- }
- else if (!this.age.equals(other.age))
- return false;
- if (this.email == null) {
- if (other.email != null)
- return false;
- }
- else if (!this.email.equals(other.email))
- return false;
- if (this.sex == null) {
- if (other.sex != null)
- return false;
- }
- else if (!this.sex.equals(other.sex))
- return false;
- if (this.name == null) {
- if (other.name != null)
- return false;
- }
- else if (!this.name.equals(other.name))
- return false;
- if (this.year == null) {
- if (other.year != null)
- return false;
- }
- else if (!this.year.equals(other.year))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.forename == null) ? 0 : this.forename.hashCode());
- result = prime * result + ((this.surname == null) ? 0 : this.surname.hashCode());
- result = prime * result + ((this.street == null) ? 0 : this.street.hashCode());
- result = prime * result + ((this.zip == null) ? 0 : this.zip.hashCode());
- result = prime * result + ((this.city == null) ? 0 : this.city.hashCode());
- result = prime * result + ((this.phone == null) ? 0 : this.phone.hashCode());
- result = prime * result + ((this.age == null) ? 0 : this.age.hashCode());
- result = prime * result + ((this.email == null) ? 0 : this.email.hashCode());
- result = prime * result + ((this.sex == null) ? 0 : this.sex.hashCode());
- result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
- result = prime * result + ((this.year == null) ? 0 : this.year.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VFeeder (");
-
- sb.append(forename);
- sb.append(", ").append(surname);
- sb.append(", ").append(street);
- sb.append(", ").append(zip);
- sb.append(", ").append(city);
- sb.append(", ").append(phone);
- sb.append(", ").append(age);
- sb.append(", ").append(email);
- sb.append(", ").append(sex);
- sb.append(", ").append(name);
- sb.append(", ").append(year);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VProfile.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VProfile.java
deleted file mode 100644
index a602dc4..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VProfile.java
+++ /dev/null
@@ -1,189 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
-
-import java.io.Serializable;
-import java.util.Arrays;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VProfile implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final String forename;
- private final String surname;
- private final String username;
- private final String password;
- private final String uuid;
- private final EnumRole[] roles;
-
- public VProfile(VProfile value) {
- this.pk = value.pk;
- this.forename = value.forename;
- this.surname = value.surname;
- this.username = value.username;
- this.password = value.password;
- this.uuid = value.uuid;
- this.roles = value.roles;
- }
-
- public VProfile(
- Integer pk,
- String forename,
- String surname,
- String username,
- String password,
- String uuid,
- EnumRole[] roles
- ) {
- this.pk = pk;
- this.forename = forename;
- this.surname = surname;
- this.username = username;
- this.password = password;
- this.uuid = uuid;
- this.roles = roles;
- }
-
- /**
- * Getter for public.v_profile.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.v_profile.forename
.
- */
- public String getForename() {
- return this.forename;
- }
-
- /**
- * Getter for public.v_profile.surname
.
- */
- public String getSurname() {
- return this.surname;
- }
-
- /**
- * Getter for public.v_profile.username
.
- */
- public String getUsername() {
- return this.username;
- }
-
- /**
- * Getter for public.v_profile.password
.
- */
- public String getPassword() {
- return this.password;
- }
-
- /**
- * Getter for public.v_profile.uuid
.
- */
- public String getUuid() {
- return this.uuid;
- }
-
- /**
- * Getter for public.v_profile.roles
.
- */
- public EnumRole[] getRoles() {
- return this.roles;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VProfile other = (VProfile) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.forename == null) {
- if (other.forename != null)
- return false;
- }
- else if (!this.forename.equals(other.forename))
- return false;
- if (this.surname == null) {
- if (other.surname != null)
- return false;
- }
- else if (!this.surname.equals(other.surname))
- return false;
- if (this.username == null) {
- if (other.username != null)
- return false;
- }
- else if (!this.username.equals(other.username))
- return false;
- if (this.password == null) {
- if (other.password != null)
- return false;
- }
- else if (!this.password.equals(other.password))
- return false;
- if (this.uuid == null) {
- if (other.uuid != null)
- return false;
- }
- else if (!this.uuid.equals(other.uuid))
- return false;
- if (this.roles == null) {
- if (other.roles != null)
- return false;
- }
- else if (!Arrays.deepEquals(this.roles, other.roles))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.forename == null) ? 0 : this.forename.hashCode());
- result = prime * result + ((this.surname == null) ? 0 : this.surname.hashCode());
- result = prime * result + ((this.username == null) ? 0 : this.username.hashCode());
- result = prime * result + ((this.password == null) ? 0 : this.password.hashCode());
- result = prime * result + ((this.uuid == null) ? 0 : this.uuid.hashCode());
- result = prime * result + ((this.roles == null) ? 0 : Arrays.deepHashCode(this.roles));
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VProfile (");
-
- sb.append(pk);
- sb.append(", ").append(forename);
- sb.append(", ").append(surname);
- sb.append(", ").append(username);
- sb.append(", ").append(password);
- sb.append(", ").append(uuid);
- sb.append(", ").append(Arrays.deepToString(roles));
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VRegistration.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VRegistration.java
deleted file mode 100644
index 6a244fe..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VRegistration.java
+++ /dev/null
@@ -1,265 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
-
-import java.io.Serializable;
-import java.time.LocalDate;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VRegistration implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final String forename;
- private final String surname;
- private final String street;
- private final String zip;
- private final String city;
- private final String phone;
- private final LocalDate birthdate;
- private final EnumCamprole camprole;
- private final String email;
- private final String campname;
-
- public VRegistration(VRegistration value) {
- this.pk = value.pk;
- this.forename = value.forename;
- this.surname = value.surname;
- this.street = value.street;
- this.zip = value.zip;
- this.city = value.city;
- this.phone = value.phone;
- this.birthdate = value.birthdate;
- this.camprole = value.camprole;
- this.email = value.email;
- this.campname = value.campname;
- }
-
- public VRegistration(
- Integer pk,
- String forename,
- String surname,
- String street,
- String zip,
- String city,
- String phone,
- LocalDate birthdate,
- EnumCamprole camprole,
- String email,
- String campname
- ) {
- this.pk = pk;
- this.forename = forename;
- this.surname = surname;
- this.street = street;
- this.zip = zip;
- this.city = city;
- this.phone = phone;
- this.birthdate = birthdate;
- this.camprole = camprole;
- this.email = email;
- this.campname = campname;
- }
-
- /**
- * Getter for public.v_registration.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.v_registration.forename
.
- */
- public String getForename() {
- return this.forename;
- }
-
- /**
- * Getter for public.v_registration.surname
.
- */
- public String getSurname() {
- return this.surname;
- }
-
- /**
- * Getter for public.v_registration.street
.
- */
- public String getStreet() {
- return this.street;
- }
-
- /**
- * Getter for public.v_registration.zip
.
- */
- public String getZip() {
- return this.zip;
- }
-
- /**
- * Getter for public.v_registration.city
.
- */
- public String getCity() {
- return this.city;
- }
-
- /**
- * Getter for public.v_registration.phone
.
- */
- public String getPhone() {
- return this.phone;
- }
-
- /**
- * Getter for public.v_registration.birthdate
.
- */
- public LocalDate getBirthdate() {
- return this.birthdate;
- }
-
- /**
- * Getter for public.v_registration.camprole
.
- */
- public EnumCamprole getCamprole() {
- return this.camprole;
- }
-
- /**
- * Getter for public.v_registration.email
.
- */
- public String getEmail() {
- return this.email;
- }
-
- /**
- * Getter for public.v_registration.campname
.
- */
- public String getCampname() {
- return this.campname;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VRegistration other = (VRegistration) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.forename == null) {
- if (other.forename != null)
- return false;
- }
- else if (!this.forename.equals(other.forename))
- return false;
- if (this.surname == null) {
- if (other.surname != null)
- return false;
- }
- else if (!this.surname.equals(other.surname))
- return false;
- if (this.street == null) {
- if (other.street != null)
- return false;
- }
- else if (!this.street.equals(other.street))
- return false;
- if (this.zip == null) {
- if (other.zip != null)
- return false;
- }
- else if (!this.zip.equals(other.zip))
- return false;
- if (this.city == null) {
- if (other.city != null)
- return false;
- }
- else if (!this.city.equals(other.city))
- return false;
- if (this.phone == null) {
- if (other.phone != null)
- return false;
- }
- else if (!this.phone.equals(other.phone))
- return false;
- if (this.birthdate == null) {
- if (other.birthdate != null)
- return false;
- }
- else if (!this.birthdate.equals(other.birthdate))
- return false;
- if (this.camprole == null) {
- if (other.camprole != null)
- return false;
- }
- else if (!this.camprole.equals(other.camprole))
- return false;
- if (this.email == null) {
- if (other.email != null)
- return false;
- }
- else if (!this.email.equals(other.email))
- return false;
- if (this.campname == null) {
- if (other.campname != null)
- return false;
- }
- else if (!this.campname.equals(other.campname))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.forename == null) ? 0 : this.forename.hashCode());
- result = prime * result + ((this.surname == null) ? 0 : this.surname.hashCode());
- result = prime * result + ((this.street == null) ? 0 : this.street.hashCode());
- result = prime * result + ((this.zip == null) ? 0 : this.zip.hashCode());
- result = prime * result + ((this.city == null) ? 0 : this.city.hashCode());
- result = prime * result + ((this.phone == null) ? 0 : this.phone.hashCode());
- result = prime * result + ((this.birthdate == null) ? 0 : this.birthdate.hashCode());
- result = prime * result + ((this.camprole == null) ? 0 : this.camprole.hashCode());
- result = prime * result + ((this.email == null) ? 0 : this.email.hashCode());
- result = prime * result + ((this.campname == null) ? 0 : this.campname.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VRegistration (");
-
- sb.append(pk);
- sb.append(", ").append(forename);
- sb.append(", ").append(surname);
- sb.append(", ").append(street);
- sb.append(", ").append(zip);
- sb.append(", ").append(city);
- sb.append(", ").append(phone);
- sb.append(", ").append(birthdate);
- sb.append(", ").append(camprole);
- sb.append(", ").append(email);
- sb.append(", ").append(campname);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VRole.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VRole.java
deleted file mode 100644
index da68fc8..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VRole.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
-
-import java.io.Serializable;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VRole implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final EnumRole unnest;
-
- public VRole(VRole value) {
- this.unnest = value.unnest;
- }
-
- public VRole(
- EnumRole unnest
- ) {
- this.unnest = unnest;
- }
-
- /**
- * Getter for public.v_role.unnest
.
- */
- public EnumRole getUnnest() {
- return this.unnest;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VRole other = (VRole) obj;
- if (this.unnest == null) {
- if (other.unnest != null)
- return false;
- }
- else if (!this.unnest.equals(other.unnest))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.unnest == null) ? 0 : this.unnest.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VRole (");
-
- sb.append(unnest);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VSales.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VSales.java
deleted file mode 100644
index 9bd282e..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VSales.java
+++ /dev/null
@@ -1,360 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import java.io.Serializable;
-import java.math.BigDecimal;
-import java.time.LocalDateTime;
-import java.util.Arrays;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VSales implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final Integer pk;
- private final String trader;
- private final Integer fkCamp;
- private final String name;
- private final Integer fkLocation;
- private final String location;
- private final String incredients;
- private final Double year;
- private final Integer fkSales;
- private final String provider;
- private final BigDecimal cash;
- private final LocalDateTime buydate;
- private final String recipenumber;
- private final byte[] recipeshot;
- private final String recipenote;
- private final String[] content;
-
- public VSales(VSales value) {
- this.pk = value.pk;
- this.trader = value.trader;
- this.fkCamp = value.fkCamp;
- this.name = value.name;
- this.fkLocation = value.fkLocation;
- this.location = value.location;
- this.incredients = value.incredients;
- this.year = value.year;
- this.fkSales = value.fkSales;
- this.provider = value.provider;
- this.cash = value.cash;
- this.buydate = value.buydate;
- this.recipenumber = value.recipenumber;
- this.recipeshot = value.recipeshot;
- this.recipenote = value.recipenote;
- this.content = value.content;
- }
-
- public VSales(
- Integer pk,
- String trader,
- Integer fkCamp,
- String name,
- Integer fkLocation,
- String location,
- String incredients,
- Double year,
- Integer fkSales,
- String provider,
- BigDecimal cash,
- LocalDateTime buydate,
- String recipenumber,
- byte[] recipeshot,
- String recipenote,
- String[] content
- ) {
- this.pk = pk;
- this.trader = trader;
- this.fkCamp = fkCamp;
- this.name = name;
- this.fkLocation = fkLocation;
- this.location = location;
- this.incredients = incredients;
- this.year = year;
- this.fkSales = fkSales;
- this.provider = provider;
- this.cash = cash;
- this.buydate = buydate;
- this.recipenumber = recipenumber;
- this.recipeshot = recipeshot;
- this.recipenote = recipenote;
- this.content = content;
- }
-
- /**
- * Getter for public.v_sales.pk
.
- */
- public Integer getPk() {
- return this.pk;
- }
-
- /**
- * Getter for public.v_sales.trader
.
- */
- public String getTrader() {
- return this.trader;
- }
-
- /**
- * Getter for public.v_sales.fk_camp
.
- */
- public Integer getFkCamp() {
- return this.fkCamp;
- }
-
- /**
- * Getter for public.v_sales.name
.
- */
- public String getName() {
- return this.name;
- }
-
- /**
- * Getter for public.v_sales.fk_location
.
- */
- public Integer getFkLocation() {
- return this.fkLocation;
- }
-
- /**
- * Getter for public.v_sales.location
.
- */
- public String getLocation() {
- return this.location;
- }
-
- /**
- * Getter for public.v_sales.incredients
.
- */
- public String getIncredients() {
- return this.incredients;
- }
-
- /**
- * Getter for public.v_sales.year
.
- */
- public Double getYear() {
- return this.year;
- }
-
- /**
- * Getter for public.v_sales.fk_sales
.
- */
- public Integer getFkSales() {
- return this.fkSales;
- }
-
- /**
- * Getter for public.v_sales.provider
.
- */
- public String getProvider() {
- return this.provider;
- }
-
- /**
- * Getter for public.v_sales.cash
.
- */
- public BigDecimal getCash() {
- return this.cash;
- }
-
- /**
- * Getter for public.v_sales.buydate
.
- */
- public LocalDateTime getBuydate() {
- return this.buydate;
- }
-
- /**
- * Getter for public.v_sales.recipenumber
.
- */
- public String getRecipenumber() {
- return this.recipenumber;
- }
-
- /**
- * Getter for public.v_sales.recipeshot
.
- */
- public byte[] getRecipeshot() {
- return this.recipeshot;
- }
-
- /**
- * Getter for public.v_sales.recipenote
.
- */
- public String getRecipenote() {
- return this.recipenote;
- }
-
- /**
- * Getter for public.v_sales.content
.
- */
- public String[] getContent() {
- return this.content;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VSales other = (VSales) obj;
- if (this.pk == null) {
- if (other.pk != null)
- return false;
- }
- else if (!this.pk.equals(other.pk))
- return false;
- if (this.trader == null) {
- if (other.trader != null)
- return false;
- }
- else if (!this.trader.equals(other.trader))
- return false;
- if (this.fkCamp == null) {
- if (other.fkCamp != null)
- return false;
- }
- else if (!this.fkCamp.equals(other.fkCamp))
- return false;
- if (this.name == null) {
- if (other.name != null)
- return false;
- }
- else if (!this.name.equals(other.name))
- return false;
- if (this.fkLocation == null) {
- if (other.fkLocation != null)
- return false;
- }
- else if (!this.fkLocation.equals(other.fkLocation))
- return false;
- if (this.location == null) {
- if (other.location != null)
- return false;
- }
- else if (!this.location.equals(other.location))
- return false;
- if (this.incredients == null) {
- if (other.incredients != null)
- return false;
- }
- else if (!this.incredients.equals(other.incredients))
- return false;
- if (this.year == null) {
- if (other.year != null)
- return false;
- }
- else if (!this.year.equals(other.year))
- return false;
- if (this.fkSales == null) {
- if (other.fkSales != null)
- return false;
- }
- else if (!this.fkSales.equals(other.fkSales))
- return false;
- if (this.provider == null) {
- if (other.provider != null)
- return false;
- }
- else if (!this.provider.equals(other.provider))
- return false;
- if (this.cash == null) {
- if (other.cash != null)
- return false;
- }
- else if (!this.cash.equals(other.cash))
- return false;
- if (this.buydate == null) {
- if (other.buydate != null)
- return false;
- }
- else if (!this.buydate.equals(other.buydate))
- return false;
- if (this.recipenumber == null) {
- if (other.recipenumber != null)
- return false;
- }
- else if (!this.recipenumber.equals(other.recipenumber))
- return false;
- if (this.recipeshot == null) {
- if (other.recipeshot != null)
- return false;
- }
- else if (!Arrays.equals(this.recipeshot, other.recipeshot))
- return false;
- if (this.recipenote == null) {
- if (other.recipenote != null)
- return false;
- }
- else if (!this.recipenote.equals(other.recipenote))
- return false;
- if (this.content == null) {
- if (other.content != null)
- return false;
- }
- else if (!Arrays.deepEquals(this.content, other.content))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
- result = prime * result + ((this.trader == null) ? 0 : this.trader.hashCode());
- result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
- result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
- result = prime * result + ((this.fkLocation == null) ? 0 : this.fkLocation.hashCode());
- result = prime * result + ((this.location == null) ? 0 : this.location.hashCode());
- result = prime * result + ((this.incredients == null) ? 0 : this.incredients.hashCode());
- result = prime * result + ((this.year == null) ? 0 : this.year.hashCode());
- result = prime * result + ((this.fkSales == null) ? 0 : this.fkSales.hashCode());
- result = prime * result + ((this.provider == null) ? 0 : this.provider.hashCode());
- result = prime * result + ((this.cash == null) ? 0 : this.cash.hashCode());
- result = prime * result + ((this.buydate == null) ? 0 : this.buydate.hashCode());
- result = prime * result + ((this.recipenumber == null) ? 0 : this.recipenumber.hashCode());
- result = prime * result + ((this.recipeshot == null) ? 0 : Arrays.hashCode(this.recipeshot));
- result = prime * result + ((this.recipenote == null) ? 0 : this.recipenote.hashCode());
- result = prime * result + ((this.content == null) ? 0 : Arrays.deepHashCode(this.content));
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VSales (");
-
- sb.append(pk);
- sb.append(", ").append(trader);
- sb.append(", ").append(fkCamp);
- sb.append(", ").append(name);
- sb.append(", ").append(fkLocation);
- sb.append(", ").append(location);
- sb.append(", ").append(incredients);
- sb.append(", ").append(year);
- sb.append(", ").append(fkSales);
- sb.append(", ").append(provider);
- sb.append(", ").append(cash);
- sb.append(", ").append(buydate);
- sb.append(", ").append(recipenumber);
- sb.append(", ").append("[binary...]");
- sb.append(", ").append(recipenote);
- sb.append(", ").append(Arrays.deepToString(content));
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VVersion.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VVersion.java
deleted file mode 100644
index 11c6e4a..0000000
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/pojos/VVersion.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.camporganizer.db.jooq.tables.pojos;
-
-
-import java.io.Serializable;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
-public class VVersion implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- private final String version;
-
- public VVersion(VVersion value) {
- this.version = value.version;
- }
-
- public VVersion(
- String version
- ) {
- this.version = version;
- }
-
- /**
- * Getter for public.v_version.version
.
- */
- public String getVersion() {
- return this.version;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj)
- return true;
- if (obj == null)
- return false;
- if (getClass() != obj.getClass())
- return false;
- final VVersion other = (VVersion) obj;
- if (this.version == null) {
- if (other.version != null)
- return false;
- }
- else if (!this.version.equals(other.version))
- return false;
- return true;
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + ((this.version == null) ? 0 : this.version.hashCode());
- return result;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder("VVersion (");
-
- sb.append(version);
-
- sb.append(")");
- return sb.toString();
- }
-}
diff --git a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/records/TCampRecord.java b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/records/TCampRecord.java
index 0c7664f..b7083fb 100644
--- a/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/records/TCampRecord.java
+++ b/src/main/java/de/jottyfan/camporganizer/db/jooq/tables/records/TCampRecord.java
@@ -23,9 +23,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for public.t_camp.pk
.
*/
- public TCampRecord setPk(Integer value) {
+ public void setPk(Integer value) {
set(0, value);
- return this;
}
/**
@@ -38,9 +37,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for public.t_camp.name
.
*/
- public TCampRecord setName(String value) {
+ public void setName(String value) {
set(1, value);
- return this;
}
/**
@@ -53,9 +51,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for public.t_camp.arrive
.
*/
- public TCampRecord setArrive(LocalDateTime value) {
+ public void setArrive(LocalDateTime value) {
set(2, value);
- return this;
}
/**
@@ -68,9 +65,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for public.t_camp.depart
.
*/
- public TCampRecord setDepart(LocalDateTime value) {
+ public void setDepart(LocalDateTime value) {
set(3, value);
- return this;
}
/**
@@ -83,9 +79,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for public.t_camp.fk_location
.
*/
- public TCampRecord setFkLocation(Integer value) {
+ public void setFkLocation(Integer value) {
set(4, value);
- return this;
}
/**
@@ -98,9 +93,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for public.t_camp.min_age
.
*/
- public TCampRecord setMinAge(Integer value) {
+ public void setMinAge(Integer value) {
set(5, value);
- return this;
}
/**
@@ -113,9 +107,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for public.t_camp.max_age
.
*/
- public TCampRecord setMaxAge(Integer value) {
+ public void setMaxAge(Integer value) {
set(6, value);
- return this;
}
/**
@@ -128,9 +121,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for public.t_camp.price
.
*/
- public TCampRecord setPrice(String value) {
+ public void setPrice(String value) {
set(7, value);
- return this;
}
/**
@@ -143,9 +135,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for public.t_camp.countries
.
*/
- public TCampRecord setCountries(String value) {
+ public void setCountries(String value) {
set(8, value);
- return this;
}
/**
@@ -158,9 +149,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for public.t_camp.fk_document
.
*/
- public TCampRecord setFkDocument(Integer value) {
+ public void setFkDocument(Integer value) {
set(9, value);
- return this;
}
/**
@@ -173,9 +163,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for public.t_camp.lock_sales
.
*/
- public TCampRecord setLockSales(Boolean value) {
+ public void setLockSales(Boolean value) {
set(10, value);
- return this;
}
/**
@@ -188,9 +177,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for public.t_camp.fk_profile
.
*/
- public TCampRecord setFkProfile(Integer value) {
+ public void setFkProfile(Integer value) {
set(11, value);
- return this;
}
/**
@@ -203,9 +191,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for public.t_camp.beds_male
.
*/
- public TCampRecord setBedsMale(Integer value) {
+ public void setBedsMale(Integer value) {
set(12, value);
- return this;
}
/**
@@ -218,9 +205,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for public.t_camp.beds_female
.
*/
- public TCampRecord setBedsFemale(Integer value) {
+ public void setBedsFemale(Integer value) {
set(13, value);
- return this;
}
/**
@@ -233,9 +219,8 @@ public class TCampRecord extends UpdatableRecordImpl {
/**
* Setter for