diff --git a/.classpath b/.classpath
index 7f75f47..d928028 100644
--- a/.classpath
+++ b/.classpath
@@ -7,7 +7,7 @@
-
+
diff --git a/build.gradle b/build.gradle
index a6884c9..ceacc0b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -7,10 +7,10 @@ buildscript {
jcenter()
}
dependencies {
- classpath 'org.jooq:jooq-codegen:3.18.6'
- classpath 'org.postgresql:postgresql:42.6.0'
- classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:latest.release'
- classpath 'nu.studer.jooq:nu.studer.jooq.gradle.plugin:8.2.1'
+ classpath 'org.jooq:jooq-codegen:3.19.15'
+ classpath 'org.postgresql:postgresql:latest.release'
+ classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:latest.release'
+ classpath 'nu.studer:gradle-jooq-plugin:8.0'
}
}
@@ -23,14 +23,16 @@ apply plugin: 'maven-publish'
apply plugin: 'eclipse'
group = 'de.jottyfan'
-version = '20240109'
+version = '20260114'
def artifactId = 'timetrackjooq'
def versionNumber = version
description = """timetrackjooq"""
-sourceCompatibility = 17
-targetCompatibility = 17
+java{
+ sourceCompatibility = 21
+ targetCompatibility = 21
+}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
@@ -43,21 +45,22 @@ repositories {
}
dependencies {
- implementation 'org.jooq:jooq:3.18.6'
- implementation 'org.jooq:jooq-codegen:3.18.6'
+ implementation 'org.jooq:jooq:3.19.15'
+ implementation 'org.jooq:jooq-codegen:3.19.15'
- implementation 'org.postgresql:postgresql:42.6.0'
+ implementation 'org.postgresql:postgresql:latest.release'
- jooqGenerator 'org.postgresql:postgresql:42.6.0'
+ jooqGenerator 'org.postgresql:postgresql:latest.release'
}
jooq {
edition = nu.studer.gradle.jooq.JooqEdition.OSS
- version = '3.18.6'
+ version = '3.19.15'
configurations {
timetrack {
generateSchemaSourceOnCompilation = false
generationTool {
+ onError = 'LOG'
logging = org.jooq.meta.jaxb.Logging.WARN
jdbc {
driver = 'org.postgresql.Driver'
@@ -82,6 +85,12 @@ jooq {
schema {
inputSchema = 'note'
}
+ schema {
+ inputSchema = 'project'
+ }
+ schema {
+ inputSchema = 'public'
+ }
}
includes = '.*'
}
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 41dfb87..3ae1e2f 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
diff --git a/src/main/java/de/jottyfan/timetrack/db/DefaultCatalog.java b/src/main/java/de/jottyfan/timetrack/db/DefaultCatalog.java
deleted file mode 100644
index 5db4552..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/DefaultCatalog.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db;
-
-
-import de.jottyfan.timetrack.db.contact.Contact;
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.note.Note;
-import de.jottyfan.timetrack.db.profile.Profile;
-
-import java.util.Arrays;
-import java.util.List;
-
-import org.jooq.Constants;
-import org.jooq.Schema;
-import org.jooq.impl.CatalogImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class DefaultCatalog extends CatalogImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of DEFAULT_CATALOG
- */
- public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog();
-
- /**
- * The schema contact.
- */
- public final Contact CONTACT = Contact.CONTACT;
-
- /**
- * The schema done.
- */
- public final Done DONE = Done.DONE;
-
- /**
- * The schema note.
- */
- public final Note NOTE = Note.NOTE;
-
- /**
- * The schema profile.
- */
- public final Profile PROFILE = Profile.PROFILE;
-
- /**
- * No further instances allowed
- */
- private DefaultCatalog() {
- super("");
- }
-
- @Override
- public final List getSchemas() {
- return Arrays.asList(
- Contact.CONTACT,
- Done.DONE,
- Note.NOTE,
- Profile.PROFILE
- );
- }
-
- /**
- * A reference to the 3.18 minor release of the code generator. If this
- * doesn't compile, it's because the runtime library uses an older minor
- * release, namely: 3.18. You can turn off the generation of this reference
- * by specifying /configuration/generator/generate/jooqVersionReference
- */
- private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_18;
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/contact/Contact.java b/src/main/java/de/jottyfan/timetrack/db/contact/Contact.java
deleted file mode 100644
index 5e9531f..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/contact/Contact.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.contact;
-
-
-import de.jottyfan.timetrack.db.DefaultCatalog;
-import de.jottyfan.timetrack.db.contact.tables.TContact;
-
-import java.util.Arrays;
-import java.util.List;
-
-import org.jooq.Catalog;
-import org.jooq.Table;
-import org.jooq.impl.SchemaImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Contact extends SchemaImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of contact
- */
- public static final Contact CONTACT = new Contact();
-
- /**
- * The table contact.t_contact.
- */
- public final TContact T_CONTACT = TContact.T_CONTACT;
-
- /**
- * No further instances allowed
- */
- private Contact() {
- super("contact", null);
- }
-
-
- @Override
- public Catalog getCatalog() {
- return DefaultCatalog.DEFAULT_CATALOG;
- }
-
- @Override
- public final List> getTables() {
- return Arrays.asList(
- TContact.T_CONTACT
- );
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/contact/Keys.java b/src/main/java/de/jottyfan/timetrack/db/contact/Keys.java
deleted file mode 100644
index f6ddbd2..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/contact/Keys.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.contact;
-
-
-import de.jottyfan.timetrack.db.contact.tables.TContact;
-import de.jottyfan.timetrack.db.contact.tables.records.TContactRecord;
-
-import org.jooq.TableField;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.Internal;
-
-
-/**
- * A class modelling foreign key relationships and constraints of tables in
- * contact.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Keys {
-
- // -------------------------------------------------------------------------
- // UNIQUE and PRIMARY KEY definitions
- // -------------------------------------------------------------------------
-
- public static final UniqueKey T_CONTACT_PKEY = Internal.createUniqueKey(TContact.T_CONTACT, DSL.name("t_contact_pkey"), new TableField[] { TContact.T_CONTACT.PK }, true);
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/contact/Tables.java b/src/main/java/de/jottyfan/timetrack/db/contact/Tables.java
deleted file mode 100644
index 3ab72fe..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/contact/Tables.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.contact;
-
-
-import de.jottyfan.timetrack.db.contact.tables.TContact;
-
-
-/**
- * Convenience access to all tables in contact.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Tables {
-
- /**
- * The table contact.t_contact.
- */
- public static final TContact T_CONTACT = TContact.T_CONTACT;
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/contact/enums/EnumContacttype.java b/src/main/java/de/jottyfan/timetrack/db/contact/enums/EnumContacttype.java
deleted file mode 100644
index 7fbd81a..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/contact/enums/EnumContacttype.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.contact.enums;
-
-
-import de.jottyfan.timetrack.db.contact.Contact;
-
-import org.jooq.Catalog;
-import org.jooq.EnumType;
-import org.jooq.Schema;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public enum EnumContacttype implements EnumType {
-
- privat("privat"),
-
- mobil("mobil"),
-
- dienstlich("dienstlich"),
-
- E_Mail("E-Mail"),
-
- Skype("Skype");
-
- private final String literal;
-
- private EnumContacttype(String literal) {
- this.literal = literal;
- }
-
- @Override
- public Catalog getCatalog() {
- return getSchema().getCatalog();
- }
-
- @Override
- public Schema getSchema() {
- return Contact.CONTACT;
- }
-
- @Override
- public String getName() {
- return "enum_contacttype";
- }
-
- @Override
- public String getLiteral() {
- return literal;
- }
-
- /**
- * Lookup a value of this EnumType by its literal
- */
- public static EnumContacttype lookupLiteral(String literal) {
- return EnumType.lookupLiteral(EnumContacttype.class, literal);
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/contact/tables/TContact.java b/src/main/java/de/jottyfan/timetrack/db/contact/tables/TContact.java
deleted file mode 100644
index c232cba..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/contact/tables/TContact.java
+++ /dev/null
@@ -1,189 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.contact.tables;
-
-
-import de.jottyfan.timetrack.db.contact.Contact;
-import de.jottyfan.timetrack.db.contact.Keys;
-import de.jottyfan.timetrack.db.contact.enums.EnumContacttype;
-import de.jottyfan.timetrack.db.contact.tables.records.TContactRecord;
-
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function5;
-import org.jooq.Identity;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row5;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class TContact extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of contact.t_contact
- */
- public static final TContact T_CONTACT = new TContact();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return TContactRecord.class;
- }
-
- /**
- * The column contact.t_contact.pk.
- */
- public final TableField PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
-
- /**
- * The column contact.t_contact.forename.
- */
- public final TableField FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB.nullable(false), this, "");
-
- /**
- * The column contact.t_contact.surname.
- */
- public final TableField SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB.nullable(false), this, "");
-
- /**
- * The column contact.t_contact.contact.
- */
- public final TableField CONTACT = createField(DSL.name("contact"), SQLDataType.CLOB.nullable(false), this, "");
-
- /**
- * The column contact.t_contact.type.
- */
- public final TableField TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR.nullable(false).asEnumDataType(de.jottyfan.timetrack.db.contact.enums.EnumContacttype.class), this, "");
-
- private TContact(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private TContact(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased contact.t_contact table reference
- */
- public TContact(String alias) {
- this(DSL.name(alias), T_CONTACT);
- }
-
- /**
- * Create an aliased contact.t_contact table reference
- */
- public TContact(Name alias) {
- this(alias, T_CONTACT);
- }
-
- /**
- * Create a contact.t_contact table reference
- */
- public TContact() {
- this(DSL.name("t_contact"), null);
- }
-
- public TContact(Table child, ForeignKey key) {
- super(child, key, T_CONTACT);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Contact.CONTACT;
- }
-
- @Override
- public Identity getIdentity() {
- return (Identity) super.getIdentity();
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.T_CONTACT_PKEY;
- }
-
- @Override
- public TContact as(String alias) {
- return new TContact(DSL.name(alias), this);
- }
-
- @Override
- public TContact as(Name alias) {
- return new TContact(alias, this);
- }
-
- @Override
- public TContact as(Table> alias) {
- return new TContact(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TContact rename(String name) {
- return new TContact(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TContact rename(Name name) {
- return new TContact(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TContact rename(Table> name) {
- return new TContact(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row5 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row5 fieldsRow() {
- return (Row5) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function5 super Integer, ? super String, ? super String, ? super String, ? super EnumContacttype, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function5 super Integer, ? super String, ? super String, ? super String, ? super EnumContacttype, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/contact/tables/records/TContactRecord.java b/src/main/java/de/jottyfan/timetrack/db/contact/tables/records/TContactRecord.java
deleted file mode 100644
index df8a798..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/contact/tables/records/TContactRecord.java
+++ /dev/null
@@ -1,257 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.contact.tables.records;
-
-
-import de.jottyfan.timetrack.db.contact.enums.EnumContacttype;
-import de.jottyfan.timetrack.db.contact.tables.TContact;
-
-import org.jooq.Field;
-import org.jooq.Record1;
-import org.jooq.Record5;
-import org.jooq.Row5;
-import org.jooq.impl.UpdatableRecordImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class TContactRecord extends UpdatableRecordImpl implements Record5 {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * Setter for contact.t_contact.pk.
- */
- public void setPk(Integer value) {
- set(0, value);
- }
-
- /**
- * Getter for contact.t_contact.pk.
- */
- public Integer getPk() {
- return (Integer) get(0);
- }
-
- /**
- * Setter for contact.t_contact.forename.
- */
- public void setForename(String value) {
- set(1, value);
- }
-
- /**
- * Getter for contact.t_contact.forename.
- */
- public String getForename() {
- return (String) get(1);
- }
-
- /**
- * Setter for contact.t_contact.surname.
- */
- public void setSurname(String value) {
- set(2, value);
- }
-
- /**
- * Getter for contact.t_contact.surname.
- */
- public String getSurname() {
- return (String) get(2);
- }
-
- /**
- * Setter for contact.t_contact.contact.
- */
- public void setContact(String value) {
- set(3, value);
- }
-
- /**
- * Getter for contact.t_contact.contact.
- */
- public String getContact() {
- return (String) get(3);
- }
-
- /**
- * Setter for contact.t_contact.type.
- */
- public void setType(EnumContacttype value) {
- set(4, value);
- }
-
- /**
- * Getter for contact.t_contact.type.
- */
- public EnumContacttype getType() {
- return (EnumContacttype) get(4);
- }
-
- // -------------------------------------------------------------------------
- // Primary key information
- // -------------------------------------------------------------------------
-
- @Override
- public Record1 key() {
- return (Record1) super.key();
- }
-
- // -------------------------------------------------------------------------
- // Record5 type implementation
- // -------------------------------------------------------------------------
-
- @Override
- public Row5 fieldsRow() {
- return (Row5) super.fieldsRow();
- }
-
- @Override
- public Row5 valuesRow() {
- return (Row5) super.valuesRow();
- }
-
- @Override
- public Field field1() {
- return TContact.T_CONTACT.PK;
- }
-
- @Override
- public Field field2() {
- return TContact.T_CONTACT.FORENAME;
- }
-
- @Override
- public Field field3() {
- return TContact.T_CONTACT.SURNAME;
- }
-
- @Override
- public Field field4() {
- return TContact.T_CONTACT.CONTACT;
- }
-
- @Override
- public Field field5() {
- return TContact.T_CONTACT.TYPE;
- }
-
- @Override
- public Integer component1() {
- return getPk();
- }
-
- @Override
- public String component2() {
- return getForename();
- }
-
- @Override
- public String component3() {
- return getSurname();
- }
-
- @Override
- public String component4() {
- return getContact();
- }
-
- @Override
- public EnumContacttype component5() {
- return getType();
- }
-
- @Override
- public Integer value1() {
- return getPk();
- }
-
- @Override
- public String value2() {
- return getForename();
- }
-
- @Override
- public String value3() {
- return getSurname();
- }
-
- @Override
- public String value4() {
- return getContact();
- }
-
- @Override
- public EnumContacttype value5() {
- return getType();
- }
-
- @Override
- public TContactRecord value1(Integer value) {
- setPk(value);
- return this;
- }
-
- @Override
- public TContactRecord value2(String value) {
- setForename(value);
- return this;
- }
-
- @Override
- public TContactRecord value3(String value) {
- setSurname(value);
- return this;
- }
-
- @Override
- public TContactRecord value4(String value) {
- setContact(value);
- return this;
- }
-
- @Override
- public TContactRecord value5(EnumContacttype value) {
- setType(value);
- return this;
- }
-
- @Override
- public TContactRecord values(Integer value1, String value2, String value3, String value4, EnumContacttype value5) {
- value1(value1);
- value2(value2);
- value3(value3);
- value4(value4);
- value5(value5);
- return this;
- }
-
- // -------------------------------------------------------------------------
- // Constructors
- // -------------------------------------------------------------------------
-
- /**
- * Create a detached TContactRecord
- */
- public TContactRecord() {
- super(TContact.T_CONTACT);
- }
-
- /**
- * Create a detached, initialised TContactRecord
- */
- public TContactRecord(Integer pk, String forename, String surname, String contact, EnumContacttype type) {
- super(TContact.T_CONTACT);
-
- setPk(pk);
- setForename(forename);
- setSurname(surname);
- setContact(contact);
- setType(type);
- resetChangedOnNotNull();
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/Done.java b/src/main/java/de/jottyfan/timetrack/db/done/Done.java
deleted file mode 100644
index 14214c1..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/Done.java
+++ /dev/null
@@ -1,237 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done;
-
-
-import de.jottyfan.timetrack.db.DefaultCatalog;
-import de.jottyfan.timetrack.db.done.tables.TBilling;
-import de.jottyfan.timetrack.db.done.tables.TDone;
-import de.jottyfan.timetrack.db.done.tables.TFavorite;
-import de.jottyfan.timetrack.db.done.tables.TFreetime;
-import de.jottyfan.timetrack.db.done.tables.TJob;
-import de.jottyfan.timetrack.db.done.tables.TModule;
-import de.jottyfan.timetrack.db.done.tables.TOvertime;
-import de.jottyfan.timetrack.db.done.tables.TProject;
-import de.jottyfan.timetrack.db.done.tables.TRequiredWorktime;
-import de.jottyfan.timetrack.db.done.tables.VBilling;
-import de.jottyfan.timetrack.db.done.tables.VCurrentOvertime;
-import de.jottyfan.timetrack.db.done.tables.VDaily;
-import de.jottyfan.timetrack.db.done.tables.VDay;
-import de.jottyfan.timetrack.db.done.tables.VDaylimit;
-import de.jottyfan.timetrack.db.done.tables.VDaylimits;
-import de.jottyfan.timetrack.db.done.tables.VDaysummary;
-import de.jottyfan.timetrack.db.done.tables.VDone;
-import de.jottyfan.timetrack.db.done.tables.VDuration;
-import de.jottyfan.timetrack.db.done.tables.VFavorite;
-import de.jottyfan.timetrack.db.done.tables.VHamstersummary;
-import de.jottyfan.timetrack.db.done.tables.VJob;
-import de.jottyfan.timetrack.db.done.tables.VModule;
-import de.jottyfan.timetrack.db.done.tables.VProject;
-import de.jottyfan.timetrack.db.done.tables.VTasklist;
-import de.jottyfan.timetrack.db.done.tables.VTimelength;
-import de.jottyfan.timetrack.db.done.tables.VTotalofday;
-import de.jottyfan.timetrack.db.done.tables.VWorktime;
-
-import java.util.Arrays;
-import java.util.List;
-
-import org.jooq.Catalog;
-import org.jooq.Table;
-import org.jooq.impl.SchemaImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Done extends SchemaImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of done
- */
- public static final Done DONE = new Done();
-
- /**
- * The table done.t_billing.
- */
- public final TBilling T_BILLING = TBilling.T_BILLING;
-
- /**
- * The table done.t_done.
- */
- public final TDone T_DONE = TDone.T_DONE;
-
- /**
- * The table done.t_favorite.
- */
- public final TFavorite T_FAVORITE = TFavorite.T_FAVORITE;
-
- /**
- * The table done.t_freetime.
- */
- public final TFreetime T_FREETIME = TFreetime.T_FREETIME;
-
- /**
- * The table done.t_job.
- */
- public final TJob T_JOB = TJob.T_JOB;
-
- /**
- * The table done.t_module.
- */
- public final TModule T_MODULE = TModule.T_MODULE;
-
- /**
- * The table done.t_overtime.
- */
- public final TOvertime T_OVERTIME = TOvertime.T_OVERTIME;
-
- /**
- * The table done.t_project.
- */
- public final TProject T_PROJECT = TProject.T_PROJECT;
-
- /**
- * The table done.t_required_worktime.
- */
- public final TRequiredWorktime T_REQUIRED_WORKTIME = TRequiredWorktime.T_REQUIRED_WORKTIME;
-
- /**
- * The table done.v_billing.
- */
- public final VBilling V_BILLING = VBilling.V_BILLING;
-
- /**
- * The table done.v_current_overtime.
- */
- public final VCurrentOvertime V_CURRENT_OVERTIME = VCurrentOvertime.V_CURRENT_OVERTIME;
-
- /**
- * The table done.v_daily.
- */
- public final VDaily V_DAILY = VDaily.V_DAILY;
-
- /**
- * The table done.v_day.
- */
- public final VDay V_DAY = VDay.V_DAY;
-
- /**
- * The table done.v_daylimit.
- */
- public final VDaylimit V_DAYLIMIT = VDaylimit.V_DAYLIMIT;
-
- /**
- * The table done.v_daylimits.
- */
- public final VDaylimits V_DAYLIMITS = VDaylimits.V_DAYLIMITS;
-
- /**
- * The table done.v_daysummary.
- */
- public final VDaysummary V_DAYSUMMARY = VDaysummary.V_DAYSUMMARY;
-
- /**
- * The table done.v_done.
- */
- public final VDone V_DONE = VDone.V_DONE;
-
- /**
- * The table done.v_duration.
- */
- public final VDuration V_DURATION = VDuration.V_DURATION;
-
- /**
- * The table done.v_favorite.
- */
- public final VFavorite V_FAVORITE = VFavorite.V_FAVORITE;
-
- /**
- * The table done.v_hamstersummary.
- */
- public final VHamstersummary V_HAMSTERSUMMARY = VHamstersummary.V_HAMSTERSUMMARY;
-
- /**
- * The table done.v_job.
- */
- public final VJob V_JOB = VJob.V_JOB;
-
- /**
- * The table done.v_module.
- */
- public final VModule V_MODULE = VModule.V_MODULE;
-
- /**
- * The table done.v_project.
- */
- public final VProject V_PROJECT = VProject.V_PROJECT;
-
- /**
- * The table done.v_tasklist.
- */
- public final VTasklist V_TASKLIST = VTasklist.V_TASKLIST;
-
- /**
- * The table done.v_timelength.
- */
- public final VTimelength V_TIMELENGTH = VTimelength.V_TIMELENGTH;
-
- /**
- * The table done.v_totalofday.
- */
- public final VTotalofday V_TOTALOFDAY = VTotalofday.V_TOTALOFDAY;
-
- /**
- * The table done.v_worktime.
- */
- public final VWorktime V_WORKTIME = VWorktime.V_WORKTIME;
-
- /**
- * No further instances allowed
- */
- private Done() {
- super("done", null);
- }
-
-
- @Override
- public Catalog getCatalog() {
- return DefaultCatalog.DEFAULT_CATALOG;
- }
-
- @Override
- public final List> getTables() {
- return Arrays.asList(
- TBilling.T_BILLING,
- TDone.T_DONE,
- TFavorite.T_FAVORITE,
- TFreetime.T_FREETIME,
- TJob.T_JOB,
- TModule.T_MODULE,
- TOvertime.T_OVERTIME,
- TProject.T_PROJECT,
- TRequiredWorktime.T_REQUIRED_WORKTIME,
- VBilling.V_BILLING,
- VCurrentOvertime.V_CURRENT_OVERTIME,
- VDaily.V_DAILY,
- VDay.V_DAY,
- VDaylimit.V_DAYLIMIT,
- VDaylimits.V_DAYLIMITS,
- VDaysummary.V_DAYSUMMARY,
- VDone.V_DONE,
- VDuration.V_DURATION,
- VFavorite.V_FAVORITE,
- VHamstersummary.V_HAMSTERSUMMARY,
- VJob.V_JOB,
- VModule.V_MODULE,
- VProject.V_PROJECT,
- VTasklist.V_TASKLIST,
- VTimelength.V_TIMELENGTH,
- VTotalofday.V_TOTALOFDAY,
- VWorktime.V_WORKTIME
- );
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/Keys.java b/src/main/java/de/jottyfan/timetrack/db/done/Keys.java
deleted file mode 100644
index 9b3ad63..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/Keys.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done;
-
-
-import de.jottyfan.timetrack.db.done.tables.TBilling;
-import de.jottyfan.timetrack.db.done.tables.TDone;
-import de.jottyfan.timetrack.db.done.tables.TFavorite;
-import de.jottyfan.timetrack.db.done.tables.TFreetime;
-import de.jottyfan.timetrack.db.done.tables.TJob;
-import de.jottyfan.timetrack.db.done.tables.TModule;
-import de.jottyfan.timetrack.db.done.tables.TOvertime;
-import de.jottyfan.timetrack.db.done.tables.TProject;
-import de.jottyfan.timetrack.db.done.tables.TRequiredWorktime;
-import de.jottyfan.timetrack.db.done.tables.records.TBillingRecord;
-import de.jottyfan.timetrack.db.done.tables.records.TDoneRecord;
-import de.jottyfan.timetrack.db.done.tables.records.TFavoriteRecord;
-import de.jottyfan.timetrack.db.done.tables.records.TFreetimeRecord;
-import de.jottyfan.timetrack.db.done.tables.records.TJobRecord;
-import de.jottyfan.timetrack.db.done.tables.records.TModuleRecord;
-import de.jottyfan.timetrack.db.done.tables.records.TOvertimeRecord;
-import de.jottyfan.timetrack.db.done.tables.records.TProjectRecord;
-import de.jottyfan.timetrack.db.done.tables.records.TRequiredWorktimeRecord;
-import de.jottyfan.timetrack.db.profile.tables.TLogin;
-import de.jottyfan.timetrack.db.profile.tables.records.TLoginRecord;
-
-import org.jooq.ForeignKey;
-import org.jooq.TableField;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.Internal;
-
-
-/**
- * A class modelling foreign key relationships and constraints of tables in
- * done.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Keys {
-
- // -------------------------------------------------------------------------
- // UNIQUE and PRIMARY KEY definitions
- // -------------------------------------------------------------------------
-
- public static final UniqueKey T_BILLING_NAME_KEY = Internal.createUniqueKey(TBilling.T_BILLING, DSL.name("t_billing_name_key"), new TableField[] { TBilling.T_BILLING.NAME }, true);
- public static final UniqueKey T_BILLING_PKEY = Internal.createUniqueKey(TBilling.T_BILLING, DSL.name("t_billing_pkey"), new TableField[] { TBilling.T_BILLING.PK }, true);
- public static final UniqueKey T_BILLING_SHORTCUT_KEY = Internal.createUniqueKey(TBilling.T_BILLING, DSL.name("t_billing_shortcut_key"), new TableField[] { TBilling.T_BILLING.SHORTCUT }, true);
- public static final UniqueKey T_DONE_PKEY = Internal.createUniqueKey(TDone.T_DONE, DSL.name("t_done_pkey"), new TableField[] { TDone.T_DONE.PK }, true);
- public static final UniqueKey T_FAVORITE_PKEY = Internal.createUniqueKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_pkey"), new TableField[] { TFavorite.T_FAVORITE.PK_FAVORITE }, true);
- public static final UniqueKey T_FREETIME_DAY_FK_LOGIN_KEY = Internal.createUniqueKey(TFreetime.T_FREETIME, DSL.name("t_freetime_day_fk_login_key"), new TableField[] { TFreetime.T_FREETIME.DAY, TFreetime.T_FREETIME.FK_LOGIN }, true);
- public static final UniqueKey T_FREETIME_PKEY = Internal.createUniqueKey(TFreetime.T_FREETIME, DSL.name("t_freetime_pkey"), new TableField[] { TFreetime.T_FREETIME.PK_FREETIME }, true);
- public static final UniqueKey T_CATEGORY_NAME_KEY = Internal.createUniqueKey(TJob.T_JOB, DSL.name("t_category_name_key"), new TableField[] { TJob.T_JOB.NAME }, true);
- public static final UniqueKey T_CATEGORY_PKEY = Internal.createUniqueKey(TJob.T_JOB, DSL.name("t_category_pkey"), new TableField[] { TJob.T_JOB.PK }, true);
- public static final UniqueKey T_JOB_NAME_KEY = Internal.createUniqueKey(TModule.T_MODULE, DSL.name("t_job_name_key"), new TableField[] { TModule.T_MODULE.NAME }, true);
- public static final UniqueKey T_JOB_PKEY = Internal.createUniqueKey(TModule.T_MODULE, DSL.name("t_job_pkey"), new TableField[] { TModule.T_MODULE.PK }, true);
- public static final UniqueKey T_OVERTIME_FK_LOGIN_KEY = Internal.createUniqueKey(TOvertime.T_OVERTIME, DSL.name("t_overtime_fk_login_key"), new TableField[] { TOvertime.T_OVERTIME.FK_LOGIN }, true);
- public static final UniqueKey T_OVERTIME_PKEY = Internal.createUniqueKey(TOvertime.T_OVERTIME, DSL.name("t_overtime_pkey"), new TableField[] { TOvertime.T_OVERTIME.PK_OVERTIME }, true);
- public static final UniqueKey T_PROJECT_NAME_KEY = Internal.createUniqueKey(TProject.T_PROJECT, DSL.name("t_project_name_key"), new TableField[] { TProject.T_PROJECT.NAME }, true);
- public static final UniqueKey T_PROJECT_PKEY = Internal.createUniqueKey(TProject.T_PROJECT, DSL.name("t_project_pkey"), new TableField[] { TProject.T_PROJECT.PK }, true);
- public static final UniqueKey T_REQUIRED_WORKTIME_DAY_FK_LOGIN_KEY = Internal.createUniqueKey(TRequiredWorktime.T_REQUIRED_WORKTIME, DSL.name("t_required_worktime_day_fk_login_key"), new TableField[] { TRequiredWorktime.T_REQUIRED_WORKTIME.DAY, TRequiredWorktime.T_REQUIRED_WORKTIME.FK_LOGIN }, true);
- public static final UniqueKey T_REQUIRED_WORKTIME_PKEY = Internal.createUniqueKey(TRequiredWorktime.T_REQUIRED_WORKTIME, DSL.name("t_required_worktime_pkey"), new TableField[] { TRequiredWorktime.T_REQUIRED_WORKTIME.PK_REQUIRED_WORKTIME }, true);
-
- // -------------------------------------------------------------------------
- // FOREIGN KEY definitions
- // -------------------------------------------------------------------------
-
- public static final ForeignKey T_DONE__T_DONE_FK_BILLING_FKEY = Internal.createForeignKey(TDone.T_DONE, DSL.name("t_done_fk_billing_fkey"), new TableField[] { TDone.T_DONE.FK_BILLING }, Keys.T_BILLING_PKEY, new TableField[] { TBilling.T_BILLING.PK }, true);
- public static final ForeignKey T_DONE__T_DONE_FK_CATEGORY_FKEY = Internal.createForeignKey(TDone.T_DONE, DSL.name("t_done_fk_category_fkey"), new TableField[] { TDone.T_DONE.FK_JOB }, Keys.T_CATEGORY_PKEY, new TableField[] { TJob.T_JOB.PK }, true);
- public static final ForeignKey T_DONE__T_DONE_FK_JOB_FKEY = Internal.createForeignKey(TDone.T_DONE, DSL.name("t_done_fk_job_fkey"), new TableField[] { TDone.T_DONE.FK_MODULE }, Keys.T_JOB_PKEY, new TableField[] { TModule.T_MODULE.PK }, true);
- public static final ForeignKey T_DONE__T_DONE_FK_LOGIN_FKEY = Internal.createForeignKey(TDone.T_DONE, DSL.name("t_done_fk_login_fkey"), new TableField[] { TDone.T_DONE.FK_LOGIN }, de.jottyfan.timetrack.db.profile.Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
- public static final ForeignKey T_DONE__T_DONE_FK_PROJECT_FKEY = Internal.createForeignKey(TDone.T_DONE, DSL.name("t_done_fk_project_fkey"), new TableField[] { TDone.T_DONE.FK_PROJECT }, Keys.T_PROJECT_PKEY, new TableField[] { TProject.T_PROJECT.PK }, true);
- public static final ForeignKey T_FAVORITE__T_FAVORITE_FK_BILLING_FKEY = Internal.createForeignKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_fk_billing_fkey"), new TableField[] { TFavorite.T_FAVORITE.FK_BILLING }, Keys.T_BILLING_PKEY, new TableField[] { TBilling.T_BILLING.PK }, true);
- public static final ForeignKey T_FAVORITE__T_FAVORITE_FK_JOB_FKEY = Internal.createForeignKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_fk_job_fkey"), new TableField[] { TFavorite.T_FAVORITE.FK_JOB }, Keys.T_CATEGORY_PKEY, new TableField[] { TJob.T_JOB.PK }, true);
- public static final ForeignKey T_FAVORITE__T_FAVORITE_FK_LOGIN_FKEY = Internal.createForeignKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_fk_login_fkey"), new TableField[] { TFavorite.T_FAVORITE.FK_LOGIN }, de.jottyfan.timetrack.db.profile.Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
- public static final ForeignKey T_FAVORITE__T_FAVORITE_FK_MODULE_FKEY = Internal.createForeignKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_fk_module_fkey"), new TableField[] { TFavorite.T_FAVORITE.FK_MODULE }, Keys.T_JOB_PKEY, new TableField[] { TModule.T_MODULE.PK }, true);
- public static final ForeignKey T_FAVORITE__T_FAVORITE_FK_PROJECT_FKEY = Internal.createForeignKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_fk_project_fkey"), new TableField[] { TFavorite.T_FAVORITE.FK_PROJECT }, Keys.T_PROJECT_PKEY, new TableField[] { TProject.T_PROJECT.PK }, true);
- public static final ForeignKey T_FREETIME__T_FREETIME_FK_LOGIN_FKEY = Internal.createForeignKey(TFreetime.T_FREETIME, DSL.name("t_freetime_fk_login_fkey"), new TableField[] { TFreetime.T_FREETIME.FK_LOGIN }, de.jottyfan.timetrack.db.profile.Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
- public static final ForeignKey T_OVERTIME__T_OVERTIME_FK_LOGIN_FKEY = Internal.createForeignKey(TOvertime.T_OVERTIME, DSL.name("t_overtime_fk_login_fkey"), new TableField[] { TOvertime.T_OVERTIME.FK_LOGIN }, de.jottyfan.timetrack.db.profile.Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
- public static final ForeignKey T_REQUIRED_WORKTIME__T_REQUIRED_WORKTIME_FK_LOGIN_FKEY = Internal.createForeignKey(TRequiredWorktime.T_REQUIRED_WORKTIME, DSL.name("t_required_worktime_fk_login_fkey"), new TableField[] { TRequiredWorktime.T_REQUIRED_WORKTIME.FK_LOGIN }, de.jottyfan.timetrack.db.profile.Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/Tables.java b/src/main/java/de/jottyfan/timetrack/db/done/Tables.java
deleted file mode 100644
index 3e599de..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/Tables.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done;
-
-
-import de.jottyfan.timetrack.db.done.tables.TBilling;
-import de.jottyfan.timetrack.db.done.tables.TDone;
-import de.jottyfan.timetrack.db.done.tables.TFavorite;
-import de.jottyfan.timetrack.db.done.tables.TFreetime;
-import de.jottyfan.timetrack.db.done.tables.TJob;
-import de.jottyfan.timetrack.db.done.tables.TModule;
-import de.jottyfan.timetrack.db.done.tables.TOvertime;
-import de.jottyfan.timetrack.db.done.tables.TProject;
-import de.jottyfan.timetrack.db.done.tables.TRequiredWorktime;
-import de.jottyfan.timetrack.db.done.tables.VBilling;
-import de.jottyfan.timetrack.db.done.tables.VCurrentOvertime;
-import de.jottyfan.timetrack.db.done.tables.VDaily;
-import de.jottyfan.timetrack.db.done.tables.VDay;
-import de.jottyfan.timetrack.db.done.tables.VDaylimit;
-import de.jottyfan.timetrack.db.done.tables.VDaylimits;
-import de.jottyfan.timetrack.db.done.tables.VDaysummary;
-import de.jottyfan.timetrack.db.done.tables.VDone;
-import de.jottyfan.timetrack.db.done.tables.VDuration;
-import de.jottyfan.timetrack.db.done.tables.VFavorite;
-import de.jottyfan.timetrack.db.done.tables.VHamstersummary;
-import de.jottyfan.timetrack.db.done.tables.VJob;
-import de.jottyfan.timetrack.db.done.tables.VModule;
-import de.jottyfan.timetrack.db.done.tables.VProject;
-import de.jottyfan.timetrack.db.done.tables.VTasklist;
-import de.jottyfan.timetrack.db.done.tables.VTimelength;
-import de.jottyfan.timetrack.db.done.tables.VTotalofday;
-import de.jottyfan.timetrack.db.done.tables.VWorktime;
-
-
-/**
- * Convenience access to all tables in done.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class Tables {
-
- /**
- * The table done.t_billing.
- */
- public static final TBilling T_BILLING = TBilling.T_BILLING;
-
- /**
- * The table done.t_done.
- */
- public static final TDone T_DONE = TDone.T_DONE;
-
- /**
- * The table done.t_favorite.
- */
- public static final TFavorite T_FAVORITE = TFavorite.T_FAVORITE;
-
- /**
- * The table done.t_freetime.
- */
- public static final TFreetime T_FREETIME = TFreetime.T_FREETIME;
-
- /**
- * The table done.t_job.
- */
- public static final TJob T_JOB = TJob.T_JOB;
-
- /**
- * The table done.t_module.
- */
- public static final TModule T_MODULE = TModule.T_MODULE;
-
- /**
- * The table done.t_overtime.
- */
- public static final TOvertime T_OVERTIME = TOvertime.T_OVERTIME;
-
- /**
- * The table done.t_project.
- */
- public static final TProject T_PROJECT = TProject.T_PROJECT;
-
- /**
- * The table done.t_required_worktime.
- */
- public static final TRequiredWorktime T_REQUIRED_WORKTIME = TRequiredWorktime.T_REQUIRED_WORKTIME;
-
- /**
- * The table done.v_billing.
- */
- public static final VBilling V_BILLING = VBilling.V_BILLING;
-
- /**
- * The table done.v_current_overtime.
- */
- public static final VCurrentOvertime V_CURRENT_OVERTIME = VCurrentOvertime.V_CURRENT_OVERTIME;
-
- /**
- * The table done.v_daily.
- */
- public static final VDaily V_DAILY = VDaily.V_DAILY;
-
- /**
- * The table done.v_day.
- */
- public static final VDay V_DAY = VDay.V_DAY;
-
- /**
- * The table done.v_daylimit.
- */
- public static final VDaylimit V_DAYLIMIT = VDaylimit.V_DAYLIMIT;
-
- /**
- * The table done.v_daylimits.
- */
- public static final VDaylimits V_DAYLIMITS = VDaylimits.V_DAYLIMITS;
-
- /**
- * The table done.v_daysummary.
- */
- public static final VDaysummary V_DAYSUMMARY = VDaysummary.V_DAYSUMMARY;
-
- /**
- * The table done.v_done.
- */
- public static final VDone V_DONE = VDone.V_DONE;
-
- /**
- * The table done.v_duration.
- */
- public static final VDuration V_DURATION = VDuration.V_DURATION;
-
- /**
- * The table done.v_favorite.
- */
- public static final VFavorite V_FAVORITE = VFavorite.V_FAVORITE;
-
- /**
- * The table done.v_hamstersummary.
- */
- public static final VHamstersummary V_HAMSTERSUMMARY = VHamstersummary.V_HAMSTERSUMMARY;
-
- /**
- * The table done.v_job.
- */
- public static final VJob V_JOB = VJob.V_JOB;
-
- /**
- * The table done.v_module.
- */
- public static final VModule V_MODULE = VModule.V_MODULE;
-
- /**
- * The table done.v_project.
- */
- public static final VProject V_PROJECT = VProject.V_PROJECT;
-
- /**
- * The table done.v_tasklist.
- */
- public static final VTasklist V_TASKLIST = VTasklist.V_TASKLIST;
-
- /**
- * The table done.v_timelength.
- */
- public static final VTimelength V_TIMELENGTH = VTimelength.V_TIMELENGTH;
-
- /**
- * The table done.v_totalofday.
- */
- public static final VTotalofday V_TOTALOFDAY = VTotalofday.V_TOTALOFDAY;
-
- /**
- * The table done.v_worktime.
- */
- public static final VWorktime V_WORKTIME = VWorktime.V_WORKTIME;
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/TBilling.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/TBilling.java
deleted file mode 100644
index c74a19b..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/TBilling.java
+++ /dev/null
@@ -1,196 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done.tables;
-
-
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.done.Keys;
-import de.jottyfan.timetrack.db.done.tables.records.TBillingRecord;
-
-import java.time.LocalDateTime;
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function5;
-import org.jooq.Identity;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row5;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class TBilling extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of done.t_billing
- */
- public static final TBilling T_BILLING = new TBilling();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return TBillingRecord.class;
- }
-
- /**
- * The column done.t_billing.lastchange.
- */
- public final TableField LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
-
- /**
- * The column done.t_billing.pk.
- */
- public final TableField PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
-
- /**
- * The column done.t_billing.name.
- */
- public final TableField NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
-
- /**
- * The column done.t_billing.shortcut.
- */
- public final TableField SHORTCUT = createField(DSL.name("shortcut"), SQLDataType.CLOB.nullable(false), this, "");
-
- /**
- * The column done.t_billing.csskey.
- */
- public final TableField CSSKEY = createField(DSL.name("csskey"), SQLDataType.CLOB, this, "");
-
- private TBilling(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private TBilling(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased done.t_billing table reference
- */
- public TBilling(String alias) {
- this(DSL.name(alias), T_BILLING);
- }
-
- /**
- * Create an aliased done.t_billing table reference
- */
- public TBilling(Name alias) {
- this(alias, T_BILLING);
- }
-
- /**
- * Create a done.t_billing table reference
- */
- public TBilling() {
- this(DSL.name("t_billing"), null);
- }
-
- public TBilling(Table child, ForeignKey key) {
- super(child, key, T_BILLING);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Done.DONE;
- }
-
- @Override
- public Identity getIdentity() {
- return (Identity) super.getIdentity();
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.T_BILLING_PKEY;
- }
-
- @Override
- public List> getUniqueKeys() {
- return Arrays.asList(Keys.T_BILLING_NAME_KEY, Keys.T_BILLING_SHORTCUT_KEY);
- }
-
- @Override
- public TBilling as(String alias) {
- return new TBilling(DSL.name(alias), this);
- }
-
- @Override
- public TBilling as(Name alias) {
- return new TBilling(alias, this);
- }
-
- @Override
- public TBilling as(Table> alias) {
- return new TBilling(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TBilling rename(String name) {
- return new TBilling(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TBilling rename(Name name) {
- return new TBilling(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TBilling rename(Table> name) {
- return new TBilling(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row5 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row5 fieldsRow() {
- return (Row5) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function5 super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function5 super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/TDone.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/TDone.java
deleted file mode 100644
index b8d92c7..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/TDone.java
+++ /dev/null
@@ -1,273 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done.tables;
-
-
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.done.Keys;
-import de.jottyfan.timetrack.db.done.tables.records.TDoneRecord;
-import de.jottyfan.timetrack.db.profile.tables.TLogin;
-
-import java.time.LocalDateTime;
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function9;
-import org.jooq.Identity;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row9;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class TDone extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of done.t_done
- */
- public static final TDone T_DONE = new TDone();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return TDoneRecord.class;
- }
-
- /**
- * The column done.t_done.lastchange.
- */
- public final TableField LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
-
- /**
- * The column done.t_done.pk.
- */
- public final TableField PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
-
- /**
- * The column done.t_done.time_from.
- */
- public final TableField TIME_FROM = createField(DSL.name("time_from"), SQLDataType.LOCALDATETIME(6), this, "");
-
- /**
- * The column done.t_done.time_until.
- */
- public final TableField TIME_UNTIL = createField(DSL.name("time_until"), SQLDataType.LOCALDATETIME(6), this, "");
-
- /**
- * The column done.t_done.fk_project.
- */
- public final TableField FK_PROJECT = createField(DSL.name("fk_project"), SQLDataType.INTEGER, this, "");
-
- /**
- * The column done.t_done.fk_module.
- */
- public final TableField FK_MODULE = createField(DSL.name("fk_module"), SQLDataType.INTEGER, this, "");
-
- /**
- * The column done.t_done.fk_job.
- */
- public final TableField FK_JOB = createField(DSL.name("fk_job"), SQLDataType.INTEGER, this, "");
-
- /**
- * The column done.t_done.fk_login.
- */
- public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
-
- /**
- * The column done.t_done.fk_billing.
- */
- public final TableField FK_BILLING = createField(DSL.name("fk_billing"), SQLDataType.INTEGER, this, "");
-
- private TDone(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private TDone(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased done.t_done table reference
- */
- public TDone(String alias) {
- this(DSL.name(alias), T_DONE);
- }
-
- /**
- * Create an aliased done.t_done table reference
- */
- public TDone(Name alias) {
- this(alias, T_DONE);
- }
-
- /**
- * Create a done.t_done table reference
- */
- public TDone() {
- this(DSL.name("t_done"), null);
- }
-
- public TDone(Table child, ForeignKey key) {
- super(child, key, T_DONE);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Done.DONE;
- }
-
- @Override
- public Identity getIdentity() {
- return (Identity) super.getIdentity();
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.T_DONE_PKEY;
- }
-
- @Override
- public List> getReferences() {
- return Arrays.asList(Keys.T_DONE__T_DONE_FK_PROJECT_FKEY, Keys.T_DONE__T_DONE_FK_JOB_FKEY, Keys.T_DONE__T_DONE_FK_CATEGORY_FKEY, Keys.T_DONE__T_DONE_FK_LOGIN_FKEY, Keys.T_DONE__T_DONE_FK_BILLING_FKEY);
- }
-
- private transient TProject _tProject;
- private transient TModule _tModule;
- private transient TJob _tJob;
- private transient TLogin _tLogin;
- private transient TBilling _tBilling;
-
- /**
- * Get the implicit join path to the done.t_project table.
- */
- public TProject tProject() {
- if (_tProject == null)
- _tProject = new TProject(this, Keys.T_DONE__T_DONE_FK_PROJECT_FKEY);
-
- return _tProject;
- }
-
- /**
- * Get the implicit join path to the done.t_module table.
- */
- public TModule tModule() {
- if (_tModule == null)
- _tModule = new TModule(this, Keys.T_DONE__T_DONE_FK_JOB_FKEY);
-
- return _tModule;
- }
-
- /**
- * Get the implicit join path to the done.t_job table.
- */
- public TJob tJob() {
- if (_tJob == null)
- _tJob = new TJob(this, Keys.T_DONE__T_DONE_FK_CATEGORY_FKEY);
-
- return _tJob;
- }
-
- /**
- * Get the implicit join path to the profile.t_login table.
- */
- public TLogin tLogin() {
- if (_tLogin == null)
- _tLogin = new TLogin(this, Keys.T_DONE__T_DONE_FK_LOGIN_FKEY);
-
- return _tLogin;
- }
-
- /**
- * Get the implicit join path to the done.t_billing table.
- */
- public TBilling tBilling() {
- if (_tBilling == null)
- _tBilling = new TBilling(this, Keys.T_DONE__T_DONE_FK_BILLING_FKEY);
-
- return _tBilling;
- }
-
- @Override
- public TDone as(String alias) {
- return new TDone(DSL.name(alias), this);
- }
-
- @Override
- public TDone as(Name alias) {
- return new TDone(alias, this);
- }
-
- @Override
- public TDone as(Table> alias) {
- return new TDone(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TDone rename(String name) {
- return new TDone(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TDone rename(Name name) {
- return new TDone(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TDone rename(Table> name) {
- return new TDone(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row9 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row9 fieldsRow() {
- return (Row9) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function9 super LocalDateTime, ? super Integer, ? super LocalDateTime, ? super LocalDateTime, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function9 super LocalDateTime, ? super Integer, ? super LocalDateTime, ? super LocalDateTime, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/TFavorite.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/TFavorite.java
deleted file mode 100644
index 3fc0eca..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/TFavorite.java
+++ /dev/null
@@ -1,263 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done.tables;
-
-
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.done.Keys;
-import de.jottyfan.timetrack.db.done.tables.records.TFavoriteRecord;
-import de.jottyfan.timetrack.db.profile.tables.TLogin;
-
-import java.time.LocalDateTime;
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function7;
-import org.jooq.Identity;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row7;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class TFavorite extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of done.t_favorite
- */
- public static final TFavorite T_FAVORITE = new TFavorite();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return TFavoriteRecord.class;
- }
-
- /**
- * The column done.t_favorite.lastchange.
- */
- public final TableField LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
-
- /**
- * The column done.t_favorite.pk_favorite.
- */
- public final TableField PK_FAVORITE = createField(DSL.name("pk_favorite"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
-
- /**
- * The column done.t_favorite.fk_login.
- */
- public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
-
- /**
- * The column done.t_favorite.fk_project.
- */
- public final TableField FK_PROJECT = createField(DSL.name("fk_project"), SQLDataType.INTEGER, this, "");
-
- /**
- * The column done.t_favorite.fk_module.
- */
- public final TableField FK_MODULE = createField(DSL.name("fk_module"), SQLDataType.INTEGER, this, "");
-
- /**
- * The column done.t_favorite.fk_job.
- */
- public final TableField FK_JOB = createField(DSL.name("fk_job"), SQLDataType.INTEGER, this, "");
-
- /**
- * The column done.t_favorite.fk_billing.
- */
- public final TableField FK_BILLING = createField(DSL.name("fk_billing"), SQLDataType.INTEGER, this, "");
-
- private TFavorite(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private TFavorite(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased done.t_favorite table reference
- */
- public TFavorite(String alias) {
- this(DSL.name(alias), T_FAVORITE);
- }
-
- /**
- * Create an aliased done.t_favorite table reference
- */
- public TFavorite(Name alias) {
- this(alias, T_FAVORITE);
- }
-
- /**
- * Create a done.t_favorite table reference
- */
- public TFavorite() {
- this(DSL.name("t_favorite"), null);
- }
-
- public TFavorite(Table child, ForeignKey key) {
- super(child, key, T_FAVORITE);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Done.DONE;
- }
-
- @Override
- public Identity getIdentity() {
- return (Identity) super.getIdentity();
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.T_FAVORITE_PKEY;
- }
-
- @Override
- public List> getReferences() {
- return Arrays.asList(Keys.T_FAVORITE__T_FAVORITE_FK_LOGIN_FKEY, Keys.T_FAVORITE__T_FAVORITE_FK_PROJECT_FKEY, Keys.T_FAVORITE__T_FAVORITE_FK_MODULE_FKEY, Keys.T_FAVORITE__T_FAVORITE_FK_JOB_FKEY, Keys.T_FAVORITE__T_FAVORITE_FK_BILLING_FKEY);
- }
-
- private transient TLogin _tLogin;
- private transient TProject _tProject;
- private transient TModule _tModule;
- private transient TJob _tJob;
- private transient TBilling _tBilling;
-
- /**
- * Get the implicit join path to the profile.t_login table.
- */
- public TLogin tLogin() {
- if (_tLogin == null)
- _tLogin = new TLogin(this, Keys.T_FAVORITE__T_FAVORITE_FK_LOGIN_FKEY);
-
- return _tLogin;
- }
-
- /**
- * Get the implicit join path to the done.t_project table.
- */
- public TProject tProject() {
- if (_tProject == null)
- _tProject = new TProject(this, Keys.T_FAVORITE__T_FAVORITE_FK_PROJECT_FKEY);
-
- return _tProject;
- }
-
- /**
- * Get the implicit join path to the done.t_module table.
- */
- public TModule tModule() {
- if (_tModule == null)
- _tModule = new TModule(this, Keys.T_FAVORITE__T_FAVORITE_FK_MODULE_FKEY);
-
- return _tModule;
- }
-
- /**
- * Get the implicit join path to the done.t_job table.
- */
- public TJob tJob() {
- if (_tJob == null)
- _tJob = new TJob(this, Keys.T_FAVORITE__T_FAVORITE_FK_JOB_FKEY);
-
- return _tJob;
- }
-
- /**
- * Get the implicit join path to the done.t_billing table.
- */
- public TBilling tBilling() {
- if (_tBilling == null)
- _tBilling = new TBilling(this, Keys.T_FAVORITE__T_FAVORITE_FK_BILLING_FKEY);
-
- return _tBilling;
- }
-
- @Override
- public TFavorite as(String alias) {
- return new TFavorite(DSL.name(alias), this);
- }
-
- @Override
- public TFavorite as(Name alias) {
- return new TFavorite(alias, this);
- }
-
- @Override
- public TFavorite as(Table> alias) {
- return new TFavorite(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TFavorite rename(String name) {
- return new TFavorite(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TFavorite rename(Name name) {
- return new TFavorite(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TFavorite rename(Table> name) {
- return new TFavorite(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row7 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row7 fieldsRow() {
- return (Row7) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function7 super LocalDateTime, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function7 super LocalDateTime, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/TFreetime.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/TFreetime.java
deleted file mode 100644
index f0faa26..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/TFreetime.java
+++ /dev/null
@@ -1,215 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done.tables;
-
-
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.done.Keys;
-import de.jottyfan.timetrack.db.done.tables.records.TFreetimeRecord;
-import de.jottyfan.timetrack.db.profile.tables.TLogin;
-
-import java.time.LocalDate;
-import java.time.LocalTime;
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function5;
-import org.jooq.Identity;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row5;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class TFreetime extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of done.t_freetime
- */
- public static final TFreetime T_FREETIME = new TFreetime();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return TFreetimeRecord.class;
- }
-
- /**
- * The column done.t_freetime.pk_freetime.
- */
- public final TableField PK_FREETIME = createField(DSL.name("pk_freetime"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
-
- /**
- * The column done.t_freetime.day.
- */
- public final TableField DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE.nullable(false), this, "");
-
- /**
- * The column done.t_freetime.required_worktime.
- */
- public final TableField REQUIRED_WORKTIME = createField(DSL.name("required_worktime"), SQLDataType.LOCALTIME(6).nullable(false).defaultValue(DSL.field(DSL.raw("'00:00:00'::time without time zone"), SQLDataType.LOCALTIME)), this, "");
-
- /**
- * The column done.t_freetime.reason.
- */
- public final TableField REASON = createField(DSL.name("reason"), SQLDataType.CLOB, this, "");
-
- /**
- * The column done.t_freetime.fk_login.
- */
- public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
-
- private TFreetime(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private TFreetime(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased done.t_freetime table reference
- */
- public TFreetime(String alias) {
- this(DSL.name(alias), T_FREETIME);
- }
-
- /**
- * Create an aliased done.t_freetime table reference
- */
- public TFreetime(Name alias) {
- this(alias, T_FREETIME);
- }
-
- /**
- * Create a done.t_freetime table reference
- */
- public TFreetime() {
- this(DSL.name("t_freetime"), null);
- }
-
- public TFreetime(Table child, ForeignKey key) {
- super(child, key, T_FREETIME);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Done.DONE;
- }
-
- @Override
- public Identity getIdentity() {
- return (Identity) super.getIdentity();
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.T_FREETIME_PKEY;
- }
-
- @Override
- public List> getUniqueKeys() {
- return Arrays.asList(Keys.T_FREETIME_DAY_FK_LOGIN_KEY);
- }
-
- @Override
- public List> getReferences() {
- return Arrays.asList(Keys.T_FREETIME__T_FREETIME_FK_LOGIN_FKEY);
- }
-
- private transient TLogin _tLogin;
-
- /**
- * Get the implicit join path to the profile.t_login table.
- */
- public TLogin tLogin() {
- if (_tLogin == null)
- _tLogin = new TLogin(this, Keys.T_FREETIME__T_FREETIME_FK_LOGIN_FKEY);
-
- return _tLogin;
- }
-
- @Override
- public TFreetime as(String alias) {
- return new TFreetime(DSL.name(alias), this);
- }
-
- @Override
- public TFreetime as(Name alias) {
- return new TFreetime(alias, this);
- }
-
- @Override
- public TFreetime as(Table> alias) {
- return new TFreetime(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TFreetime rename(String name) {
- return new TFreetime(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TFreetime rename(Name name) {
- return new TFreetime(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TFreetime rename(Table> name) {
- return new TFreetime(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row5 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row5 fieldsRow() {
- return (Row5) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function5 super Integer, ? super LocalDate, ? super LocalTime, ? super String, ? super Integer, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function5 super Integer, ? super LocalDate, ? super LocalTime, ? super String, ? super Integer, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/TJob.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/TJob.java
deleted file mode 100644
index ecbf630..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/TJob.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done.tables;
-
-
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.done.Keys;
-import de.jottyfan.timetrack.db.done.tables.records.TJobRecord;
-
-import java.time.LocalDateTime;
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function3;
-import org.jooq.Identity;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row3;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class TJob extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of done.t_job
- */
- public static final TJob T_JOB = new TJob();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return TJobRecord.class;
- }
-
- /**
- * The column done.t_job.lastchange.
- */
- public final TableField LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
-
- /**
- * The column done.t_job.pk.
- */
- public final TableField PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
-
- /**
- * The column done.t_job.name.
- */
- public final TableField NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
-
- private TJob(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private TJob(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased done.t_job table reference
- */
- public TJob(String alias) {
- this(DSL.name(alias), T_JOB);
- }
-
- /**
- * Create an aliased done.t_job table reference
- */
- public TJob(Name alias) {
- this(alias, T_JOB);
- }
-
- /**
- * Create a done.t_job table reference
- */
- public TJob() {
- this(DSL.name("t_job"), null);
- }
-
- public TJob(Table child, ForeignKey key) {
- super(child, key, T_JOB);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Done.DONE;
- }
-
- @Override
- public Identity getIdentity() {
- return (Identity) super.getIdentity();
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.T_CATEGORY_PKEY;
- }
-
- @Override
- public List> getUniqueKeys() {
- return Arrays.asList(Keys.T_CATEGORY_NAME_KEY);
- }
-
- @Override
- public TJob as(String alias) {
- return new TJob(DSL.name(alias), this);
- }
-
- @Override
- public TJob as(Name alias) {
- return new TJob(alias, this);
- }
-
- @Override
- public TJob as(Table> alias) {
- return new TJob(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TJob rename(String name) {
- return new TJob(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TJob rename(Name name) {
- return new TJob(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TJob rename(Table> name) {
- return new TJob(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row3 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row3 fieldsRow() {
- return (Row3) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function3 super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function3 super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/TModule.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/TModule.java
deleted file mode 100644
index db28568..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/TModule.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done.tables;
-
-
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.done.Keys;
-import de.jottyfan.timetrack.db.done.tables.records.TModuleRecord;
-
-import java.time.LocalDateTime;
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function3;
-import org.jooq.Identity;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row3;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class TModule extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of done.t_module
- */
- public static final TModule T_MODULE = new TModule();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return TModuleRecord.class;
- }
-
- /**
- * The column done.t_module.lastchange.
- */
- public final TableField LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
-
- /**
- * The column done.t_module.pk.
- */
- public final TableField PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
-
- /**
- * The column done.t_module.name.
- */
- public final TableField NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
-
- private TModule(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private TModule(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased done.t_module table reference
- */
- public TModule(String alias) {
- this(DSL.name(alias), T_MODULE);
- }
-
- /**
- * Create an aliased done.t_module table reference
- */
- public TModule(Name alias) {
- this(alias, T_MODULE);
- }
-
- /**
- * Create a done.t_module table reference
- */
- public TModule() {
- this(DSL.name("t_module"), null);
- }
-
- public TModule(Table child, ForeignKey key) {
- super(child, key, T_MODULE);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Done.DONE;
- }
-
- @Override
- public Identity getIdentity() {
- return (Identity) super.getIdentity();
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.T_JOB_PKEY;
- }
-
- @Override
- public List> getUniqueKeys() {
- return Arrays.asList(Keys.T_JOB_NAME_KEY);
- }
-
- @Override
- public TModule as(String alias) {
- return new TModule(DSL.name(alias), this);
- }
-
- @Override
- public TModule as(Name alias) {
- return new TModule(alias, this);
- }
-
- @Override
- public TModule as(Table> alias) {
- return new TModule(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TModule rename(String name) {
- return new TModule(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TModule rename(Name name) {
- return new TModule(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TModule rename(Table> name) {
- return new TModule(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row3 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row3 fieldsRow() {
- return (Row3) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function3 super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function3 super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/TOvertime.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/TOvertime.java
deleted file mode 100644
index 9e55945..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/TOvertime.java
+++ /dev/null
@@ -1,209 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done.tables;
-
-
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.done.Keys;
-import de.jottyfan.timetrack.db.done.tables.records.TOvertimeRecord;
-import de.jottyfan.timetrack.db.profile.tables.TLogin;
-
-import java.time.LocalDateTime;
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function4;
-import org.jooq.Identity;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row4;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class TOvertime extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of done.t_overtime
- */
- public static final TOvertime T_OVERTIME = new TOvertime();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return TOvertimeRecord.class;
- }
-
- /**
- * The column done.t_overtime.pk_overtime.
- */
- public final TableField PK_OVERTIME = createField(DSL.name("pk_overtime"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
-
- /**
- * The column done.t_overtime.impact.
- */
- public final TableField IMPACT = createField(DSL.name("impact"), SQLDataType.LOCALDATETIME(6).nullable(false), this, "");
-
- /**
- * The column done.t_overtime.fk_login.
- */
- public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
-
- /**
- * The column done.t_overtime.overtime_minutes.
- */
- public final TableField OVERTIME_MINUTES = createField(DSL.name("overtime_minutes"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "");
-
- private TOvertime(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private TOvertime(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased done.t_overtime table reference
- */
- public TOvertime(String alias) {
- this(DSL.name(alias), T_OVERTIME);
- }
-
- /**
- * Create an aliased done.t_overtime table reference
- */
- public TOvertime(Name alias) {
- this(alias, T_OVERTIME);
- }
-
- /**
- * Create a done.t_overtime table reference
- */
- public TOvertime() {
- this(DSL.name("t_overtime"), null);
- }
-
- public TOvertime(Table child, ForeignKey key) {
- super(child, key, T_OVERTIME);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Done.DONE;
- }
-
- @Override
- public Identity getIdentity() {
- return (Identity) super.getIdentity();
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.T_OVERTIME_PKEY;
- }
-
- @Override
- public List> getUniqueKeys() {
- return Arrays.asList(Keys.T_OVERTIME_FK_LOGIN_KEY);
- }
-
- @Override
- public List> getReferences() {
- return Arrays.asList(Keys.T_OVERTIME__T_OVERTIME_FK_LOGIN_FKEY);
- }
-
- private transient TLogin _tLogin;
-
- /**
- * Get the implicit join path to the profile.t_login table.
- */
- public TLogin tLogin() {
- if (_tLogin == null)
- _tLogin = new TLogin(this, Keys.T_OVERTIME__T_OVERTIME_FK_LOGIN_FKEY);
-
- return _tLogin;
- }
-
- @Override
- public TOvertime as(String alias) {
- return new TOvertime(DSL.name(alias), this);
- }
-
- @Override
- public TOvertime as(Name alias) {
- return new TOvertime(alias, this);
- }
-
- @Override
- public TOvertime as(Table> alias) {
- return new TOvertime(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TOvertime rename(String name) {
- return new TOvertime(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TOvertime rename(Name name) {
- return new TOvertime(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TOvertime rename(Table> name) {
- return new TOvertime(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row4 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row4 fieldsRow() {
- return (Row4) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function4 super Integer, ? super LocalDateTime, ? super Integer, ? super Integer, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function4 super Integer, ? super LocalDateTime, ? super Integer, ? super Integer, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/TProject.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/TProject.java
deleted file mode 100644
index 9513ced..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/TProject.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done.tables;
-
-
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.done.Keys;
-import de.jottyfan.timetrack.db.done.tables.records.TProjectRecord;
-
-import java.time.LocalDateTime;
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function3;
-import org.jooq.Identity;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row3;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class TProject extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of done.t_project
- */
- public static final TProject T_PROJECT = new TProject();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return TProjectRecord.class;
- }
-
- /**
- * The column done.t_project.lastchange.
- */
- public final TableField LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
-
- /**
- * The column done.t_project.pk.
- */
- public final TableField PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
-
- /**
- * The column done.t_project.name.
- */
- public final TableField NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
-
- private TProject(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private TProject(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased done.t_project table reference
- */
- public TProject(String alias) {
- this(DSL.name(alias), T_PROJECT);
- }
-
- /**
- * Create an aliased done.t_project table reference
- */
- public TProject(Name alias) {
- this(alias, T_PROJECT);
- }
-
- /**
- * Create a done.t_project table reference
- */
- public TProject() {
- this(DSL.name("t_project"), null);
- }
-
- public TProject(Table child, ForeignKey key) {
- super(child, key, T_PROJECT);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Done.DONE;
- }
-
- @Override
- public Identity getIdentity() {
- return (Identity) super.getIdentity();
- }
-
- @Override
- public UniqueKey getPrimaryKey() {
- return Keys.T_PROJECT_PKEY;
- }
-
- @Override
- public List> getUniqueKeys() {
- return Arrays.asList(Keys.T_PROJECT_NAME_KEY);
- }
-
- @Override
- public TProject as(String alias) {
- return new TProject(DSL.name(alias), this);
- }
-
- @Override
- public TProject as(Name alias) {
- return new TProject(alias, this);
- }
-
- @Override
- public TProject as(Table> alias) {
- return new TProject(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TProject rename(String name) {
- return new TProject(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TProject rename(Name name) {
- return new TProject(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public TProject rename(Table> name) {
- return new TProject(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row3 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row3 fieldsRow() {
- return (Row3) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function3 super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function3 super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/TRequiredWorktime.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/TRequiredWorktime.java
deleted file mode 100644
index 9e24afd..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/TRequiredWorktime.java
+++ /dev/null
@@ -1,214 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done.tables;
-
-
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.done.Keys;
-import de.jottyfan.timetrack.db.done.tables.records.TRequiredWorktimeRecord;
-import de.jottyfan.timetrack.db.profile.tables.TLogin;
-
-import java.time.LocalDate;
-import java.util.Arrays;
-import java.util.List;
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function5;
-import org.jooq.Identity;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row5;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.UniqueKey;
-import org.jooq.impl.DSL;
-import org.jooq.impl.SQLDataType;
-import org.jooq.impl.TableImpl;
-
-
-/**
- * This class is generated by jOOQ.
- */
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class TRequiredWorktime extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of done.t_required_worktime
- */
- public static final TRequiredWorktime T_REQUIRED_WORKTIME = new TRequiredWorktime();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return TRequiredWorktimeRecord.class;
- }
-
- /**
- * The column done.t_required_worktime.pk_required_worktime.
- */
- public final TableField PK_REQUIRED_WORKTIME = createField(DSL.name("pk_required_worktime"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
-
- /**
- * The column done.t_required_worktime.day.
- */
- public final TableField DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE.nullable(false), this, "");
-
- /**
- * The column done.t_required_worktime.fk_login.
- */
- public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
-
- /**
- * The column done.t_required_worktime.required_minutes.
- */
- public final TableField REQUIRED_MINUTES = createField(DSL.name("required_minutes"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("480"), SQLDataType.INTEGER)), this, "");
-
- /**
- * The column done.t_required_worktime.reason.
- */
- public final TableField REASON = createField(DSL.name("reason"), SQLDataType.CLOB, this, "");
-
- private TRequiredWorktime(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private TRequiredWorktime(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
- }
-
- /**
- * Create an aliased done.t_required_worktime table reference
- */
- public TRequiredWorktime(String alias) {
- this(DSL.name(alias), T_REQUIRED_WORKTIME);
- }
-
- /**
- * Create an aliased done.t_required_worktime table reference
- */
- public TRequiredWorktime(Name alias) {
- this(alias, T_REQUIRED_WORKTIME);
- }
-
- /**
- * Create a done.t_required_worktime table reference
- */
- public TRequiredWorktime() {
- this(DSL.name("t_required_worktime"), null);
- }
-
- public TRequiredWorktime(Table