overtime enhancements
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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 <code>done.t_freetime</code>.
|
||||
*/
|
||||
public final TFreetime T_FREETIME = TFreetime.T_FREETIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_job</code>.
|
||||
*/
|
||||
@ -75,31 +80,41 @@ public class Done extends SchemaImpl {
|
||||
*/
|
||||
public final TModule T_MODULE = TModule.T_MODULE;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_overtime</code>.
|
||||
*/
|
||||
public final TOvertime T_OVERTIME = TOvertime.T_OVERTIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_project</code>.
|
||||
*/
|
||||
public final TProject T_PROJECT = TProject.T_PROJECT;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_required_worktime</code>.
|
||||
*/
|
||||
public final TRequiredWorktime T_REQUIRED_WORKTIME = TRequiredWorktime.T_REQUIRED_WORKTIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_billing</code>.
|
||||
*/
|
||||
public final VBilling V_BILLING = VBilling.V_BILLING;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daily</code>.
|
||||
* The table <code>done.v_current_overtime</code>.
|
||||
*/
|
||||
public final VDaily V_DAILY = VDaily.V_DAILY;
|
||||
public final VCurrentOvertime V_CURRENT_OVERTIME = VCurrentOvertime.V_CURRENT_OVERTIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daylimit</code>.
|
||||
*/
|
||||
public final VDaylimit V_DAYLIMIT = VDaylimit.V_DAYLIMIT;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daylimits</code>.
|
||||
*/
|
||||
public final VDaylimits V_DAYLIMITS = VDaylimits.V_DAYLIMITS;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daysummary</code>.
|
||||
*/
|
||||
public final VDaysummary V_DAYSUMMARY = VDaysummary.V_DAYSUMMARY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_done</code>.
|
||||
*/
|
||||
@ -110,21 +125,11 @@ public class Done extends SchemaImpl {
|
||||
*/
|
||||
public final VDuration V_DURATION = VDuration.V_DURATION;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_eucanshare</code>.
|
||||
*/
|
||||
public final VEucanshare V_EUCANSHARE = VEucanshare.V_EUCANSHARE;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_favorite</code>.
|
||||
*/
|
||||
public final VFavorite V_FAVORITE = VFavorite.V_FAVORITE;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_hamster</code>.
|
||||
*/
|
||||
public final VHamster V_HAMSTER = VHamster.V_HAMSTER;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_hamstersummary</code>.
|
||||
*/
|
||||
@ -155,11 +160,6 @@ public class Done extends SchemaImpl {
|
||||
*/
|
||||
public final VTimelength V_TIMELENGTH = VTimelength.V_TIMELENGTH;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_totalofday</code>.
|
||||
*/
|
||||
public final VTotalofday V_TOTALOFDAY = VTotalofday.V_TOTALOFDAY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_worktime</code>.
|
||||
*/
|
||||
@ -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
|
||||
);
|
||||
}
|
||||
|
@ -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<TBillingRecord> 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<TDoneRecord> T_DONE_PKEY = Internal.createUniqueKey(TDone.T_DONE, DSL.name("t_done_pkey"), new TableField[] { TDone.T_DONE.PK }, true);
|
||||
public static final UniqueKey<TFavoriteRecord> 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<TFreetimeRecord> 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<TFreetimeRecord> 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<TJobRecord> 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<TJobRecord> T_CATEGORY_PKEY = Internal.createUniqueKey(TJob.T_JOB, DSL.name("t_category_pkey"), new TableField[] { TJob.T_JOB.PK }, true);
|
||||
public static final UniqueKey<TModuleRecord> 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<TModuleRecord> T_JOB_PKEY = Internal.createUniqueKey(TModule.T_MODULE, DSL.name("t_job_pkey"), new TableField[] { TModule.T_MODULE.PK }, true);
|
||||
public static final UniqueKey<TOvertimeRecord> 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<TOvertimeRecord> 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<TProjectRecord> 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<TProjectRecord> T_PROJECT_PKEY = Internal.createUniqueKey(TProject.T_PROJECT, DSL.name("t_project_pkey"), new TableField[] { TProject.T_PROJECT.PK }, true);
|
||||
public static final UniqueKey<TRequiredWorktimeRecord> 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<TRequiredWorktimeRecord> 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<TFavoriteRecord, TLoginRecord> 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<TFavoriteRecord, TModuleRecord> 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<TFavoriteRecord, TProjectRecord> 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<TFreetimeRecord, TLoginRecord> 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<TOvertimeRecord, TLoginRecord> 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<TRequiredWorktimeRecord, TLoginRecord> 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);
|
||||
}
|
||||
|
@ -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 <code>done.t_freetime</code>.
|
||||
*/
|
||||
public static final TFreetime T_FREETIME = TFreetime.T_FREETIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_job</code>.
|
||||
*/
|
||||
@ -60,31 +65,41 @@ public class Tables {
|
||||
*/
|
||||
public static final TModule T_MODULE = TModule.T_MODULE;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_overtime</code>.
|
||||
*/
|
||||
public static final TOvertime T_OVERTIME = TOvertime.T_OVERTIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_project</code>.
|
||||
*/
|
||||
public static final TProject T_PROJECT = TProject.T_PROJECT;
|
||||
|
||||
/**
|
||||
* The table <code>done.t_required_worktime</code>.
|
||||
*/
|
||||
public static final TRequiredWorktime T_REQUIRED_WORKTIME = TRequiredWorktime.T_REQUIRED_WORKTIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_billing</code>.
|
||||
*/
|
||||
public static final VBilling V_BILLING = VBilling.V_BILLING;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daily</code>.
|
||||
* The table <code>done.v_current_overtime</code>.
|
||||
*/
|
||||
public static final VDaily V_DAILY = VDaily.V_DAILY;
|
||||
public static final VCurrentOvertime V_CURRENT_OVERTIME = VCurrentOvertime.V_CURRENT_OVERTIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daylimit</code>.
|
||||
*/
|
||||
public static final VDaylimit V_DAYLIMIT = VDaylimit.V_DAYLIMIT;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daylimits</code>.
|
||||
*/
|
||||
public static final VDaylimits V_DAYLIMITS = VDaylimits.V_DAYLIMITS;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daysummary</code>.
|
||||
*/
|
||||
public static final VDaysummary V_DAYSUMMARY = VDaysummary.V_DAYSUMMARY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_done</code>.
|
||||
*/
|
||||
@ -95,21 +110,11 @@ public class Tables {
|
||||
*/
|
||||
public static final VDuration V_DURATION = VDuration.V_DURATION;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_eucanshare</code>.
|
||||
*/
|
||||
public static final VEucanshare V_EUCANSHARE = VEucanshare.V_EUCANSHARE;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_favorite</code>.
|
||||
*/
|
||||
public static final VFavorite V_FAVORITE = VFavorite.V_FAVORITE;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_hamster</code>.
|
||||
*/
|
||||
public static final VHamster V_HAMSTER = VHamster.V_HAMSTER;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_hamstersummary</code>.
|
||||
*/
|
||||
@ -140,11 +145,6 @@ public class Tables {
|
||||
*/
|
||||
public static final VTimelength V_TIMELENGTH = VTimelength.V_TIMELENGTH;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_totalofday</code>.
|
||||
*/
|
||||
public static final VTotalofday V_TOTALOFDAY = VTotalofday.V_TOTALOFDAY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_worktime</code>.
|
||||
*/
|
||||
|
@ -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<TFreetimeRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.t_freetime</code>
|
||||
*/
|
||||
public static final TFreetime T_FREETIME = new TFreetime();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TFreetimeRecord> getRecordType() {
|
||||
return TFreetimeRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.t_freetime.pk_freetime</code>.
|
||||
*/
|
||||
public final TableField<TFreetimeRecord, Integer> PK_FREETIME = createField(DSL.name("pk_freetime"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_freetime.day</code>.
|
||||
*/
|
||||
public final TableField<TFreetimeRecord, LocalDate> DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_freetime.required_worktime</code>.
|
||||
*/
|
||||
public final TableField<TFreetimeRecord, LocalTime> 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 <code>done.t_freetime.reason</code>.
|
||||
*/
|
||||
public final TableField<TFreetimeRecord, String> REASON = createField(DSL.name("reason"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_freetime.fk_login</code>.
|
||||
*/
|
||||
public final TableField<TFreetimeRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
private TFreetime(Name alias, Table<TFreetimeRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TFreetime(Name alias, Table<TFreetimeRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_freetime</code> table reference
|
||||
*/
|
||||
public TFreetime(String alias) {
|
||||
this(DSL.name(alias), T_FREETIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_freetime</code> table reference
|
||||
*/
|
||||
public TFreetime(Name alias) {
|
||||
this(alias, T_FREETIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.t_freetime</code> table reference
|
||||
*/
|
||||
public TFreetime() {
|
||||
this(DSL.name("t_freetime"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TFreetime(Table<O> child, ForeignKey<O, TFreetimeRecord> key) {
|
||||
super(child, key, T_FREETIME);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TFreetimeRecord, Integer> getIdentity() {
|
||||
return (Identity<TFreetimeRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TFreetimeRecord> getPrimaryKey() {
|
||||
return Keys.T_FREETIME_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TFreetimeRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_FREETIME_DAY_FK_LOGIN_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<TFreetimeRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.T_FREETIME__T_FREETIME_FK_LOGIN_FKEY);
|
||||
}
|
||||
|
||||
private transient TLogin _tLogin;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>profile.t_login</code> 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<Integer, LocalDate, LocalTime, String, Integer> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> 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 <U> SelectField<U> mapping(Class<U> toType, Function5<? super Integer, ? super LocalDate, ? super LocalTime, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
@ -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<TOvertimeRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.t_overtime</code>
|
||||
*/
|
||||
public static final TOvertime T_OVERTIME = new TOvertime();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TOvertimeRecord> getRecordType() {
|
||||
return TOvertimeRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.t_overtime.pk_overtime</code>.
|
||||
*/
|
||||
public final TableField<TOvertimeRecord, Integer> PK_OVERTIME = createField(DSL.name("pk_overtime"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_overtime.worktime_offset</code>.
|
||||
*/
|
||||
public final TableField<TOvertimeRecord, LocalTime> WORKTIME_OFFSET = createField(DSL.name("worktime_offset"), SQLDataType.LOCALTIME(6).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_overtime.impact</code>.
|
||||
*/
|
||||
public final TableField<TOvertimeRecord, LocalDateTime> IMPACT = createField(DSL.name("impact"), SQLDataType.LOCALDATETIME(6).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_overtime.fk_login</code>.
|
||||
*/
|
||||
public final TableField<TOvertimeRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
private TOvertime(Name alias, Table<TOvertimeRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TOvertime(Name alias, Table<TOvertimeRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_overtime</code> table reference
|
||||
*/
|
||||
public TOvertime(String alias) {
|
||||
this(DSL.name(alias), T_OVERTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_overtime</code> table reference
|
||||
*/
|
||||
public TOvertime(Name alias) {
|
||||
this(alias, T_OVERTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.t_overtime</code> table reference
|
||||
*/
|
||||
public TOvertime() {
|
||||
this(DSL.name("t_overtime"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TOvertime(Table<O> child, ForeignKey<O, TOvertimeRecord> key) {
|
||||
super(child, key, T_OVERTIME);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TOvertimeRecord, Integer> getIdentity() {
|
||||
return (Identity<TOvertimeRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TOvertimeRecord> getPrimaryKey() {
|
||||
return Keys.T_OVERTIME_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TOvertimeRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_OVERTIME_FK_LOGIN_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<TOvertimeRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.T_OVERTIME__T_OVERTIME_FK_LOGIN_FKEY);
|
||||
}
|
||||
|
||||
private transient TLogin _tLogin;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>profile.t_login</code> 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<Integer, LocalTime, LocalDateTime, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> 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 <U> SelectField<U> mapping(Class<U> toType, Function4<? super Integer, ? super LocalTime, ? super LocalDateTime, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
@ -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<TRequiredWorktimeRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.t_required_worktime</code>
|
||||
*/
|
||||
public static final TRequiredWorktime T_REQUIRED_WORKTIME = new TRequiredWorktime();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TRequiredWorktimeRecord> getRecordType() {
|
||||
return TRequiredWorktimeRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.t_required_worktime.pk_required_worktime</code>.
|
||||
*/
|
||||
public final TableField<TRequiredWorktimeRecord, Integer> PK_REQUIRED_WORKTIME = createField(DSL.name("pk_required_worktime"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_required_worktime.required</code>.
|
||||
*/
|
||||
public final TableField<TRequiredWorktimeRecord, LocalTime> 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 <code>done.t_required_worktime.day</code>.
|
||||
*/
|
||||
public final TableField<TRequiredWorktimeRecord, LocalDate> DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_required_worktime.fk_login</code>.
|
||||
*/
|
||||
public final TableField<TRequiredWorktimeRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
private TRequiredWorktime(Name alias, Table<TRequiredWorktimeRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TRequiredWorktime(Name alias, Table<TRequiredWorktimeRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_required_worktime</code> table reference
|
||||
*/
|
||||
public TRequiredWorktime(String alias) {
|
||||
this(DSL.name(alias), T_REQUIRED_WORKTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.t_required_worktime</code> table reference
|
||||
*/
|
||||
public TRequiredWorktime(Name alias) {
|
||||
this(alias, T_REQUIRED_WORKTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.t_required_worktime</code> table reference
|
||||
*/
|
||||
public TRequiredWorktime() {
|
||||
this(DSL.name("t_required_worktime"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TRequiredWorktime(Table<O> child, ForeignKey<O, TRequiredWorktimeRecord> key) {
|
||||
super(child, key, T_REQUIRED_WORKTIME);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Done.DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TRequiredWorktimeRecord, Integer> getIdentity() {
|
||||
return (Identity<TRequiredWorktimeRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TRequiredWorktimeRecord> getPrimaryKey() {
|
||||
return Keys.T_REQUIRED_WORKTIME_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TRequiredWorktimeRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_REQUIRED_WORKTIME_DAY_FK_LOGIN_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<TRequiredWorktimeRecord, ?>> 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 <code>profile.t_login</code> 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<Integer, LocalTime, LocalDate, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> 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 <U> SelectField<U> mapping(Class<U> toType, Function4<? super Integer, ? super LocalTime, ? super LocalDate, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
@ -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<VCurrentOvertimeRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_current_overtime</code>
|
||||
*/
|
||||
public static final VCurrentOvertime V_CURRENT_OVERTIME = new VCurrentOvertime();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VCurrentOvertimeRecord> getRecordType() {
|
||||
return VCurrentOvertimeRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_current_overtime.overtime</code>.
|
||||
*/
|
||||
public final TableField<VCurrentOvertimeRecord, LocalTime> OVERTIME = createField(DSL.name("overtime"), SQLDataType.LOCALTIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_current_overtime.impact</code>.
|
||||
*/
|
||||
public final TableField<VCurrentOvertimeRecord, String> IMPACT = createField(DSL.name("impact"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_current_overtime.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VCurrentOvertimeRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VCurrentOvertime(Name alias, Table<VCurrentOvertimeRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VCurrentOvertime(Name alias, Table<VCurrentOvertimeRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_current_overtime</code> table reference
|
||||
*/
|
||||
public VCurrentOvertime(String alias) {
|
||||
this(DSL.name(alias), V_CURRENT_OVERTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_current_overtime</code> table reference
|
||||
*/
|
||||
public VCurrentOvertime(Name alias) {
|
||||
this(alias, V_CURRENT_OVERTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_current_overtime</code> table reference
|
||||
*/
|
||||
public VCurrentOvertime() {
|
||||
this(DSL.name("v_current_overtime"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VCurrentOvertime(Table<O> child, ForeignKey<O, VCurrentOvertimeRecord> 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<LocalTime, String, Integer> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> 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 <U> SelectField<U> mapping(Class<U> toType, Function3<? super LocalTime, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
@ -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<VDailyRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_daily</code>
|
||||
*/
|
||||
public static final VDaily V_DAILY = new VDaily();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VDailyRecord> getRecordType() {
|
||||
return VDailyRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daily.worktime</code>.
|
||||
*/
|
||||
public final TableField<VDailyRecord, YearToSecond> WORKTIME = createField(DSL.name("worktime"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daily.day</code>.
|
||||
*/
|
||||
public final TableField<VDailyRecord, String> DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daily.login</code>.
|
||||
*/
|
||||
public final TableField<VDailyRecord, String> LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daily.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VDailyRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VDaily(Name alias, Table<VDailyRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VDaily(Name alias, Table<VDailyRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_daily</code> table reference
|
||||
*/
|
||||
public VDaily(String alias) {
|
||||
this(DSL.name(alias), V_DAILY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_daily</code> table reference
|
||||
*/
|
||||
public VDaily(Name alias) {
|
||||
this(alias, V_DAILY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_daily</code> table reference
|
||||
*/
|
||||
public VDaily() {
|
||||
this(DSL.name("v_daily"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VDaily(Table<O> child, ForeignKey<O, VDailyRecord> 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<YearToSecond, String, String, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> 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 <U> SelectField<U> mapping(Class<U> toType, Function4<? super YearToSecond, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
@ -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<VDaylimitRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_daylimit</code>
|
||||
*/
|
||||
public static final VDaylimit V_DAYLIMIT = new VDaylimit();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VDaylimitRecord> getRecordType() {
|
||||
return VDaylimitRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimit.daytime_from</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitRecord, String> DAYTIME_FROM = createField(DSL.name("daytime_from"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimit.daytime_until</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitRecord, String> DAYTIME_UNTIL = createField(DSL.name("daytime_until"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimit.dayworktime</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitRecord, String> DAYWORKTIME = createField(DSL.name("dayworktime"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimit.breaks</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitRecord, String> BREAKS = createField(DSL.name("breaks"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimit.day</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitRecord, LocalDate> DAY = createField(DSL.name("day"), SQLDataType.LOCALDATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daylimit.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VDaylimitRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VDaylimit(Name alias, Table<VDaylimitRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VDaylimit(Name alias, Table<VDaylimitRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_daylimit</code> table reference
|
||||
*/
|
||||
public VDaylimit(String alias) {
|
||||
this(DSL.name(alias), V_DAYLIMIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_daylimit</code> table reference
|
||||
*/
|
||||
public VDaylimit(Name alias) {
|
||||
this(alias, V_DAYLIMIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_daylimit</code> table reference
|
||||
*/
|
||||
public VDaylimit() {
|
||||
this(DSL.name("v_daylimit"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VDaylimit(Table<O> child, ForeignKey<O, VDaylimitRecord> 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<String, String, String, String, LocalDate, Integer> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> 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 <U> SelectField<U> mapping(Class<U> toType, Function6<? super String, ? super String, ? super String, ? super String, ? super LocalDate, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
@ -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<VDaysummaryRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_daysummary</code>
|
||||
*/
|
||||
public static final VDaysummary V_DAYSUMMARY = new VDaysummary();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VDaysummaryRecord> getRecordType() {
|
||||
return VDaysummaryRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daysummary.breaktime</code>.
|
||||
*/
|
||||
public final TableField<VDaysummaryRecord, YearToSecond> BREAKTIME = createField(DSL.name("breaktime"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daysummary.worktime</code>.
|
||||
*/
|
||||
public final TableField<VDaysummaryRecord, YearToSecond> WORKTIME = createField(DSL.name("worktime"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daysummary.work_start</code>.
|
||||
*/
|
||||
public final TableField<VDaysummaryRecord, LocalDateTime> WORK_START = createField(DSL.name("work_start"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daysummary.work_end</code>.
|
||||
*/
|
||||
public final TableField<VDaysummaryRecord, OffsetDateTime> WORK_END = createField(DSL.name("work_end"), SQLDataType.TIMESTAMPWITHTIMEZONE(6), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daysummary.day</code>.
|
||||
*/
|
||||
public final TableField<VDaysummaryRecord, String> DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daysummary.login</code>.
|
||||
*/
|
||||
public final TableField<VDaysummaryRecord, String> LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_daysummary.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VDaysummaryRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VDaysummary(Name alias, Table<VDaysummaryRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VDaysummary(Name alias, Table<VDaysummaryRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_daysummary</code> table reference
|
||||
*/
|
||||
public VDaysummary(String alias) {
|
||||
this(DSL.name(alias), V_DAYSUMMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_daysummary</code> table reference
|
||||
*/
|
||||
public VDaysummary(Name alias) {
|
||||
this(alias, V_DAYSUMMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_daysummary</code> table reference
|
||||
*/
|
||||
public VDaysummary() {
|
||||
this(DSL.name("v_daysummary"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VDaysummary(Table<O> child, ForeignKey<O, VDaysummaryRecord> 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<YearToSecond, YearToSecond, LocalDateTime, OffsetDateTime, String, String, Integer> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> 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 <U> SelectField<U> mapping(Class<U> 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));
|
||||
}
|
||||
}
|
@ -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<VEucanshareRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_eucanshare</code>
|
||||
*/
|
||||
public static final VEucanshare V_EUCANSHARE = new VEucanshare();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VEucanshareRecord> getRecordType() {
|
||||
return VEucanshareRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_eucanshare.fk_done</code>.
|
||||
*/
|
||||
public final TableField<VEucanshareRecord, Integer> FK_DONE = createField(DSL.name("fk_done"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_eucanshare.workday</code>.
|
||||
*/
|
||||
public final TableField<VEucanshareRecord, LocalDate> WORKDAY = createField(DSL.name("workday"), SQLDataType.LOCALDATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_eucanshare.duration</code>.
|
||||
*/
|
||||
public final TableField<VEucanshareRecord, YearToSecond> DURATION = createField(DSL.name("duration"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_eucanshare.project_name</code>.
|
||||
*/
|
||||
public final TableField<VEucanshareRecord, String> PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_eucanshare.module_name</code>.
|
||||
*/
|
||||
public final TableField<VEucanshareRecord, String> MODULE_NAME = createField(DSL.name("module_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_eucanshare.job_name</code>.
|
||||
*/
|
||||
public final TableField<VEucanshareRecord, String> JOB_NAME = createField(DSL.name("job_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_eucanshare.billing_name</code>.
|
||||
*/
|
||||
public final TableField<VEucanshareRecord, String> BILLING_NAME = createField(DSL.name("billing_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_eucanshare.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VEucanshareRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VEucanshare(Name alias, Table<VEucanshareRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VEucanshare(Name alias, Table<VEucanshareRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_eucanshare</code> table reference
|
||||
*/
|
||||
public VEucanshare(String alias) {
|
||||
this(DSL.name(alias), V_EUCANSHARE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_eucanshare</code> table reference
|
||||
*/
|
||||
public VEucanshare(Name alias) {
|
||||
this(alias, V_EUCANSHARE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_eucanshare</code> table reference
|
||||
*/
|
||||
public VEucanshare() {
|
||||
this(DSL.name("v_eucanshare"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VEucanshare(Table<O> child, ForeignKey<O, VEucanshareRecord> 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<Integer, LocalDate, YearToSecond, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row8) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> 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 <U> SelectField<U> mapping(Class<U> 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));
|
||||
}
|
||||
}
|
@ -82,19 +82,7 @@ public class VFavorite extends TableImpl<VFavoriteRecord> {
|
||||
}
|
||||
|
||||
private VFavorite(Name alias, Table<VFavoriteRecord> 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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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<VHamsterRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_hamster</code>
|
||||
*/
|
||||
public static final VHamster V_HAMSTER = new VHamster();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VHamsterRecord> getRecordType() {
|
||||
return VHamsterRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_hamster.workday</code>.
|
||||
*/
|
||||
public final TableField<VHamsterRecord, LocalDate> WORKDAY = createField(DSL.name("workday"), SQLDataType.LOCALDATE, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_hamster.duration</code>.
|
||||
*/
|
||||
public final TableField<VHamsterRecord, YearToSecond> DURATION = createField(DSL.name("duration"), SQLDataType.INTERVAL, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_hamster.project_name</code>.
|
||||
*/
|
||||
public final TableField<VHamsterRecord, String> PROJECT_NAME = createField(DSL.name("project_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_hamster.module_name</code>.
|
||||
*/
|
||||
public final TableField<VHamsterRecord, String> MODULE_NAME = createField(DSL.name("module_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_hamster.job_name</code>.
|
||||
*/
|
||||
public final TableField<VHamsterRecord, String> JOB_NAME = createField(DSL.name("job_name"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_hamster.login</code>.
|
||||
*/
|
||||
public final TableField<VHamsterRecord, String> LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
|
||||
|
||||
private VHamster(Name alias, Table<VHamsterRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VHamster(Name alias, Table<VHamsterRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_hamster</code> table reference
|
||||
*/
|
||||
public VHamster(String alias) {
|
||||
this(DSL.name(alias), V_HAMSTER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_hamster</code> table reference
|
||||
*/
|
||||
public VHamster(Name alias) {
|
||||
this(alias, V_HAMSTER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_hamster</code> table reference
|
||||
*/
|
||||
public VHamster() {
|
||||
this(DSL.name("v_hamster"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VHamster(Table<O> child, ForeignKey<O, VHamsterRecord> 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<LocalDate, YearToSecond, String, String, String, String> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> 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 <U> SelectField<U> mapping(Class<U> toType, Function6<? super LocalDate, ? super YearToSecond, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
@ -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<VTotalofdayRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>done.v_totalofday</code>
|
||||
*/
|
||||
public static final VTotalofday V_TOTALOFDAY = new VTotalofday();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<VTotalofdayRecord> getRecordType() {
|
||||
return VTotalofdayRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>done.v_totalofday.breaktime</code>.
|
||||
*/
|
||||
public final TableField<VTotalofdayRecord, String> BREAKTIME = createField(DSL.name("breaktime"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_totalofday.worktime</code>.
|
||||
*/
|
||||
public final TableField<VTotalofdayRecord, String> WORKTIME = createField(DSL.name("worktime"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_totalofday.starttime</code>.
|
||||
*/
|
||||
public final TableField<VTotalofdayRecord, String> STARTTIME = createField(DSL.name("starttime"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_totalofday.endtime</code>.
|
||||
*/
|
||||
public final TableField<VTotalofdayRecord, String> ENDTIME = createField(DSL.name("endtime"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_totalofday.day</code>.
|
||||
*/
|
||||
public final TableField<VTotalofdayRecord, String> DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.v_totalofday.fk_login</code>.
|
||||
*/
|
||||
public final TableField<VTotalofdayRecord, Integer> FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
private VTotalofday(Name alias, Table<VTotalofdayRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private VTotalofday(Name alias, Table<VTotalofdayRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_totalofday</code> table reference
|
||||
*/
|
||||
public VTotalofday(String alias) {
|
||||
this(DSL.name(alias), V_TOTALOFDAY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>done.v_totalofday</code> table reference
|
||||
*/
|
||||
public VTotalofday(Name alias) {
|
||||
this(alias, V_TOTALOFDAY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>done.v_totalofday</code> table reference
|
||||
*/
|
||||
public VTotalofday() {
|
||||
this(DSL.name("v_totalofday"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> VTotalofday(Table<O> child, ForeignKey<O, VTotalofdayRecord> 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<String, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> 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 <U> SelectField<U> mapping(Class<U> toType, Function6<? super String, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
@ -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<TFreetimeRecord> implements Record5<Integer, LocalDate, LocalTime, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_freetime.pk_freetime</code>.
|
||||
*/
|
||||
public void setPkFreetime(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_freetime.pk_freetime</code>.
|
||||
*/
|
||||
public Integer getPkFreetime() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_freetime.day</code>.
|
||||
*/
|
||||
public void setDay(LocalDate value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_freetime.day</code>.
|
||||
*/
|
||||
public LocalDate getDay() {
|
||||
return (LocalDate) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_freetime.required_worktime</code>.
|
||||
*/
|
||||
public void setRequiredWorktime(LocalTime value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_freetime.required_worktime</code>.
|
||||
*/
|
||||
public LocalTime getRequiredWorktime() {
|
||||
return (LocalTime) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_freetime.reason</code>.
|
||||
*/
|
||||
public void setReason(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_freetime.reason</code>.
|
||||
*/
|
||||
public String getReason() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_freetime.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_freetime.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record5 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row5<Integer, LocalDate, LocalTime, String, Integer> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row5<Integer, LocalDate, LocalTime, String, Integer> valuesRow() {
|
||||
return (Row5) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return TFreetime.T_FREETIME.PK_FREETIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDate> field2() {
|
||||
return TFreetime.T_FREETIME.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalTime> field3() {
|
||||
return TFreetime.T_FREETIME.REQUIRED_WORKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return TFreetime.T_FREETIME.REASON;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> 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();
|
||||
}
|
||||
}
|
@ -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<TOvertimeRecord> implements Record4<Integer, LocalTime, LocalDateTime, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_overtime.pk_overtime</code>.
|
||||
*/
|
||||
public void setPkOvertime(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_overtime.pk_overtime</code>.
|
||||
*/
|
||||
public Integer getPkOvertime() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_overtime.worktime_offset</code>.
|
||||
*/
|
||||
public void setWorktimeOffset(LocalTime value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_overtime.worktime_offset</code>.
|
||||
*/
|
||||
public LocalTime getWorktimeOffset() {
|
||||
return (LocalTime) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_overtime.impact</code>.
|
||||
*/
|
||||
public void setImpact(LocalDateTime value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_overtime.impact</code>.
|
||||
*/
|
||||
public LocalDateTime getImpact() {
|
||||
return (LocalDateTime) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_overtime.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_overtime.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record4 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<Integer, LocalTime, LocalDateTime, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row4<Integer, LocalTime, LocalDateTime, Integer> valuesRow() {
|
||||
return (Row4) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return TOvertime.T_OVERTIME.PK_OVERTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalTime> field2() {
|
||||
return TOvertime.T_OVERTIME.WORKTIME_OFFSET;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field3() {
|
||||
return TOvertime.T_OVERTIME.IMPACT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> 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();
|
||||
}
|
||||
}
|
@ -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<TRequiredWorktimeRecord> implements Record4<Integer, LocalTime, LocalDate, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_required_worktime.pk_required_worktime</code>.
|
||||
*/
|
||||
public void setPkRequiredWorktime(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_required_worktime.pk_required_worktime</code>.
|
||||
*/
|
||||
public Integer getPkRequiredWorktime() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_required_worktime.required</code>.
|
||||
*/
|
||||
public void setRequired(LocalTime value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_required_worktime.required</code>.
|
||||
*/
|
||||
public LocalTime getRequired() {
|
||||
return (LocalTime) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_required_worktime.day</code>.
|
||||
*/
|
||||
public void setDay(LocalDate value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_required_worktime.day</code>.
|
||||
*/
|
||||
public LocalDate getDay() {
|
||||
return (LocalDate) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.t_required_worktime.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.t_required_worktime.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record4 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<Integer, LocalTime, LocalDate, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row4<Integer, LocalTime, LocalDate, Integer> valuesRow() {
|
||||
return (Row4) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return TRequiredWorktime.T_REQUIRED_WORKTIME.PK_REQUIRED_WORKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalTime> field2() {
|
||||
return TRequiredWorktime.T_REQUIRED_WORKTIME.REQUIRED;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDate> field3() {
|
||||
return TRequiredWorktime.T_REQUIRED_WORKTIME.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> 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();
|
||||
}
|
||||
}
|
@ -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<VCurrentOvertimeRecord> implements Record3<LocalTime, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_current_overtime.overtime</code>.
|
||||
*/
|
||||
public void setOvertime(LocalTime value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_current_overtime.overtime</code>.
|
||||
*/
|
||||
public LocalTime getOvertime() {
|
||||
return (LocalTime) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_current_overtime.impact</code>.
|
||||
*/
|
||||
public void setImpact(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_current_overtime.impact</code>.
|
||||
*/
|
||||
public String getImpact() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_current_overtime.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_current_overtime.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record3 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row3<LocalTime, String, Integer> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row3<LocalTime, String, Integer> valuesRow() {
|
||||
return (Row3) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalTime> field1() {
|
||||
return VCurrentOvertime.V_CURRENT_OVERTIME.OVERTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VCurrentOvertime.V_CURRENT_OVERTIME.IMPACT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return VCurrentOvertime.V_CURRENT_OVERTIME.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalTime component1() {
|
||||
return getOvertime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getImpact();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component3() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalTime value1() {
|
||||
return getOvertime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getImpact();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value3() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCurrentOvertimeRecord value1(LocalTime value) {
|
||||
setOvertime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCurrentOvertimeRecord value2(String value) {
|
||||
setImpact(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCurrentOvertimeRecord value3(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VCurrentOvertimeRecord values(LocalTime value1, String value2, Integer value3) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VCurrentOvertimeRecord
|
||||
*/
|
||||
public VCurrentOvertimeRecord() {
|
||||
super(VCurrentOvertime.V_CURRENT_OVERTIME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VCurrentOvertimeRecord
|
||||
*/
|
||||
public VCurrentOvertimeRecord(LocalTime overtime, String impact, Integer fkLogin) {
|
||||
super(VCurrentOvertime.V_CURRENT_OVERTIME);
|
||||
|
||||
setOvertime(overtime);
|
||||
setImpact(impact);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
@ -1,210 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaily;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record4;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDailyRecord extends TableRecordImpl<VDailyRecord> implements Record4<YearToSecond, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daily.worktime</code>.
|
||||
*/
|
||||
public void setWorktime(YearToSecond value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daily.worktime</code>.
|
||||
*/
|
||||
public YearToSecond getWorktime() {
|
||||
return (YearToSecond) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daily.day</code>.
|
||||
*/
|
||||
public void setDay(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daily.day</code>.
|
||||
*/
|
||||
public String getDay() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daily.login</code>.
|
||||
*/
|
||||
public void setLogin(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daily.login</code>.
|
||||
*/
|
||||
public String getLogin() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daily.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daily.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record4 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<YearToSecond, String, String, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row4<YearToSecond, String, String, Integer> valuesRow() {
|
||||
return (Row4) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<YearToSecond> field1() {
|
||||
return VDaily.V_DAILY.WORKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VDaily.V_DAILY.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return VDaily.V_DAILY.LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return VDaily.V_DAILY.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond component1() {
|
||||
return getWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component4() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond value1() {
|
||||
return getWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value4() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDailyRecord value1(YearToSecond value) {
|
||||
setWorktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDailyRecord value2(String value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDailyRecord value3(String value) {
|
||||
setLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDailyRecord value4(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDailyRecord values(YearToSecond value1, String value2, String value3, Integer value4) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VDailyRecord
|
||||
*/
|
||||
public VDailyRecord() {
|
||||
super(VDaily.V_DAILY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VDailyRecord
|
||||
*/
|
||||
public VDailyRecord(YearToSecond worktime, String day, String login, Integer fkLogin) {
|
||||
super(VDaily.V_DAILY);
|
||||
|
||||
setWorktime(worktime);
|
||||
setDay(day);
|
||||
setLogin(login);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
@ -0,0 +1,285 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaylimit;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record6;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDaylimitRecord extends TableRecordImpl<VDaylimitRecord> implements Record6<String, String, String, String, LocalDate, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimit.daytime_from</code>.
|
||||
*/
|
||||
public void setDaytimeFrom(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimit.daytime_from</code>.
|
||||
*/
|
||||
public String getDaytimeFrom() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimit.daytime_until</code>.
|
||||
*/
|
||||
public void setDaytimeUntil(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimit.daytime_until</code>.
|
||||
*/
|
||||
public String getDaytimeUntil() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimit.dayworktime</code>.
|
||||
*/
|
||||
public void setDayworktime(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimit.dayworktime</code>.
|
||||
*/
|
||||
public String getDayworktime() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimit.breaks</code>.
|
||||
*/
|
||||
public void setBreaks(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimit.breaks</code>.
|
||||
*/
|
||||
public String getBreaks() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimit.day</code>.
|
||||
*/
|
||||
public void setDay(LocalDate value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimit.day</code>.
|
||||
*/
|
||||
public LocalDate getDay() {
|
||||
return (LocalDate) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daylimit.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daylimit.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record6 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<String, String, String, String, LocalDate, Integer> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row6<String, String, String, String, LocalDate, Integer> valuesRow() {
|
||||
return (Row6) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return VDaylimit.V_DAYLIMIT.DAYTIME_FROM;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VDaylimit.V_DAYLIMIT.DAYTIME_UNTIL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return VDaylimit.V_DAYLIMIT.DAYWORKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return VDaylimit.V_DAYLIMIT.BREAKS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDate> field5() {
|
||||
return VDaylimit.V_DAYLIMIT.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field6() {
|
||||
return VDaylimit.V_DAYLIMIT.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component1() {
|
||||
return getDaytimeFrom();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getDaytimeUntil();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getDayworktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getBreaks();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate component5() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component6() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value1() {
|
||||
return getDaytimeFrom();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getDaytimeUntil();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getDayworktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getBreaks();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate value5() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value6() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitRecord value1(String value) {
|
||||
setDaytimeFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitRecord value2(String value) {
|
||||
setDaytimeUntil(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitRecord value3(String value) {
|
||||
setDayworktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitRecord value4(String value) {
|
||||
setBreaks(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitRecord value5(LocalDate value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitRecord value6(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimitRecord values(String value1, String value2, String value3, String value4, LocalDate value5, Integer value6) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VDaylimitRecord
|
||||
*/
|
||||
public VDaylimitRecord() {
|
||||
super(VDaylimit.V_DAYLIMIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VDaylimitRecord
|
||||
*/
|
||||
public VDaylimitRecord(String daytimeFrom, String daytimeUntil, String dayworktime, String breaks, LocalDate day, Integer fkLogin) {
|
||||
super(VDaylimit.V_DAYLIMIT);
|
||||
|
||||
setDaytimeFrom(daytimeFrom);
|
||||
setDaytimeUntil(daytimeUntil);
|
||||
setDayworktime(dayworktime);
|
||||
setBreaks(breaks);
|
||||
setDay(day);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
@ -1,324 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaysummary;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.OffsetDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record7;
|
||||
import org.jooq.Row7;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDaysummaryRecord extends TableRecordImpl<VDaysummaryRecord> implements Record7<YearToSecond, YearToSecond, LocalDateTime, OffsetDateTime, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daysummary.breaktime</code>.
|
||||
*/
|
||||
public void setBreaktime(YearToSecond value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daysummary.breaktime</code>.
|
||||
*/
|
||||
public YearToSecond getBreaktime() {
|
||||
return (YearToSecond) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daysummary.worktime</code>.
|
||||
*/
|
||||
public void setWorktime(YearToSecond value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daysummary.worktime</code>.
|
||||
*/
|
||||
public YearToSecond getWorktime() {
|
||||
return (YearToSecond) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daysummary.work_start</code>.
|
||||
*/
|
||||
public void setWorkStart(LocalDateTime value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daysummary.work_start</code>.
|
||||
*/
|
||||
public LocalDateTime getWorkStart() {
|
||||
return (LocalDateTime) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daysummary.work_end</code>.
|
||||
*/
|
||||
public void setWorkEnd(OffsetDateTime value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daysummary.work_end</code>.
|
||||
*/
|
||||
public OffsetDateTime getWorkEnd() {
|
||||
return (OffsetDateTime) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daysummary.day</code>.
|
||||
*/
|
||||
public void setDay(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daysummary.day</code>.
|
||||
*/
|
||||
public String getDay() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daysummary.login</code>.
|
||||
*/
|
||||
public void setLogin(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daysummary.login</code>.
|
||||
*/
|
||||
public String getLogin() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_daysummary.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_daysummary.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(6);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record7 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row7<YearToSecond, YearToSecond, LocalDateTime, OffsetDateTime, String, String, Integer> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row7<YearToSecond, YearToSecond, LocalDateTime, OffsetDateTime, String, String, Integer> valuesRow() {
|
||||
return (Row7) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<YearToSecond> field1() {
|
||||
return VDaysummary.V_DAYSUMMARY.BREAKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<YearToSecond> field2() {
|
||||
return VDaysummary.V_DAYSUMMARY.WORKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field3() {
|
||||
return VDaysummary.V_DAYSUMMARY.WORK_START;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<OffsetDateTime> field4() {
|
||||
return VDaysummary.V_DAYSUMMARY.WORK_END;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return VDaysummary.V_DAYSUMMARY.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return VDaysummary.V_DAYSUMMARY.LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field7() {
|
||||
return VDaysummary.V_DAYSUMMARY.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond component1() {
|
||||
return getBreaktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond component2() {
|
||||
return getWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component3() {
|
||||
return getWorkStart();
|
||||
}
|
||||
|
||||
@Override
|
||||
public OffsetDateTime component4() {
|
||||
return getWorkEnd();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component6() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component7() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond value1() {
|
||||
return getBreaktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond value2() {
|
||||
return getWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value3() {
|
||||
return getWorkStart();
|
||||
}
|
||||
|
||||
@Override
|
||||
public OffsetDateTime value4() {
|
||||
return getWorkEnd();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value6() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value7() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord value1(YearToSecond value) {
|
||||
setBreaktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord value2(YearToSecond value) {
|
||||
setWorktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord value3(LocalDateTime value) {
|
||||
setWorkStart(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord value4(OffsetDateTime value) {
|
||||
setWorkEnd(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord value5(String value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord value6(String value) {
|
||||
setLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord value7(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummaryRecord values(YearToSecond value1, YearToSecond value2, LocalDateTime value3, OffsetDateTime value4, String value5, String value6, Integer value7) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VDaysummaryRecord
|
||||
*/
|
||||
public VDaysummaryRecord() {
|
||||
super(VDaysummary.V_DAYSUMMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VDaysummaryRecord
|
||||
*/
|
||||
public VDaysummaryRecord(YearToSecond breaktime, YearToSecond worktime, LocalDateTime workStart, OffsetDateTime workEnd, String day, String login, Integer fkLogin) {
|
||||
super(VDaysummary.V_DAYSUMMARY);
|
||||
|
||||
setBreaktime(breaktime);
|
||||
setWorktime(worktime);
|
||||
setWorkStart(workStart);
|
||||
setWorkEnd(workEnd);
|
||||
setDay(day);
|
||||
setLogin(login);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
@ -1,360 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VEucanshare;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record8;
|
||||
import org.jooq.Row8;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VEucanshareRecord extends TableRecordImpl<VEucanshareRecord> implements Record8<Integer, LocalDate, YearToSecond, String, String, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_eucanshare.fk_done</code>.
|
||||
*/
|
||||
public void setFkDone(Integer value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_eucanshare.fk_done</code>.
|
||||
*/
|
||||
public Integer getFkDone() {
|
||||
return (Integer) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_eucanshare.workday</code>.
|
||||
*/
|
||||
public void setWorkday(LocalDate value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_eucanshare.workday</code>.
|
||||
*/
|
||||
public LocalDate getWorkday() {
|
||||
return (LocalDate) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_eucanshare.duration</code>.
|
||||
*/
|
||||
public void setDuration(YearToSecond value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_eucanshare.duration</code>.
|
||||
*/
|
||||
public YearToSecond getDuration() {
|
||||
return (YearToSecond) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_eucanshare.project_name</code>.
|
||||
*/
|
||||
public void setProjectName(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_eucanshare.project_name</code>.
|
||||
*/
|
||||
public String getProjectName() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_eucanshare.module_name</code>.
|
||||
*/
|
||||
public void setModuleName(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_eucanshare.module_name</code>.
|
||||
*/
|
||||
public String getModuleName() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_eucanshare.job_name</code>.
|
||||
*/
|
||||
public void setJobName(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_eucanshare.job_name</code>.
|
||||
*/
|
||||
public String getJobName() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_eucanshare.billing_name</code>.
|
||||
*/
|
||||
public void setBillingName(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_eucanshare.billing_name</code>.
|
||||
*/
|
||||
public String getBillingName() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_eucanshare.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_eucanshare.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(7);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record8 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row8<Integer, LocalDate, YearToSecond, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row8) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row8<Integer, LocalDate, YearToSecond, String, String, String, String, Integer> valuesRow() {
|
||||
return (Row8) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return VEucanshare.V_EUCANSHARE.FK_DONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDate> field2() {
|
||||
return VEucanshare.V_EUCANSHARE.WORKDAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<YearToSecond> field3() {
|
||||
return VEucanshare.V_EUCANSHARE.DURATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return VEucanshare.V_EUCANSHARE.PROJECT_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return VEucanshare.V_EUCANSHARE.MODULE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return VEucanshare.V_EUCANSHARE.JOB_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return VEucanshare.V_EUCANSHARE.BILLING_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field8() {
|
||||
return VEucanshare.V_EUCANSHARE.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component1() {
|
||||
return getFkDone();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate component2() {
|
||||
return getWorkday();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond component3() {
|
||||
return getDuration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getProjectName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getModuleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component6() {
|
||||
return getJobName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component7() {
|
||||
return getBillingName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component8() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value1() {
|
||||
return getFkDone();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate value2() {
|
||||
return getWorkday();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond value3() {
|
||||
return getDuration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getProjectName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getModuleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value6() {
|
||||
return getJobName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value7() {
|
||||
return getBillingName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value8() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VEucanshareRecord value1(Integer value) {
|
||||
setFkDone(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VEucanshareRecord value2(LocalDate value) {
|
||||
setWorkday(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VEucanshareRecord value3(YearToSecond value) {
|
||||
setDuration(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VEucanshareRecord value4(String value) {
|
||||
setProjectName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VEucanshareRecord value5(String value) {
|
||||
setModuleName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VEucanshareRecord value6(String value) {
|
||||
setJobName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VEucanshareRecord value7(String value) {
|
||||
setBillingName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VEucanshareRecord value8(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VEucanshareRecord values(Integer value1, LocalDate value2, YearToSecond value3, String value4, String value5, String value6, String value7, Integer value8) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
value7(value7);
|
||||
value8(value8);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VEucanshareRecord
|
||||
*/
|
||||
public VEucanshareRecord() {
|
||||
super(VEucanshare.V_EUCANSHARE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VEucanshareRecord
|
||||
*/
|
||||
public VEucanshareRecord(Integer fkDone, LocalDate workday, YearToSecond duration, String projectName, String moduleName, String jobName, String billingName, Integer fkLogin) {
|
||||
super(VEucanshare.V_EUCANSHARE);
|
||||
|
||||
setFkDone(fkDone);
|
||||
setWorkday(workday);
|
||||
setDuration(duration);
|
||||
setProjectName(projectName);
|
||||
setModuleName(moduleName);
|
||||
setJobName(jobName);
|
||||
setBillingName(billingName);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
@ -1,286 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VHamster;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record6;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
import org.jooq.types.YearToSecond;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VHamsterRecord extends TableRecordImpl<VHamsterRecord> implements Record6<LocalDate, YearToSecond, String, String, String, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_hamster.workday</code>.
|
||||
*/
|
||||
public void setWorkday(LocalDate value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_hamster.workday</code>.
|
||||
*/
|
||||
public LocalDate getWorkday() {
|
||||
return (LocalDate) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_hamster.duration</code>.
|
||||
*/
|
||||
public void setDuration(YearToSecond value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_hamster.duration</code>.
|
||||
*/
|
||||
public YearToSecond getDuration() {
|
||||
return (YearToSecond) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_hamster.project_name</code>.
|
||||
*/
|
||||
public void setProjectName(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_hamster.project_name</code>.
|
||||
*/
|
||||
public String getProjectName() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_hamster.module_name</code>.
|
||||
*/
|
||||
public void setModuleName(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_hamster.module_name</code>.
|
||||
*/
|
||||
public String getModuleName() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_hamster.job_name</code>.
|
||||
*/
|
||||
public void setJobName(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_hamster.job_name</code>.
|
||||
*/
|
||||
public String getJobName() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_hamster.login</code>.
|
||||
*/
|
||||
public void setLogin(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_hamster.login</code>.
|
||||
*/
|
||||
public String getLogin() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record6 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<LocalDate, YearToSecond, String, String, String, String> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row6<LocalDate, YearToSecond, String, String, String, String> valuesRow() {
|
||||
return (Row6) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDate> field1() {
|
||||
return VHamster.V_HAMSTER.WORKDAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<YearToSecond> field2() {
|
||||
return VHamster.V_HAMSTER.DURATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return VHamster.V_HAMSTER.PROJECT_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return VHamster.V_HAMSTER.MODULE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return VHamster.V_HAMSTER.JOB_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return VHamster.V_HAMSTER.LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate component1() {
|
||||
return getWorkday();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond component2() {
|
||||
return getDuration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getProjectName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getModuleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getJobName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component6() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDate value1() {
|
||||
return getWorkday();
|
||||
}
|
||||
|
||||
@Override
|
||||
public YearToSecond value2() {
|
||||
return getDuration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getProjectName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getModuleName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getJobName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value6() {
|
||||
return getLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamsterRecord value1(LocalDate value) {
|
||||
setWorkday(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamsterRecord value2(YearToSecond value) {
|
||||
setDuration(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamsterRecord value3(String value) {
|
||||
setProjectName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamsterRecord value4(String value) {
|
||||
setModuleName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamsterRecord value5(String value) {
|
||||
setJobName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamsterRecord value6(String value) {
|
||||
setLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamsterRecord values(LocalDate value1, YearToSecond value2, String value3, String value4, String value5, String value6) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VHamsterRecord
|
||||
*/
|
||||
public VHamsterRecord() {
|
||||
super(VHamster.V_HAMSTER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VHamsterRecord
|
||||
*/
|
||||
public VHamsterRecord(LocalDate workday, YearToSecond duration, String projectName, String moduleName, String jobName, String login) {
|
||||
super(VHamster.V_HAMSTER);
|
||||
|
||||
setWorkday(workday);
|
||||
setDuration(duration);
|
||||
setProjectName(projectName);
|
||||
setModuleName(moduleName);
|
||||
setJobName(jobName);
|
||||
setLogin(login);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
@ -1,283 +0,0 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.done.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.done.tables.VTotalofday;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record6;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VTotalofdayRecord extends TableRecordImpl<VTotalofdayRecord> implements Record6<String, String, String, String, String, Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_totalofday.breaktime</code>.
|
||||
*/
|
||||
public void setBreaktime(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_totalofday.breaktime</code>.
|
||||
*/
|
||||
public String getBreaktime() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_totalofday.worktime</code>.
|
||||
*/
|
||||
public void setWorktime(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_totalofday.worktime</code>.
|
||||
*/
|
||||
public String getWorktime() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_totalofday.starttime</code>.
|
||||
*/
|
||||
public void setStarttime(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_totalofday.starttime</code>.
|
||||
*/
|
||||
public String getStarttime() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_totalofday.endtime</code>.
|
||||
*/
|
||||
public void setEndtime(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_totalofday.endtime</code>.
|
||||
*/
|
||||
public String getEndtime() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_totalofday.day</code>.
|
||||
*/
|
||||
public void setDay(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_totalofday.day</code>.
|
||||
*/
|
||||
public String getDay() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>done.v_totalofday.fk_login</code>.
|
||||
*/
|
||||
public void setFkLogin(Integer value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>done.v_totalofday.fk_login</code>.
|
||||
*/
|
||||
public Integer getFkLogin() {
|
||||
return (Integer) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record6 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row6<String, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row6<String, String, String, String, String, Integer> valuesRow() {
|
||||
return (Row6) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field1() {
|
||||
return VTotalofday.V_TOTALOFDAY.BREAKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return VTotalofday.V_TOTALOFDAY.WORKTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return VTotalofday.V_TOTALOFDAY.STARTTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return VTotalofday.V_TOTALOFDAY.ENDTIME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return VTotalofday.V_TOTALOFDAY.DAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field6() {
|
||||
return VTotalofday.V_TOTALOFDAY.FK_LOGIN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component1() {
|
||||
return getBreaktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component2() {
|
||||
return getWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getStarttime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getEndtime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component6() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value1() {
|
||||
return getBreaktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value2() {
|
||||
return getWorktime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getStarttime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getEndtime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getDay();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value6() {
|
||||
return getFkLogin();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofdayRecord value1(String value) {
|
||||
setBreaktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofdayRecord value2(String value) {
|
||||
setWorktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofdayRecord value3(String value) {
|
||||
setStarttime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofdayRecord value4(String value) {
|
||||
setEndtime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofdayRecord value5(String value) {
|
||||
setDay(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofdayRecord value6(Integer value) {
|
||||
setFkLogin(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofdayRecord values(String value1, String value2, String value3, String value4, String value5, Integer value6) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
value6(value6);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached VTotalofdayRecord
|
||||
*/
|
||||
public VTotalofdayRecord() {
|
||||
super(VTotalofday.V_TOTALOFDAY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VTotalofdayRecord
|
||||
*/
|
||||
public VTotalofdayRecord(String breaktime, String worktime, String starttime, String endtime, String day, Integer fkLogin) {
|
||||
super(VTotalofday.V_TOTALOFDAY);
|
||||
|
||||
setBreaktime(breaktime);
|
||||
setWorktime(worktime);
|
||||
setStarttime(starttime);
|
||||
setEndtime(endtime);
|
||||
setDay(day);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
68
src/main/resources/done_ext.sql
Normal file
68
src/main/resources/done_ext.sql
Normal file
@ -0,0 +1,68 @@
|
||||
create table done.t_required_worktime (
|
||||
pk_required_worktime int primary key generated always as identity,
|
||||
required time without time zone not null default '8:0'::time,
|
||||
day date not null,
|
||||
fk_login int not null references profile.t_login(pk),
|
||||
unique(day, fk_login)
|
||||
);
|
||||
|
||||
grant select,insert,update,delete on done.t_required_worktime to timetrack;
|
||||
|
||||
create table done.t_overtime (
|
||||
pk_overtime int primary key generated always as identity,
|
||||
worktime_offset time without time zone not null,
|
||||
impact timestamp without time zone not null,
|
||||
fk_login int not null unique references profile.t_login(pk)
|
||||
);
|
||||
|
||||
grant select,insert,update on done.t_overtime to timetrack;
|
||||
|
||||
create table done.t_freetime (
|
||||
pk_freetime int primary key generated always as identity,
|
||||
day date not null,
|
||||
required_worktime time without time zone not null default '0:0'::time,
|
||||
reason text,
|
||||
fk_login int not null references profile.t_login(pk),
|
||||
unique(day, fk_login)
|
||||
);
|
||||
|
||||
grant select,insert,update,delete on done.t_freetime to timetrack;
|
||||
|
||||
create view done.v_daylimit as
|
||||
with x(dayworktime, day, fk_login) as (
|
||||
select coalesce(time_until - time_from, '0'::interval),
|
||||
to_char(time_from, 'DD.MM.YYYY')::date,
|
||||
fk_login
|
||||
from done.t_done
|
||||
), y(daytime_from, daytime_until, day, fk_login) as (
|
||||
select min(time_from), max(time_until),
|
||||
to_char(time_from, 'DD.MM.YYYY')::date,
|
||||
fk_login
|
||||
from done.t_done
|
||||
group by to_char(time_from, 'DD.MM.YYYY')::date, fk_login
|
||||
) select to_char(y.daytime_from, 'HH24:MI') as daytime_from,
|
||||
to_char(y.daytime_until, 'HH24:MI') as daytime_until,
|
||||
to_char(sum(x.dayworktime), 'HH24:MI') as dayworktime,
|
||||
to_char(y.daytime_until - y.daytime_from - sum(x.dayworktime), 'HH24:MI') as breaks,
|
||||
to_char(y.day, 'DD.MM.YYYY')::date as day,
|
||||
y.fk_login
|
||||
from x
|
||||
left join y on y.day = x.day and y.fk_login = x.fk_login
|
||||
group by y.daytime_from, y.daytime_until, y.day, y.fk_login
|
||||
order by y.day desc;
|
||||
|
||||
grant select on done.v_daylimit to timetrack;
|
||||
|
||||
create view done.v_current_overtime as
|
||||
select x.worktime_offset + sum(l.dayworktime::time - r.required) as overtime,
|
||||
to_char(now(), 'DD.MM.YYYY HH24:MI') as impact,
|
||||
x.fk_login
|
||||
from done.t_overtime x
|
||||
left join done.v_daylimit l on l.fk_login = x.fk_login and l.day >= x.impact
|
||||
left join done.t_required_worktime r on r.fk_login = x.fk_login and r.day = l.day
|
||||
where l.day < now()
|
||||
group by x.worktime_offset, x.fk_login;
|
||||
|
||||
grant select on done.v_current_overtime to timetrack;
|
||||
|
||||
create view done.v_version as select 20240103 as version;
|
@ -2,6 +2,7 @@ begin;
|
||||
-- \i access.sql
|
||||
\i profile.sql
|
||||
\i done.sql
|
||||
\i done_ext.sql
|
||||
\i contact.sql
|
||||
\i note.sql
|
||||
commit;
|
||||
|
Reference in New Issue
Block a user