added progress as a future replacement of accept
This commit is contained in:
parent
66f50a6fe9
commit
c135a004f3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
#Thu Jun 30 21:33:48 CEST 2022
|
||||
gradle.version=7.3
|
||||
#Wed Oct 23 21:32:16 CEST 2024
|
||||
gradle.version=8.10.2
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,28 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.builder.cleanOutputFolder=clean
|
||||
org.eclipse.jdt.core.builder.duplicateResourceTask=warning
|
||||
org.eclipse.jdt.core.builder.invalidClasspath=abort
|
||||
org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore
|
||||
org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch
|
||||
org.eclipse.jdt.core.circularClasspath=error
|
||||
org.eclipse.jdt.core.classpath.exclusionPatterns=enabled
|
||||
org.eclipse.jdt.core.classpath.mainOnlyProjectHasTestOnlyDependency=error
|
||||
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.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=17
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.maxProblemPerUnit=100
|
||||
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.incompatibleJDKLevel=ignore
|
||||
org.eclipse.jdt.core.incompleteClasspath=error
|
||||
|
3
.settings/org.eclipse.jdt.launching.prefs
Normal file
3
.settings/org.eclipse.jdt.launching.prefs
Normal file
@ -0,0 +1,3 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.launching.PREF_COMPILER_COMPLIANCE_DOES_NOT_MATCH_JRE=warning
|
||||
org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=warning
|
@ -22,7 +22,7 @@ apply plugin: 'java'
|
||||
apply plugin: 'maven-publish'
|
||||
|
||||
group = 'de.jottyfan'
|
||||
version = '2024.03.16c'
|
||||
version = '2024.10.23'
|
||||
|
||||
description = """COJooq"""
|
||||
|
||||
@ -47,7 +47,7 @@ dependencies {
|
||||
import org.jooq.meta.jaxb.Logging
|
||||
|
||||
jooq {
|
||||
version = '3.19.6'
|
||||
version = '3.19.14'
|
||||
edition = nu.studer.gradle.jooq.JooqEdition.OSS
|
||||
configurations {
|
||||
camporganizer {
|
||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
@ -15,7 +15,7 @@ import org.jooq.impl.CatalogImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class DefaultCatalog extends CatalogImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -44,7 +44,7 @@ import org.jooq.impl.Internal;
|
||||
* A class modelling foreign key relationships and constraints of tables in
|
||||
* public.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class Keys {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
@ -20,13 +20,11 @@ import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VAdult;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VBudget;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VCamp;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VCampBudget;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VCampBudgetYear;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VCampdocument;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VCamprole;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VDocument;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VDsgvoDeleteCandidate;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VFeeder;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VProfile;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VRegistration;
|
||||
@ -45,7 +43,7 @@ import org.jooq.impl.SchemaImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class Public extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@ -135,11 +133,6 @@ public class Public extends SchemaImpl {
|
||||
*/
|
||||
public final VBudget V_BUDGET = VBudget.V_BUDGET;
|
||||
|
||||
/**
|
||||
* The table <code>public.v_camp</code>.
|
||||
*/
|
||||
public final VCamp V_CAMP = VCamp.V_CAMP;
|
||||
|
||||
/**
|
||||
* The table <code>public.v_camp_budget</code>.
|
||||
*/
|
||||
@ -165,11 +158,6 @@ public class Public extends SchemaImpl {
|
||||
*/
|
||||
public final VDocument V_DOCUMENT = VDocument.V_DOCUMENT;
|
||||
|
||||
/**
|
||||
* The table <code>public.v_dsgvo_delete_candidate</code>.
|
||||
*/
|
||||
public final VDsgvoDeleteCandidate V_DSGVO_DELETE_CANDIDATE = VDsgvoDeleteCandidate.V_DSGVO_DELETE_CANDIDATE;
|
||||
|
||||
/**
|
||||
* The table <code>public.v_feeder</code>.
|
||||
*/
|
||||
@ -232,13 +220,11 @@ public class Public extends SchemaImpl {
|
||||
TSalescontenttype.T_SALESCONTENTTYPE,
|
||||
VAdult.V_ADULT,
|
||||
VBudget.V_BUDGET,
|
||||
VCamp.V_CAMP,
|
||||
VCampBudget.V_CAMP_BUDGET,
|
||||
VCampBudgetYear.V_CAMP_BUDGET_YEAR,
|
||||
VCampdocument.V_CAMPDOCUMENT,
|
||||
VCamprole.V_CAMPROLE,
|
||||
VDocument.V_DOCUMENT,
|
||||
VDsgvoDeleteCandidate.V_DSGVO_DELETE_CANDIDATE,
|
||||
VFeeder.V_FEEDER,
|
||||
VProfile.V_PROFILE,
|
||||
VRegistration.V_REGISTRATION,
|
||||
|
@ -20,13 +20,11 @@ import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VAdult;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VBudget;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VCamp;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VCampBudget;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VCampBudgetYear;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VCampdocument;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VCamprole;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VDocument;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VDsgvoDeleteCandidate;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VFeeder;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VProfile;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.VRegistration;
|
||||
@ -38,7 +36,7 @@ import de.jottyfan.camporganizer.db.jooq.tables.VVersion;
|
||||
/**
|
||||
* Convenience access to all tables in public.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class Tables {
|
||||
|
||||
/**
|
||||
@ -121,11 +119,6 @@ public class Tables {
|
||||
*/
|
||||
public static final VBudget V_BUDGET = VBudget.V_BUDGET;
|
||||
|
||||
/**
|
||||
* The table <code>public.v_camp</code>.
|
||||
*/
|
||||
public static final VCamp V_CAMP = VCamp.V_CAMP;
|
||||
|
||||
/**
|
||||
* The table <code>public.v_camp_budget</code>.
|
||||
*/
|
||||
@ -151,11 +144,6 @@ public class Tables {
|
||||
*/
|
||||
public static final VDocument V_DOCUMENT = VDocument.V_DOCUMENT;
|
||||
|
||||
/**
|
||||
* The table <code>public.v_dsgvo_delete_candidate</code>.
|
||||
*/
|
||||
public static final VDsgvoDeleteCandidate V_DSGVO_DELETE_CANDIDATE = VDsgvoDeleteCandidate.V_DSGVO_DELETE_CANDIDATE;
|
||||
|
||||
/**
|
||||
* The table <code>public.v_feeder</code>.
|
||||
*/
|
||||
|
@ -14,7 +14,7 @@ import org.jooq.Schema;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public enum EnumCamprole implements EnumType {
|
||||
|
||||
student("student"),
|
||||
|
@ -14,7 +14,7 @@ import org.jooq.Schema;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public enum EnumDocument implements EnumType {
|
||||
|
||||
camppass("camppass"),
|
||||
|
@ -14,7 +14,7 @@ import org.jooq.Schema;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public enum EnumFiletype implements EnumType {
|
||||
|
||||
pdf("pdf"),
|
||||
|
@ -14,7 +14,7 @@ import org.jooq.Schema;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public enum EnumModule implements EnumType {
|
||||
|
||||
registration("registration"),
|
||||
|
@ -0,0 +1,62 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.enums;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.Public;
|
||||
|
||||
import org.jooq.Catalog;
|
||||
import org.jooq.EnumType;
|
||||
import org.jooq.Schema;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public enum EnumProgress implements EnumType {
|
||||
|
||||
requested("requested"),
|
||||
|
||||
approved("approved"),
|
||||
|
||||
rejected("rejected"),
|
||||
|
||||
revoked("revoked");
|
||||
|
||||
private final String literal;
|
||||
|
||||
private EnumProgress(String literal) {
|
||||
this.literal = literal;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return getSchema().getCatalog();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return Public.PUBLIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "enum_progress";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLiteral() {
|
||||
return literal;
|
||||
}
|
||||
|
||||
/**
|
||||
* Lookup a value of this EnumType by its literal. Returns
|
||||
* <code>null</code>, if no such value could be found, see {@link
|
||||
* EnumType#lookupLiteral(Class, String)}.
|
||||
*/
|
||||
public static EnumProgress lookupLiteral(String literal) {
|
||||
return EnumType.lookupLiteral(EnumProgress.class, literal);
|
||||
}
|
||||
}
|
@ -14,7 +14,7 @@ import org.jooq.Schema;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public enum EnumRole implements EnumType {
|
||||
|
||||
subscriber("subscriber"),
|
||||
|
@ -14,7 +14,7 @@ import org.jooq.Schema;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public enum EnumSex implements EnumType {
|
||||
|
||||
male("male"),
|
||||
|
@ -46,7 +46,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TCamp extends TableImpl<TCampRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@ -228,19 +228,7 @@ public class TCamp extends TableImpl<TCampRecord> {
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<TCampRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.T_CAMP__T_CAMP_FK_LOCATION_FKEY, Keys.T_CAMP__T_CAMP_FK_DOCUMENT_FKEY, Keys.T_CAMP__T_CAMP_FK_PROFILE_FKEY);
|
||||
}
|
||||
|
||||
private transient TLocationPath _tLocation;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>public.t_location</code> table.
|
||||
*/
|
||||
public TLocationPath tLocation() {
|
||||
if (_tLocation == null)
|
||||
_tLocation = new TLocationPath(this, Keys.T_CAMP__T_CAMP_FK_LOCATION_FKEY, null);
|
||||
|
||||
return _tLocation;
|
||||
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;
|
||||
@ -255,6 +243,18 @@ public class TCamp extends TableImpl<TCampRecord> {
|
||||
return _tDocument;
|
||||
}
|
||||
|
||||
private transient TLocationPath _tLocation;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>public.t_location</code> 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;
|
||||
|
||||
/**
|
||||
|
@ -40,7 +40,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TCampdocument extends TableImpl<TCampdocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -41,7 +41,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TCampprofile extends TableImpl<TCampprofileRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@ -163,19 +163,7 @@ public class TCampprofile extends TableImpl<TCampprofileRecord> {
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<TCampprofileRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY);
|
||||
}
|
||||
|
||||
private transient TProfilePath _tProfile;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>public.t_profile</code> table.
|
||||
*/
|
||||
public TProfilePath tProfile() {
|
||||
if (_tProfile == null)
|
||||
_tProfile = new TProfilePath(this, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY, null);
|
||||
|
||||
return _tProfile;
|
||||
return Arrays.asList(Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY);
|
||||
}
|
||||
|
||||
private transient TCampPath _tCamp;
|
||||
@ -190,6 +178,18 @@ public class TCampprofile extends TableImpl<TCampprofileRecord> {
|
||||
return _tCamp;
|
||||
}
|
||||
|
||||
private transient TProfilePath _tProfile;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>public.t_profile</code> 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);
|
||||
|
@ -44,7 +44,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TDocument extends TableImpl<TDocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -40,7 +40,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TDocumentrole extends TableImpl<TDocumentroleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -40,7 +40,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TLocation extends TableImpl<TLocationRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -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.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;
|
||||
@ -46,7 +47,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TPerson extends TableImpl<TPersonRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@ -124,11 +125,6 @@ public class TPerson extends TableImpl<TPersonRecord> {
|
||||
*/
|
||||
public final TableField<TPersonRecord, Integer> FK_PROFILE = createField(DSL.name("fk_profile"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.t_person.accept</code>.
|
||||
*/
|
||||
public final TableField<TPersonRecord, Boolean> ACCEPT = createField(DSL.name("accept"), SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.t_person.created</code>.
|
||||
*/
|
||||
@ -164,6 +160,11 @@ public class TPerson extends TableImpl<TPersonRecord> {
|
||||
*/
|
||||
public final TableField<TPersonRecord, BigDecimal> REQUIRED_PRICE = createField(DSL.name("required_price"), SQLDataType.NUMERIC(7, 2), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.t_person.progress</code>.
|
||||
*/
|
||||
public final TableField<TPersonRecord, EnumProgress> PROGRESS = createField(DSL.name("progress"), SQLDataType.VARCHAR.defaultValue(DSL.field(DSL.raw("'requested'::enum_progress"), SQLDataType.VARCHAR)).asEnumDataType(EnumProgress.class), this, "");
|
||||
|
||||
private TPerson(Name alias, Table<TPersonRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TPersondocument extends TableImpl<TPersondocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -43,7 +43,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TProfile extends TableImpl<TProfileRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -39,7 +39,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TProfilerole extends TableImpl<TProfileroleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -33,7 +33,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TRss extends TableImpl<TRssRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -43,7 +43,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TSales extends TableImpl<TSalesRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -39,7 +39,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TSalescontent extends TableImpl<TSalescontentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -37,7 +37,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TSalescontenttype extends TableImpl<TSalescontenttypeRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -31,7 +31,7 @@ import org.jooq.types.YearToSecond;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VAdult extends TableImpl<VAdultRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -30,7 +30,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VBudget extends TableImpl<VBudgetRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -1,351 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.Public;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.records.VCampRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VCamp extends TableImpl<VCampRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>public.v_camp</code>
|
||||
*/
|
||||
public static final VCamp V_CAMP = new VCamp();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VCampRecord> getRecordType() {
|
||||
return VCampRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.pk</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.is_over</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, Boolean> IS_OVER = createField(DSL.name("is_over"), SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.name</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.arrive</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, LocalDateTime> ARRIVE = createField(DSL.name("arrive"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.depart</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, LocalDateTime> DEPART = createField(DSL.name("depart"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.year</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.location_name</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, String> LOCATION_NAME = createField(DSL.name("location_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.min_age</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, Integer> MIN_AGE = createField(DSL.name("min_age"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.max_age</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, Integer> MAX_AGE = createField(DSL.name("max_age"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.url</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, String> URL = createField(DSL.name("url"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.price</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, String> PRICE = createField(DSL.name("price"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.countries</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, String> COUNTRIES = createField(DSL.name("countries"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.fk_document</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, Integer> FK_DOCUMENT = createField(DSL.name("fk_document"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.beds_female</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, Integer> BEDS_FEMALE = createField(DSL.name("beds_female"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.beds_male</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, Integer> BEDS_MALE = createField(DSL.name("beds_male"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.blocked_beds_female</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, Integer> BLOCKED_BEDS_FEMALE = createField(DSL.name("blocked_beds_female"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.blocked_beds_male</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, Integer> BLOCKED_BEDS_MALE = createField(DSL.name("blocked_beds_male"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.used_beds_male</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, Long> USED_BEDS_MALE = createField(DSL.name("used_beds_male"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.used_beds_female</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, Long> USED_BEDS_FEMALE = createField(DSL.name("used_beds_female"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.start_booking</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, LocalDateTime> START_BOOKING = createField(DSL.name("start_booking"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_camp.booking_has_started</code>.
|
||||
*/
|
||||
public final TableField<VCampRecord, Boolean> BOOKING_HAS_STARTED = createField(DSL.name("booking_has_started"), SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
private VCamp(Name alias, Table<VCampRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private VCamp(Name alias, Table<VCampRecord> 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 (
|
||||
SELECT count(1) AS count,
|
||||
t_person.fk_camp
|
||||
FROM t_person
|
||||
WHERE ((t_person.accept = true) AND (t_person.sex = 'female'::enum_sex) AND (t_person.camprole = 'student'::enum_camprole))
|
||||
GROUP BY t_person.fk_camp
|
||||
), male(used, fk_camp) AS (
|
||||
SELECT count(1) AS count,
|
||||
t_person.fk_camp
|
||||
FROM t_person
|
||||
WHERE ((t_person.accept = true) AND (t_person.sex = 'male'::enum_sex) AND (t_person.camprole = 'student'::enum_camprole))
|
||||
GROUP BY t_person.fk_camp
|
||||
)
|
||||
SELECT c.pk,
|
||||
(c.depart < now()) AS is_over,
|
||||
c.name,
|
||||
c.arrive,
|
||||
c.depart,
|
||||
date_part('isoyear'::text, c.arrive) AS year,
|
||||
l.name AS location_name,
|
||||
c.min_age,
|
||||
c.max_age,
|
||||
l.url,
|
||||
c.price,
|
||||
c.countries,
|
||||
c.fk_document,
|
||||
c.beds_female,
|
||||
c.beds_male,
|
||||
c.blocked_beds_female,
|
||||
c.blocked_beds_male,
|
||||
COALESCE(male.used, (0)::bigint) AS used_beds_male,
|
||||
COALESCE(female.used, (0)::bigint) AS used_beds_female,
|
||||
c.start_booking,
|
||||
(c.start_booking < now()) AS booking_has_started
|
||||
FROM (((t_camp c
|
||||
LEFT JOIN t_location l ON ((c.fk_location = l.pk)))
|
||||
LEFT JOIN male ON ((male.fk_camp = c.pk)))
|
||||
LEFT JOIN female ON ((female.fk_camp = c.pk)));
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.v_camp</code> table reference
|
||||
*/
|
||||
public VCamp(String alias) {
|
||||
this(DSL.name(alias), V_CAMP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.v_camp</code> table reference
|
||||
*/
|
||||
public VCamp(Name alias) {
|
||||
this(alias, V_CAMP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>public.v_camp</code> table reference
|
||||
*/
|
||||
public VCamp() {
|
||||
this(DSL.name("v_camp"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Public.PUBLIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCamp as(String alias) {
|
||||
return new VCamp(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCamp as(Name alias) {
|
||||
return new VCamp(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCamp as(Table<?> alias) {
|
||||
return new VCamp(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VCamp rename(String name) {
|
||||
return new VCamp(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VCamp rename(Name name) {
|
||||
return new VCamp(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VCamp rename(Table<?> name) {
|
||||
return new VCamp(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VCamp where(Condition condition) {
|
||||
return new VCamp(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VCamp where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VCamp where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VCamp where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VCamp where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VCamp where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VCamp where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VCamp where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VCamp whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VCamp whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
@ -30,7 +30,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VCampBudget extends TableImpl<VCampBudgetRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -30,7 +30,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VCampBudgetYear extends TableImpl<VCampBudgetYearRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -32,7 +32,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VCampdocument extends TableImpl<VCampdocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -30,7 +30,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VCamprole extends TableImpl<VCamproleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -31,7 +31,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VDocument extends TableImpl<VDocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -1,268 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.Public;
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
|
||||
import de.jottyfan.camporganizer.db.jooq.tables.records.VDsgvoDeleteCandidateRecord;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDsgvoDeleteCandidate extends TableImpl<VDsgvoDeleteCandidateRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>public.v_dsgvo_delete_candidate</code>
|
||||
*/
|
||||
public static final VDsgvoDeleteCandidate V_DSGVO_DELETE_CANDIDATE = new VDsgvoDeleteCandidate();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VDsgvoDeleteCandidateRecord> getRecordType() {
|
||||
return VDsgvoDeleteCandidateRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>public.v_dsgvo_delete_candidate.fk_person</code>.
|
||||
*/
|
||||
public final TableField<VDsgvoDeleteCandidateRecord, Integer> FK_PERSON = createField(DSL.name("fk_person"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_dsgvo_delete_candidate.forename</code>.
|
||||
*/
|
||||
public final TableField<VDsgvoDeleteCandidateRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_dsgvo_delete_candidate.surname</code>.
|
||||
*/
|
||||
public final TableField<VDsgvoDeleteCandidateRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_dsgvo_delete_candidate.fk_camp</code>.
|
||||
*/
|
||||
public final TableField<VDsgvoDeleteCandidateRecord, Integer> FK_CAMP = createField(DSL.name("fk_camp"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_dsgvo_delete_candidate.age</code>.
|
||||
*/
|
||||
public final TableField<VDsgvoDeleteCandidateRecord, YearToSecond> AGE = createField(DSL.name("age"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_dsgvo_delete_candidate.camprole</code>.
|
||||
*/
|
||||
public final TableField<VDsgvoDeleteCandidateRecord, EnumCamprole> CAMPROLE = createField(DSL.name("camprole"), SQLDataType.VARCHAR.asEnumDataType(EnumCamprole.class), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_dsgvo_delete_candidate.name</code>.
|
||||
*/
|
||||
public final TableField<VDsgvoDeleteCandidateRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_dsgvo_delete_candidate.year</code>.
|
||||
*/
|
||||
public final TableField<VDsgvoDeleteCandidateRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.v_dsgvo_delete_candidate.is_over</code>.
|
||||
*/
|
||||
public final TableField<VDsgvoDeleteCandidateRecord, Boolean> IS_OVER = createField(DSL.name("is_over"), SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
private VDsgvoDeleteCandidate(Name alias, Table<VDsgvoDeleteCandidateRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private VDsgvoDeleteCandidate(Name alias, Table<VDsgvoDeleteCandidateRecord> 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,
|
||||
p.forename,
|
||||
p.surname,
|
||||
p.fk_camp,
|
||||
age((p.birthdate)::timestamp with time zone) AS age,
|
||||
p.camprole,
|
||||
c.name,
|
||||
c.year,
|
||||
c.is_over
|
||||
FROM (t_person p
|
||||
LEFT JOIN v_camp c ON ((c.pk = p.fk_camp)))
|
||||
WHERE (age((p.birthdate)::timestamp with time zone) > '21 years'::interval);
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.v_dsgvo_delete_candidate</code> table
|
||||
* reference
|
||||
*/
|
||||
public VDsgvoDeleteCandidate(String alias) {
|
||||
this(DSL.name(alias), V_DSGVO_DELETE_CANDIDATE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.v_dsgvo_delete_candidate</code> table
|
||||
* reference
|
||||
*/
|
||||
public VDsgvoDeleteCandidate(Name alias) {
|
||||
this(alias, V_DSGVO_DELETE_CANDIDATE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>public.v_dsgvo_delete_candidate</code> table reference
|
||||
*/
|
||||
public VDsgvoDeleteCandidate() {
|
||||
this(DSL.name("v_dsgvo_delete_candidate"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Public.PUBLIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDsgvoDeleteCandidate as(String alias) {
|
||||
return new VDsgvoDeleteCandidate(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDsgvoDeleteCandidate as(Name alias) {
|
||||
return new VDsgvoDeleteCandidate(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDsgvoDeleteCandidate as(Table<?> alias) {
|
||||
return new VDsgvoDeleteCandidate(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDsgvoDeleteCandidate rename(String name) {
|
||||
return new VDsgvoDeleteCandidate(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDsgvoDeleteCandidate rename(Name name) {
|
||||
return new VDsgvoDeleteCandidate(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDsgvoDeleteCandidate rename(Table<?> name) {
|
||||
return new VDsgvoDeleteCandidate(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VDsgvoDeleteCandidate where(Condition condition) {
|
||||
return new VDsgvoDeleteCandidate(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VDsgvoDeleteCandidate where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VDsgvoDeleteCandidate where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VDsgvoDeleteCandidate where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VDsgvoDeleteCandidate where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VDsgvoDeleteCandidate where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VDsgvoDeleteCandidate where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public VDsgvoDeleteCandidate where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VDsgvoDeleteCandidate whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public VDsgvoDeleteCandidate whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
@ -31,7 +31,7 @@ import org.jooq.types.YearToSecond;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VFeeder extends TableImpl<VFeederRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -30,7 +30,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VProfile extends TableImpl<VProfileRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -31,7 +31,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VRegistration extends TableImpl<VRegistrationRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -30,7 +30,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VRole extends TableImpl<VRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -31,7 +31,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VSales extends TableImpl<VSalesRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -29,7 +29,7 @@ import org.jooq.impl.TableImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VVersion extends TableImpl<VVersionRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -11,7 +11,7 @@ import java.time.LocalDateTime;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TCamp implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -10,7 +10,7 @@ import java.io.Serializable;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TCampdocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -12,7 +12,7 @@ import java.io.Serializable;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TCampprofile implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -13,7 +13,7 @@ import java.io.Serializable;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TDocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -12,7 +12,7 @@ import java.io.Serializable;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TDocumentrole implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -10,7 +10,7 @@ import java.io.Serializable;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TLocation implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -5,6 +5,7 @@ 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;
|
||||
@ -16,7 +17,7 @@ import java.time.LocalDateTime;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TPerson implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@ -33,7 +34,6 @@ public class TPerson implements Serializable {
|
||||
private final String email;
|
||||
private final Integer fkCamp;
|
||||
private final Integer fkProfile;
|
||||
private final Boolean accept;
|
||||
private final LocalDateTime created;
|
||||
private final EnumSex sex;
|
||||
private final Integer fkRegistrator;
|
||||
@ -41,6 +41,7 @@ public class TPerson implements Serializable {
|
||||
private final String comment;
|
||||
private final Boolean consentCatalogPhoto;
|
||||
private final BigDecimal requiredPrice;
|
||||
private final EnumProgress progress;
|
||||
|
||||
public TPerson(TPerson value) {
|
||||
this.pk = value.pk;
|
||||
@ -55,7 +56,6 @@ public class TPerson implements Serializable {
|
||||
this.email = value.email;
|
||||
this.fkCamp = value.fkCamp;
|
||||
this.fkProfile = value.fkProfile;
|
||||
this.accept = value.accept;
|
||||
this.created = value.created;
|
||||
this.sex = value.sex;
|
||||
this.fkRegistrator = value.fkRegistrator;
|
||||
@ -63,6 +63,7 @@ public class TPerson implements Serializable {
|
||||
this.comment = value.comment;
|
||||
this.consentCatalogPhoto = value.consentCatalogPhoto;
|
||||
this.requiredPrice = value.requiredPrice;
|
||||
this.progress = value.progress;
|
||||
}
|
||||
|
||||
public TPerson(
|
||||
@ -78,14 +79,14 @@ public class TPerson implements Serializable {
|
||||
String email,
|
||||
Integer fkCamp,
|
||||
Integer fkProfile,
|
||||
Boolean accept,
|
||||
LocalDateTime created,
|
||||
EnumSex sex,
|
||||
Integer fkRegistrator,
|
||||
BigDecimal paid,
|
||||
String comment,
|
||||
Boolean consentCatalogPhoto,
|
||||
BigDecimal requiredPrice
|
||||
BigDecimal requiredPrice,
|
||||
EnumProgress progress
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.forename = forename;
|
||||
@ -99,7 +100,6 @@ public class TPerson implements Serializable {
|
||||
this.email = email;
|
||||
this.fkCamp = fkCamp;
|
||||
this.fkProfile = fkProfile;
|
||||
this.accept = accept;
|
||||
this.created = created;
|
||||
this.sex = sex;
|
||||
this.fkRegistrator = fkRegistrator;
|
||||
@ -107,6 +107,7 @@ public class TPerson implements Serializable {
|
||||
this.comment = comment;
|
||||
this.consentCatalogPhoto = consentCatalogPhoto;
|
||||
this.requiredPrice = requiredPrice;
|
||||
this.progress = progress;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -193,13 +194,6 @@ public class TPerson implements Serializable {
|
||||
return this.fkProfile;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.t_person.accept</code>.
|
||||
*/
|
||||
public Boolean getAccept() {
|
||||
return this.accept;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.t_person.created</code>.
|
||||
*/
|
||||
@ -249,6 +243,13 @@ public class TPerson implements Serializable {
|
||||
return this.requiredPrice;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.t_person.progress</code>.
|
||||
*/
|
||||
public EnumProgress getProgress() {
|
||||
return this.progress;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
@ -330,12 +331,6 @@ public class TPerson implements Serializable {
|
||||
}
|
||||
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.created == null) {
|
||||
if (other.created != null)
|
||||
return false;
|
||||
@ -378,6 +373,12 @@ public class TPerson implements Serializable {
|
||||
}
|
||||
else if (!this.requiredPrice.equals(other.requiredPrice))
|
||||
return false;
|
||||
if (this.progress == null) {
|
||||
if (other.progress != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.progress.equals(other.progress))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -397,7 +398,6 @@ public class TPerson implements Serializable {
|
||||
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.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());
|
||||
@ -405,6 +405,7 @@ public class TPerson implements Serializable {
|
||||
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());
|
||||
result = prime * result + ((this.progress == null) ? 0 : this.progress.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -424,7 +425,6 @@ public class TPerson implements Serializable {
|
||||
sb.append(", ").append(email);
|
||||
sb.append(", ").append(fkCamp);
|
||||
sb.append(", ").append(fkProfile);
|
||||
sb.append(", ").append(accept);
|
||||
sb.append(", ").append(created);
|
||||
sb.append(", ").append(sex);
|
||||
sb.append(", ").append(fkRegistrator);
|
||||
@ -432,6 +432,7 @@ public class TPerson implements Serializable {
|
||||
sb.append(", ").append(comment);
|
||||
sb.append(", ").append(consentCatalogPhoto);
|
||||
sb.append(", ").append(requiredPrice);
|
||||
sb.append(", ").append(progress);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
|
@ -12,7 +12,7 @@ import java.io.Serializable;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TPersondocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -11,7 +11,7 @@ import java.time.LocalDateTime;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TProfile implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -12,7 +12,7 @@ import java.io.Serializable;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TProfilerole implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -11,7 +11,7 @@ import java.time.LocalDateTime;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TRss implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -13,7 +13,7 @@ import java.util.Arrays;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TSales implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -10,7 +10,7 @@ import java.io.Serializable;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TSalescontent implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -10,7 +10,7 @@ import java.io.Serializable;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TSalescontenttype implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -14,7 +14,7 @@ import org.jooq.types.YearToSecond;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VAdult implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -11,7 +11,7 @@ import java.math.BigDecimal;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VBudget implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -1,453 +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" })
|
||||
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 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.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,
|
||||
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.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 <code>public.v_camp.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.is_over</code>.
|
||||
*/
|
||||
public Boolean getIsOver() {
|
||||
return this.isOver;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.arrive</code>.
|
||||
*/
|
||||
public LocalDateTime getArrive() {
|
||||
return this.arrive;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.depart</code>.
|
||||
*/
|
||||
public LocalDateTime getDepart() {
|
||||
return this.depart;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.year</code>.
|
||||
*/
|
||||
public Double getYear() {
|
||||
return this.year;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.location_name</code>.
|
||||
*/
|
||||
public String getLocationName() {
|
||||
return this.locationName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.min_age</code>.
|
||||
*/
|
||||
public Integer getMinAge() {
|
||||
return this.minAge;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.max_age</code>.
|
||||
*/
|
||||
public Integer getMaxAge() {
|
||||
return this.maxAge;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.url</code>.
|
||||
*/
|
||||
public String getUrl() {
|
||||
return this.url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.price</code>.
|
||||
*/
|
||||
public String getPrice() {
|
||||
return this.price;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.countries</code>.
|
||||
*/
|
||||
public String getCountries() {
|
||||
return this.countries;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.fk_document</code>.
|
||||
*/
|
||||
public Integer getFkDocument() {
|
||||
return this.fkDocument;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.beds_female</code>.
|
||||
*/
|
||||
public Integer getBedsFemale() {
|
||||
return this.bedsFemale;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.beds_male</code>.
|
||||
*/
|
||||
public Integer getBedsMale() {
|
||||
return this.bedsMale;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.blocked_beds_female</code>.
|
||||
*/
|
||||
public Integer getBlockedBedsFemale() {
|
||||
return this.blockedBedsFemale;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.blocked_beds_male</code>.
|
||||
*/
|
||||
public Integer getBlockedBedsMale() {
|
||||
return this.blockedBedsMale;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.used_beds_male</code>.
|
||||
*/
|
||||
public Long getUsedBedsMale() {
|
||||
return this.usedBedsMale;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.used_beds_female</code>.
|
||||
*/
|
||||
public Long getUsedBedsFemale() {
|
||||
return this.usedBedsFemale;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.start_booking</code>.
|
||||
*/
|
||||
public LocalDateTime getStartBooking() {
|
||||
return this.startBooking;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_camp.booking_has_started</code>.
|
||||
*/
|
||||
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.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.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(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();
|
||||
}
|
||||
}
|
@ -11,7 +11,7 @@ import java.math.BigDecimal;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VCampBudget implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -11,7 +11,7 @@ import java.math.BigDecimal;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VCampBudgetYear implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -14,7 +14,7 @@ import java.time.LocalDateTime;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VCampdocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -12,7 +12,7 @@ import java.io.Serializable;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VCamprole implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -13,7 +13,7 @@ import java.io.Serializable;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VDocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -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" })
|
||||
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 <code>public.v_dsgvo_delete_candidate.fk_person</code>.
|
||||
*/
|
||||
public Integer getFkPerson() {
|
||||
return this.fkPerson;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_dsgvo_delete_candidate.forename</code>.
|
||||
*/
|
||||
public String getForename() {
|
||||
return this.forename;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_dsgvo_delete_candidate.surname</code>.
|
||||
*/
|
||||
public String getSurname() {
|
||||
return this.surname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_dsgvo_delete_candidate.fk_camp</code>.
|
||||
*/
|
||||
public Integer getFkCamp() {
|
||||
return this.fkCamp;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_dsgvo_delete_candidate.age</code>.
|
||||
*/
|
||||
public YearToSecond getAge() {
|
||||
return this.age;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_dsgvo_delete_candidate.camprole</code>.
|
||||
*/
|
||||
public EnumCamprole getCamprole() {
|
||||
return this.camprole;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_dsgvo_delete_candidate.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_dsgvo_delete_candidate.year</code>.
|
||||
*/
|
||||
public Double getYear() {
|
||||
return this.year;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.v_dsgvo_delete_candidate.is_over</code>.
|
||||
*/
|
||||
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();
|
||||
}
|
||||
}
|
@ -14,7 +14,7 @@ import org.jooq.types.YearToSecond;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VFeeder implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -13,7 +13,7 @@ import java.util.Arrays;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VProfile implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -13,7 +13,7 @@ import java.time.LocalDate;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VRegistration implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -12,7 +12,7 @@ import java.io.Serializable;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VRole implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -13,7 +13,7 @@ import java.util.Arrays;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VSales implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -10,7 +10,7 @@ import java.io.Serializable;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class VVersion implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -15,7 +15,7 @@ import org.jooq.impl.UpdatableRecordImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TCampRecord extends UpdatableRecordImpl<TCampRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -13,7 +13,7 @@ import org.jooq.impl.UpdatableRecordImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TCampdocumentRecord extends UpdatableRecordImpl<TCampdocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -14,7 +14,7 @@ import org.jooq.impl.UpdatableRecordImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TCampprofileRecord extends UpdatableRecordImpl<TCampprofileRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -15,7 +15,7 @@ import org.jooq.impl.UpdatableRecordImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TDocumentRecord extends UpdatableRecordImpl<TDocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -14,7 +14,7 @@ import org.jooq.impl.UpdatableRecordImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TDocumentroleRecord extends UpdatableRecordImpl<TDocumentroleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -13,7 +13,7 @@ import org.jooq.impl.UpdatableRecordImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TLocationRecord extends UpdatableRecordImpl<TLocationRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -5,6 +5,7 @@ package de.jottyfan.camporganizer.db.jooq.tables.records;
|
||||
|
||||
|
||||
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.TPerson;
|
||||
|
||||
@ -19,7 +20,7 @@ import org.jooq.impl.UpdatableRecordImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@ -204,26 +205,11 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
return (Integer) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.t_person.accept</code>.
|
||||
*/
|
||||
public TPersonRecord setAccept(Boolean value) {
|
||||
set(12, value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.t_person.accept</code>.
|
||||
*/
|
||||
public Boolean getAccept() {
|
||||
return (Boolean) get(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.t_person.created</code>.
|
||||
*/
|
||||
public TPersonRecord setCreated(LocalDateTime value) {
|
||||
set(13, value);
|
||||
set(12, value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -231,14 +217,14 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
* Getter for <code>public.t_person.created</code>.
|
||||
*/
|
||||
public LocalDateTime getCreated() {
|
||||
return (LocalDateTime) get(13);
|
||||
return (LocalDateTime) get(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.t_person.sex</code>.
|
||||
*/
|
||||
public TPersonRecord setSex(EnumSex value) {
|
||||
set(14, value);
|
||||
set(13, value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -246,14 +232,14 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
* Getter for <code>public.t_person.sex</code>.
|
||||
*/
|
||||
public EnumSex getSex() {
|
||||
return (EnumSex) get(14);
|
||||
return (EnumSex) get(13);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.t_person.fk_registrator</code>.
|
||||
*/
|
||||
public TPersonRecord setFkRegistrator(Integer value) {
|
||||
set(15, value);
|
||||
set(14, value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -261,14 +247,14 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
* Getter for <code>public.t_person.fk_registrator</code>.
|
||||
*/
|
||||
public Integer getFkRegistrator() {
|
||||
return (Integer) get(15);
|
||||
return (Integer) get(14);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.t_person.paid</code>.
|
||||
*/
|
||||
public TPersonRecord setPaid(BigDecimal value) {
|
||||
set(16, value);
|
||||
set(15, value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -276,14 +262,14 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
* Getter for <code>public.t_person.paid</code>.
|
||||
*/
|
||||
public BigDecimal getPaid() {
|
||||
return (BigDecimal) get(16);
|
||||
return (BigDecimal) get(15);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.t_person.comment</code>.
|
||||
*/
|
||||
public TPersonRecord setComment(String value) {
|
||||
set(17, value);
|
||||
set(16, value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -291,14 +277,14 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
* Getter for <code>public.t_person.comment</code>.
|
||||
*/
|
||||
public String getComment() {
|
||||
return (String) get(17);
|
||||
return (String) get(16);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.t_person.consent_catalog_photo</code>.
|
||||
*/
|
||||
public TPersonRecord setConsentCatalogPhoto(Boolean value) {
|
||||
set(18, value);
|
||||
set(17, value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -306,14 +292,14 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
* Getter for <code>public.t_person.consent_catalog_photo</code>.
|
||||
*/
|
||||
public Boolean getConsentCatalogPhoto() {
|
||||
return (Boolean) get(18);
|
||||
return (Boolean) get(17);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.t_person.required_price</code>.
|
||||
*/
|
||||
public TPersonRecord setRequiredPrice(BigDecimal value) {
|
||||
set(19, value);
|
||||
set(18, value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -321,7 +307,22 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
* Getter for <code>public.t_person.required_price</code>.
|
||||
*/
|
||||
public BigDecimal getRequiredPrice() {
|
||||
return (BigDecimal) get(19);
|
||||
return (BigDecimal) get(18);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.t_person.progress</code>.
|
||||
*/
|
||||
public TPersonRecord setProgress(EnumProgress value) {
|
||||
set(19, value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.t_person.progress</code>.
|
||||
*/
|
||||
public EnumProgress getProgress() {
|
||||
return (EnumProgress) get(19);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
@ -347,7 +348,7 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
/**
|
||||
* Create a detached, initialised TPersonRecord
|
||||
*/
|
||||
public TPersonRecord(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, LocalDateTime created, EnumSex sex, Integer fkRegistrator, BigDecimal paid, String comment, Boolean consentCatalogPhoto, BigDecimal requiredPrice) {
|
||||
public TPersonRecord(Integer pk, String forename, String surname, String street, String zip, String city, String phone, LocalDate birthdate, EnumCamprole camprole, String email, Integer fkCamp, Integer fkProfile, LocalDateTime created, EnumSex sex, Integer fkRegistrator, BigDecimal paid, String comment, Boolean consentCatalogPhoto, BigDecimal requiredPrice, EnumProgress progress) {
|
||||
super(TPerson.T_PERSON);
|
||||
|
||||
setPk(pk);
|
||||
@ -362,7 +363,6 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
setEmail(email);
|
||||
setFkCamp(fkCamp);
|
||||
setFkProfile(fkProfile);
|
||||
setAccept(accept);
|
||||
setCreated(created);
|
||||
setSex(sex);
|
||||
setFkRegistrator(fkRegistrator);
|
||||
@ -370,6 +370,7 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
setComment(comment);
|
||||
setConsentCatalogPhoto(consentCatalogPhoto);
|
||||
setRequiredPrice(requiredPrice);
|
||||
setProgress(progress);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
@ -392,7 +393,6 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
setEmail(value.getEmail());
|
||||
setFkCamp(value.getFkCamp());
|
||||
setFkProfile(value.getFkProfile());
|
||||
setAccept(value.getAccept());
|
||||
setCreated(value.getCreated());
|
||||
setSex(value.getSex());
|
||||
setFkRegistrator(value.getFkRegistrator());
|
||||
@ -400,6 +400,7 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
setComment(value.getComment());
|
||||
setConsentCatalogPhoto(value.getConsentCatalogPhoto());
|
||||
setRequiredPrice(value.getRequiredPrice());
|
||||
setProgress(value.getProgress());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ import org.jooq.impl.UpdatableRecordImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TPersondocumentRecord extends UpdatableRecordImpl<TPersondocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -15,7 +15,7 @@ import org.jooq.impl.UpdatableRecordImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -13,7 +13,7 @@ import org.jooq.impl.TableRecordImpl;
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
|
||||
public class TProfileroleRecord extends TableRecordImpl<TProfileroleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user