diff --git a/build.gradle b/build.gradle
index 5ae2f43..e21e684 100644
--- a/build.gradle
+++ b/build.gradle
@@ -23,7 +23,7 @@ apply plugin: 'maven-publish'
apply plugin: 'eclipse'
group = 'de.jottyfan'
-version = '0.1.3'
+version = '20240103'
def artifactId = 'timetrackjooq'
def versionNumber = version
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/Done.java b/src/main/java/de/jottyfan/timetrack/db/done/Done.java
index 042d19e..44a4363 100644
--- a/src/main/java/de/jottyfan/timetrack/db/done/Done.java
+++ b/src/main/java/de/jottyfan/timetrack/db/done/Done.java
@@ -8,25 +8,25 @@ import de.jottyfan.timetrack.db.DefaultCatalog;
import de.jottyfan.timetrack.db.done.tables.TBilling;
import de.jottyfan.timetrack.db.done.tables.TDone;
import de.jottyfan.timetrack.db.done.tables.TFavorite;
+import de.jottyfan.timetrack.db.done.tables.TFreetime;
import de.jottyfan.timetrack.db.done.tables.TJob;
import de.jottyfan.timetrack.db.done.tables.TModule;
+import de.jottyfan.timetrack.db.done.tables.TOvertime;
import de.jottyfan.timetrack.db.done.tables.TProject;
+import de.jottyfan.timetrack.db.done.tables.TRequiredWorktime;
import de.jottyfan.timetrack.db.done.tables.VBilling;
-import de.jottyfan.timetrack.db.done.tables.VDaily;
+import de.jottyfan.timetrack.db.done.tables.VCurrentOvertime;
+import de.jottyfan.timetrack.db.done.tables.VDaylimit;
import de.jottyfan.timetrack.db.done.tables.VDaylimits;
-import de.jottyfan.timetrack.db.done.tables.VDaysummary;
import de.jottyfan.timetrack.db.done.tables.VDone;
import de.jottyfan.timetrack.db.done.tables.VDuration;
-import de.jottyfan.timetrack.db.done.tables.VEucanshare;
import de.jottyfan.timetrack.db.done.tables.VFavorite;
-import de.jottyfan.timetrack.db.done.tables.VHamster;
import de.jottyfan.timetrack.db.done.tables.VHamstersummary;
import de.jottyfan.timetrack.db.done.tables.VJob;
import de.jottyfan.timetrack.db.done.tables.VModule;
import de.jottyfan.timetrack.db.done.tables.VProject;
import de.jottyfan.timetrack.db.done.tables.VTasklist;
import de.jottyfan.timetrack.db.done.tables.VTimelength;
-import de.jottyfan.timetrack.db.done.tables.VTotalofday;
import de.jottyfan.timetrack.db.done.tables.VWorktime;
import java.util.Arrays;
@@ -65,6 +65,11 @@ public class Done extends SchemaImpl {
*/
public final TFavorite T_FAVORITE = TFavorite.T_FAVORITE;
+ /**
+ * The table done.t_freetime
.
+ */
+ public final TFreetime T_FREETIME = TFreetime.T_FREETIME;
+
/**
* The table done.t_job
.
*/
@@ -75,31 +80,41 @@ public class Done extends SchemaImpl {
*/
public final TModule T_MODULE = TModule.T_MODULE;
+ /**
+ * The table done.t_overtime
.
+ */
+ public final TOvertime T_OVERTIME = TOvertime.T_OVERTIME;
+
/**
* The table done.t_project
.
*/
public final TProject T_PROJECT = TProject.T_PROJECT;
+ /**
+ * The table done.t_required_worktime
.
+ */
+ public final TRequiredWorktime T_REQUIRED_WORKTIME = TRequiredWorktime.T_REQUIRED_WORKTIME;
+
/**
* The table done.v_billing
.
*/
public final VBilling V_BILLING = VBilling.V_BILLING;
/**
- * The table done.v_daily
.
+ * The table done.v_current_overtime
.
*/
- public final VDaily V_DAILY = VDaily.V_DAILY;
+ public final VCurrentOvertime V_CURRENT_OVERTIME = VCurrentOvertime.V_CURRENT_OVERTIME;
+
+ /**
+ * The table done.v_daylimit
.
+ */
+ public final VDaylimit V_DAYLIMIT = VDaylimit.V_DAYLIMIT;
/**
* The table done.v_daylimits
.
*/
public final VDaylimits V_DAYLIMITS = VDaylimits.V_DAYLIMITS;
- /**
- * The table done.v_daysummary
.
- */
- public final VDaysummary V_DAYSUMMARY = VDaysummary.V_DAYSUMMARY;
-
/**
* The table done.v_done
.
*/
@@ -110,21 +125,11 @@ public class Done extends SchemaImpl {
*/
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_favorite
.
*/
public final VFavorite V_FAVORITE = VFavorite.V_FAVORITE;
- /**
- * The table done.v_hamster
.
- */
- public final VHamster V_HAMSTER = VHamster.V_HAMSTER;
-
/**
* The table done.v_hamstersummary
.
*/
@@ -155,11 +160,6 @@ public class Done extends SchemaImpl {
*/
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
.
*/
@@ -184,25 +184,25 @@ public class Done extends SchemaImpl {
TBilling.T_BILLING,
TDone.T_DONE,
TFavorite.T_FAVORITE,
+ TFreetime.T_FREETIME,
TJob.T_JOB,
TModule.T_MODULE,
+ TOvertime.T_OVERTIME,
TProject.T_PROJECT,
+ TRequiredWorktime.T_REQUIRED_WORKTIME,
VBilling.V_BILLING,
- VDaily.V_DAILY,
+ VCurrentOvertime.V_CURRENT_OVERTIME,
+ VDaylimit.V_DAYLIMIT,
VDaylimits.V_DAYLIMITS,
- VDaysummary.V_DAYSUMMARY,
VDone.V_DONE,
VDuration.V_DURATION,
- VEucanshare.V_EUCANSHARE,
VFavorite.V_FAVORITE,
- VHamster.V_HAMSTER,
VHamstersummary.V_HAMSTERSUMMARY,
VJob.V_JOB,
VModule.V_MODULE,
VProject.V_PROJECT,
VTasklist.V_TASKLIST,
VTimelength.V_TIMELENGTH,
- VTotalofday.V_TOTALOFDAY,
VWorktime.V_WORKTIME
);
}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/Keys.java b/src/main/java/de/jottyfan/timetrack/db/done/Keys.java
index 227561a..9b3ad63 100644
--- a/src/main/java/de/jottyfan/timetrack/db/done/Keys.java
+++ b/src/main/java/de/jottyfan/timetrack/db/done/Keys.java
@@ -7,15 +7,21 @@ package de.jottyfan.timetrack.db.done;
import de.jottyfan.timetrack.db.done.tables.TBilling;
import de.jottyfan.timetrack.db.done.tables.TDone;
import de.jottyfan.timetrack.db.done.tables.TFavorite;
+import de.jottyfan.timetrack.db.done.tables.TFreetime;
import de.jottyfan.timetrack.db.done.tables.TJob;
import de.jottyfan.timetrack.db.done.tables.TModule;
+import de.jottyfan.timetrack.db.done.tables.TOvertime;
import de.jottyfan.timetrack.db.done.tables.TProject;
+import de.jottyfan.timetrack.db.done.tables.TRequiredWorktime;
import de.jottyfan.timetrack.db.done.tables.records.TBillingRecord;
import de.jottyfan.timetrack.db.done.tables.records.TDoneRecord;
import de.jottyfan.timetrack.db.done.tables.records.TFavoriteRecord;
+import de.jottyfan.timetrack.db.done.tables.records.TFreetimeRecord;
import de.jottyfan.timetrack.db.done.tables.records.TJobRecord;
import de.jottyfan.timetrack.db.done.tables.records.TModuleRecord;
+import de.jottyfan.timetrack.db.done.tables.records.TOvertimeRecord;
import de.jottyfan.timetrack.db.done.tables.records.TProjectRecord;
+import de.jottyfan.timetrack.db.done.tables.records.TRequiredWorktimeRecord;
import de.jottyfan.timetrack.db.profile.tables.TLogin;
import de.jottyfan.timetrack.db.profile.tables.records.TLoginRecord;
@@ -42,12 +48,18 @@ public class Keys {
public static final UniqueKey T_BILLING_SHORTCUT_KEY = Internal.createUniqueKey(TBilling.T_BILLING, DSL.name("t_billing_shortcut_key"), new TableField[] { TBilling.T_BILLING.SHORTCUT }, true);
public static final UniqueKey T_DONE_PKEY = Internal.createUniqueKey(TDone.T_DONE, DSL.name("t_done_pkey"), new TableField[] { TDone.T_DONE.PK }, true);
public static final UniqueKey T_FAVORITE_PKEY = Internal.createUniqueKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_pkey"), new TableField[] { TFavorite.T_FAVORITE.PK_FAVORITE }, true);
+ public static final UniqueKey T_FREETIME_DAY_FK_LOGIN_KEY = Internal.createUniqueKey(TFreetime.T_FREETIME, DSL.name("t_freetime_day_fk_login_key"), new TableField[] { TFreetime.T_FREETIME.DAY, TFreetime.T_FREETIME.FK_LOGIN }, true);
+ public static final UniqueKey T_FREETIME_PKEY = Internal.createUniqueKey(TFreetime.T_FREETIME, DSL.name("t_freetime_pkey"), new TableField[] { TFreetime.T_FREETIME.PK_FREETIME }, true);
public static final UniqueKey T_CATEGORY_NAME_KEY = Internal.createUniqueKey(TJob.T_JOB, DSL.name("t_category_name_key"), new TableField[] { TJob.T_JOB.NAME }, true);
public static final UniqueKey T_CATEGORY_PKEY = Internal.createUniqueKey(TJob.T_JOB, DSL.name("t_category_pkey"), new TableField[] { TJob.T_JOB.PK }, true);
public static final UniqueKey T_JOB_NAME_KEY = Internal.createUniqueKey(TModule.T_MODULE, DSL.name("t_job_name_key"), new TableField[] { TModule.T_MODULE.NAME }, true);
public static final UniqueKey T_JOB_PKEY = Internal.createUniqueKey(TModule.T_MODULE, DSL.name("t_job_pkey"), new TableField[] { TModule.T_MODULE.PK }, true);
+ public static final UniqueKey T_OVERTIME_FK_LOGIN_KEY = Internal.createUniqueKey(TOvertime.T_OVERTIME, DSL.name("t_overtime_fk_login_key"), new TableField[] { TOvertime.T_OVERTIME.FK_LOGIN }, true);
+ public static final UniqueKey T_OVERTIME_PKEY = Internal.createUniqueKey(TOvertime.T_OVERTIME, DSL.name("t_overtime_pkey"), new TableField[] { TOvertime.T_OVERTIME.PK_OVERTIME }, true);
public static final UniqueKey T_PROJECT_NAME_KEY = Internal.createUniqueKey(TProject.T_PROJECT, DSL.name("t_project_name_key"), new TableField[] { TProject.T_PROJECT.NAME }, true);
public static final UniqueKey T_PROJECT_PKEY = Internal.createUniqueKey(TProject.T_PROJECT, DSL.name("t_project_pkey"), new TableField[] { TProject.T_PROJECT.PK }, true);
+ public static final UniqueKey T_REQUIRED_WORKTIME_DAY_FK_LOGIN_KEY = Internal.createUniqueKey(TRequiredWorktime.T_REQUIRED_WORKTIME, DSL.name("t_required_worktime_day_fk_login_key"), new TableField[] { TRequiredWorktime.T_REQUIRED_WORKTIME.DAY, TRequiredWorktime.T_REQUIRED_WORKTIME.FK_LOGIN }, true);
+ public static final UniqueKey T_REQUIRED_WORKTIME_PKEY = Internal.createUniqueKey(TRequiredWorktime.T_REQUIRED_WORKTIME, DSL.name("t_required_worktime_pkey"), new TableField[] { TRequiredWorktime.T_REQUIRED_WORKTIME.PK_REQUIRED_WORKTIME }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
@@ -63,4 +75,7 @@ public class Keys {
public static final ForeignKey T_FAVORITE__T_FAVORITE_FK_LOGIN_FKEY = Internal.createForeignKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_fk_login_fkey"), new TableField[] { TFavorite.T_FAVORITE.FK_LOGIN }, de.jottyfan.timetrack.db.profile.Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
public static final ForeignKey T_FAVORITE__T_FAVORITE_FK_MODULE_FKEY = Internal.createForeignKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_fk_module_fkey"), new TableField[] { TFavorite.T_FAVORITE.FK_MODULE }, Keys.T_JOB_PKEY, new TableField[] { TModule.T_MODULE.PK }, true);
public static final ForeignKey T_FAVORITE__T_FAVORITE_FK_PROJECT_FKEY = Internal.createForeignKey(TFavorite.T_FAVORITE, DSL.name("t_favorite_fk_project_fkey"), new TableField[] { TFavorite.T_FAVORITE.FK_PROJECT }, Keys.T_PROJECT_PKEY, new TableField[] { TProject.T_PROJECT.PK }, true);
+ public static final ForeignKey T_FREETIME__T_FREETIME_FK_LOGIN_FKEY = Internal.createForeignKey(TFreetime.T_FREETIME, DSL.name("t_freetime_fk_login_fkey"), new TableField[] { TFreetime.T_FREETIME.FK_LOGIN }, de.jottyfan.timetrack.db.profile.Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
+ public static final ForeignKey T_OVERTIME__T_OVERTIME_FK_LOGIN_FKEY = Internal.createForeignKey(TOvertime.T_OVERTIME, DSL.name("t_overtime_fk_login_fkey"), new TableField[] { TOvertime.T_OVERTIME.FK_LOGIN }, de.jottyfan.timetrack.db.profile.Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
+ public static final ForeignKey T_REQUIRED_WORKTIME__T_REQUIRED_WORKTIME_FK_LOGIN_FKEY = Internal.createForeignKey(TRequiredWorktime.T_REQUIRED_WORKTIME, DSL.name("t_required_worktime_fk_login_fkey"), new TableField[] { TRequiredWorktime.T_REQUIRED_WORKTIME.FK_LOGIN }, de.jottyfan.timetrack.db.profile.Keys.T_LOGIN_PKEY, new TableField[] { TLogin.T_LOGIN.PK }, true);
}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/Tables.java b/src/main/java/de/jottyfan/timetrack/db/done/Tables.java
index 243e3ef..e974296 100644
--- a/src/main/java/de/jottyfan/timetrack/db/done/Tables.java
+++ b/src/main/java/de/jottyfan/timetrack/db/done/Tables.java
@@ -7,25 +7,25 @@ package de.jottyfan.timetrack.db.done;
import de.jottyfan.timetrack.db.done.tables.TBilling;
import de.jottyfan.timetrack.db.done.tables.TDone;
import de.jottyfan.timetrack.db.done.tables.TFavorite;
+import de.jottyfan.timetrack.db.done.tables.TFreetime;
import de.jottyfan.timetrack.db.done.tables.TJob;
import de.jottyfan.timetrack.db.done.tables.TModule;
+import de.jottyfan.timetrack.db.done.tables.TOvertime;
import de.jottyfan.timetrack.db.done.tables.TProject;
+import de.jottyfan.timetrack.db.done.tables.TRequiredWorktime;
import de.jottyfan.timetrack.db.done.tables.VBilling;
-import de.jottyfan.timetrack.db.done.tables.VDaily;
+import de.jottyfan.timetrack.db.done.tables.VCurrentOvertime;
+import de.jottyfan.timetrack.db.done.tables.VDaylimit;
import de.jottyfan.timetrack.db.done.tables.VDaylimits;
-import de.jottyfan.timetrack.db.done.tables.VDaysummary;
import de.jottyfan.timetrack.db.done.tables.VDone;
import de.jottyfan.timetrack.db.done.tables.VDuration;
-import de.jottyfan.timetrack.db.done.tables.VEucanshare;
import de.jottyfan.timetrack.db.done.tables.VFavorite;
-import de.jottyfan.timetrack.db.done.tables.VHamster;
import de.jottyfan.timetrack.db.done.tables.VHamstersummary;
import de.jottyfan.timetrack.db.done.tables.VJob;
import de.jottyfan.timetrack.db.done.tables.VModule;
import de.jottyfan.timetrack.db.done.tables.VProject;
import de.jottyfan.timetrack.db.done.tables.VTasklist;
import de.jottyfan.timetrack.db.done.tables.VTimelength;
-import de.jottyfan.timetrack.db.done.tables.VTotalofday;
import de.jottyfan.timetrack.db.done.tables.VWorktime;
@@ -50,6 +50,11 @@ public class Tables {
*/
public static final TFavorite T_FAVORITE = TFavorite.T_FAVORITE;
+ /**
+ * The table done.t_freetime
.
+ */
+ public static final TFreetime T_FREETIME = TFreetime.T_FREETIME;
+
/**
* The table done.t_job
.
*/
@@ -60,31 +65,41 @@ public class Tables {
*/
public static final TModule T_MODULE = TModule.T_MODULE;
+ /**
+ * The table done.t_overtime
.
+ */
+ public static final TOvertime T_OVERTIME = TOvertime.T_OVERTIME;
+
/**
* The table done.t_project
.
*/
public static final TProject T_PROJECT = TProject.T_PROJECT;
+ /**
+ * The table done.t_required_worktime
.
+ */
+ public static final TRequiredWorktime T_REQUIRED_WORKTIME = TRequiredWorktime.T_REQUIRED_WORKTIME;
+
/**
* The table done.v_billing
.
*/
public static final VBilling V_BILLING = VBilling.V_BILLING;
/**
- * The table done.v_daily
.
+ * The table done.v_current_overtime
.
*/
- public static final VDaily V_DAILY = VDaily.V_DAILY;
+ public static final VCurrentOvertime V_CURRENT_OVERTIME = VCurrentOvertime.V_CURRENT_OVERTIME;
+
+ /**
+ * The table done.v_daylimit
.
+ */
+ public static final VDaylimit V_DAYLIMIT = VDaylimit.V_DAYLIMIT;
/**
* The table done.v_daylimits
.
*/
public static final VDaylimits V_DAYLIMITS = VDaylimits.V_DAYLIMITS;
- /**
- * The table done.v_daysummary
.
- */
- public static final VDaysummary V_DAYSUMMARY = VDaysummary.V_DAYSUMMARY;
-
/**
* The table done.v_done
.
*/
@@ -95,21 +110,11 @@ public class Tables {
*/
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_favorite
.
*/
public static final VFavorite V_FAVORITE = VFavorite.V_FAVORITE;
- /**
- * The table done.v_hamster
.
- */
- public static final VHamster V_HAMSTER = VHamster.V_HAMSTER;
-
/**
* The table done.v_hamstersummary
.
*/
@@ -140,11 +145,6 @@ public class Tables {
*/
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
.
*/
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/TFreetime.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/TFreetime.java
new file mode 100644
index 0000000..f0faa26
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/TFreetime.java
@@ -0,0 +1,215 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package de.jottyfan.timetrack.db.done.tables;
+
+
+import de.jottyfan.timetrack.db.done.Done;
+import de.jottyfan.timetrack.db.done.Keys;
+import de.jottyfan.timetrack.db.done.tables.records.TFreetimeRecord;
+import de.jottyfan.timetrack.db.profile.tables.TLogin;
+
+import java.time.LocalDate;
+import java.time.LocalTime;
+import java.util.Arrays;
+import java.util.List;
+import java.util.function.Function;
+
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function5;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row5;
+import org.jooq.Schema;
+import org.jooq.SelectField;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class TFreetime extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.t_freetime
+ */
+ public static final TFreetime T_FREETIME = new TFreetime();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return TFreetimeRecord.class;
+ }
+
+ /**
+ * The column done.t_freetime.pk_freetime
.
+ */
+ public final TableField PK_FREETIME = createField(DSL.name("pk_freetime"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
+
+ /**
+ * The column done.t_freetime.day
.
+ */
+ public final TableField DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE.nullable(false), this, "");
+
+ /**
+ * The column done.t_freetime.required_worktime
.
+ */
+ public final TableField REQUIRED_WORKTIME = createField(DSL.name("required_worktime"), SQLDataType.LOCALTIME(6).nullable(false).defaultValue(DSL.field(DSL.raw("'00:00:00'::time without time zone"), SQLDataType.LOCALTIME)), this, "");
+
+ /**
+ * The column done.t_freetime.reason
.
+ */
+ public final TableField REASON = createField(DSL.name("reason"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.t_freetime.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ private TFreetime(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private TFreetime(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased done.t_freetime
table reference
+ */
+ public TFreetime(String alias) {
+ this(DSL.name(alias), T_FREETIME);
+ }
+
+ /**
+ * Create an aliased done.t_freetime
table reference
+ */
+ public TFreetime(Name alias) {
+ this(alias, T_FREETIME);
+ }
+
+ /**
+ * Create a done.t_freetime
table reference
+ */
+ public TFreetime() {
+ this(DSL.name("t_freetime"), null);
+ }
+
+ public TFreetime(Table child, ForeignKey key) {
+ super(child, key, T_FREETIME);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public Identity getIdentity() {
+ return (Identity) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.T_FREETIME_PKEY;
+ }
+
+ @Override
+ public List> getUniqueKeys() {
+ return Arrays.asList(Keys.T_FREETIME_DAY_FK_LOGIN_KEY);
+ }
+
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.T_FREETIME__T_FREETIME_FK_LOGIN_FKEY);
+ }
+
+ private transient TLogin _tLogin;
+
+ /**
+ * Get the implicit join path to the profile.t_login
table.
+ */
+ public TLogin tLogin() {
+ if (_tLogin == null)
+ _tLogin = new TLogin(this, Keys.T_FREETIME__T_FREETIME_FK_LOGIN_FKEY);
+
+ return _tLogin;
+ }
+
+ @Override
+ public TFreetime as(String alias) {
+ return new TFreetime(DSL.name(alias), this);
+ }
+
+ @Override
+ public TFreetime as(Name alias) {
+ return new TFreetime(alias, this);
+ }
+
+ @Override
+ public TFreetime as(Table> alias) {
+ return new TFreetime(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TFreetime rename(String name) {
+ return new TFreetime(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TFreetime rename(Name name) {
+ return new TFreetime(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TFreetime rename(Table> name) {
+ return new TFreetime(name.getQualifiedName(), null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row5 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row5 fieldsRow() {
+ return (Row5) super.fieldsRow();
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
+ */
+ public SelectField mapping(Function5 super Integer, ? super LocalDate, ? super LocalTime, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
+ */
+ public SelectField mapping(Class toType, Function5 super Integer, ? super LocalDate, ? super LocalTime, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/TOvertime.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/TOvertime.java
new file mode 100644
index 0000000..2f9fe53
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/TOvertime.java
@@ -0,0 +1,210 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package de.jottyfan.timetrack.db.done.tables;
+
+
+import de.jottyfan.timetrack.db.done.Done;
+import de.jottyfan.timetrack.db.done.Keys;
+import de.jottyfan.timetrack.db.done.tables.records.TOvertimeRecord;
+import de.jottyfan.timetrack.db.profile.tables.TLogin;
+
+import java.time.LocalDateTime;
+import java.time.LocalTime;
+import java.util.Arrays;
+import java.util.List;
+import java.util.function.Function;
+
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function4;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row4;
+import org.jooq.Schema;
+import org.jooq.SelectField;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class TOvertime extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.t_overtime
+ */
+ public static final TOvertime T_OVERTIME = new TOvertime();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return TOvertimeRecord.class;
+ }
+
+ /**
+ * The column done.t_overtime.pk_overtime
.
+ */
+ public final TableField PK_OVERTIME = createField(DSL.name("pk_overtime"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
+
+ /**
+ * The column done.t_overtime.worktime_offset
.
+ */
+ public final TableField WORKTIME_OFFSET = createField(DSL.name("worktime_offset"), SQLDataType.LOCALTIME(6).nullable(false), this, "");
+
+ /**
+ * The column done.t_overtime.impact
.
+ */
+ public final TableField IMPACT = createField(DSL.name("impact"), SQLDataType.LOCALDATETIME(6).nullable(false), this, "");
+
+ /**
+ * The column done.t_overtime.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ private TOvertime(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private TOvertime(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased done.t_overtime
table reference
+ */
+ public TOvertime(String alias) {
+ this(DSL.name(alias), T_OVERTIME);
+ }
+
+ /**
+ * Create an aliased done.t_overtime
table reference
+ */
+ public TOvertime(Name alias) {
+ this(alias, T_OVERTIME);
+ }
+
+ /**
+ * Create a done.t_overtime
table reference
+ */
+ public TOvertime() {
+ this(DSL.name("t_overtime"), null);
+ }
+
+ public TOvertime(Table child, ForeignKey key) {
+ super(child, key, T_OVERTIME);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public Identity getIdentity() {
+ return (Identity) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.T_OVERTIME_PKEY;
+ }
+
+ @Override
+ public List> getUniqueKeys() {
+ return Arrays.asList(Keys.T_OVERTIME_FK_LOGIN_KEY);
+ }
+
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.T_OVERTIME__T_OVERTIME_FK_LOGIN_FKEY);
+ }
+
+ private transient TLogin _tLogin;
+
+ /**
+ * Get the implicit join path to the profile.t_login
table.
+ */
+ public TLogin tLogin() {
+ if (_tLogin == null)
+ _tLogin = new TLogin(this, Keys.T_OVERTIME__T_OVERTIME_FK_LOGIN_FKEY);
+
+ return _tLogin;
+ }
+
+ @Override
+ public TOvertime as(String alias) {
+ return new TOvertime(DSL.name(alias), this);
+ }
+
+ @Override
+ public TOvertime as(Name alias) {
+ return new TOvertime(alias, this);
+ }
+
+ @Override
+ public TOvertime as(Table> alias) {
+ return new TOvertime(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TOvertime rename(String name) {
+ return new TOvertime(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TOvertime rename(Name name) {
+ return new TOvertime(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TOvertime rename(Table> name) {
+ return new TOvertime(name.getQualifiedName(), null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row4 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row4 fieldsRow() {
+ return (Row4) super.fieldsRow();
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
+ */
+ public SelectField mapping(Function4 super Integer, ? super LocalTime, ? super LocalDateTime, ? super Integer, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
+ */
+ public SelectField mapping(Class toType, Function4 super Integer, ? super LocalTime, ? super LocalDateTime, ? super Integer, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/TRequiredWorktime.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/TRequiredWorktime.java
new file mode 100644
index 0000000..ebd198e
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/TRequiredWorktime.java
@@ -0,0 +1,210 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package de.jottyfan.timetrack.db.done.tables;
+
+
+import de.jottyfan.timetrack.db.done.Done;
+import de.jottyfan.timetrack.db.done.Keys;
+import de.jottyfan.timetrack.db.done.tables.records.TRequiredWorktimeRecord;
+import de.jottyfan.timetrack.db.profile.tables.TLogin;
+
+import java.time.LocalDate;
+import java.time.LocalTime;
+import java.util.Arrays;
+import java.util.List;
+import java.util.function.Function;
+
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function4;
+import org.jooq.Identity;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row4;
+import org.jooq.Schema;
+import org.jooq.SelectField;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.UniqueKey;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class TRequiredWorktime extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.t_required_worktime
+ */
+ public static final TRequiredWorktime T_REQUIRED_WORKTIME = new TRequiredWorktime();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return TRequiredWorktimeRecord.class;
+ }
+
+ /**
+ * The column done.t_required_worktime.pk_required_worktime
.
+ */
+ public final TableField PK_REQUIRED_WORKTIME = createField(DSL.name("pk_required_worktime"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
+
+ /**
+ * The column done.t_required_worktime.required
.
+ */
+ public final TableField REQUIRED = createField(DSL.name("required"), SQLDataType.LOCALTIME(6).nullable(false).defaultValue(DSL.field(DSL.raw("'08:00:00'::time without time zone"), SQLDataType.LOCALTIME)), this, "");
+
+ /**
+ * The column done.t_required_worktime.day
.
+ */
+ public final TableField DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE.nullable(false), this, "");
+
+ /**
+ * The column done.t_required_worktime.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
+
+ private TRequiredWorktime(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private TRequiredWorktime(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
+ }
+
+ /**
+ * Create an aliased done.t_required_worktime
table reference
+ */
+ public TRequiredWorktime(String alias) {
+ this(DSL.name(alias), T_REQUIRED_WORKTIME);
+ }
+
+ /**
+ * Create an aliased done.t_required_worktime
table reference
+ */
+ public TRequiredWorktime(Name alias) {
+ this(alias, T_REQUIRED_WORKTIME);
+ }
+
+ /**
+ * Create a done.t_required_worktime
table reference
+ */
+ public TRequiredWorktime() {
+ this(DSL.name("t_required_worktime"), null);
+ }
+
+ public TRequiredWorktime(Table child, ForeignKey key) {
+ super(child, key, T_REQUIRED_WORKTIME);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public Identity getIdentity() {
+ return (Identity) super.getIdentity();
+ }
+
+ @Override
+ public UniqueKey getPrimaryKey() {
+ return Keys.T_REQUIRED_WORKTIME_PKEY;
+ }
+
+ @Override
+ public List> getUniqueKeys() {
+ return Arrays.asList(Keys.T_REQUIRED_WORKTIME_DAY_FK_LOGIN_KEY);
+ }
+
+ @Override
+ public List> getReferences() {
+ return Arrays.asList(Keys.T_REQUIRED_WORKTIME__T_REQUIRED_WORKTIME_FK_LOGIN_FKEY);
+ }
+
+ private transient TLogin _tLogin;
+
+ /**
+ * Get the implicit join path to the profile.t_login
table.
+ */
+ public TLogin tLogin() {
+ if (_tLogin == null)
+ _tLogin = new TLogin(this, Keys.T_REQUIRED_WORKTIME__T_REQUIRED_WORKTIME_FK_LOGIN_FKEY);
+
+ return _tLogin;
+ }
+
+ @Override
+ public TRequiredWorktime as(String alias) {
+ return new TRequiredWorktime(DSL.name(alias), this);
+ }
+
+ @Override
+ public TRequiredWorktime as(Name alias) {
+ return new TRequiredWorktime(alias, this);
+ }
+
+ @Override
+ public TRequiredWorktime as(Table> alias) {
+ return new TRequiredWorktime(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TRequiredWorktime rename(String name) {
+ return new TRequiredWorktime(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TRequiredWorktime rename(Name name) {
+ return new TRequiredWorktime(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public TRequiredWorktime rename(Table> name) {
+ return new TRequiredWorktime(name.getQualifiedName(), null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row4 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row4 fieldsRow() {
+ return (Row4) super.fieldsRow();
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
+ */
+ public SelectField mapping(Function4 super Integer, ? super LocalTime, ? super LocalDate, ? super Integer, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
+ */
+ public SelectField mapping(Class toType, Function4 super Integer, ? super LocalTime, ? super LocalDate, ? super Integer, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VCurrentOvertime.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VCurrentOvertime.java
new file mode 100644
index 0000000..4a995e8
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VCurrentOvertime.java
@@ -0,0 +1,166 @@
+/*
+ * 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.VCurrentOvertimeRecord;
+
+import java.time.LocalTime;
+import java.util.function.Function;
+
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function3;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row3;
+import org.jooq.Schema;
+import org.jooq.SelectField;
+import org.jooq.Table;
+import org.jooq.TableField;
+import org.jooq.TableOptions;
+import org.jooq.impl.DSL;
+import org.jooq.impl.SQLDataType;
+import org.jooq.impl.TableImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class VCurrentOvertime extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.v_current_overtime
+ */
+ public static final VCurrentOvertime V_CURRENT_OVERTIME = new VCurrentOvertime();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return VCurrentOvertimeRecord.class;
+ }
+
+ /**
+ * The column done.v_current_overtime.overtime
.
+ */
+ public final TableField OVERTIME = createField(DSL.name("overtime"), SQLDataType.LOCALTIME(6), this, "");
+
+ /**
+ * The column done.v_current_overtime.impact
.
+ */
+ public final TableField IMPACT = createField(DSL.name("impact"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_current_overtime.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
+
+ private VCurrentOvertime(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private VCurrentOvertime(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
+ }
+
+ /**
+ * Create an aliased done.v_current_overtime
table reference
+ */
+ public VCurrentOvertime(String alias) {
+ this(DSL.name(alias), V_CURRENT_OVERTIME);
+ }
+
+ /**
+ * Create an aliased done.v_current_overtime
table reference
+ */
+ public VCurrentOvertime(Name alias) {
+ this(alias, V_CURRENT_OVERTIME);
+ }
+
+ /**
+ * Create a done.v_current_overtime
table reference
+ */
+ public VCurrentOvertime() {
+ this(DSL.name("v_current_overtime"), null);
+ }
+
+ public VCurrentOvertime(Table child, ForeignKey key) {
+ super(child, key, V_CURRENT_OVERTIME);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public VCurrentOvertime as(String alias) {
+ return new VCurrentOvertime(DSL.name(alias), this);
+ }
+
+ @Override
+ public VCurrentOvertime as(Name alias) {
+ return new VCurrentOvertime(alias, this);
+ }
+
+ @Override
+ public VCurrentOvertime as(Table> alias) {
+ return new VCurrentOvertime(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VCurrentOvertime rename(String name) {
+ return new VCurrentOvertime(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VCurrentOvertime rename(Name name) {
+ return new VCurrentOvertime(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VCurrentOvertime rename(Table> name) {
+ return new VCurrentOvertime(name.getQualifiedName(), null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row3 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row3 fieldsRow() {
+ return (Row3) super.fieldsRow();
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
+ */
+ public SelectField mapping(Function3 super LocalTime, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
+ */
+ public SelectField mapping(Class toType, Function3 super LocalTime, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaily.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaily.java
deleted file mode 100644
index 4fd671c..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaily.java
+++ /dev/null
@@ -1,171 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done.tables;
-
-
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.done.tables.records.VDailyRecord;
-
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function4;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row4;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.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);
- }
-
- @Override
- public VDaily as(Table> alias) {
- return new VDaily(alias.getQualifiedName(), 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);
- }
-
- /**
- * Rename this table
- */
- @Override
- public VDaily rename(Table> name) {
- return new VDaily(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row4 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row4 fieldsRow() {
- return (Row4) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function4 super YearToSecond, ? super String, ? super String, ? super Integer, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function4 super YearToSecond, ? super String, ? super String, ? super Integer, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaylimit.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaylimit.java
new file mode 100644
index 0000000..8ed2066
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaylimit.java
@@ -0,0 +1,181 @@
+/*
+ * 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.VDaylimitRecord;
+
+import java.time.LocalDate;
+import java.util.function.Function;
+
+import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function6;
+import org.jooq.Name;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row6;
+import org.jooq.Schema;
+import org.jooq.SelectField;
+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 VDaylimit extends TableImpl {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.v_daylimit
+ */
+ public static final VDaylimit V_DAYLIMIT = new VDaylimit();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return VDaylimitRecord.class;
+ }
+
+ /**
+ * The column done.v_daylimit.daytime_from
.
+ */
+ public final TableField DAYTIME_FROM = createField(DSL.name("daytime_from"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_daylimit.daytime_until
.
+ */
+ public final TableField DAYTIME_UNTIL = createField(DSL.name("daytime_until"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_daylimit.dayworktime
.
+ */
+ public final TableField DAYWORKTIME = createField(DSL.name("dayworktime"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_daylimit.breaks
.
+ */
+ public final TableField BREAKS = createField(DSL.name("breaks"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_daylimit.day
.
+ */
+ public final TableField DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE, this, "");
+
+ /**
+ * The column done.v_daylimit.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
+
+ private VDaylimit(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private VDaylimit(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
+ }
+
+ /**
+ * Create an aliased done.v_daylimit
table reference
+ */
+ public VDaylimit(String alias) {
+ this(DSL.name(alias), V_DAYLIMIT);
+ }
+
+ /**
+ * Create an aliased done.v_daylimit
table reference
+ */
+ public VDaylimit(Name alias) {
+ this(alias, V_DAYLIMIT);
+ }
+
+ /**
+ * Create a done.v_daylimit
table reference
+ */
+ public VDaylimit() {
+ this(DSL.name("v_daylimit"), null);
+ }
+
+ public VDaylimit(Table child, ForeignKey key) {
+ super(child, key, V_DAYLIMIT);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public VDaylimit as(String alias) {
+ return new VDaylimit(DSL.name(alias), this);
+ }
+
+ @Override
+ public VDaylimit as(Name alias) {
+ return new VDaylimit(alias, this);
+ }
+
+ @Override
+ public VDaylimit as(Table> alias) {
+ return new VDaylimit(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaylimit rename(String name) {
+ return new VDaylimit(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaylimit rename(Name name) {
+ return new VDaylimit(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaylimit rename(Table> name) {
+ return new VDaylimit(name.getQualifiedName(), null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row6 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row6 fieldsRow() {
+ return (Row6) super.fieldsRow();
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
+ */
+ public SelectField mapping(Function6 super String, ? super String, ? super String, ? super String, ? super LocalDate, ? super Integer, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
+ */
+ public SelectField mapping(Class toType, Function6 super String, ? super String, ? super String, ? super String, ? super LocalDate, ? super Integer, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
+ }
+}
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
deleted file mode 100644
index 2dda502..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaysummary.java
+++ /dev/null
@@ -1,188 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done.tables;
-
-
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.done.tables.records.VDaysummaryRecord;
-
-import java.time.LocalDateTime;
-import java.time.OffsetDateTime;
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function7;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row7;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-import org.jooq.Table;
-import org.jooq.TableField;
-import org.jooq.TableOptions;
-import org.jooq.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);
- }
-
- @Override
- public VDaysummary as(Table> alias) {
- return new VDaysummary(alias.getQualifiedName(), 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);
- }
-
- /**
- * Rename this table
- */
- @Override
- public VDaysummary rename(Table> name) {
- return new VDaysummary(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row7 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row7 fieldsRow() {
- return (Row7) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function7 super YearToSecond, ? super YearToSecond, ? super LocalDateTime, ? super OffsetDateTime, ? super String, ? super String, ? super Integer, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function7 super YearToSecond, ? super YearToSecond, ? super LocalDateTime, ? super OffsetDateTime, ? super String, ? super String, ? super Integer, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VEucanshare.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VEucanshare.java
deleted file mode 100644
index 107f6f9..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/VEucanshare.java
+++ /dev/null
@@ -1,192 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done.tables;
-
-
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.done.tables.records.VEucanshareRecord;
-
-import java.time.LocalDate;
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function8;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row8;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-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);
- }
-
- @Override
- public VEucanshare as(Table> alias) {
- return new VEucanshare(alias.getQualifiedName(), 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);
- }
-
- /**
- * Rename this table
- */
- @Override
- public VEucanshare rename(Table> name) {
- return new VEucanshare(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row8 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row8 fieldsRow() {
- return (Row8) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function8 super Integer, ? super LocalDate, ? super YearToSecond, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function8 super Integer, ? super LocalDate, ? super YearToSecond, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VFavorite.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VFavorite.java
index 5e47299..ba43126 100644
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/VFavorite.java
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VFavorite.java
@@ -82,19 +82,7 @@ public class VFavorite extends TableImpl {
}
private VFavorite(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
- create view "v_favorite" as SELECT f.pk_favorite,
- f.fk_login,
- p.name AS project,
- m.name AS module,
- j.name AS job,
- b.name AS billing
- FROM ((((done.t_favorite f
- LEFT JOIN done.t_project p ON ((p.pk = f.fk_project)))
- LEFT JOIN done.t_module m ON ((m.pk = f.fk_module)))
- LEFT JOIN done.t_job j ON ((j.pk = f.fk_job)))
- LEFT JOIN done.t_billing b ON ((b.pk = f.fk_billing)));
- """));
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
}
/**
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
deleted file mode 100644
index 406f522..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/VHamster.java
+++ /dev/null
@@ -1,182 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done.tables;
-
-
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.done.tables.records.VHamsterRecord;
-
-import java.time.LocalDate;
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function6;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row6;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-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);
- }
-
- @Override
- public VHamster as(Table> alias) {
- return new VHamster(alias.getQualifiedName(), 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);
- }
-
- /**
- * Rename this table
- */
- @Override
- public VHamster rename(Table> name) {
- return new VHamster(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row6 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row6 fieldsRow() {
- return (Row6) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function6 super LocalDate, ? super YearToSecond, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function6 super LocalDate, ? super YearToSecond, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VTotalofday.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VTotalofday.java
deleted file mode 100644
index c6c9b61..0000000
--- a/src/main/java/de/jottyfan/timetrack/db/done/tables/VTotalofday.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/*
- * This file is generated by jOOQ.
- */
-package de.jottyfan.timetrack.db.done.tables;
-
-
-import de.jottyfan.timetrack.db.done.Done;
-import de.jottyfan.timetrack.db.done.tables.records.VTotalofdayRecord;
-
-import java.util.function.Function;
-
-import org.jooq.Field;
-import org.jooq.ForeignKey;
-import org.jooq.Function6;
-import org.jooq.Name;
-import org.jooq.Record;
-import org.jooq.Records;
-import org.jooq.Row6;
-import org.jooq.Schema;
-import org.jooq.SelectField;
-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 VTotalofday extends TableImpl {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * The reference instance of done.v_totalofday
- */
- public static final VTotalofday V_TOTALOFDAY = new VTotalofday();
-
- /**
- * The class holding records for this type
- */
- @Override
- public Class getRecordType() {
- return VTotalofdayRecord.class;
- }
-
- /**
- * The column done.v_totalofday.breaktime
.
- */
- public final TableField BREAKTIME = createField(DSL.name("breaktime"), SQLDataType.CLOB, this, "");
-
- /**
- * The column done.v_totalofday.worktime
.
- */
- public final TableField WORKTIME = createField(DSL.name("worktime"), SQLDataType.CLOB, this, "");
-
- /**
- * The column done.v_totalofday.starttime
.
- */
- public final TableField STARTTIME = createField(DSL.name("starttime"), SQLDataType.CLOB, this, "");
-
- /**
- * The column done.v_totalofday.endtime
.
- */
- public final TableField ENDTIME = createField(DSL.name("endtime"), SQLDataType.CLOB, this, "");
-
- /**
- * The column done.v_totalofday.day
.
- */
- public final TableField DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
-
- /**
- * The column done.v_totalofday.fk_login
.
- */
- public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
-
- private VTotalofday(Name alias, Table aliased) {
- this(alias, aliased, null);
- }
-
- private VTotalofday(Name alias, Table aliased, Field>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
- }
-
- /**
- * Create an aliased done.v_totalofday
table reference
- */
- public VTotalofday(String alias) {
- this(DSL.name(alias), V_TOTALOFDAY);
- }
-
- /**
- * Create an aliased done.v_totalofday
table reference
- */
- public VTotalofday(Name alias) {
- this(alias, V_TOTALOFDAY);
- }
-
- /**
- * Create a done.v_totalofday
table reference
- */
- public VTotalofday() {
- this(DSL.name("v_totalofday"), null);
- }
-
- public VTotalofday(Table child, ForeignKey key) {
- super(child, key, V_TOTALOFDAY);
- }
-
- @Override
- public Schema getSchema() {
- return aliased() ? null : Done.DONE;
- }
-
- @Override
- public VTotalofday as(String alias) {
- return new VTotalofday(DSL.name(alias), this);
- }
-
- @Override
- public VTotalofday as(Name alias) {
- return new VTotalofday(alias, this);
- }
-
- @Override
- public VTotalofday as(Table> alias) {
- return new VTotalofday(alias.getQualifiedName(), this);
- }
-
- /**
- * Rename this table
- */
- @Override
- public VTotalofday rename(String name) {
- return new VTotalofday(DSL.name(name), null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public VTotalofday rename(Name name) {
- return new VTotalofday(name, null);
- }
-
- /**
- * Rename this table
- */
- @Override
- public VTotalofday rename(Table> name) {
- return new VTotalofday(name.getQualifiedName(), null);
- }
-
- // -------------------------------------------------------------------------
- // Row6 type methods
- // -------------------------------------------------------------------------
-
- @Override
- public Row6 fieldsRow() {
- return (Row6) super.fieldsRow();
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
- */
- public SelectField mapping(Function6 super String, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
- return convertFrom(Records.mapping(from));
- }
-
- /**
- * Convenience mapping calling {@link SelectField#convertFrom(Class,
- * Function)}.
- */
- public SelectField mapping(Class toType, Function6 super String, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
- return convertFrom(toType, Records.mapping(from));
- }
-}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/records/TFreetimeRecord.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/records/TFreetimeRecord.java
new file mode 100644
index 0000000..6717104
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/records/TFreetimeRecord.java
@@ -0,0 +1,259 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package de.jottyfan.timetrack.db.done.tables.records;
+
+
+import de.jottyfan.timetrack.db.done.tables.TFreetime;
+
+import java.time.LocalDate;
+import java.time.LocalTime;
+
+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 TFreetimeRecord extends UpdatableRecordImpl implements Record5 {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Setter for done.t_freetime.pk_freetime
.
+ */
+ public void setPkFreetime(Integer value) {
+ set(0, value);
+ }
+
+ /**
+ * Getter for done.t_freetime.pk_freetime
.
+ */
+ public Integer getPkFreetime() {
+ return (Integer) get(0);
+ }
+
+ /**
+ * Setter for done.t_freetime.day
.
+ */
+ public void setDay(LocalDate value) {
+ set(1, value);
+ }
+
+ /**
+ * Getter for done.t_freetime.day
.
+ */
+ public LocalDate getDay() {
+ return (LocalDate) get(1);
+ }
+
+ /**
+ * Setter for done.t_freetime.required_worktime
.
+ */
+ public void setRequiredWorktime(LocalTime value) {
+ set(2, value);
+ }
+
+ /**
+ * Getter for done.t_freetime.required_worktime
.
+ */
+ public LocalTime getRequiredWorktime() {
+ return (LocalTime) get(2);
+ }
+
+ /**
+ * Setter for done.t_freetime.reason
.
+ */
+ public void setReason(String value) {
+ set(3, value);
+ }
+
+ /**
+ * Getter for done.t_freetime.reason
.
+ */
+ public String getReason() {
+ return (String) get(3);
+ }
+
+ /**
+ * Setter for done.t_freetime.fk_login
.
+ */
+ public void setFkLogin(Integer value) {
+ set(4, value);
+ }
+
+ /**
+ * Getter for done.t_freetime.fk_login
.
+ */
+ public Integer getFkLogin() {
+ return (Integer) 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 TFreetime.T_FREETIME.PK_FREETIME;
+ }
+
+ @Override
+ public Field field2() {
+ return TFreetime.T_FREETIME.DAY;
+ }
+
+ @Override
+ public Field field3() {
+ return TFreetime.T_FREETIME.REQUIRED_WORKTIME;
+ }
+
+ @Override
+ public Field field4() {
+ return TFreetime.T_FREETIME.REASON;
+ }
+
+ @Override
+ public Field field5() {
+ return TFreetime.T_FREETIME.FK_LOGIN;
+ }
+
+ @Override
+ public Integer component1() {
+ return getPkFreetime();
+ }
+
+ @Override
+ public LocalDate component2() {
+ return getDay();
+ }
+
+ @Override
+ public LocalTime component3() {
+ return getRequiredWorktime();
+ }
+
+ @Override
+ public String component4() {
+ return getReason();
+ }
+
+ @Override
+ public Integer component5() {
+ return getFkLogin();
+ }
+
+ @Override
+ public Integer value1() {
+ return getPkFreetime();
+ }
+
+ @Override
+ public LocalDate value2() {
+ return getDay();
+ }
+
+ @Override
+ public LocalTime value3() {
+ return getRequiredWorktime();
+ }
+
+ @Override
+ public String value4() {
+ return getReason();
+ }
+
+ @Override
+ public Integer value5() {
+ return getFkLogin();
+ }
+
+ @Override
+ public TFreetimeRecord value1(Integer value) {
+ setPkFreetime(value);
+ return this;
+ }
+
+ @Override
+ public TFreetimeRecord value2(LocalDate value) {
+ setDay(value);
+ return this;
+ }
+
+ @Override
+ public TFreetimeRecord value3(LocalTime value) {
+ setRequiredWorktime(value);
+ return this;
+ }
+
+ @Override
+ public TFreetimeRecord value4(String value) {
+ setReason(value);
+ return this;
+ }
+
+ @Override
+ public TFreetimeRecord value5(Integer value) {
+ setFkLogin(value);
+ return this;
+ }
+
+ @Override
+ public TFreetimeRecord values(Integer value1, LocalDate value2, LocalTime value3, String value4, Integer value5) {
+ value1(value1);
+ value2(value2);
+ value3(value3);
+ value4(value4);
+ value5(value5);
+ return this;
+ }
+
+ // -------------------------------------------------------------------------
+ // Constructors
+ // -------------------------------------------------------------------------
+
+ /**
+ * Create a detached TFreetimeRecord
+ */
+ public TFreetimeRecord() {
+ super(TFreetime.T_FREETIME);
+ }
+
+ /**
+ * Create a detached, initialised TFreetimeRecord
+ */
+ public TFreetimeRecord(Integer pkFreetime, LocalDate day, LocalTime requiredWorktime, String reason, Integer fkLogin) {
+ super(TFreetime.T_FREETIME);
+
+ setPkFreetime(pkFreetime);
+ setDay(day);
+ setRequiredWorktime(requiredWorktime);
+ setReason(reason);
+ setFkLogin(fkLogin);
+ resetChangedOnNotNull();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/records/TOvertimeRecord.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/records/TOvertimeRecord.java
new file mode 100644
index 0000000..c304f75
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/records/TOvertimeRecord.java
@@ -0,0 +1,222 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package de.jottyfan.timetrack.db.done.tables.records;
+
+
+import de.jottyfan.timetrack.db.done.tables.TOvertime;
+
+import java.time.LocalDateTime;
+import java.time.LocalTime;
+
+import org.jooq.Field;
+import org.jooq.Record1;
+import org.jooq.Record4;
+import org.jooq.Row4;
+import org.jooq.impl.UpdatableRecordImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class TOvertimeRecord extends UpdatableRecordImpl implements Record4 {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Setter for done.t_overtime.pk_overtime
.
+ */
+ public void setPkOvertime(Integer value) {
+ set(0, value);
+ }
+
+ /**
+ * Getter for done.t_overtime.pk_overtime
.
+ */
+ public Integer getPkOvertime() {
+ return (Integer) get(0);
+ }
+
+ /**
+ * Setter for done.t_overtime.worktime_offset
.
+ */
+ public void setWorktimeOffset(LocalTime value) {
+ set(1, value);
+ }
+
+ /**
+ * Getter for done.t_overtime.worktime_offset
.
+ */
+ public LocalTime getWorktimeOffset() {
+ return (LocalTime) get(1);
+ }
+
+ /**
+ * Setter for done.t_overtime.impact
.
+ */
+ public void setImpact(LocalDateTime value) {
+ set(2, value);
+ }
+
+ /**
+ * Getter for done.t_overtime.impact
.
+ */
+ public LocalDateTime getImpact() {
+ return (LocalDateTime) get(2);
+ }
+
+ /**
+ * Setter for done.t_overtime.fk_login
.
+ */
+ public void setFkLogin(Integer value) {
+ set(3, value);
+ }
+
+ /**
+ * Getter for done.t_overtime.fk_login
.
+ */
+ public Integer getFkLogin() {
+ return (Integer) get(3);
+ }
+
+ // -------------------------------------------------------------------------
+ // Primary key information
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Record1 key() {
+ return (Record1) super.key();
+ }
+
+ // -------------------------------------------------------------------------
+ // Record4 type implementation
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row4 fieldsRow() {
+ return (Row4) super.fieldsRow();
+ }
+
+ @Override
+ public Row4 valuesRow() {
+ return (Row4) super.valuesRow();
+ }
+
+ @Override
+ public Field field1() {
+ return TOvertime.T_OVERTIME.PK_OVERTIME;
+ }
+
+ @Override
+ public Field field2() {
+ return TOvertime.T_OVERTIME.WORKTIME_OFFSET;
+ }
+
+ @Override
+ public Field field3() {
+ return TOvertime.T_OVERTIME.IMPACT;
+ }
+
+ @Override
+ public Field field4() {
+ return TOvertime.T_OVERTIME.FK_LOGIN;
+ }
+
+ @Override
+ public Integer component1() {
+ return getPkOvertime();
+ }
+
+ @Override
+ public LocalTime component2() {
+ return getWorktimeOffset();
+ }
+
+ @Override
+ public LocalDateTime component3() {
+ return getImpact();
+ }
+
+ @Override
+ public Integer component4() {
+ return getFkLogin();
+ }
+
+ @Override
+ public Integer value1() {
+ return getPkOvertime();
+ }
+
+ @Override
+ public LocalTime value2() {
+ return getWorktimeOffset();
+ }
+
+ @Override
+ public LocalDateTime value3() {
+ return getImpact();
+ }
+
+ @Override
+ public Integer value4() {
+ return getFkLogin();
+ }
+
+ @Override
+ public TOvertimeRecord value1(Integer value) {
+ setPkOvertime(value);
+ return this;
+ }
+
+ @Override
+ public TOvertimeRecord value2(LocalTime value) {
+ setWorktimeOffset(value);
+ return this;
+ }
+
+ @Override
+ public TOvertimeRecord value3(LocalDateTime value) {
+ setImpact(value);
+ return this;
+ }
+
+ @Override
+ public TOvertimeRecord value4(Integer value) {
+ setFkLogin(value);
+ return this;
+ }
+
+ @Override
+ public TOvertimeRecord values(Integer value1, LocalTime value2, LocalDateTime value3, Integer value4) {
+ value1(value1);
+ value2(value2);
+ value3(value3);
+ value4(value4);
+ return this;
+ }
+
+ // -------------------------------------------------------------------------
+ // Constructors
+ // -------------------------------------------------------------------------
+
+ /**
+ * Create a detached TOvertimeRecord
+ */
+ public TOvertimeRecord() {
+ super(TOvertime.T_OVERTIME);
+ }
+
+ /**
+ * Create a detached, initialised TOvertimeRecord
+ */
+ public TOvertimeRecord(Integer pkOvertime, LocalTime worktimeOffset, LocalDateTime impact, Integer fkLogin) {
+ super(TOvertime.T_OVERTIME);
+
+ setPkOvertime(pkOvertime);
+ setWorktimeOffset(worktimeOffset);
+ setImpact(impact);
+ setFkLogin(fkLogin);
+ resetChangedOnNotNull();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/records/TRequiredWorktimeRecord.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/records/TRequiredWorktimeRecord.java
new file mode 100644
index 0000000..c982f9f
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/records/TRequiredWorktimeRecord.java
@@ -0,0 +1,222 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package de.jottyfan.timetrack.db.done.tables.records;
+
+
+import de.jottyfan.timetrack.db.done.tables.TRequiredWorktime;
+
+import java.time.LocalDate;
+import java.time.LocalTime;
+
+import org.jooq.Field;
+import org.jooq.Record1;
+import org.jooq.Record4;
+import org.jooq.Row4;
+import org.jooq.impl.UpdatableRecordImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class TRequiredWorktimeRecord extends UpdatableRecordImpl implements Record4 {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Setter for done.t_required_worktime.pk_required_worktime
.
+ */
+ public void setPkRequiredWorktime(Integer value) {
+ set(0, value);
+ }
+
+ /**
+ * Getter for done.t_required_worktime.pk_required_worktime
.
+ */
+ public Integer getPkRequiredWorktime() {
+ return (Integer) get(0);
+ }
+
+ /**
+ * Setter for done.t_required_worktime.required
.
+ */
+ public void setRequired(LocalTime value) {
+ set(1, value);
+ }
+
+ /**
+ * Getter for done.t_required_worktime.required
.
+ */
+ public LocalTime getRequired() {
+ return (LocalTime) get(1);
+ }
+
+ /**
+ * Setter for done.t_required_worktime.day
.
+ */
+ public void setDay(LocalDate value) {
+ set(2, value);
+ }
+
+ /**
+ * Getter for done.t_required_worktime.day
.
+ */
+ public LocalDate getDay() {
+ return (LocalDate) get(2);
+ }
+
+ /**
+ * Setter for done.t_required_worktime.fk_login
.
+ */
+ public void setFkLogin(Integer value) {
+ set(3, value);
+ }
+
+ /**
+ * Getter for done.t_required_worktime.fk_login
.
+ */
+ public Integer getFkLogin() {
+ return (Integer) get(3);
+ }
+
+ // -------------------------------------------------------------------------
+ // Primary key information
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Record1 key() {
+ return (Record1) super.key();
+ }
+
+ // -------------------------------------------------------------------------
+ // Record4 type implementation
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row4 fieldsRow() {
+ return (Row4) super.fieldsRow();
+ }
+
+ @Override
+ public Row4 valuesRow() {
+ return (Row4) super.valuesRow();
+ }
+
+ @Override
+ public Field field1() {
+ return TRequiredWorktime.T_REQUIRED_WORKTIME.PK_REQUIRED_WORKTIME;
+ }
+
+ @Override
+ public Field field2() {
+ return TRequiredWorktime.T_REQUIRED_WORKTIME.REQUIRED;
+ }
+
+ @Override
+ public Field field3() {
+ return TRequiredWorktime.T_REQUIRED_WORKTIME.DAY;
+ }
+
+ @Override
+ public Field field4() {
+ return TRequiredWorktime.T_REQUIRED_WORKTIME.FK_LOGIN;
+ }
+
+ @Override
+ public Integer component1() {
+ return getPkRequiredWorktime();
+ }
+
+ @Override
+ public LocalTime component2() {
+ return getRequired();
+ }
+
+ @Override
+ public LocalDate component3() {
+ return getDay();
+ }
+
+ @Override
+ public Integer component4() {
+ return getFkLogin();
+ }
+
+ @Override
+ public Integer value1() {
+ return getPkRequiredWorktime();
+ }
+
+ @Override
+ public LocalTime value2() {
+ return getRequired();
+ }
+
+ @Override
+ public LocalDate value3() {
+ return getDay();
+ }
+
+ @Override
+ public Integer value4() {
+ return getFkLogin();
+ }
+
+ @Override
+ public TRequiredWorktimeRecord value1(Integer value) {
+ setPkRequiredWorktime(value);
+ return this;
+ }
+
+ @Override
+ public TRequiredWorktimeRecord value2(LocalTime value) {
+ setRequired(value);
+ return this;
+ }
+
+ @Override
+ public TRequiredWorktimeRecord value3(LocalDate value) {
+ setDay(value);
+ return this;
+ }
+
+ @Override
+ public TRequiredWorktimeRecord value4(Integer value) {
+ setFkLogin(value);
+ return this;
+ }
+
+ @Override
+ public TRequiredWorktimeRecord values(Integer value1, LocalTime value2, LocalDate value3, Integer value4) {
+ value1(value1);
+ value2(value2);
+ value3(value3);
+ value4(value4);
+ return this;
+ }
+
+ // -------------------------------------------------------------------------
+ // Constructors
+ // -------------------------------------------------------------------------
+
+ /**
+ * Create a detached TRequiredWorktimeRecord
+ */
+ public TRequiredWorktimeRecord() {
+ super(TRequiredWorktime.T_REQUIRED_WORKTIME);
+ }
+
+ /**
+ * Create a detached, initialised TRequiredWorktimeRecord
+ */
+ public TRequiredWorktimeRecord(Integer pkRequiredWorktime, LocalTime required, LocalDate day, Integer fkLogin) {
+ super(TRequiredWorktime.T_REQUIRED_WORKTIME);
+
+ setPkRequiredWorktime(pkRequiredWorktime);
+ setRequired(required);
+ setDay(day);
+ setFkLogin(fkLogin);
+ resetChangedOnNotNull();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/records/VCurrentOvertimeRecord.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/records/VCurrentOvertimeRecord.java
new file mode 100644
index 0000000..7b49feb
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/records/VCurrentOvertimeRecord.java
@@ -0,0 +1,174 @@
+/*
+ * This file is generated by jOOQ.
+ */
+package de.jottyfan.timetrack.db.done.tables.records;
+
+
+import de.jottyfan.timetrack.db.done.tables.VCurrentOvertime;
+
+import java.time.LocalTime;
+
+import org.jooq.Field;
+import org.jooq.Record3;
+import org.jooq.Row3;
+import org.jooq.impl.TableRecordImpl;
+
+
+/**
+ * This class is generated by jOOQ.
+ */
+@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+public class VCurrentOvertimeRecord extends TableRecordImpl implements Record3 {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Setter for done.v_current_overtime.overtime
.
+ */
+ public void setOvertime(LocalTime value) {
+ set(0, value);
+ }
+
+ /**
+ * Getter for done.v_current_overtime.overtime
.
+ */
+ public LocalTime getOvertime() {
+ return (LocalTime) get(0);
+ }
+
+ /**
+ * Setter for done.v_current_overtime.impact
.
+ */
+ public void setImpact(String value) {
+ set(1, value);
+ }
+
+ /**
+ * Getter for done.v_current_overtime.impact
.
+ */
+ public String getImpact() {
+ return (String) get(1);
+ }
+
+ /**
+ * Setter for done.v_current_overtime.fk_login
.
+ */
+ public void setFkLogin(Integer value) {
+ set(2, value);
+ }
+
+ /**
+ * Getter for done.v_current_overtime.fk_login
.
+ */
+ public Integer getFkLogin() {
+ return (Integer) get(2);
+ }
+
+ // -------------------------------------------------------------------------
+ // Record3 type implementation
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row3 fieldsRow() {
+ return (Row3) super.fieldsRow();
+ }
+
+ @Override
+ public Row3 valuesRow() {
+ return (Row3) super.valuesRow();
+ }
+
+ @Override
+ public Field field1() {
+ return VCurrentOvertime.V_CURRENT_OVERTIME.OVERTIME;
+ }
+
+ @Override
+ public Field