diff --git a/.classpath b/.classpath
new file mode 100644
index 0000000..e16509f
--- /dev/null
+++ b/.classpath
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3dccd98
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/bin/
+/.gradle/
diff --git a/.project b/.project
new file mode 100644
index 0000000..0429cbb
--- /dev/null
+++ b/.project
@@ -0,0 +1,23 @@
+
+
+ timetrackjooq
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.buildship.core.gradleprojectbuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+ org.eclipse.buildship.core.gradleprojectnature
+
+
diff --git a/.settings/org.eclipse.buildship.core.prefs b/.settings/org.eclipse.buildship.core.prefs
new file mode 100644
index 0000000..e889521
--- /dev/null
+++ b/.settings/org.eclipse.buildship.core.prefs
@@ -0,0 +1,2 @@
+connection.project.dir=
+eclipse.preferences.version=1
diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..18ad895
--- /dev/null
+++ b/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,4 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
+org.eclipse.jdt.core.compiler.compliance=11
+org.eclipse.jdt.core.compiler.source=11
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..36be063
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,102 @@
+buildscript {
+ repositories {
+ mavenLocal()
+ mavenCentral()
+ maven { url "https://repo.maven.apache.org/maven2" }
+ maven { url "https://plugins.gradle.org/m2/" }
+ jcenter()
+ }
+ dependencies {
+ classpath 'org.jooq:jooq-codegen:3.15.1'
+ classpath 'org.postgresql:postgresql:42.2.23'
+ classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:latest.release'
+ classpath 'nu.studer.jooq:nu.studer.jooq.gradle.plugin:6.0'
+ }
+}
+
+plugins {
+ id 'nu.studer.jooq' version '6.0'
+}
+
+apply plugin: 'java'
+apply plugin: 'eclipse'
+
+group = 'jottyfan'
+version = '0.1.0'
+def artifactId = 'timetrackjooq'
+def versionNumber = version
+
+description = """timetrackjooq"""
+
+sourceCompatibility = 11
+targetCompatibility = 11
+
+tasks.withType(JavaCompile) {
+ options.encoding = 'UTF-8'
+}
+
+repositories {
+ mavenLocal()
+ mavenCentral()
+ maven { url "https://repo.maven.apache.org/maven2" }
+}
+
+dependencies {
+ implementation 'org.jooq:jooq:3.15.1'
+ implementation 'org.jooq:jooq-codegen:3.15.1'
+
+ implementation 'org.postgresql:postgresql:42.2.23'
+
+ jooqGenerator 'org.postgresql:postgresql:42.2.23'
+}
+
+jooq {
+ edition = nu.studer.gradle.jooq.JooqEdition.OSS
+ version = '3.15.1'
+ configurations {
+ timetrack {
+ generateSchemaSourceOnCompilation = false
+ generationTool {
+ logging = org.jooq.meta.jaxb.Logging.WARN
+ jdbc {
+ driver = 'org.postgresql.Driver'
+ url = 'jdbc:postgresql://localhost:5432/timetrack'
+ user = dbUsername
+ password = dbPassword
+ }
+ generator {
+ name = 'org.jooq.codegen.DefaultGenerator'
+ database {
+ name = 'org.jooq.meta.postgres.PostgresDatabase'
+ schemata {
+ schema {
+ inputSchema = 'done'
+ }
+ schema {
+ inputSchema = 'profile'
+ }
+ schema {
+ inputSchema = 'contact'
+ }
+ schema {
+ inputSchema = 'note'
+ }
+ }
+ includes = '.*'
+ }
+ generate {
+ relations = true
+ records = true
+ }
+ target {
+ packageName = 'de.jottyfan.timetrack.db'
+ directory = 'src/main/java'
+ }
+ }
+ }
+ }
+ }
+}
+
+// removes the task dependency from compileJava to generateTimetrackJooq
+project.tasks.getByName('compileJava').dependsOn -= 'generateTimetrackJooq'
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..41d9927
Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..41dfb87
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,5 @@
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..9d9cdba
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,172 @@
+#!/usr/bin/env sh
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn () {
+ echo "$*"
+}
+
+die () {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+ NONSTOP* )
+ nonstop=true
+ ;;
+esac
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Escape application args
+save () {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
+}
+APP_ARGS=$(save "$@")
+
+# Collect all arguments for the java command, following the shell quoting and substitution rules
+eval set -- $DEFAULT_JVM_OPTS --illegal-access=permit $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
+ cd "$(dirname "$0")"
+fi
+
+exec "$JAVACMD" "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..e95643d
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,84 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windows variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 0000000..eabb17b
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1 @@
+rootProject.name = 'timetrackjooq'
diff --git a/src/main/java/de/jottyfan/timetrack/db/DefaultCatalog.java b/src/main/java/de/jottyfan/timetrack/db/DefaultCatalog.java
new file mode 100644
index 0000000..a90e3ad
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/DefaultCatalog.java
@@ -0,0 +1,68 @@
+/*
+ * 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.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
+ );
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/contact/Contact.java b/src/main/java/de/jottyfan/timetrack/db/contact/Contact.java
new file mode 100644
index 0000000..5e9531f
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/contact/Contact.java
@@ -0,0 +1,55 @@
+/*
+ * 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
new file mode 100644
index 0000000..f6ddbd2
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/contact/Keys.java
@@ -0,0 +1,28 @@
+/*
+ * 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
new file mode 100644
index 0000000..3ab72fe
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/contact/Tables.java
@@ -0,0 +1,20 @@
+/*
+ * 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
new file mode 100644
index 0000000..93bbf2f
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/contact/enums/EnumContacttype.java
@@ -0,0 +1,55 @@
+/*
+ * 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;
+ }
+}
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
new file mode 100644
index 0000000..f20cc95
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/contact/tables/TContact.java
@@ -0,0 +1,156 @@
+/*
+ * 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 org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row5;
+import org.jooq.Schema;
+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);
+ }
+
+ /**
+ * 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);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row5 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row5 fieldsRow() {
+ return (Row5) super.fieldsRow();
+ }
+}
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
new file mode 100644
index 0000000..7a5440d
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/contact/tables/records/TContactRecord.java
@@ -0,0 +1,256 @@
+/*
+ * 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);
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/Done.java b/src/main/java/de/jottyfan/timetrack/db/done/Done.java
new file mode 100644
index 0000000..f3a0045
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/Done.java
@@ -0,0 +1,167 @@
+/*
+ * 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.TJob;
+import de.jottyfan.timetrack.db.done.tables.TModule;
+import de.jottyfan.timetrack.db.done.tables.TProject;
+import de.jottyfan.timetrack.db.done.tables.VDaily;
+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.VEucanshare;
+import de.jottyfan.timetrack.db.done.tables.VHamster;
+import de.jottyfan.timetrack.db.done.tables.VHamstersummary;
+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_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_project
.
+ */
+ public final TProject T_PROJECT = TProject.T_PROJECT;
+
+ /**
+ * The table done.v_daily
.
+ */
+ public final VDaily V_DAILY = VDaily.V_DAILY;
+
+ /**
+ * 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_eucanshare
.
+ */
+ public final VEucanshare V_EUCANSHARE = VEucanshare.V_EUCANSHARE;
+
+ /**
+ * The table done.v_hamster
.
+ */
+ public final VHamster V_HAMSTER = VHamster.V_HAMSTER;
+
+ /**
+ * The table done.v_hamstersummary
.
+ */
+ public final VHamstersummary V_HAMSTERSUMMARY = VHamstersummary.V_HAMSTERSUMMARY;
+
+ /**
+ * 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,
+ TJob.T_JOB,
+ TModule.T_MODULE,
+ TProject.T_PROJECT,
+ VDaily.V_DAILY,
+ VDaylimits.V_DAYLIMITS,
+ VDaysummary.V_DAYSUMMARY,
+ VDone.V_DONE,
+ VDuration.V_DURATION,
+ VEucanshare.V_EUCANSHARE,
+ VHamster.V_HAMSTER,
+ VHamstersummary.V_HAMSTERSUMMARY,
+ 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
new file mode 100644
index 0000000..ce37656
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/Keys.java
@@ -0,0 +1,58 @@
+/*
+ * 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.TJob;
+import de.jottyfan.timetrack.db.done.tables.TModule;
+import de.jottyfan.timetrack.db.done.tables.TProject;
+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.TJobRecord;
+import de.jottyfan.timetrack.db.done.tables.records.TModuleRecord;
+import de.jottyfan.timetrack.db.done.tables.records.TProjectRecord;
+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_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_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);
+
+ // -------------------------------------------------------------------------
+ // 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);
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/Tables.java b/src/main/java/de/jottyfan/timetrack/db/done/Tables.java
new file mode 100644
index 0000000..9df2fb4
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/Tables.java
@@ -0,0 +1,116 @@
+/*
+ * 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.TJob;
+import de.jottyfan.timetrack.db.done.tables.TModule;
+import de.jottyfan.timetrack.db.done.tables.TProject;
+import de.jottyfan.timetrack.db.done.tables.VDaily;
+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.VEucanshare;
+import de.jottyfan.timetrack.db.done.tables.VHamster;
+import de.jottyfan.timetrack.db.done.tables.VHamstersummary;
+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_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_project
.
+ */
+ public static final TProject T_PROJECT = TProject.T_PROJECT;
+
+ /**
+ * The table done.v_daily
.
+ */
+ public static final VDaily V_DAILY = VDaily.V_DAILY;
+
+ /**
+ * 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_eucanshare
.
+ */
+ public static final VEucanshare V_EUCANSHARE = VEucanshare.V_EUCANSHARE;
+
+ /**
+ * The table done.v_hamster
.
+ */
+ public static final VHamster V_HAMSTER = VHamster.V_HAMSTER;
+
+ /**
+ * The table done.v_hamstersummary
.
+ */
+ public static final VHamstersummary V_HAMSTERSUMMARY = VHamstersummary.V_HAMSTERSUMMARY;
+
+ /**
+ * 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
new file mode 100644
index 0000000..2ffc2f1
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/TBilling.java
@@ -0,0 +1,164 @@
+/*
+ * 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 org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row5;
+import org.jooq.Schema;
+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("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);
+ }
+
+ /**
+ * 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);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row5 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row5 fieldsRow() {
+ return (Row5) super.fieldsRow();
+ }
+}
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
new file mode 100644
index 0000000..fdf2663
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/TDone.java
@@ -0,0 +1,226 @@
+/*
+ * 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 org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row9;
+import org.jooq.Schema;
+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("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;
+
+ public TProject tProject() {
+ if (_tProject == null)
+ _tProject = new TProject(this, Keys.T_DONE__T_DONE_FK_PROJECT_FKEY);
+
+ return _tProject;
+ }
+
+ public TModule tModule() {
+ if (_tModule == null)
+ _tModule = new TModule(this, Keys.T_DONE__T_DONE_FK_JOB_FKEY);
+
+ return _tModule;
+ }
+
+ public TJob tJob() {
+ if (_tJob == null)
+ _tJob = new TJob(this, Keys.T_DONE__T_DONE_FK_CATEGORY_FKEY);
+
+ return _tJob;
+ }
+
+ public TLogin tLogin() {
+ if (_tLogin == null)
+ _tLogin = new TLogin(this, Keys.T_DONE__T_DONE_FK_LOGIN_FKEY);
+
+ return _tLogin;
+ }
+
+ 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);
+ }
+
+ /**
+ * 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);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row9 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row9 fieldsRow() {
+ return (Row9) super.fieldsRow();
+ }
+}
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
new file mode 100644
index 0000000..69e0c0d
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/TJob.java
@@ -0,0 +1,154 @@
+/*
+ * 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 org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row3;
+import org.jooq.Schema;
+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("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);
+ }
+
+ /**
+ * 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);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row3 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row3 fieldsRow() {
+ return (Row3) super.fieldsRow();
+ }
+}
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
new file mode 100644
index 0000000..a67481a
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/TModule.java
@@ -0,0 +1,154 @@
+/*
+ * 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 org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row3;
+import org.jooq.Schema;
+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("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);
+ }
+
+ /**
+ * 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);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row3 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row3 fieldsRow() {
+ return (Row3) super.fieldsRow();
+ }
+}
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
new file mode 100644
index 0000000..39cfd17
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/TProject.java
@@ -0,0 +1,154 @@
+/*
+ * 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 org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row3;
+import org.jooq.Schema;
+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("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);
+ }
+
+ /**
+ * 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);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row3 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row3 fieldsRow() {
+ return (Row3) super.fieldsRow();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaily.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaily.java
new file mode 100644
index 0000000..68fe508
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaily.java
@@ -0,0 +1,138 @@
+/*
+ * 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.tables.records.VDailyRecord;
+
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row4;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+import org.jooq.types.YearToSecond;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class VDaily extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.v_daily
+ */
+ public static final VDaily V_DAILY = new VDaily();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return VDailyRecord.class;
+ }
+
+ /**
+ * The column done.v_daily.worktime
.
+ */
+ public final TableField WORKTIME = createField(DSL.name("worktime"), SQLDataType.INTERVAL, this, "");
+
+ /**
+ * The column done.v_daily.day
.
+ */
+ public final TableField DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_daily.login
.
+ */
+ public final TableField LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_daily.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
+
+ private VDaily(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private VDaily(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
+ }
+
+ /**
+ * Create an aliased done.v_daily
table reference
+ */
+ public VDaily(String alias) {
+ this(DSL.name(alias), V_DAILY);
+ }
+
+ /**
+ * Create an aliased done.v_daily
table reference
+ */
+ public VDaily(Name alias) {
+ this(alias, V_DAILY);
+ }
+
+ /**
+ * Create a done.v_daily
table reference
+ */
+ public VDaily() {
+ this(DSL.name("v_daily"), null);
+ }
+
+ public VDaily(Table child, ForeignKey key) {
+ super(child, key, V_DAILY);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public VDaily as(String alias) {
+ return new VDaily(DSL.name(alias), this);
+ }
+
+ @Override
+ public VDaily as(Name alias) {
+ return new VDaily(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaily rename(String name) {
+ return new VDaily(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaily rename(Name name) {
+ return new VDaily(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row4 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row4 fieldsRow() {
+ return (Row4) super.fieldsRow();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaylimits.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaylimits.java
new file mode 100644
index 0000000..01a562f
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaylimits.java
@@ -0,0 +1,140 @@
+/*
+ * 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.tables.records.VDaylimitsRecord;
+
+import java.time.LocalDateTime;
+import java.time.OffsetDateTime;
+
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row4;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class VDaylimits extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.v_daylimits
+ */
+ public static final VDaylimits V_DAYLIMITS = new VDaylimits();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return VDaylimitsRecord.class;
+ }
+
+ /**
+ * The column done.v_daylimits.work_start
.
+ */
+ public final TableField WORK_START = createField(DSL.name("work_start"), SQLDataType.LOCALDATETIME(6), this, "");
+
+ /**
+ * The column done.v_daylimits.work_end
.
+ */
+ public final TableField WORK_END = createField(DSL.name("work_end"), SQLDataType.TIMESTAMPWITHTIMEZONE(6), this, "");
+
+ /**
+ * The column done.v_daylimits.day
.
+ */
+ public final TableField DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_daylimits.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
+
+ private VDaylimits(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private VDaylimits(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
+ }
+
+ /**
+ * Create an aliased done.v_daylimits
table reference
+ */
+ public VDaylimits(String alias) {
+ this(DSL.name(alias), V_DAYLIMITS);
+ }
+
+ /**
+ * Create an aliased done.v_daylimits
table reference
+ */
+ public VDaylimits(Name alias) {
+ this(alias, V_DAYLIMITS);
+ }
+
+ /**
+ * Create a done.v_daylimits
table reference
+ */
+ public VDaylimits() {
+ this(DSL.name("v_daylimits"), null);
+ }
+
+ public VDaylimits(Table child, ForeignKey key) {
+ super(child, key, V_DAYLIMITS);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public VDaylimits as(String alias) {
+ return new VDaylimits(DSL.name(alias), this);
+ }
+
+ @Override
+ public VDaylimits as(Name alias) {
+ return new VDaylimits(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaylimits rename(String name) {
+ return new VDaylimits(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaylimits rename(Name name) {
+ return new VDaylimits(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row4 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row4 fieldsRow() {
+ return (Row4) super.fieldsRow();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaysummary.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaysummary.java
new file mode 100644
index 0000000..2f74a00
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaysummary.java
@@ -0,0 +1,156 @@
+/*
+ * 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.tables.records.VDaysummaryRecord;
+
+import java.time.LocalDateTime;
+import java.time.OffsetDateTime;
+
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row7;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+import org.jooq.types.YearToSecond;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class VDaysummary extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.v_daysummary
+ */
+ public static final VDaysummary V_DAYSUMMARY = new VDaysummary();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return VDaysummaryRecord.class;
+ }
+
+ /**
+ * The column done.v_daysummary.breaktime
.
+ */
+ public final TableField BREAKTIME = createField(DSL.name("breaktime"), SQLDataType.INTERVAL, this, "");
+
+ /**
+ * The column done.v_daysummary.worktime
.
+ */
+ public final TableField WORKTIME = createField(DSL.name("worktime"), SQLDataType.INTERVAL, this, "");
+
+ /**
+ * The column done.v_daysummary.work_start
.
+ */
+ public final TableField WORK_START = createField(DSL.name("work_start"), SQLDataType.LOCALDATETIME(6), this, "");
+
+ /**
+ * The column done.v_daysummary.work_end
.
+ */
+ public final TableField WORK_END = createField(DSL.name("work_end"), SQLDataType.TIMESTAMPWITHTIMEZONE(6), this, "");
+
+ /**
+ * The column done.v_daysummary.day
.
+ */
+ public final TableField DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_daysummary.login
.
+ */
+ public final TableField LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_daysummary.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
+
+ private VDaysummary(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private VDaysummary(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
+ }
+
+ /**
+ * Create an aliased done.v_daysummary
table reference
+ */
+ public VDaysummary(String alias) {
+ this(DSL.name(alias), V_DAYSUMMARY);
+ }
+
+ /**
+ * Create an aliased done.v_daysummary
table reference
+ */
+ public VDaysummary(Name alias) {
+ this(alias, V_DAYSUMMARY);
+ }
+
+ /**
+ * Create a done.v_daysummary
table reference
+ */
+ public VDaysummary() {
+ this(DSL.name("v_daysummary"), null);
+ }
+
+ public VDaysummary(Table child, ForeignKey key) {
+ super(child, key, V_DAYSUMMARY);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public VDaysummary as(String alias) {
+ return new VDaysummary(DSL.name(alias), this);
+ }
+
+ @Override
+ public VDaysummary as(Name alias) {
+ return new VDaysummary(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaysummary rename(String name) {
+ return new VDaysummary(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaysummary rename(Name name) {
+ return new VDaysummary(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row7 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row7 fieldsRow() {
+ return (Row7) super.fieldsRow();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VDone.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDone.java
new file mode 100644
index 0000000..c1d3ba8
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDone.java
@@ -0,0 +1,159 @@
+/*
+ * 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.tables.records.VDoneRecord;
+
+import java.time.LocalDateTime;
+
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row8;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class VDone extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.v_done
+ */
+ public static final VDone V_DONE = new VDone();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return VDoneRecord.class;
+ }
+
+ /**
+ * The column done.v_done.fk_done
.
+ */
+ public final TableField FK_DONE = createField(DSL.name("fk_done"), SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column done.v_done.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column done.v_done.time_from
.
+ */
+ public final TableField TIME_FROM = createField(DSL.name("time_from"), SQLDataType.LOCALDATETIME(6), this, "");
+
+ /**
+ * The column done.v_done.time_until
.
+ */
+ public final TableField TIME_UNTIL = createField(DSL.name("time_until"), SQLDataType.LOCALDATETIME(6), this, "");
+
+ /**
+ * The column done.v_done.project_name
.
+ */
+ public final TableField PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_done.module_name
.
+ */
+ public final TableField MODULE_NAME = createField(DSL.name("module_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_done.job_name
.
+ */
+ public final TableField JOB_NAME = createField(DSL.name("job_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_done.login
.
+ */
+ public final TableField LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
+
+ private VDone(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private VDone(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
+ }
+
+ /**
+ * Create an aliased done.v_done
table reference
+ */
+ public VDone(String alias) {
+ this(DSL.name(alias), V_DONE);
+ }
+
+ /**
+ * Create an aliased done.v_done
table reference
+ */
+ public VDone(Name alias) {
+ this(alias, V_DONE);
+ }
+
+ /**
+ * Create a done.v_done
table reference
+ */
+ public VDone() {
+ this(DSL.name("v_done"), null);
+ }
+
+ public VDone(Table child, ForeignKey key) {
+ super(child, key, V_DONE);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public VDone as(String alias) {
+ return new VDone(DSL.name(alias), this);
+ }
+
+ @Override
+ public VDone as(Name alias) {
+ return new VDone(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDone rename(String name) {
+ return new VDone(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDone rename(Name name) {
+ return new VDone(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row8 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row8 fieldsRow() {
+ return (Row8) super.fieldsRow();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VDuration.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDuration.java
new file mode 100644
index 0000000..481887d
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDuration.java
@@ -0,0 +1,153 @@
+/*
+ * 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.tables.records.VDurationRecord;
+
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row7;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+import org.jooq.types.YearToSecond;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class VDuration extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.v_duration
+ */
+ public static final VDuration V_DURATION = new VDuration();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return VDurationRecord.class;
+ }
+
+ /**
+ * The column done.v_duration.day
.
+ */
+ public final TableField DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_duration.duration
.
+ */
+ public final TableField DURATION = createField(DSL.name("duration"), SQLDataType.INTERVAL, this, "");
+
+ /**
+ * The column done.v_duration.project_name
.
+ */
+ public final TableField PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_duration.module_name
.
+ */
+ public final TableField MODULE_NAME = createField(DSL.name("module_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_duration.job_name
.
+ */
+ public final TableField JOB_NAME = createField(DSL.name("job_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_duration.login
.
+ */
+ public final TableField LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_duration.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
+
+ private VDuration(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private VDuration(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
+ }
+
+ /**
+ * Create an aliased done.v_duration
table reference
+ */
+ public VDuration(String alias) {
+ this(DSL.name(alias), V_DURATION);
+ }
+
+ /**
+ * Create an aliased done.v_duration
table reference
+ */
+ public VDuration(Name alias) {
+ this(alias, V_DURATION);
+ }
+
+ /**
+ * Create a done.v_duration
table reference
+ */
+ public VDuration() {
+ this(DSL.name("v_duration"), null);
+ }
+
+ public VDuration(Table child, ForeignKey key) {
+ super(child, key, V_DURATION);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public VDuration as(String alias) {
+ return new VDuration(DSL.name(alias), this);
+ }
+
+ @Override
+ public VDuration as(Name alias) {
+ return new VDuration(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDuration rename(String name) {
+ return new VDuration(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDuration rename(Name name) {
+ return new VDuration(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row7 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row7 fieldsRow() {
+ return (Row7) super.fieldsRow();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VEucanshare.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VEucanshare.java
new file mode 100644
index 0000000..8349f7d
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VEucanshare.java
@@ -0,0 +1,160 @@
+/*
+ * 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.tables.records.VEucanshareRecord;
+
+import java.time.LocalDate;
+
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row8;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+import org.jooq.types.YearToSecond;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class VEucanshare extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.v_eucanshare
+ */
+ public static final VEucanshare V_EUCANSHARE = new VEucanshare();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return VEucanshareRecord.class;
+ }
+
+ /**
+ * The column done.v_eucanshare.fk_done
.
+ */
+ public final TableField FK_DONE = createField(DSL.name("fk_done"), SQLDataType.INTEGER, this, "");
+
+ /**
+ * The column done.v_eucanshare.workday
.
+ */
+ public final TableField WORKDAY = createField(DSL.name("workday"), SQLDataType.LOCALDATE, this, "");
+
+ /**
+ * The column done.v_eucanshare.duration
.
+ */
+ public final TableField DURATION = createField(DSL.name("duration"), SQLDataType.INTERVAL, this, "");
+
+ /**
+ * The column done.v_eucanshare.project_name
.
+ */
+ public final TableField PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_eucanshare.module_name
.
+ */
+ public final TableField MODULE_NAME = createField(DSL.name("module_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_eucanshare.job_name
.
+ */
+ public final TableField JOB_NAME = createField(DSL.name("job_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_eucanshare.billing_name
.
+ */
+ public final TableField BILLING_NAME = createField(DSL.name("billing_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_eucanshare.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
+
+ private VEucanshare(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private VEucanshare(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
+ }
+
+ /**
+ * Create an aliased done.v_eucanshare
table reference
+ */
+ public VEucanshare(String alias) {
+ this(DSL.name(alias), V_EUCANSHARE);
+ }
+
+ /**
+ * Create an aliased done.v_eucanshare
table reference
+ */
+ public VEucanshare(Name alias) {
+ this(alias, V_EUCANSHARE);
+ }
+
+ /**
+ * Create a done.v_eucanshare
table reference
+ */
+ public VEucanshare() {
+ this(DSL.name("v_eucanshare"), null);
+ }
+
+ public VEucanshare(Table child, ForeignKey key) {
+ super(child, key, V_EUCANSHARE);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public VEucanshare as(String alias) {
+ return new VEucanshare(DSL.name(alias), this);
+ }
+
+ @Override
+ public VEucanshare as(Name alias) {
+ return new VEucanshare(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VEucanshare rename(String name) {
+ return new VEucanshare(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VEucanshare rename(Name name) {
+ return new VEucanshare(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row8 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row8 fieldsRow() {
+ return (Row8) super.fieldsRow();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VHamster.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VHamster.java
new file mode 100644
index 0000000..1d5d911
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VHamster.java
@@ -0,0 +1,150 @@
+/*
+ * 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.tables.records.VHamsterRecord;
+
+import java.time.LocalDate;
+
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row6;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+import org.jooq.types.YearToSecond;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class VHamster extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.v_hamster
+ */
+ public static final VHamster V_HAMSTER = new VHamster();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return VHamsterRecord.class;
+ }
+
+ /**
+ * The column done.v_hamster.workday
.
+ */
+ public final TableField WORKDAY = createField(DSL.name("workday"), SQLDataType.LOCALDATE, this, "");
+
+ /**
+ * The column done.v_hamster.duration
.
+ */
+ public final TableField DURATION = createField(DSL.name("duration"), SQLDataType.INTERVAL, this, "");
+
+ /**
+ * The column done.v_hamster.project_name
.
+ */
+ public final TableField PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_hamster.module_name
.
+ */
+ public final TableField MODULE_NAME = createField(DSL.name("module_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_hamster.job_name
.
+ */
+ public final TableField JOB_NAME = createField(DSL.name("job_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_hamster.login
.
+ */
+ public final TableField LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
+
+ private VHamster(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private VHamster(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
+ }
+
+ /**
+ * Create an aliased done.v_hamster
table reference
+ */
+ public VHamster(String alias) {
+ this(DSL.name(alias), V_HAMSTER);
+ }
+
+ /**
+ * Create an aliased done.v_hamster
table reference
+ */
+ public VHamster(Name alias) {
+ this(alias, V_HAMSTER);
+ }
+
+ /**
+ * Create a done.v_hamster
table reference
+ */
+ public VHamster() {
+ this(DSL.name("v_hamster"), null);
+ }
+
+ public VHamster(Table child, ForeignKey key) {
+ super(child, key, V_HAMSTER);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public VHamster as(String alias) {
+ return new VHamster(DSL.name(alias), this);
+ }
+
+ @Override
+ public VHamster as(Name alias) {
+ return new VHamster(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VHamster rename(String name) {
+ return new VHamster(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VHamster rename(Name name) {
+ return new VHamster(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row6 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row6 fieldsRow() {
+ return (Row6) super.fieldsRow();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VHamstersummary.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VHamstersummary.java
new file mode 100644
index 0000000..5dcd242
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VHamstersummary.java
@@ -0,0 +1,149 @@
+/*
+ * 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.tables.records.VHamstersummaryRecord;
+
+import java.time.LocalDate;
+
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row6;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class VHamstersummary extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.v_hamstersummary
+ */
+ public static final VHamstersummary V_HAMSTERSUMMARY = new VHamstersummary();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return VHamstersummaryRecord.class;
+ }
+
+ /**
+ * The column done.v_hamstersummary.workday
.
+ */
+ public final TableField WORKDAY = createField(DSL.name("workday"), SQLDataType.LOCALDATE, this, "");
+
+ /**
+ * The column done.v_hamstersummary.duration
.
+ */
+ public final TableField DURATION = createField(DSL.name("duration"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_hamstersummary.project_name
.
+ */
+ public final TableField PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_hamstersummary.module_name
.
+ */
+ public final TableField MODULE_NAME = createField(DSL.name("module_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_hamstersummary.job_name
.
+ */
+ public final TableField JOB_NAME = createField(DSL.name("job_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_hamstersummary.login
.
+ */
+ public final TableField LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
+
+ private VHamstersummary(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private VHamstersummary(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
+ }
+
+ /**
+ * Create an aliased done.v_hamstersummary
table reference
+ */
+ public VHamstersummary(String alias) {
+ this(DSL.name(alias), V_HAMSTERSUMMARY);
+ }
+
+ /**
+ * Create an aliased done.v_hamstersummary
table reference
+ */
+ public VHamstersummary(Name alias) {
+ this(alias, V_HAMSTERSUMMARY);
+ }
+
+ /**
+ * Create a done.v_hamstersummary
table reference
+ */
+ public VHamstersummary() {
+ this(DSL.name("v_hamstersummary"), null);
+ }
+
+ public VHamstersummary(Table child, ForeignKey key) {
+ super(child, key, V_HAMSTERSUMMARY);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public VHamstersummary as(String alias) {
+ return new VHamstersummary(DSL.name(alias), this);
+ }
+
+ @Override
+ public VHamstersummary as(Name alias) {
+ return new VHamstersummary(alias, this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VHamstersummary rename(String name) {
+ return new VHamstersummary(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VHamstersummary rename(Name name) {
+ return new VHamstersummary(name, null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row6 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row6 fieldsRow() {
+ return (Row6) super.fieldsRow();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VTasklist.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VTasklist.java
new file mode 100644
index 0000000..87368fa
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VTasklist.java
@@ -0,0 +1,147 @@
+/*
+ * 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.tables.records.VTasklistRecord;
+
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Row6;
+import org.jooq.Schema;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class VTasklist extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.v_tasklist
+ */
+ public static final VTasklist V_TASKLIST = new VTasklist();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return VTasklistRecord.class;
+ }
+
+ /**
+ * The column done.v_tasklist.day
.
+ */
+ public final TableField DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_tasklist.duration
.
+ */
+ public final TableField DURATION = createField(DSL.name("duration"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_tasklist.project_name
.
+ */
+ public final TableField PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_tasklist.module_name
.
+ */
+ public final TableField MODULE_NAME = createField(DSL.name("module_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_tasklist.job_name
.
+ */
+ public final TableField JOB_NAME = createField(DSL.name("job_name"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_tasklist.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
+
+ private VTasklist(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private VTasklist(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
+ }
+
+ /**
+ * Create an aliased done.v_tasklist
table reference
+ */
+ public VTasklist(String alias) {
+ this(DSL.name(alias), V_TASKLIST);
+ }
+
+ /**
+ * Create an aliased done.v_tasklist
table reference
+ */
+ public VTasklist(Name alias) {
+ this(alias, V_TASKLIST);
+ }
+
+ /**
+ * Create a done.v_tasklist
table reference
+ */
+ public VTasklist() {
+ this(DSL.name("v_tasklist"), null);
+ }
+
+ public VTasklist(Table child, ForeignKey