added camp plan tables

This commit is contained in:
Jottyfan
2026-04-15 10:22:30 +02:00
parent 0addff7bb5
commit da8e346ab8
34 changed files with 2500 additions and 102 deletions
Binary file not shown.
+2 -2
View File
@@ -1,2 +1,2 @@
#Wed Oct 23 21:32:16 CEST 2024
gradle.version=8.10.2
#Wed Apr 15 10:19:55 CEST 2026
gradle.version=9.3.0
+3 -2
View File
@@ -4,7 +4,6 @@ buildscript {
mavenCentral()
maven { url "https://repo.maven.apache.org/maven2" }
maven { url "https://plugins.gradle.org/m2/" }
jcenter()
}
dependencies {
classpath 'org.jooq:jooq-codegen:3.20.4'
@@ -22,12 +21,14 @@ apply plugin: 'java'
apply plugin: 'maven-publish'
group = 'de.jottyfan'
version = '2025.04.23'
version = '2026.04.15'
description = """COJooq"""
java {
sourceCompatibility = 21
targetCompatibility = 21
}
repositories {
mavenLocal()
+1 -1
View File
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.0-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
@@ -9,29 +9,39 @@ import de.jottyfan.camporganizer.db.jooq.tables.TCampdocument;
import de.jottyfan.camporganizer.db.jooq.tables.TCampprofile;
import de.jottyfan.camporganizer.db.jooq.tables.TDocument;
import de.jottyfan.camporganizer.db.jooq.tables.TDocumentrole;
import de.jottyfan.camporganizer.db.jooq.tables.TLesson;
import de.jottyfan.camporganizer.db.jooq.tables.TLocation;
import de.jottyfan.camporganizer.db.jooq.tables.TPerson;
import de.jottyfan.camporganizer.db.jooq.tables.TPersondocument;
import de.jottyfan.camporganizer.db.jooq.tables.TPlan;
import de.jottyfan.camporganizer.db.jooq.tables.TProfile;
import de.jottyfan.camporganizer.db.jooq.tables.TProfilerole;
import de.jottyfan.camporganizer.db.jooq.tables.TRss;
import de.jottyfan.camporganizer.db.jooq.tables.TSales;
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent;
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype;
import de.jottyfan.camporganizer.db.jooq.tables.TSlot;
import de.jottyfan.camporganizer.db.jooq.tables.TTask;
import de.jottyfan.camporganizer.db.jooq.tables.TTaskPerson;
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampdocumentRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampprofileRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TDocumentRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TDocumentroleRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TLessonRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TLocationRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TPersonRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TPersondocumentRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TPlanRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TProfileRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TProfileroleRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TRssRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalesRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontentRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontenttypeRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSlotRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TTaskPersonRecord;
import de.jottyfan.camporganizer.db.jooq.tables.records.TTaskRecord;
import org.jooq.ForeignKey;
import org.jooq.TableField;
@@ -61,11 +71,15 @@ public class Keys {
public static final UniqueKey<TDocumentRecord> T_DOCUMENT_PKEY = Internal.createUniqueKey(TDocument.T_DOCUMENT, DSL.name("t_document_pkey"), new TableField[] { TDocument.T_DOCUMENT.PK }, true);
public static final UniqueKey<TDocumentroleRecord> T_DOCUMENTROLE_FK_DOCUMENT_CAMPROLE_KEY = Internal.createUniqueKey(TDocumentrole.T_DOCUMENTROLE, DSL.name("t_documentrole_fk_document_camprole_key"), new TableField[] { TDocumentrole.T_DOCUMENTROLE.FK_DOCUMENT, TDocumentrole.T_DOCUMENTROLE.CAMPROLE }, true);
public static final UniqueKey<TDocumentroleRecord> T_DOCUMENTROLE_PKEY = Internal.createUniqueKey(TDocumentrole.T_DOCUMENTROLE, DSL.name("t_documentrole_pkey"), new TableField[] { TDocumentrole.T_DOCUMENTROLE.PK }, true);
public static final UniqueKey<TLessonRecord> T_LESSON_DAY_FK_SLOT_KEY = Internal.createUniqueKey(TLesson.T_LESSON, DSL.name("t_lesson_day_fk_slot_key"), new TableField[] { TLesson.T_LESSON.DAY, TLesson.T_LESSON.FK_SLOT }, true);
public static final UniqueKey<TLessonRecord> T_LESSON_PKEY = Internal.createUniqueKey(TLesson.T_LESSON, DSL.name("t_lesson_pkey"), new TableField[] { TLesson.T_LESSON.PK_LESSON }, true);
public static final UniqueKey<TLocationRecord> T_LOCATION_PKEY = Internal.createUniqueKey(TLocation.T_LOCATION, DSL.name("t_location_pkey"), new TableField[] { TLocation.T_LOCATION.PK }, true);
public static final UniqueKey<TPersonRecord> T_PERSON_FORENAME_SURNAME_BIRTHDATE_FK_CAMP_KEY = Internal.createUniqueKey(TPerson.T_PERSON, DSL.name("t_person_forename_surname_birthdate_fk_camp_key"), new TableField[] { TPerson.T_PERSON.FORENAME, TPerson.T_PERSON.SURNAME, TPerson.T_PERSON.BIRTHDATE, TPerson.T_PERSON.FK_CAMP }, true);
public static final UniqueKey<TPersonRecord> T_PERSON_PKEY = Internal.createUniqueKey(TPerson.T_PERSON, DSL.name("t_person_pkey"), new TableField[] { TPerson.T_PERSON.PK }, true);
public static final UniqueKey<TPersondocumentRecord> T_PERSONDOCUMENT_FK_PERSON_NAME_KEY = Internal.createUniqueKey(TPersondocument.T_PERSONDOCUMENT, DSL.name("t_persondocument_fk_person_name_key"), new TableField[] { TPersondocument.T_PERSONDOCUMENT.FK_PERSON, TPersondocument.T_PERSONDOCUMENT.NAME }, true);
public static final UniqueKey<TPersondocumentRecord> T_PERSONDOCUMENT_PKEY = Internal.createUniqueKey(TPersondocument.T_PERSONDOCUMENT, DSL.name("t_persondocument_pkey"), new TableField[] { TPersondocument.T_PERSONDOCUMENT.PK }, true);
public static final UniqueKey<TPlanRecord> T_PLAN_FK_CAMP_KEY = Internal.createUniqueKey(TPlan.T_PLAN, DSL.name("t_plan_fk_camp_key"), new TableField[] { TPlan.T_PLAN.FK_CAMP }, true);
public static final UniqueKey<TPlanRecord> T_PLAN_PKEY = Internal.createUniqueKey(TPlan.T_PLAN, DSL.name("t_plan_pkey"), new TableField[] { TPlan.T_PLAN.PK_PLAN }, true);
public static final UniqueKey<TProfileRecord> T_PROFILE_PKEY = Internal.createUniqueKey(TProfile.T_PROFILE, DSL.name("t_profile_pkey"), new TableField[] { TProfile.T_PROFILE.PK }, true);
public static final UniqueKey<TProfileRecord> T_PROFILE_USERNAME_KEY = Internal.createUniqueKey(TProfile.T_PROFILE, DSL.name("t_profile_username_key"), new TableField[] { TProfile.T_PROFILE.USERNAME }, true);
public static final UniqueKey<TProfileRecord> T_PROFILE_UUID_KEY = Internal.createUniqueKey(TProfile.T_PROFILE, DSL.name("t_profile_uuid_key"), new TableField[] { TProfile.T_PROFILE.UUID }, true);
@@ -74,6 +88,9 @@ public class Keys {
public static final UniqueKey<TSalesRecord> T_SALES_PKEY = Internal.createUniqueKey(TSales.T_SALES, DSL.name("t_sales_pkey"), new TableField[] { TSales.T_SALES.PK }, true);
public static final UniqueKey<TSalescontentRecord> T_SALESCONTENT_FK_SALES_FK_SALESCONTENTTYPE_KEY = Internal.createUniqueKey(TSalescontent.T_SALESCONTENT, DSL.name("t_salescontent_fk_sales_fk_salescontenttype_key"), new TableField[] { TSalescontent.T_SALESCONTENT.FK_SALES, TSalescontent.T_SALESCONTENT.FK_SALESCONTENTTYPE }, true);
public static final UniqueKey<TSalescontenttypeRecord> T_SALESCONTENTTYPE_PKEY = Internal.createUniqueKey(TSalescontenttype.T_SALESCONTENTTYPE, DSL.name("t_salescontenttype_pkey"), new TableField[] { TSalescontenttype.T_SALESCONTENTTYPE.NAME }, true);
public static final UniqueKey<TSlotRecord> T_SLOT_PKEY = Internal.createUniqueKey(TSlot.T_SLOT, DSL.name("t_slot_pkey"), new TableField[] { TSlot.T_SLOT.PK_SLOT }, true);
public static final UniqueKey<TTaskRecord> T_TASK_PKEY = Internal.createUniqueKey(TTask.T_TASK, DSL.name("t_task_pkey"), new TableField[] { TTask.T_TASK.PK_TASK }, true);
public static final UniqueKey<TTaskPersonRecord> T_TASK_PERSON_PKEY = Internal.createUniqueKey(TTaskPerson.T_TASK_PERSON, DSL.name("t_task_person_pkey"), new TableField[] { TTaskPerson.T_TASK_PERSON.PK_TASK_PERSON }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
@@ -87,13 +104,19 @@ public class Keys {
public static final ForeignKey<TCampprofileRecord, TCampRecord> T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY = Internal.createForeignKey(TCampprofile.T_CAMPPROFILE, DSL.name("t_campprofile_fk_camp_fkey"), new TableField[] { TCampprofile.T_CAMPPROFILE.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TCampprofileRecord, TProfileRecord> T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY = Internal.createForeignKey(TCampprofile.T_CAMPPROFILE, DSL.name("t_campprofile_fk_profile_fkey"), new TableField[] { TCampprofile.T_CAMPPROFILE.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TDocumentroleRecord, TDocumentRecord> T_DOCUMENTROLE__T_DOCUMENTROLE_FK_DOCUMENT_FKEY = Internal.createForeignKey(TDocumentrole.T_DOCUMENTROLE, DSL.name("t_documentrole_fk_document_fkey"), new TableField[] { TDocumentrole.T_DOCUMENTROLE.FK_DOCUMENT }, Keys.T_DOCUMENT_PKEY, new TableField[] { TDocument.T_DOCUMENT.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TLessonRecord, TSlotRecord> T_LESSON__T_LESSON_FK_SLOT_FKEY = Internal.createForeignKey(TLesson.T_LESSON, DSL.name("t_lesson_fk_slot_fkey"), new TableField[] { TLesson.T_LESSON.FK_SLOT }, Keys.T_SLOT_PKEY, new TableField[] { TSlot.T_SLOT.PK_SLOT }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TLocationRecord, TDocumentRecord> T_LOCATION__T_LOCATION_FK_DOCUMENT_FKEY = Internal.createForeignKey(TLocation.T_LOCATION, DSL.name("t_location_fk_document_fkey"), new TableField[] { TLocation.T_LOCATION.FK_DOCUMENT }, Keys.T_DOCUMENT_PKEY, new TableField[] { TDocument.T_DOCUMENT.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TPersonRecord, TCampRecord> T_PERSON__T_PERSON_FK_CAMP_FKEY = Internal.createForeignKey(TPerson.T_PERSON, DSL.name("t_person_fk_camp_fkey"), new TableField[] { TPerson.T_PERSON.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TPersonRecord, TProfileRecord> T_PERSON__T_PERSON_FK_PROFILE_FKEY = Internal.createForeignKey(TPerson.T_PERSON, DSL.name("t_person_fk_profile_fkey"), new TableField[] { TPerson.T_PERSON.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TPersonRecord, TProfileRecord> T_PERSON__T_PERSON_FK_REGISTRATOR_FKEY = Internal.createForeignKey(TPerson.T_PERSON, DSL.name("t_person_fk_registrator_fkey"), new TableField[] { TPerson.T_PERSON.FK_REGISTRATOR }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TPersondocumentRecord, TPersonRecord> T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY = Internal.createForeignKey(TPersondocument.T_PERSONDOCUMENT, DSL.name("t_persondocument_fk_person_fkey"), new TableField[] { TPersondocument.T_PERSONDOCUMENT.FK_PERSON }, Keys.T_PERSON_PKEY, new TableField[] { TPerson.T_PERSON.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TPlanRecord, TCampRecord> T_PLAN__T_PLAN_FK_CAMP_FKEY = Internal.createForeignKey(TPlan.T_PLAN, DSL.name("t_plan_fk_camp_fkey"), new TableField[] { TPlan.T_PLAN.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TProfileroleRecord, TProfileRecord> T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY = Internal.createForeignKey(TProfilerole.T_PROFILEROLE, DSL.name("t_profilerole_fk_profile_fkey"), new TableField[] { TProfilerole.T_PROFILEROLE.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TSalesRecord, TCampRecord> T_SALES__T_SALES_FK_CAMP_FKEY = Internal.createForeignKey(TSales.T_SALES, DSL.name("t_sales_fk_camp_fkey"), new TableField[] { TSales.T_SALES.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TSalescontentRecord, TSalesRecord> T_SALESCONTENT__T_SALESCONTENT_FK_SALES_FKEY = Internal.createForeignKey(TSalescontent.T_SALESCONTENT, DSL.name("t_salescontent_fk_sales_fkey"), new TableField[] { TSalescontent.T_SALESCONTENT.FK_SALES }, Keys.T_SALES_PKEY, new TableField[] { TSales.T_SALES.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TSalescontentRecord, TSalescontenttypeRecord> T_SALESCONTENT__T_SALESCONTENT_FK_SALESCONTENTTYPE_FKEY = Internal.createForeignKey(TSalescontent.T_SALESCONTENT, DSL.name("t_salescontent_fk_salescontenttype_fkey"), new TableField[] { TSalescontent.T_SALESCONTENT.FK_SALESCONTENTTYPE }, Keys.T_SALESCONTENTTYPE_PKEY, new TableField[] { TSalescontenttype.T_SALESCONTENTTYPE.NAME }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TSlotRecord, TPlanRecord> T_SLOT__T_SLOT_FK_PLAN_FKEY = Internal.createForeignKey(TSlot.T_SLOT, DSL.name("t_slot_fk_plan_fkey"), new TableField[] { TSlot.T_SLOT.FK_PLAN }, Keys.T_PLAN_PKEY, new TableField[] { TPlan.T_PLAN.PK_PLAN }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TTaskRecord, TLessonRecord> T_TASK__T_TASK_FK_LESSON_FKEY = Internal.createForeignKey(TTask.T_TASK, DSL.name("t_task_fk_lesson_fkey"), new TableField[] { TTask.T_TASK.FK_LESSON }, Keys.T_LESSON_PKEY, new TableField[] { TLesson.T_LESSON.PK_LESSON }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TTaskPersonRecord, TPersonRecord> T_TASK_PERSON__T_TASK_PERSON_FK_PERSON_FKEY = Internal.createForeignKey(TTaskPerson.T_TASK_PERSON, DSL.name("t_task_person_fk_person_fkey"), new TableField[] { TTaskPerson.T_TASK_PERSON.FK_PERSON }, Keys.T_PERSON_PKEY, new TableField[] { TPerson.T_PERSON.PK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
public static final ForeignKey<TTaskPersonRecord, TTaskRecord> T_TASK_PERSON__T_TASK_PERSON_FK_TASK_FKEY = Internal.createForeignKey(TTaskPerson.T_TASK_PERSON, DSL.name("t_task_person_fk_task_fkey"), new TableField[] { TTaskPerson.T_TASK_PERSON.FK_TASK }, Keys.T_TASK_PKEY, new TableField[] { TTask.T_TASK.PK_TASK }, true, ForeignKeyRule.NO_ACTION, ForeignKeyRule.NO_ACTION);
}
@@ -9,15 +9,20 @@ import de.jottyfan.camporganizer.db.jooq.tables.TCampdocument;
import de.jottyfan.camporganizer.db.jooq.tables.TCampprofile;
import de.jottyfan.camporganizer.db.jooq.tables.TDocument;
import de.jottyfan.camporganizer.db.jooq.tables.TDocumentrole;
import de.jottyfan.camporganizer.db.jooq.tables.TLesson;
import de.jottyfan.camporganizer.db.jooq.tables.TLocation;
import de.jottyfan.camporganizer.db.jooq.tables.TPerson;
import de.jottyfan.camporganizer.db.jooq.tables.TPersondocument;
import de.jottyfan.camporganizer.db.jooq.tables.TPlan;
import de.jottyfan.camporganizer.db.jooq.tables.TProfile;
import de.jottyfan.camporganizer.db.jooq.tables.TProfilerole;
import de.jottyfan.camporganizer.db.jooq.tables.TRss;
import de.jottyfan.camporganizer.db.jooq.tables.TSales;
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent;
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype;
import de.jottyfan.camporganizer.db.jooq.tables.TSlot;
import de.jottyfan.camporganizer.db.jooq.tables.TTask;
import de.jottyfan.camporganizer.db.jooq.tables.TTaskPerson;
import de.jottyfan.camporganizer.db.jooq.tables.VAdult;
import de.jottyfan.camporganizer.db.jooq.tables.VBudget;
import de.jottyfan.camporganizer.db.jooq.tables.VCamp;
@@ -81,6 +86,11 @@ public class Public extends SchemaImpl {
*/
public final TDocumentrole T_DOCUMENTROLE = TDocumentrole.T_DOCUMENTROLE;
/**
* The table <code>public.t_lesson</code>.
*/
public final TLesson T_LESSON = TLesson.T_LESSON;
/**
* The table <code>public.t_location</code>.
*/
@@ -96,6 +106,11 @@ public class Public extends SchemaImpl {
*/
public final TPersondocument T_PERSONDOCUMENT = TPersondocument.T_PERSONDOCUMENT;
/**
* The table <code>public.t_plan</code>.
*/
public final TPlan T_PLAN = TPlan.T_PLAN;
/**
* The table <code>public.t_profile</code>.
*/
@@ -126,6 +141,21 @@ public class Public extends SchemaImpl {
*/
public final TSalescontenttype T_SALESCONTENTTYPE = TSalescontenttype.T_SALESCONTENTTYPE;
/**
* The table <code>public.t_slot</code>.
*/
public final TSlot T_SLOT = TSlot.T_SLOT;
/**
* The table <code>public.t_task</code>.
*/
public final TTask T_TASK = TTask.T_TASK;
/**
* The table <code>public.t_task_person</code>.
*/
public final TTaskPerson T_TASK_PERSON = TTaskPerson.T_TASK_PERSON;
/**
* The table <code>public.v_adult</code>.
*/
@@ -222,15 +252,20 @@ public class Public extends SchemaImpl {
TCampprofile.T_CAMPPROFILE,
TDocument.T_DOCUMENT,
TDocumentrole.T_DOCUMENTROLE,
TLesson.T_LESSON,
TLocation.T_LOCATION,
TPerson.T_PERSON,
TPersondocument.T_PERSONDOCUMENT,
TPlan.T_PLAN,
TProfile.T_PROFILE,
TProfilerole.T_PROFILEROLE,
TRss.T_RSS,
TSales.T_SALES,
TSalescontent.T_SALESCONTENT,
TSalescontenttype.T_SALESCONTENTTYPE,
TSlot.T_SLOT,
TTask.T_TASK,
TTaskPerson.T_TASK_PERSON,
VAdult.V_ADULT,
VBudget.V_BUDGET,
VCamp.V_CAMP,
@@ -9,15 +9,20 @@ import de.jottyfan.camporganizer.db.jooq.tables.TCampdocument;
import de.jottyfan.camporganizer.db.jooq.tables.TCampprofile;
import de.jottyfan.camporganizer.db.jooq.tables.TDocument;
import de.jottyfan.camporganizer.db.jooq.tables.TDocumentrole;
import de.jottyfan.camporganizer.db.jooq.tables.TLesson;
import de.jottyfan.camporganizer.db.jooq.tables.TLocation;
import de.jottyfan.camporganizer.db.jooq.tables.TPerson;
import de.jottyfan.camporganizer.db.jooq.tables.TPersondocument;
import de.jottyfan.camporganizer.db.jooq.tables.TPlan;
import de.jottyfan.camporganizer.db.jooq.tables.TProfile;
import de.jottyfan.camporganizer.db.jooq.tables.TProfilerole;
import de.jottyfan.camporganizer.db.jooq.tables.TRss;
import de.jottyfan.camporganizer.db.jooq.tables.TSales;
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent;
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype;
import de.jottyfan.camporganizer.db.jooq.tables.TSlot;
import de.jottyfan.camporganizer.db.jooq.tables.TTask;
import de.jottyfan.camporganizer.db.jooq.tables.TTaskPerson;
import de.jottyfan.camporganizer.db.jooq.tables.VAdult;
import de.jottyfan.camporganizer.db.jooq.tables.VBudget;
import de.jottyfan.camporganizer.db.jooq.tables.VCamp;
@@ -66,6 +71,11 @@ public class Tables {
*/
public static final TDocumentrole T_DOCUMENTROLE = TDocumentrole.T_DOCUMENTROLE;
/**
* The table <code>public.t_lesson</code>.
*/
public static final TLesson T_LESSON = TLesson.T_LESSON;
/**
* The table <code>public.t_location</code>.
*/
@@ -81,6 +91,11 @@ public class Tables {
*/
public static final TPersondocument T_PERSONDOCUMENT = TPersondocument.T_PERSONDOCUMENT;
/**
* The table <code>public.t_plan</code>.
*/
public static final TPlan T_PLAN = TPlan.T_PLAN;
/**
* The table <code>public.t_profile</code>.
*/
@@ -111,6 +126,21 @@ public class Tables {
*/
public static final TSalescontenttype T_SALESCONTENTTYPE = TSalescontenttype.T_SALESCONTENTTYPE;
/**
* The table <code>public.t_slot</code>.
*/
public static final TSlot T_SLOT = TSlot.T_SLOT;
/**
* The table <code>public.t_task</code>.
*/
public static final TTask T_TASK = TTask.T_TASK;
/**
* The table <code>public.t_task_person</code>.
*/
public static final TTaskPerson T_TASK_PERSON = TTaskPerson.T_TASK_PERSON;
/**
* The table <code>public.v_adult</code>.
*/
@@ -11,6 +11,7 @@ import de.jottyfan.camporganizer.db.jooq.tables.TCampprofile.TCampprofilePath;
import de.jottyfan.camporganizer.db.jooq.tables.TDocument.TDocumentPath;
import de.jottyfan.camporganizer.db.jooq.tables.TLocation.TLocationPath;
import de.jottyfan.camporganizer.db.jooq.tables.TPerson.TPersonPath;
import de.jottyfan.camporganizer.db.jooq.tables.TPlan.TPlanPath;
import de.jottyfan.camporganizer.db.jooq.tables.TProfile.TProfilePath;
import de.jottyfan.camporganizer.db.jooq.tables.TSales.TSalesPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampRecord;
@@ -134,16 +135,16 @@ public class TCamp extends TableImpl<TCampRecord> {
*/
public final TableField<TCampRecord, Integer> BEDS_FEMALE = createField(DSL.name("beds_female"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "");
/**
* The column <code>public.t_camp.blocked_beds_male</code>.
*/
public final TableField<TCampRecord, Integer> BLOCKED_BEDS_MALE = createField(DSL.name("blocked_beds_male"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "");
/**
* The column <code>public.t_camp.blocked_beds_female</code>.
*/
public final TableField<TCampRecord, Integer> BLOCKED_BEDS_FEMALE = createField(DSL.name("blocked_beds_female"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "");
/**
* The column <code>public.t_camp.blocked_beds_male</code>.
*/
public final TableField<TCampRecord, Integer> BLOCKED_BEDS_MALE = createField(DSL.name("blocked_beds_male"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "");
/**
* The column <code>public.t_camp.start_booking</code>.
*/
@@ -311,6 +312,19 @@ public class TCamp extends TableImpl<TCampRecord> {
return _tPerson;
}
private transient TPlanPath _tPlan;
/**
* Get the implicit to-many join path to the <code>public.t_plan</code>
* table
*/
public TPlanPath tPlan() {
if (_tPlan == null)
_tPlan = new TPlanPath(this, null, Keys.T_PLAN__T_PLAN_FK_CAMP_FKEY.getInverseKey());
return _tPlan;
}
private transient TSalesPath _tSales;
/**
@@ -0,0 +1,328 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
import de.jottyfan.camporganizer.db.jooq.tables.TSlot.TSlotPath;
import de.jottyfan.camporganizer.db.jooq.tables.TTask.TTaskPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TLessonRecord;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class TLesson extends TableImpl<TLessonRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.t_lesson</code>
*/
public static final TLesson T_LESSON = new TLesson();
/**
* The class holding records for this type
*/
@Override
public Class<TLessonRecord> getRecordType() {
return TLessonRecord.class;
}
/**
* The column <code>public.t_lesson.created</code>.
*/
public final TableField<TLessonRecord, LocalDateTime> CREATED = createField(DSL.name("created"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("CURRENT_TIMESTAMP"), SQLDataType.LOCALDATETIME)), this, "");
/**
* The column <code>public.t_lesson.pk_lesson</code>.
*/
public final TableField<TLessonRecord, Integer> PK_LESSON = createField(DSL.name("pk_lesson"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
/**
* The column <code>public.t_lesson.day</code>.
*/
public final TableField<TLessonRecord, LocalDate> DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE.nullable(false), this, "");
/**
* The column <code>public.t_lesson.fk_slot</code>.
*/
public final TableField<TLessonRecord, Integer> FK_SLOT = createField(DSL.name("fk_slot"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.t_lesson.start_time_diff</code>.
*/
public final TableField<TLessonRecord, LocalTime> START_TIME_DIFF = createField(DSL.name("start_time_diff"), SQLDataType.LOCALTIME(6), this, "");
/**
* The column <code>public.t_lesson.end_time_diff</code>.
*/
public final TableField<TLessonRecord, LocalTime> END_TIME_DIFF = createField(DSL.name("end_time_diff"), SQLDataType.LOCALTIME(6), this, "");
private TLesson(Name alias, Table<TLessonRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private TLesson(Name alias, Table<TLessonRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.t_lesson</code> table reference
*/
public TLesson(String alias) {
this(DSL.name(alias), T_LESSON);
}
/**
* Create an aliased <code>public.t_lesson</code> table reference
*/
public TLesson(Name alias) {
this(alias, T_LESSON);
}
/**
* Create a <code>public.t_lesson</code> table reference
*/
public TLesson() {
this(DSL.name("t_lesson"), null);
}
public <O extends Record> TLesson(Table<O> path, ForeignKey<O, TLessonRecord> childPath, InverseForeignKey<O, TLessonRecord> parentPath) {
super(path, childPath, parentPath, T_LESSON);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TLessonPath extends TLesson implements Path<TLessonRecord> {
private static final long serialVersionUID = 1L;
public <O extends Record> TLessonPath(Table<O> path, ForeignKey<O, TLessonRecord> childPath, InverseForeignKey<O, TLessonRecord> parentPath) {
super(path, childPath, parentPath);
}
private TLessonPath(Name alias, Table<TLessonRecord> aliased) {
super(alias, aliased);
}
@Override
public TLessonPath as(String alias) {
return new TLessonPath(DSL.name(alias), this);
}
@Override
public TLessonPath as(Name alias) {
return new TLessonPath(alias, this);
}
@Override
public TLessonPath as(Table<?> alias) {
return new TLessonPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<TLessonRecord, Integer> getIdentity() {
return (Identity<TLessonRecord, Integer>) super.getIdentity();
}
@Override
public UniqueKey<TLessonRecord> getPrimaryKey() {
return Keys.T_LESSON_PKEY;
}
@Override
public List<UniqueKey<TLessonRecord>> getUniqueKeys() {
return Arrays.asList(Keys.T_LESSON_DAY_FK_SLOT_KEY);
}
@Override
public List<ForeignKey<TLessonRecord, ?>> getReferences() {
return Arrays.asList(Keys.T_LESSON__T_LESSON_FK_SLOT_FKEY);
}
private transient TSlotPath _tSlot;
/**
* Get the implicit join path to the <code>public.t_slot</code> table.
*/
public TSlotPath tSlot() {
if (_tSlot == null)
_tSlot = new TSlotPath(this, Keys.T_LESSON__T_LESSON_FK_SLOT_FKEY, null);
return _tSlot;
}
private transient TTaskPath _tTask;
/**
* Get the implicit to-many join path to the <code>public.t_task</code>
* table
*/
public TTaskPath tTask() {
if (_tTask == null)
_tTask = new TTaskPath(this, null, Keys.T_TASK__T_TASK_FK_LESSON_FKEY.getInverseKey());
return _tTask;
}
@Override
public TLesson as(String alias) {
return new TLesson(DSL.name(alias), this);
}
@Override
public TLesson as(Name alias) {
return new TLesson(alias, this);
}
@Override
public TLesson as(Table<?> alias) {
return new TLesson(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public TLesson rename(String name) {
return new TLesson(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TLesson rename(Name name) {
return new TLesson(name, null);
}
/**
* Rename this table
*/
@Override
public TLesson rename(Table<?> name) {
return new TLesson(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TLesson where(Condition condition) {
return new TLesson(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TLesson where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TLesson where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TLesson where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TLesson where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TLesson where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TLesson where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TLesson where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TLesson whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TLesson whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}
@@ -12,6 +12,7 @@ import de.jottyfan.camporganizer.db.jooq.enums.EnumSex;
import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
import de.jottyfan.camporganizer.db.jooq.tables.TPersondocument.TPersondocumentPath;
import de.jottyfan.camporganizer.db.jooq.tables.TProfile.TProfilePath;
import de.jottyfan.camporganizer.db.jooq.tables.TTaskPerson.TTaskPersonPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TPersonRecord;
import java.math.BigDecimal;
@@ -125,16 +126,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.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, "");
/**
* The column <code>public.t_person.created</code>.
*/
@@ -170,6 +161,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);
}
@@ -308,6 +304,19 @@ public class TPerson extends TableImpl<TPersonRecord> {
return _tPersondocument;
}
private transient TTaskPersonPath _tTaskPerson;
/**
* Get the implicit to-many join path to the
* <code>public.t_task_person</code> table
*/
public TTaskPersonPath tTaskPerson() {
if (_tTaskPerson == null)
_tTaskPerson = new TTaskPersonPath(this, null, Keys.T_TASK_PERSON__T_TASK_PERSON_FK_PERSON_FKEY.getInverseKey());
return _tTaskPerson;
}
@Override
public TPerson as(String alias) {
return new TPerson(DSL.name(alias), this);
@@ -0,0 +1,321 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
import de.jottyfan.camporganizer.db.jooq.tables.TCamp.TCampPath;
import de.jottyfan.camporganizer.db.jooq.tables.TSlot.TSlotPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TPlanRecord;
import java.time.LocalDateTime;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class TPlan extends TableImpl<TPlanRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.t_plan</code>
*/
public static final TPlan T_PLAN = new TPlan();
/**
* The class holding records for this type
*/
@Override
public Class<TPlanRecord> getRecordType() {
return TPlanRecord.class;
}
/**
* The column <code>public.t_plan.created</code>.
*/
public final TableField<TPlanRecord, LocalDateTime> CREATED = createField(DSL.name("created"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("CURRENT_TIMESTAMP"), SQLDataType.LOCALDATETIME)), this, "");
/**
* The column <code>public.t_plan.pk_plan</code>.
*/
public final TableField<TPlanRecord, Integer> PK_PLAN = createField(DSL.name("pk_plan"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
/**
* The column <code>public.t_plan.name</code>.
*/
public final TableField<TPlanRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.t_plan.fk_camp</code>.
*/
public final TableField<TPlanRecord, Integer> FK_CAMP = createField(DSL.name("fk_camp"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.t_plan.camptheme</code>.
*/
public final TableField<TPlanRecord, String> CAMPTHEME = createField(DSL.name("camptheme"), SQLDataType.CLOB, this, "");
private TPlan(Name alias, Table<TPlanRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private TPlan(Name alias, Table<TPlanRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.t_plan</code> table reference
*/
public TPlan(String alias) {
this(DSL.name(alias), T_PLAN);
}
/**
* Create an aliased <code>public.t_plan</code> table reference
*/
public TPlan(Name alias) {
this(alias, T_PLAN);
}
/**
* Create a <code>public.t_plan</code> table reference
*/
public TPlan() {
this(DSL.name("t_plan"), null);
}
public <O extends Record> TPlan(Table<O> path, ForeignKey<O, TPlanRecord> childPath, InverseForeignKey<O, TPlanRecord> parentPath) {
super(path, childPath, parentPath, T_PLAN);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TPlanPath extends TPlan implements Path<TPlanRecord> {
private static final long serialVersionUID = 1L;
public <O extends Record> TPlanPath(Table<O> path, ForeignKey<O, TPlanRecord> childPath, InverseForeignKey<O, TPlanRecord> parentPath) {
super(path, childPath, parentPath);
}
private TPlanPath(Name alias, Table<TPlanRecord> aliased) {
super(alias, aliased);
}
@Override
public TPlanPath as(String alias) {
return new TPlanPath(DSL.name(alias), this);
}
@Override
public TPlanPath as(Name alias) {
return new TPlanPath(alias, this);
}
@Override
public TPlanPath as(Table<?> alias) {
return new TPlanPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<TPlanRecord, Integer> getIdentity() {
return (Identity<TPlanRecord, Integer>) super.getIdentity();
}
@Override
public UniqueKey<TPlanRecord> getPrimaryKey() {
return Keys.T_PLAN_PKEY;
}
@Override
public List<UniqueKey<TPlanRecord>> getUniqueKeys() {
return Arrays.asList(Keys.T_PLAN_FK_CAMP_KEY);
}
@Override
public List<ForeignKey<TPlanRecord, ?>> getReferences() {
return Arrays.asList(Keys.T_PLAN__T_PLAN_FK_CAMP_FKEY);
}
private transient TCampPath _tCamp;
/**
* Get the implicit join path to the <code>public.t_camp</code> table.
*/
public TCampPath tCamp() {
if (_tCamp == null)
_tCamp = new TCampPath(this, Keys.T_PLAN__T_PLAN_FK_CAMP_FKEY, null);
return _tCamp;
}
private transient TSlotPath _tSlot;
/**
* Get the implicit to-many join path to the <code>public.t_slot</code>
* table
*/
public TSlotPath tSlot() {
if (_tSlot == null)
_tSlot = new TSlotPath(this, null, Keys.T_SLOT__T_SLOT_FK_PLAN_FKEY.getInverseKey());
return _tSlot;
}
@Override
public TPlan as(String alias) {
return new TPlan(DSL.name(alias), this);
}
@Override
public TPlan as(Name alias) {
return new TPlan(alias, this);
}
@Override
public TPlan as(Table<?> alias) {
return new TPlan(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public TPlan rename(String name) {
return new TPlan(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TPlan rename(Name name) {
return new TPlan(name, null);
}
/**
* Rename this table
*/
@Override
public TPlan rename(Table<?> name) {
return new TPlan(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TPlan where(Condition condition) {
return new TPlan(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TPlan where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TPlan where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TPlan where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TPlan where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TPlan where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TPlan where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TPlan where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TPlan whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TPlan whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}
@@ -0,0 +1,322 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
import de.jottyfan.camporganizer.db.jooq.tables.TLesson.TLessonPath;
import de.jottyfan.camporganizer.db.jooq.tables.TPlan.TPlanPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TSlotRecord;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class TSlot extends TableImpl<TSlotRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.t_slot</code>
*/
public static final TSlot T_SLOT = new TSlot();
/**
* The class holding records for this type
*/
@Override
public Class<TSlotRecord> getRecordType() {
return TSlotRecord.class;
}
/**
* The column <code>public.t_slot.created</code>.
*/
public final TableField<TSlotRecord, LocalDateTime> CREATED = createField(DSL.name("created"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("CURRENT_TIMESTAMP"), SQLDataType.LOCALDATETIME)), this, "");
/**
* The column <code>public.t_slot.pk_slot</code>.
*/
public final TableField<TSlotRecord, Integer> PK_SLOT = createField(DSL.name("pk_slot"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
/**
* The column <code>public.t_slot.name</code>.
*/
public final TableField<TSlotRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.t_slot.fk_plan</code>.
*/
public final TableField<TSlotRecord, Integer> FK_PLAN = createField(DSL.name("fk_plan"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.t_slot.start_time</code>.
*/
public final TableField<TSlotRecord, LocalTime> START_TIME = createField(DSL.name("start_time"), SQLDataType.LOCALTIME(6).nullable(false), this, "");
/**
* The column <code>public.t_slot.end_time</code>.
*/
public final TableField<TSlotRecord, LocalTime> END_TIME = createField(DSL.name("end_time"), SQLDataType.LOCALTIME(6).nullable(false), this, "");
private TSlot(Name alias, Table<TSlotRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private TSlot(Name alias, Table<TSlotRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.t_slot</code> table reference
*/
public TSlot(String alias) {
this(DSL.name(alias), T_SLOT);
}
/**
* Create an aliased <code>public.t_slot</code> table reference
*/
public TSlot(Name alias) {
this(alias, T_SLOT);
}
/**
* Create a <code>public.t_slot</code> table reference
*/
public TSlot() {
this(DSL.name("t_slot"), null);
}
public <O extends Record> TSlot(Table<O> path, ForeignKey<O, TSlotRecord> childPath, InverseForeignKey<O, TSlotRecord> parentPath) {
super(path, childPath, parentPath, T_SLOT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TSlotPath extends TSlot implements Path<TSlotRecord> {
private static final long serialVersionUID = 1L;
public <O extends Record> TSlotPath(Table<O> path, ForeignKey<O, TSlotRecord> childPath, InverseForeignKey<O, TSlotRecord> parentPath) {
super(path, childPath, parentPath);
}
private TSlotPath(Name alias, Table<TSlotRecord> aliased) {
super(alias, aliased);
}
@Override
public TSlotPath as(String alias) {
return new TSlotPath(DSL.name(alias), this);
}
@Override
public TSlotPath as(Name alias) {
return new TSlotPath(alias, this);
}
@Override
public TSlotPath as(Table<?> alias) {
return new TSlotPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<TSlotRecord, Integer> getIdentity() {
return (Identity<TSlotRecord, Integer>) super.getIdentity();
}
@Override
public UniqueKey<TSlotRecord> getPrimaryKey() {
return Keys.T_SLOT_PKEY;
}
@Override
public List<ForeignKey<TSlotRecord, ?>> getReferences() {
return Arrays.asList(Keys.T_SLOT__T_SLOT_FK_PLAN_FKEY);
}
private transient TPlanPath _tPlan;
/**
* Get the implicit join path to the <code>public.t_plan</code> table.
*/
public TPlanPath tPlan() {
if (_tPlan == null)
_tPlan = new TPlanPath(this, Keys.T_SLOT__T_SLOT_FK_PLAN_FKEY, null);
return _tPlan;
}
private transient TLessonPath _tLesson;
/**
* Get the implicit to-many join path to the <code>public.t_lesson</code>
* table
*/
public TLessonPath tLesson() {
if (_tLesson == null)
_tLesson = new TLessonPath(this, null, Keys.T_LESSON__T_LESSON_FK_SLOT_FKEY.getInverseKey());
return _tLesson;
}
@Override
public TSlot as(String alias) {
return new TSlot(DSL.name(alias), this);
}
@Override
public TSlot as(Name alias) {
return new TSlot(alias, this);
}
@Override
public TSlot as(Table<?> alias) {
return new TSlot(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public TSlot rename(String name) {
return new TSlot(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TSlot rename(Name name) {
return new TSlot(name, null);
}
/**
* Rename this table
*/
@Override
public TSlot rename(Table<?> name) {
return new TSlot(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TSlot where(Condition condition) {
return new TSlot(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TSlot where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSlot where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSlot where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSlot where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSlot where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSlot where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TSlot where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSlot whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TSlot whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}
@@ -0,0 +1,316 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
import de.jottyfan.camporganizer.db.jooq.tables.TLesson.TLessonPath;
import de.jottyfan.camporganizer.db.jooq.tables.TTaskPerson.TTaskPersonPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TTaskRecord;
import java.time.LocalDateTime;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class TTask extends TableImpl<TTaskRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.t_task</code>
*/
public static final TTask T_TASK = new TTask();
/**
* The class holding records for this type
*/
@Override
public Class<TTaskRecord> getRecordType() {
return TTaskRecord.class;
}
/**
* The column <code>public.t_task.created</code>.
*/
public final TableField<TTaskRecord, LocalDateTime> CREATED = createField(DSL.name("created"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("CURRENT_TIMESTAMP"), SQLDataType.LOCALDATETIME)), this, "");
/**
* The column <code>public.t_task.pk_task</code>.
*/
public final TableField<TTaskRecord, Integer> PK_TASK = createField(DSL.name("pk_task"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
/**
* The column <code>public.t_task.fk_lesson</code>.
*/
public final TableField<TTaskRecord, Integer> FK_LESSON = createField(DSL.name("fk_lesson"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.t_task.name</code>.
*/
public final TableField<TTaskRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
/**
* The column <code>public.t_task.bibleref</code>.
*/
public final TableField<TTaskRecord, String> BIBLEREF = createField(DSL.name("bibleref"), SQLDataType.CLOB, this, "");
private TTask(Name alias, Table<TTaskRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private TTask(Name alias, Table<TTaskRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.t_task</code> table reference
*/
public TTask(String alias) {
this(DSL.name(alias), T_TASK);
}
/**
* Create an aliased <code>public.t_task</code> table reference
*/
public TTask(Name alias) {
this(alias, T_TASK);
}
/**
* Create a <code>public.t_task</code> table reference
*/
public TTask() {
this(DSL.name("t_task"), null);
}
public <O extends Record> TTask(Table<O> path, ForeignKey<O, TTaskRecord> childPath, InverseForeignKey<O, TTaskRecord> parentPath) {
super(path, childPath, parentPath, T_TASK);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TTaskPath extends TTask implements Path<TTaskRecord> {
private static final long serialVersionUID = 1L;
public <O extends Record> TTaskPath(Table<O> path, ForeignKey<O, TTaskRecord> childPath, InverseForeignKey<O, TTaskRecord> parentPath) {
super(path, childPath, parentPath);
}
private TTaskPath(Name alias, Table<TTaskRecord> aliased) {
super(alias, aliased);
}
@Override
public TTaskPath as(String alias) {
return new TTaskPath(DSL.name(alias), this);
}
@Override
public TTaskPath as(Name alias) {
return new TTaskPath(alias, this);
}
@Override
public TTaskPath as(Table<?> alias) {
return new TTaskPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<TTaskRecord, Integer> getIdentity() {
return (Identity<TTaskRecord, Integer>) super.getIdentity();
}
@Override
public UniqueKey<TTaskRecord> getPrimaryKey() {
return Keys.T_TASK_PKEY;
}
@Override
public List<ForeignKey<TTaskRecord, ?>> getReferences() {
return Arrays.asList(Keys.T_TASK__T_TASK_FK_LESSON_FKEY);
}
private transient TLessonPath _tLesson;
/**
* Get the implicit join path to the <code>public.t_lesson</code> table.
*/
public TLessonPath tLesson() {
if (_tLesson == null)
_tLesson = new TLessonPath(this, Keys.T_TASK__T_TASK_FK_LESSON_FKEY, null);
return _tLesson;
}
private transient TTaskPersonPath _tTaskPerson;
/**
* Get the implicit to-many join path to the
* <code>public.t_task_person</code> table
*/
public TTaskPersonPath tTaskPerson() {
if (_tTaskPerson == null)
_tTaskPerson = new TTaskPersonPath(this, null, Keys.T_TASK_PERSON__T_TASK_PERSON_FK_TASK_FKEY.getInverseKey());
return _tTaskPerson;
}
@Override
public TTask as(String alias) {
return new TTask(DSL.name(alias), this);
}
@Override
public TTask as(Name alias) {
return new TTask(alias, this);
}
@Override
public TTask as(Table<?> alias) {
return new TTask(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public TTask rename(String name) {
return new TTask(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TTask rename(Name name) {
return new TTask(name, null);
}
/**
* Rename this table
*/
@Override
public TTask rename(Table<?> name) {
return new TTask(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TTask where(Condition condition) {
return new TTask(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TTask where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TTask where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TTask where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TTask where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TTask where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TTask where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TTask where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TTask whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TTask whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}
@@ -0,0 +1,310 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables;
import de.jottyfan.camporganizer.db.jooq.Keys;
import de.jottyfan.camporganizer.db.jooq.Public;
import de.jottyfan.camporganizer.db.jooq.tables.TPerson.TPersonPath;
import de.jottyfan.camporganizer.db.jooq.tables.TTask.TTaskPath;
import de.jottyfan.camporganizer.db.jooq.tables.records.TTaskPersonRecord;
import java.time.LocalDateTime;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class TTaskPerson extends TableImpl<TTaskPersonRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>public.t_task_person</code>
*/
public static final TTaskPerson T_TASK_PERSON = new TTaskPerson();
/**
* The class holding records for this type
*/
@Override
public Class<TTaskPersonRecord> getRecordType() {
return TTaskPersonRecord.class;
}
/**
* The column <code>public.t_task_person.created</code>.
*/
public final TableField<TTaskPersonRecord, LocalDateTime> CREATED = createField(DSL.name("created"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("CURRENT_TIMESTAMP"), SQLDataType.LOCALDATETIME)), this, "");
/**
* The column <code>public.t_task_person.pk_task_person</code>.
*/
public final TableField<TTaskPersonRecord, Integer> PK_TASK_PERSON = createField(DSL.name("pk_task_person"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
/**
* The column <code>public.t_task_person.fk_task</code>.
*/
public final TableField<TTaskPersonRecord, Integer> FK_TASK = createField(DSL.name("fk_task"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>public.t_task_person.fk_person</code>.
*/
public final TableField<TTaskPersonRecord, Integer> FK_PERSON = createField(DSL.name("fk_person"), SQLDataType.INTEGER.nullable(false), this, "");
private TTaskPerson(Name alias, Table<TTaskPersonRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private TTaskPerson(Name alias, Table<TTaskPersonRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>public.t_task_person</code> table reference
*/
public TTaskPerson(String alias) {
this(DSL.name(alias), T_TASK_PERSON);
}
/**
* Create an aliased <code>public.t_task_person</code> table reference
*/
public TTaskPerson(Name alias) {
this(alias, T_TASK_PERSON);
}
/**
* Create a <code>public.t_task_person</code> table reference
*/
public TTaskPerson() {
this(DSL.name("t_task_person"), null);
}
public <O extends Record> TTaskPerson(Table<O> path, ForeignKey<O, TTaskPersonRecord> childPath, InverseForeignKey<O, TTaskPersonRecord> parentPath) {
super(path, childPath, parentPath, T_TASK_PERSON);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class TTaskPersonPath extends TTaskPerson implements Path<TTaskPersonRecord> {
private static final long serialVersionUID = 1L;
public <O extends Record> TTaskPersonPath(Table<O> path, ForeignKey<O, TTaskPersonRecord> childPath, InverseForeignKey<O, TTaskPersonRecord> parentPath) {
super(path, childPath, parentPath);
}
private TTaskPersonPath(Name alias, Table<TTaskPersonRecord> aliased) {
super(alias, aliased);
}
@Override
public TTaskPersonPath as(String alias) {
return new TTaskPersonPath(DSL.name(alias), this);
}
@Override
public TTaskPersonPath as(Name alias) {
return new TTaskPersonPath(alias, this);
}
@Override
public TTaskPersonPath as(Table<?> alias) {
return new TTaskPersonPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : Public.PUBLIC;
}
@Override
public Identity<TTaskPersonRecord, Integer> getIdentity() {
return (Identity<TTaskPersonRecord, Integer>) super.getIdentity();
}
@Override
public UniqueKey<TTaskPersonRecord> getPrimaryKey() {
return Keys.T_TASK_PERSON_PKEY;
}
@Override
public List<ForeignKey<TTaskPersonRecord, ?>> getReferences() {
return Arrays.asList(Keys.T_TASK_PERSON__T_TASK_PERSON_FK_PERSON_FKEY, Keys.T_TASK_PERSON__T_TASK_PERSON_FK_TASK_FKEY);
}
private transient TPersonPath _tPerson;
/**
* Get the implicit join path to the <code>public.t_person</code> table.
*/
public TPersonPath tPerson() {
if (_tPerson == null)
_tPerson = new TPersonPath(this, Keys.T_TASK_PERSON__T_TASK_PERSON_FK_PERSON_FKEY, null);
return _tPerson;
}
private transient TTaskPath _tTask;
/**
* Get the implicit join path to the <code>public.t_task</code> table.
*/
public TTaskPath tTask() {
if (_tTask == null)
_tTask = new TTaskPath(this, Keys.T_TASK_PERSON__T_TASK_PERSON_FK_TASK_FKEY, null);
return _tTask;
}
@Override
public TTaskPerson as(String alias) {
return new TTaskPerson(DSL.name(alias), this);
}
@Override
public TTaskPerson as(Name alias) {
return new TTaskPerson(alias, this);
}
@Override
public TTaskPerson as(Table<?> alias) {
return new TTaskPerson(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public TTaskPerson rename(String name) {
return new TTaskPerson(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public TTaskPerson rename(Name name) {
return new TTaskPerson(name, null);
}
/**
* Rename this table
*/
@Override
public TTaskPerson rename(Table<?> name) {
return new TTaskPerson(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public TTaskPerson where(Condition condition) {
return new TTaskPerson(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public TTaskPerson where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TTaskPerson where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public TTaskPerson where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TTaskPerson where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TTaskPerson where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TTaskPerson where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public TTaskPerson where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public TTaskPerson whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public TTaskPerson whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}
@@ -80,11 +80,11 @@ public class VAdult extends TableImpl<VAdultRecord> {
private VAdult(Name alias, Table<VAdultRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
CREATE VIEW "v_adult" AS SELECT age((t_person.birthdate)::timestamp with time zone) AS age,
t_person.forename,
t_person.surname,
t_person.camprole,
(age((t_person.birthdate)::timestamp with time zone) > '18 years'::interval) AS adult
CREATE VIEW "v_adult" AS SELECT age((birthdate)::timestamp with time zone) AS age,
forename,
surname,
camprole,
(age((birthdate)::timestamp with time zone) > '18 years'::interval) AS adult
FROM t_person;
"""), where);
}
@@ -79,13 +79,13 @@ public class VBudget extends TableImpl<VBudgetRecord> {
private VBudget(Name alias, Table<VBudgetRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
CREATE VIEW "v_budget" AS SELECT sum(v_sales.cash) AS budget,
v_sales.fk_camp,
v_sales.name,
v_sales.location,
v_sales.year
CREATE VIEW "v_budget" AS SELECT sum(cash) AS budget,
fk_camp,
name,
location,
year
FROM v_sales
GROUP BY v_sales.fk_camp, v_sales.name, v_sales.location, v_sales.year;
GROUP BY fk_camp, name, location, year;
"""), where);
}
@@ -64,11 +64,11 @@ public class VCampBudgetYear extends TableImpl<VCampBudgetYearRecord> {
private VCampBudgetYear(Name alias, Table<VCampBudgetYearRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
CREATE VIEW "v_camp_budget_year" AS SELECT sum(v_camp_budget.budget) AS sum,
v_camp_budget.year
CREATE VIEW "v_camp_budget_year" AS SELECT sum(budget) AS sum,
year
FROM v_camp_budget
GROUP BY v_camp_budget.year
ORDER BY v_camp_budget.year;
GROUP BY year
ORDER BY year;
"""), where);
}
@@ -58,7 +58,7 @@ public class VVersion extends TableImpl<VVersionRecord> {
private VVersion(Name alias, Table<VVersionRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
CREATE VIEW "v_version" AS SELECT '2025-04-23'::text AS version;
CREATE VIEW "v_version" AS SELECT '2026-04-15'::text AS version;
"""), where);
}
@@ -216,31 +216,31 @@ public class TCampRecord extends UpdatableRecordImpl<TCampRecord> {
return (Integer) get(13);
}
/**
* Setter for <code>public.t_camp.blocked_beds_male</code>.
*/
public void setBlockedBedsMale(Integer value) {
set(14, value);
}
/**
* Getter for <code>public.t_camp.blocked_beds_male</code>.
*/
public Integer getBlockedBedsMale() {
return (Integer) get(14);
}
/**
* Setter for <code>public.t_camp.blocked_beds_female</code>.
*/
public void setBlockedBedsFemale(Integer value) {
set(15, value);
set(14, value);
}
/**
* Getter for <code>public.t_camp.blocked_beds_female</code>.
*/
public Integer getBlockedBedsFemale() {
return (Integer) get(14);
}
/**
* Setter for <code>public.t_camp.blocked_beds_male</code>.
*/
public void setBlockedBedsMale(Integer value) {
set(15, value);
}
/**
* Getter for <code>public.t_camp.blocked_beds_male</code>.
*/
public Integer getBlockedBedsMale() {
return (Integer) get(15);
}
@@ -295,7 +295,7 @@ public class TCampRecord extends UpdatableRecordImpl<TCampRecord> {
/**
* Create a detached, initialised TCampRecord
*/
public TCampRecord(Integer pk, String name, LocalDateTime arrive, LocalDateTime depart, Integer fkLocation, Integer minAge, Integer maxAge, String price, String countries, Integer fkDocument, Boolean lockSales, Integer fkProfile, Integer bedsMale, Integer bedsFemale, Integer blockedBedsMale, Integer blockedBedsFemale, LocalDateTime startBooking, Integer minTeacherage) {
public TCampRecord(Integer pk, String name, LocalDateTime arrive, LocalDateTime depart, Integer fkLocation, Integer minAge, Integer maxAge, String price, String countries, Integer fkDocument, Boolean lockSales, Integer fkProfile, Integer bedsMale, Integer bedsFemale, Integer blockedBedsFemale, Integer blockedBedsMale, LocalDateTime startBooking, Integer minTeacherage) {
super(TCamp.T_CAMP);
setPk(pk);
@@ -312,8 +312,8 @@ public class TCampRecord extends UpdatableRecordImpl<TCampRecord> {
setFkProfile(fkProfile);
setBedsMale(bedsMale);
setBedsFemale(bedsFemale);
setBlockedBedsMale(blockedBedsMale);
setBlockedBedsFemale(blockedBedsFemale);
setBlockedBedsMale(blockedBedsMale);
setStartBooking(startBooking);
setMinTeacherage(minTeacherage);
resetTouchedOnNotNull();
@@ -0,0 +1,143 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.tables.TLesson;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class TLessonRecord extends UpdatableRecordImpl<TLessonRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.t_lesson.created</code>.
*/
public void setCreated(LocalDateTime value) {
set(0, value);
}
/**
* Getter for <code>public.t_lesson.created</code>.
*/
public LocalDateTime getCreated() {
return (LocalDateTime) get(0);
}
/**
* Setter for <code>public.t_lesson.pk_lesson</code>.
*/
public void setPkLesson(Integer value) {
set(1, value);
}
/**
* Getter for <code>public.t_lesson.pk_lesson</code>.
*/
public Integer getPkLesson() {
return (Integer) get(1);
}
/**
* Setter for <code>public.t_lesson.day</code>.
*/
public void setDay(LocalDate value) {
set(2, value);
}
/**
* Getter for <code>public.t_lesson.day</code>.
*/
public LocalDate getDay() {
return (LocalDate) get(2);
}
/**
* Setter for <code>public.t_lesson.fk_slot</code>.
*/
public void setFkSlot(Integer value) {
set(3, value);
}
/**
* Getter for <code>public.t_lesson.fk_slot</code>.
*/
public Integer getFkSlot() {
return (Integer) get(3);
}
/**
* Setter for <code>public.t_lesson.start_time_diff</code>.
*/
public void setStartTimeDiff(LocalTime value) {
set(4, value);
}
/**
* Getter for <code>public.t_lesson.start_time_diff</code>.
*/
public LocalTime getStartTimeDiff() {
return (LocalTime) get(4);
}
/**
* Setter for <code>public.t_lesson.end_time_diff</code>.
*/
public void setEndTimeDiff(LocalTime value) {
set(5, value);
}
/**
* Getter for <code>public.t_lesson.end_time_diff</code>.
*/
public LocalTime getEndTimeDiff() {
return (LocalTime) get(5);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TLessonRecord
*/
public TLessonRecord() {
super(TLesson.T_LESSON);
}
/**
* Create a detached, initialised TLessonRecord
*/
public TLessonRecord(LocalDateTime created, Integer pkLesson, LocalDate day, Integer fkSlot, LocalTime startTimeDiff, LocalTime endTimeDiff) {
super(TLesson.T_LESSON);
setCreated(created);
setPkLesson(pkLesson);
setDay(day);
setFkSlot(fkSlot);
setStartTimeDiff(startTimeDiff);
setEndTimeDiff(endTimeDiff);
resetTouchedOnNotNull();
}
}
@@ -193,130 +193,116 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
return (Integer) get(11);
}
/**
* Setter for <code>public.t_person.accept</code>.
*/
public void setAccept(Boolean value) {
set(12, value);
}
/**
* Getter for <code>public.t_person.accept</code>.
*/
public Boolean getAccept() {
return (Boolean) get(12);
}
/**
* Setter for <code>public.t_person.progress</code>.
*/
public void setProgress(EnumProgress value) {
set(13, value);
}
/**
* Getter for <code>public.t_person.progress</code>.
*/
public EnumProgress getProgress() {
return (EnumProgress) get(13);
}
/**
* Setter for <code>public.t_person.created</code>.
*/
public void setCreated(LocalDateTime value) {
set(14, value);
set(12, value);
}
/**
* Getter for <code>public.t_person.created</code>.
*/
public LocalDateTime getCreated() {
return (LocalDateTime) get(14);
return (LocalDateTime) get(12);
}
/**
* Setter for <code>public.t_person.sex</code>.
*/
public void setSex(EnumSex value) {
set(15, value);
set(13, value);
}
/**
* Getter for <code>public.t_person.sex</code>.
*/
public EnumSex getSex() {
return (EnumSex) get(15);
return (EnumSex) get(13);
}
/**
* Setter for <code>public.t_person.fk_registrator</code>.
*/
public void setFkRegistrator(Integer value) {
set(16, value);
set(14, value);
}
/**
* Getter for <code>public.t_person.fk_registrator</code>.
*/
public Integer getFkRegistrator() {
return (Integer) get(16);
return (Integer) get(14);
}
/**
* Setter for <code>public.t_person.paid</code>.
*/
public void setPaid(BigDecimal value) {
set(17, value);
set(15, value);
}
/**
* Getter for <code>public.t_person.paid</code>.
*/
public BigDecimal getPaid() {
return (BigDecimal) get(17);
return (BigDecimal) get(15);
}
/**
* Setter for <code>public.t_person.comment</code>.
*/
public void setComment(String value) {
set(18, value);
set(16, value);
}
/**
* Getter for <code>public.t_person.comment</code>.
*/
public String getComment() {
return (String) get(18);
return (String) get(16);
}
/**
* Setter for <code>public.t_person.consent_catalog_photo</code>.
*/
public void setConsentCatalogPhoto(Boolean value) {
set(19, value);
set(17, value);
}
/**
* Getter for <code>public.t_person.consent_catalog_photo</code>.
*/
public Boolean getConsentCatalogPhoto() {
return (Boolean) get(19);
return (Boolean) get(17);
}
/**
* Setter for <code>public.t_person.required_price</code>.
*/
public void setRequiredPrice(BigDecimal value) {
set(20, value);
set(18, value);
}
/**
* Getter for <code>public.t_person.required_price</code>.
*/
public BigDecimal getRequiredPrice() {
return (BigDecimal) get(20);
return (BigDecimal) get(18);
}
/**
* Setter for <code>public.t_person.progress</code>.
*/
public void setProgress(EnumProgress value) {
set(19, value);
}
/**
* Getter for <code>public.t_person.progress</code>.
*/
public EnumProgress getProgress() {
return (EnumProgress) get(19);
}
// -------------------------------------------------------------------------
@@ -342,7 +328,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, EnumProgress progress, 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);
@@ -357,8 +343,6 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
setEmail(email);
setFkCamp(fkCamp);
setFkProfile(fkProfile);
setAccept(accept);
setProgress(progress);
setCreated(created);
setSex(sex);
setFkRegistrator(fkRegistrator);
@@ -366,6 +350,7 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
setComment(comment);
setConsentCatalogPhoto(consentCatalogPhoto);
setRequiredPrice(requiredPrice);
setProgress(progress);
resetTouchedOnNotNull();
}
}
@@ -0,0 +1,126 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.tables.TPlan;
import java.time.LocalDateTime;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class TPlanRecord extends UpdatableRecordImpl<TPlanRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.t_plan.created</code>.
*/
public void setCreated(LocalDateTime value) {
set(0, value);
}
/**
* Getter for <code>public.t_plan.created</code>.
*/
public LocalDateTime getCreated() {
return (LocalDateTime) get(0);
}
/**
* Setter for <code>public.t_plan.pk_plan</code>.
*/
public void setPkPlan(Integer value) {
set(1, value);
}
/**
* Getter for <code>public.t_plan.pk_plan</code>.
*/
public Integer getPkPlan() {
return (Integer) get(1);
}
/**
* Setter for <code>public.t_plan.name</code>.
*/
public void setName(String value) {
set(2, value);
}
/**
* Getter for <code>public.t_plan.name</code>.
*/
public String getName() {
return (String) get(2);
}
/**
* Setter for <code>public.t_plan.fk_camp</code>.
*/
public void setFkCamp(Integer value) {
set(3, value);
}
/**
* Getter for <code>public.t_plan.fk_camp</code>.
*/
public Integer getFkCamp() {
return (Integer) get(3);
}
/**
* Setter for <code>public.t_plan.camptheme</code>.
*/
public void setCamptheme(String value) {
set(4, value);
}
/**
* Getter for <code>public.t_plan.camptheme</code>.
*/
public String getCamptheme() {
return (String) get(4);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TPlanRecord
*/
public TPlanRecord() {
super(TPlan.T_PLAN);
}
/**
* Create a detached, initialised TPlanRecord
*/
public TPlanRecord(LocalDateTime created, Integer pkPlan, String name, Integer fkCamp, String camptheme) {
super(TPlan.T_PLAN);
setCreated(created);
setPkPlan(pkPlan);
setName(name);
setFkCamp(fkCamp);
setCamptheme(camptheme);
resetTouchedOnNotNull();
}
}
@@ -0,0 +1,142 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.tables.TSlot;
import java.time.LocalDateTime;
import java.time.LocalTime;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class TSlotRecord extends UpdatableRecordImpl<TSlotRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.t_slot.created</code>.
*/
public void setCreated(LocalDateTime value) {
set(0, value);
}
/**
* Getter for <code>public.t_slot.created</code>.
*/
public LocalDateTime getCreated() {
return (LocalDateTime) get(0);
}
/**
* Setter for <code>public.t_slot.pk_slot</code>.
*/
public void setPkSlot(Integer value) {
set(1, value);
}
/**
* Getter for <code>public.t_slot.pk_slot</code>.
*/
public Integer getPkSlot() {
return (Integer) get(1);
}
/**
* Setter for <code>public.t_slot.name</code>.
*/
public void setName(String value) {
set(2, value);
}
/**
* Getter for <code>public.t_slot.name</code>.
*/
public String getName() {
return (String) get(2);
}
/**
* Setter for <code>public.t_slot.fk_plan</code>.
*/
public void setFkPlan(Integer value) {
set(3, value);
}
/**
* Getter for <code>public.t_slot.fk_plan</code>.
*/
public Integer getFkPlan() {
return (Integer) get(3);
}
/**
* Setter for <code>public.t_slot.start_time</code>.
*/
public void setStartTime(LocalTime value) {
set(4, value);
}
/**
* Getter for <code>public.t_slot.start_time</code>.
*/
public LocalTime getStartTime() {
return (LocalTime) get(4);
}
/**
* Setter for <code>public.t_slot.end_time</code>.
*/
public void setEndTime(LocalTime value) {
set(5, value);
}
/**
* Getter for <code>public.t_slot.end_time</code>.
*/
public LocalTime getEndTime() {
return (LocalTime) get(5);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TSlotRecord
*/
public TSlotRecord() {
super(TSlot.T_SLOT);
}
/**
* Create a detached, initialised TSlotRecord
*/
public TSlotRecord(LocalDateTime created, Integer pkSlot, String name, Integer fkPlan, LocalTime startTime, LocalTime endTime) {
super(TSlot.T_SLOT);
setCreated(created);
setPkSlot(pkSlot);
setName(name);
setFkPlan(fkPlan);
setStartTime(startTime);
setEndTime(endTime);
resetTouchedOnNotNull();
}
}
@@ -0,0 +1,111 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.tables.TTaskPerson;
import java.time.LocalDateTime;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class TTaskPersonRecord extends UpdatableRecordImpl<TTaskPersonRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.t_task_person.created</code>.
*/
public void setCreated(LocalDateTime value) {
set(0, value);
}
/**
* Getter for <code>public.t_task_person.created</code>.
*/
public LocalDateTime getCreated() {
return (LocalDateTime) get(0);
}
/**
* Setter for <code>public.t_task_person.pk_task_person</code>.
*/
public void setPkTaskPerson(Integer value) {
set(1, value);
}
/**
* Getter for <code>public.t_task_person.pk_task_person</code>.
*/
public Integer getPkTaskPerson() {
return (Integer) get(1);
}
/**
* Setter for <code>public.t_task_person.fk_task</code>.
*/
public void setFkTask(Integer value) {
set(2, value);
}
/**
* Getter for <code>public.t_task_person.fk_task</code>.
*/
public Integer getFkTask() {
return (Integer) get(2);
}
/**
* Setter for <code>public.t_task_person.fk_person</code>.
*/
public void setFkPerson(Integer value) {
set(3, value);
}
/**
* Getter for <code>public.t_task_person.fk_person</code>.
*/
public Integer getFkPerson() {
return (Integer) get(3);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TTaskPersonRecord
*/
public TTaskPersonRecord() {
super(TTaskPerson.T_TASK_PERSON);
}
/**
* Create a detached, initialised TTaskPersonRecord
*/
public TTaskPersonRecord(LocalDateTime created, Integer pkTaskPerson, Integer fkTask, Integer fkPerson) {
super(TTaskPerson.T_TASK_PERSON);
setCreated(created);
setPkTaskPerson(pkTaskPerson);
setFkTask(fkTask);
setFkPerson(fkPerson);
resetTouchedOnNotNull();
}
}
@@ -0,0 +1,126 @@
/*
* This file is generated by jOOQ.
*/
package de.jottyfan.camporganizer.db.jooq.tables.records;
import de.jottyfan.camporganizer.db.jooq.tables.TTask;
import java.time.LocalDateTime;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class TTaskRecord extends UpdatableRecordImpl<TTaskRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>public.t_task.created</code>.
*/
public void setCreated(LocalDateTime value) {
set(0, value);
}
/**
* Getter for <code>public.t_task.created</code>.
*/
public LocalDateTime getCreated() {
return (LocalDateTime) get(0);
}
/**
* Setter for <code>public.t_task.pk_task</code>.
*/
public void setPkTask(Integer value) {
set(1, value);
}
/**
* Getter for <code>public.t_task.pk_task</code>.
*/
public Integer getPkTask() {
return (Integer) get(1);
}
/**
* Setter for <code>public.t_task.fk_lesson</code>.
*/
public void setFkLesson(Integer value) {
set(2, value);
}
/**
* Getter for <code>public.t_task.fk_lesson</code>.
*/
public Integer getFkLesson() {
return (Integer) get(2);
}
/**
* Setter for <code>public.t_task.name</code>.
*/
public void setName(String value) {
set(3, value);
}
/**
* Getter for <code>public.t_task.name</code>.
*/
public String getName() {
return (String) get(3);
}
/**
* Setter for <code>public.t_task.bibleref</code>.
*/
public void setBibleref(String value) {
set(4, value);
}
/**
* Getter for <code>public.t_task.bibleref</code>.
*/
public String getBibleref() {
return (String) get(4);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Integer> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached TTaskRecord
*/
public TTaskRecord() {
super(TTask.T_TASK);
}
/**
* Create a detached, initialised TTaskRecord
*/
public TTaskRecord(LocalDateTime created, Integer pkTask, Integer fkLesson, String name, String bibleref) {
super(TTask.T_TASK);
setCreated(created);
setPkTask(pkTask);
setFkLesson(fkLesson);
setName(name);
setBibleref(bibleref);
resetTouchedOnNotNull();
}
}
+5
View File
@@ -21,6 +21,11 @@ begin;
\i tables/sales.sql
\i tables/salescontenttype.sql
\i tables/salescontent.sql
\i tables/plan.sql
\i tables/slot.sql
\i tables/lesson.sql
\i tables/task.sql
\i tables/task_person.sql
\i views/adult.sql
\i views/sales.sql
+9
View File
@@ -0,0 +1,9 @@
create table public.t_lesson (
created timestamp default CURRENT_TIMESTAMP,
pk_lesson int primary key generated always as identity,
day date not null,
fk_slot int not null references public.t_slot(pk_slot),
start_time_diff time,
end_time_diff time,
unique (day, fk_slot)
);
+7
View File
@@ -0,0 +1,7 @@
create table public.t_plan (
created timestamp default CURRENT_TIMESTAMP,
pk_plan int primary key generated always as identity,
name text,
fk_camp int not null unique references public.t_camp(pk),
camptheme text
);
+8
View File
@@ -0,0 +1,8 @@
create table public.t_slot (
created timestamp default CURRENT_TIMESTAMP,
pk_slot int primary key generated always as identity,
name text,
fk_plan int not null references public.t_plan(pk_plan),
start_time time not null,
end_time time not null
);
+7
View File
@@ -0,0 +1,7 @@
create table public.t_task (
created timestamp default CURRENT_TIMESTAMP,
pk_task int primary key generated always as identity,
fk_lesson int not null references public.t_lesson(pk_lesson),
name text,
bibleref text
);
@@ -0,0 +1,6 @@
create table public.t_task_person (
created timestamp default CURRENT_TIMESTAMP,
pk_task_person int primary key generated always as identity,
fk_task int not null references public.t_task(pk_task),
fk_person int not null references public.t_person(pk)
);
+1 -1
View File
@@ -1,5 +1,5 @@
begin;
drop view public.v_dsgvo_delete_candidate;
drop view if exists public.v_dsgvo_delete_candidate;
drop view public.v_camp;
alter table t_camp add column min_teacherage integer;
+14
View File
@@ -0,0 +1,14 @@
begin;
drop view public.v_dsgvo_delete_candidate;
drop view public.v_camp;
\i tables/plan.sql
\i tables/slot.sql
\i tables/lesson.sql
\i tables/task.sql
\i tables/task_person.sql
\i views/camp.sql
\i views/dsgvo_delete_candidate.sql
\i views/version.sql
commit;
+1 -1
View File
@@ -1,2 +1,2 @@
create or replace view public.v_version as
select '2025-04-23'::text as version;
select '2026-04-15'::text as version;