added dynamic css
This commit is contained in:
@ -23,7 +23,7 @@ apply plugin: 'maven-publish'
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
group = 'de.jottyfan'
|
||||
version = '20240105'
|
||||
version = '20240109'
|
||||
def artifactId = 'timetrackjooq'
|
||||
def versionNumber = version
|
||||
|
||||
|
@ -16,9 +16,11 @@ import de.jottyfan.timetrack.db.done.tables.TProject;
|
||||
import de.jottyfan.timetrack.db.done.tables.TRequiredWorktime;
|
||||
import de.jottyfan.timetrack.db.done.tables.VBilling;
|
||||
import de.jottyfan.timetrack.db.done.tables.VCurrentOvertime;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaily;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDay;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaylimit;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaylimits;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaysummary;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDone;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDuration;
|
||||
import de.jottyfan.timetrack.db.done.tables.VFavorite;
|
||||
@ -28,6 +30,7 @@ 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;
|
||||
@ -106,6 +109,11 @@ public class Done extends SchemaImpl {
|
||||
*/
|
||||
public final VCurrentOvertime V_CURRENT_OVERTIME = VCurrentOvertime.V_CURRENT_OVERTIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daily</code>.
|
||||
*/
|
||||
public final VDaily V_DAILY = VDaily.V_DAILY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_day</code>.
|
||||
*/
|
||||
@ -121,6 +129,11 @@ public class Done extends SchemaImpl {
|
||||
*/
|
||||
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>.
|
||||
*/
|
||||
@ -166,6 +179,11 @@ 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>.
|
||||
*/
|
||||
@ -198,9 +216,11 @@ public class Done extends SchemaImpl {
|
||||
TRequiredWorktime.T_REQUIRED_WORKTIME,
|
||||
VBilling.V_BILLING,
|
||||
VCurrentOvertime.V_CURRENT_OVERTIME,
|
||||
VDaily.V_DAILY,
|
||||
VDay.V_DAY,
|
||||
VDaylimit.V_DAYLIMIT,
|
||||
VDaylimits.V_DAYLIMITS,
|
||||
VDaysummary.V_DAYSUMMARY,
|
||||
VDone.V_DONE,
|
||||
VDuration.V_DURATION,
|
||||
VFavorite.V_FAVORITE,
|
||||
@ -210,6 +230,7 @@ public class Done extends SchemaImpl {
|
||||
VProject.V_PROJECT,
|
||||
VTasklist.V_TASKLIST,
|
||||
VTimelength.V_TIMELENGTH,
|
||||
VTotalofday.V_TOTALOFDAY,
|
||||
VWorktime.V_WORKTIME
|
||||
);
|
||||
}
|
||||
|
@ -15,9 +15,11 @@ import de.jottyfan.timetrack.db.done.tables.TProject;
|
||||
import de.jottyfan.timetrack.db.done.tables.TRequiredWorktime;
|
||||
import de.jottyfan.timetrack.db.done.tables.VBilling;
|
||||
import de.jottyfan.timetrack.db.done.tables.VCurrentOvertime;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaily;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDay;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaylimit;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaylimits;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDaysummary;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDone;
|
||||
import de.jottyfan.timetrack.db.done.tables.VDuration;
|
||||
import de.jottyfan.timetrack.db.done.tables.VFavorite;
|
||||
@ -27,6 +29,7 @@ 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;
|
||||
|
||||
|
||||
@ -91,6 +94,11 @@ public class Tables {
|
||||
*/
|
||||
public static final VCurrentOvertime V_CURRENT_OVERTIME = VCurrentOvertime.V_CURRENT_OVERTIME;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_daily</code>.
|
||||
*/
|
||||
public static final VDaily V_DAILY = VDaily.V_DAILY;
|
||||
|
||||
/**
|
||||
* The table <code>done.v_day</code>.
|
||||
*/
|
||||
@ -106,6 +114,11 @@ public class Tables {
|
||||
*/
|
||||
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>.
|
||||
*/
|
||||
@ -151,6 +164,11 @@ 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>.
|
||||
*/
|
||||
|
171
src/main/java/de/jottyfan/timetrack/db/done/tables/VDaily.java
Normal file
171
src/main/java/de/jottyfan/timetrack/db/done/tables/VDaily.java
Normal file
@ -0,0 +1,171 @@
|
||||
/*
|
||||
* 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,188 @@
|
||||
/*
|
||||
* 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));
|
||||
}
|
||||
}
|
@ -0,0 +1,180 @@
|
||||
/*
|
||||
* 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,210 @@
|
||||
/*
|
||||
* 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,324 @@
|
||||
/*
|
||||
* 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();
|
||||
}
|
||||
}
|
@ -0,0 +1,283 @@
|
||||
/*
|
||||
* 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();
|
||||
}
|
||||
}
|
@ -15,12 +15,12 @@ import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function4;
|
||||
import org.jooq.Function5;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
@ -73,6 +73,11 @@ public class TProfile extends TableImpl<TProfileRecord> {
|
||||
*/
|
||||
public final TableField<TProfileRecord, String> THEME = createField(DSL.name("theme"), SQLDataType.CLOB.nullable(false).defaultValue(DSL.field(DSL.raw("'light'::text"), SQLDataType.CLOB)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_profile.dynamic_css</code>.
|
||||
*/
|
||||
public final TableField<TProfileRecord, String> DYNAMIC_CSS = createField(DSL.name("dynamic_css"), SQLDataType.CLOB, this, "");
|
||||
|
||||
private TProfile(Name alias, Table<TProfileRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
@ -166,18 +171,18 @@ public class TProfile extends TableImpl<TProfileRecord> {
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row4 type methods
|
||||
// Row5 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<LocalDateTime, Integer, String, String> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
public Row5<LocalDateTime, Integer, String, String, String> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function4<? super LocalDateTime, ? super Integer, ? super String, ? super String, ? extends U> from) {
|
||||
public <U> SelectField<U> mapping(Function5<? super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
@ -185,7 +190,7 @@ public class TProfile extends TableImpl<TProfileRecord> {
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function4<? super LocalDateTime, ? super Integer, ? super String, ? super String, ? extends U> from) {
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function5<? super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -10,8 +10,8 @@ import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record4;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.Record5;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@ import org.jooq.impl.UpdatableRecordImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> implements Record4<LocalDateTime, Integer, String, String> {
|
||||
public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> implements Record5<LocalDateTime, Integer, String, String, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ -79,6 +79,20 @@ public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> implemen
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_profile.dynamic_css</code>.
|
||||
*/
|
||||
public void setDynamicCss(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_profile.dynamic_css</code>.
|
||||
*/
|
||||
public String getDynamicCss() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
@ -89,17 +103,17 @@ public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> implemen
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record4 type implementation
|
||||
// Record5 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<LocalDateTime, Integer, String, String> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
public Row5<LocalDateTime, Integer, String, String, String> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row4<LocalDateTime, Integer, String, String> valuesRow() {
|
||||
return (Row4) super.valuesRow();
|
||||
public Row5<LocalDateTime, Integer, String, String, String> valuesRow() {
|
||||
return (Row5) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -122,6 +136,11 @@ public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> implemen
|
||||
return TProfile.T_PROFILE.THEME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return TProfile.T_PROFILE.DYNAMIC_CSS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component1() {
|
||||
return getLastchange();
|
||||
@ -142,6 +161,11 @@ public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> implemen
|
||||
return getTheme();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component5() {
|
||||
return getDynamicCss();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value1() {
|
||||
return getLastchange();
|
||||
@ -162,6 +186,11 @@ public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> implemen
|
||||
return getTheme();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value5() {
|
||||
return getDynamicCss();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfileRecord value1(LocalDateTime value) {
|
||||
setLastchange(value);
|
||||
@ -187,11 +216,18 @@ public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> implemen
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfileRecord values(LocalDateTime value1, Integer value2, String value3, String value4) {
|
||||
public TProfileRecord value5(String value) {
|
||||
setDynamicCss(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfileRecord values(LocalDateTime value1, Integer value2, String value3, String value4, String value5) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
value5(value5);
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -209,13 +245,14 @@ public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> implemen
|
||||
/**
|
||||
* Create a detached, initialised TProfileRecord
|
||||
*/
|
||||
public TProfileRecord(LocalDateTime lastchange, Integer pkProfile, String username, String theme) {
|
||||
public TProfileRecord(LocalDateTime lastchange, Integer pkProfile, String username, String theme, String dynamicCss) {
|
||||
super(TProfile.T_PROFILE);
|
||||
|
||||
setLastchange(lastchange);
|
||||
setPkProfile(pkProfile);
|
||||
setUsername(username);
|
||||
setTheme(theme);
|
||||
setDynamicCss(dynamicCss);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
2
src/main/resources/profile_ext.sql
Normal file
2
src/main/resources/profile_ext.sql
Normal file
@ -0,0 +1,2 @@
|
||||
alter table profile.t_profile add column dynamic_css text;
|
||||
|
Reference in New Issue
Block a user