diff --git a/build.gradle b/build.gradle
index a909f3f..a6884c9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -23,7 +23,7 @@ apply plugin: 'maven-publish'
apply plugin: 'eclipse'
group = 'de.jottyfan'
-version = '20240105'
+version = '20240109'
def artifactId = 'timetrackjooq'
def versionNumber = version
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/Done.java b/src/main/java/de/jottyfan/timetrack/db/done/Done.java
index 3d20e5c..14214c1 100644
--- a/src/main/java/de/jottyfan/timetrack/db/done/Done.java
+++ b/src/main/java/de/jottyfan/timetrack/db/done/Done.java
@@ -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 done.v_daily
.
+ */
+ public final VDaily V_DAILY = VDaily.V_DAILY;
+
/**
* The table done.v_day
.
*/
@@ -121,6 +129,11 @@ public class Done extends SchemaImpl {
*/
public final VDaylimits V_DAYLIMITS = VDaylimits.V_DAYLIMITS;
+ /**
+ * The table done.v_daysummary
.
+ */
+ public final VDaysummary V_DAYSUMMARY = VDaysummary.V_DAYSUMMARY;
+
/**
* The table done.v_done
.
*/
@@ -166,6 +179,11 @@ public class Done extends SchemaImpl {
*/
public final VTimelength V_TIMELENGTH = VTimelength.V_TIMELENGTH;
+ /**
+ * The table done.v_totalofday
.
+ */
+ public final VTotalofday V_TOTALOFDAY = VTotalofday.V_TOTALOFDAY;
+
/**
* The table done.v_worktime
.
*/
@@ -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
);
}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/Tables.java b/src/main/java/de/jottyfan/timetrack/db/done/Tables.java
index 085c82a..3e599de 100644
--- a/src/main/java/de/jottyfan/timetrack/db/done/Tables.java
+++ b/src/main/java/de/jottyfan/timetrack/db/done/Tables.java
@@ -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 done.v_daily
.
+ */
+ public static final VDaily V_DAILY = VDaily.V_DAILY;
+
/**
* The table done.v_day
.
*/
@@ -106,6 +114,11 @@ public class Tables {
*/
public static final VDaylimits V_DAYLIMITS = VDaylimits.V_DAYLIMITS;
+ /**
+ * The table done.v_daysummary
.
+ */
+ public static final VDaysummary V_DAYSUMMARY = VDaysummary.V_DAYSUMMARY;
+
/**
* The table done.v_done
.
*/
@@ -151,6 +164,11 @@ public class Tables {
*/
public static final VTimelength V_TIMELENGTH = VTimelength.V_TIMELENGTH;
+ /**
+ * The table done.v_totalofday
.
+ */
+ public static final VTotalofday V_TOTALOFDAY = VTotalofday.V_TOTALOFDAY;
+
/**
* The table done.v_worktime
.
*/
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaily.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaily.java
new file mode 100644
index 0000000..4fd671c
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaily.java
@@ -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 {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.v_daily
+ */
+ public static final VDaily V_DAILY = new VDaily();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return VDailyRecord.class;
+ }
+
+ /**
+ * The column done.v_daily.worktime
.
+ */
+ public final TableField WORKTIME = createField(DSL.name("worktime"), SQLDataType.INTERVAL, this, "");
+
+ /**
+ * The column done.v_daily.day
.
+ */
+ public final TableField DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_daily.login
.
+ */
+ public final TableField LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_daily.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
+
+ private VDaily(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private VDaily(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
+ }
+
+ /**
+ * Create an aliased done.v_daily
table reference
+ */
+ public VDaily(String alias) {
+ this(DSL.name(alias), V_DAILY);
+ }
+
+ /**
+ * Create an aliased done.v_daily
table reference
+ */
+ public VDaily(Name alias) {
+ this(alias, V_DAILY);
+ }
+
+ /**
+ * Create a done.v_daily
table reference
+ */
+ public VDaily() {
+ this(DSL.name("v_daily"), null);
+ }
+
+ public VDaily(Table child, ForeignKey key) {
+ super(child, key, V_DAILY);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public VDaily as(String alias) {
+ return new VDaily(DSL.name(alias), this);
+ }
+
+ @Override
+ public VDaily as(Name alias) {
+ return new VDaily(alias, this);
+ }
+
+ @Override
+ public VDaily as(Table> alias) {
+ return new VDaily(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaily rename(String name) {
+ return new VDaily(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaily rename(Name name) {
+ return new VDaily(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaily rename(Table> name) {
+ return new VDaily(name.getQualifiedName(), null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row4 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row4 fieldsRow() {
+ return (Row4) super.fieldsRow();
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
+ */
+ public SelectField mapping(Function4 super YearToSecond, ? super String, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
+ */
+ public SelectField mapping(Class toType, Function4 super YearToSecond, ? super String, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaysummary.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaysummary.java
new file mode 100644
index 0000000..2dda502
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VDaysummary.java
@@ -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 {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.v_daysummary
+ */
+ public static final VDaysummary V_DAYSUMMARY = new VDaysummary();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return VDaysummaryRecord.class;
+ }
+
+ /**
+ * The column done.v_daysummary.breaktime
.
+ */
+ public final TableField BREAKTIME = createField(DSL.name("breaktime"), SQLDataType.INTERVAL, this, "");
+
+ /**
+ * The column done.v_daysummary.worktime
.
+ */
+ public final TableField WORKTIME = createField(DSL.name("worktime"), SQLDataType.INTERVAL, this, "");
+
+ /**
+ * The column done.v_daysummary.work_start
.
+ */
+ public final TableField WORK_START = createField(DSL.name("work_start"), SQLDataType.LOCALDATETIME(6), this, "");
+
+ /**
+ * The column done.v_daysummary.work_end
.
+ */
+ public final TableField WORK_END = createField(DSL.name("work_end"), SQLDataType.TIMESTAMPWITHTIMEZONE(6), this, "");
+
+ /**
+ * The column done.v_daysummary.day
.
+ */
+ public final TableField DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_daysummary.login
.
+ */
+ public final TableField LOGIN = createField(DSL.name("login"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_daysummary.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
+
+ private VDaysummary(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private VDaysummary(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
+ }
+
+ /**
+ * Create an aliased done.v_daysummary
table reference
+ */
+ public VDaysummary(String alias) {
+ this(DSL.name(alias), V_DAYSUMMARY);
+ }
+
+ /**
+ * Create an aliased done.v_daysummary
table reference
+ */
+ public VDaysummary(Name alias) {
+ this(alias, V_DAYSUMMARY);
+ }
+
+ /**
+ * Create a done.v_daysummary
table reference
+ */
+ public VDaysummary() {
+ this(DSL.name("v_daysummary"), null);
+ }
+
+ public VDaysummary(Table child, ForeignKey key) {
+ super(child, key, V_DAYSUMMARY);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public VDaysummary as(String alias) {
+ return new VDaysummary(DSL.name(alias), this);
+ }
+
+ @Override
+ public VDaysummary as(Name alias) {
+ return new VDaysummary(alias, this);
+ }
+
+ @Override
+ public VDaysummary as(Table> alias) {
+ return new VDaysummary(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaysummary rename(String name) {
+ return new VDaysummary(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaysummary rename(Name name) {
+ return new VDaysummary(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VDaysummary rename(Table> name) {
+ return new VDaysummary(name.getQualifiedName(), null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row7 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row7 fieldsRow() {
+ return (Row7) super.fieldsRow();
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
+ */
+ public SelectField mapping(Function7 super YearToSecond, ? super YearToSecond, ? super LocalDateTime, ? super OffsetDateTime, ? super String, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
+ */
+ public SelectField mapping(Class toType, Function7 super YearToSecond, ? super YearToSecond, ? super LocalDateTime, ? super OffsetDateTime, ? super String, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/VTotalofday.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/VTotalofday.java
new file mode 100644
index 0000000..c6c9b61
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/VTotalofday.java
@@ -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 {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The reference instance of done.v_totalofday
+ */
+ public static final VTotalofday V_TOTALOFDAY = new VTotalofday();
+
+ /**
+ * The class holding records for this type
+ */
+ @Override
+ public Class getRecordType() {
+ return VTotalofdayRecord.class;
+ }
+
+ /**
+ * The column done.v_totalofday.breaktime
.
+ */
+ public final TableField BREAKTIME = createField(DSL.name("breaktime"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_totalofday.worktime
.
+ */
+ public final TableField WORKTIME = createField(DSL.name("worktime"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_totalofday.starttime
.
+ */
+ public final TableField STARTTIME = createField(DSL.name("starttime"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_totalofday.endtime
.
+ */
+ public final TableField ENDTIME = createField(DSL.name("endtime"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_totalofday.day
.
+ */
+ public final TableField DAY = createField(DSL.name("day"), SQLDataType.CLOB, this, "");
+
+ /**
+ * The column done.v_totalofday.fk_login
.
+ */
+ public final TableField FK_LOGIN = createField(DSL.name("fk_login"), SQLDataType.INTEGER, this, "");
+
+ private VTotalofday(Name alias, Table aliased) {
+ this(alias, aliased, null);
+ }
+
+ private VTotalofday(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
+ }
+
+ /**
+ * Create an aliased done.v_totalofday
table reference
+ */
+ public VTotalofday(String alias) {
+ this(DSL.name(alias), V_TOTALOFDAY);
+ }
+
+ /**
+ * Create an aliased done.v_totalofday
table reference
+ */
+ public VTotalofday(Name alias) {
+ this(alias, V_TOTALOFDAY);
+ }
+
+ /**
+ * Create a done.v_totalofday
table reference
+ */
+ public VTotalofday() {
+ this(DSL.name("v_totalofday"), null);
+ }
+
+ public VTotalofday(Table child, ForeignKey key) {
+ super(child, key, V_TOTALOFDAY);
+ }
+
+ @Override
+ public Schema getSchema() {
+ return aliased() ? null : Done.DONE;
+ }
+
+ @Override
+ public VTotalofday as(String alias) {
+ return new VTotalofday(DSL.name(alias), this);
+ }
+
+ @Override
+ public VTotalofday as(Name alias) {
+ return new VTotalofday(alias, this);
+ }
+
+ @Override
+ public VTotalofday as(Table> alias) {
+ return new VTotalofday(alias.getQualifiedName(), this);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VTotalofday rename(String name) {
+ return new VTotalofday(DSL.name(name), null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VTotalofday rename(Name name) {
+ return new VTotalofday(name, null);
+ }
+
+ /**
+ * Rename this table
+ */
+ @Override
+ public VTotalofday rename(Table> name) {
+ return new VTotalofday(name.getQualifiedName(), null);
+ }
+
+ // -------------------------------------------------------------------------
+ // Row6 type methods
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row6 fieldsRow() {
+ return (Row6) super.fieldsRow();
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
+ */
+ public SelectField mapping(Function6 super String, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
+ }
+
+ /**
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
+ */
+ public SelectField mapping(Class toType, Function6 super String, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/records/VDailyRecord.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/records/VDailyRecord.java
new file mode 100644
index 0000000..4e14922
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/records/VDailyRecord.java
@@ -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 implements Record4 {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Setter for done.v_daily.worktime
.
+ */
+ public void setWorktime(YearToSecond value) {
+ set(0, value);
+ }
+
+ /**
+ * Getter for done.v_daily.worktime
.
+ */
+ public YearToSecond getWorktime() {
+ return (YearToSecond) get(0);
+ }
+
+ /**
+ * Setter for done.v_daily.day
.
+ */
+ public void setDay(String value) {
+ set(1, value);
+ }
+
+ /**
+ * Getter for done.v_daily.day
.
+ */
+ public String getDay() {
+ return (String) get(1);
+ }
+
+ /**
+ * Setter for done.v_daily.login
.
+ */
+ public void setLogin(String value) {
+ set(2, value);
+ }
+
+ /**
+ * Getter for done.v_daily.login
.
+ */
+ public String getLogin() {
+ return (String) get(2);
+ }
+
+ /**
+ * Setter for done.v_daily.fk_login
.
+ */
+ public void setFkLogin(Integer value) {
+ set(3, value);
+ }
+
+ /**
+ * Getter for done.v_daily.fk_login
.
+ */
+ public Integer getFkLogin() {
+ return (Integer) get(3);
+ }
+
+ // -------------------------------------------------------------------------
+ // Record4 type implementation
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row4 fieldsRow() {
+ return (Row4) super.fieldsRow();
+ }
+
+ @Override
+ public Row4 valuesRow() {
+ return (Row4) super.valuesRow();
+ }
+
+ @Override
+ public Field field1() {
+ return VDaily.V_DAILY.WORKTIME;
+ }
+
+ @Override
+ public Field field2() {
+ return VDaily.V_DAILY.DAY;
+ }
+
+ @Override
+ public Field field3() {
+ return VDaily.V_DAILY.LOGIN;
+ }
+
+ @Override
+ public Field 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();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/records/VDaysummaryRecord.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/records/VDaysummaryRecord.java
new file mode 100644
index 0000000..800c6ae
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/records/VDaysummaryRecord.java
@@ -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 implements Record7 {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Setter for done.v_daysummary.breaktime
.
+ */
+ public void setBreaktime(YearToSecond value) {
+ set(0, value);
+ }
+
+ /**
+ * Getter for done.v_daysummary.breaktime
.
+ */
+ public YearToSecond getBreaktime() {
+ return (YearToSecond) get(0);
+ }
+
+ /**
+ * Setter for done.v_daysummary.worktime
.
+ */
+ public void setWorktime(YearToSecond value) {
+ set(1, value);
+ }
+
+ /**
+ * Getter for done.v_daysummary.worktime
.
+ */
+ public YearToSecond getWorktime() {
+ return (YearToSecond) get(1);
+ }
+
+ /**
+ * Setter for done.v_daysummary.work_start
.
+ */
+ public void setWorkStart(LocalDateTime value) {
+ set(2, value);
+ }
+
+ /**
+ * Getter for done.v_daysummary.work_start
.
+ */
+ public LocalDateTime getWorkStart() {
+ return (LocalDateTime) get(2);
+ }
+
+ /**
+ * Setter for done.v_daysummary.work_end
.
+ */
+ public void setWorkEnd(OffsetDateTime value) {
+ set(3, value);
+ }
+
+ /**
+ * Getter for done.v_daysummary.work_end
.
+ */
+ public OffsetDateTime getWorkEnd() {
+ return (OffsetDateTime) get(3);
+ }
+
+ /**
+ * Setter for done.v_daysummary.day
.
+ */
+ public void setDay(String value) {
+ set(4, value);
+ }
+
+ /**
+ * Getter for done.v_daysummary.day
.
+ */
+ public String getDay() {
+ return (String) get(4);
+ }
+
+ /**
+ * Setter for done.v_daysummary.login
.
+ */
+ public void setLogin(String value) {
+ set(5, value);
+ }
+
+ /**
+ * Getter for done.v_daysummary.login
.
+ */
+ public String getLogin() {
+ return (String) get(5);
+ }
+
+ /**
+ * Setter for done.v_daysummary.fk_login
.
+ */
+ public void setFkLogin(Integer value) {
+ set(6, value);
+ }
+
+ /**
+ * Getter for done.v_daysummary.fk_login
.
+ */
+ public Integer getFkLogin() {
+ return (Integer) get(6);
+ }
+
+ // -------------------------------------------------------------------------
+ // Record7 type implementation
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row7 fieldsRow() {
+ return (Row7) super.fieldsRow();
+ }
+
+ @Override
+ public Row7 valuesRow() {
+ return (Row7) super.valuesRow();
+ }
+
+ @Override
+ public Field field1() {
+ return VDaysummary.V_DAYSUMMARY.BREAKTIME;
+ }
+
+ @Override
+ public Field field2() {
+ return VDaysummary.V_DAYSUMMARY.WORKTIME;
+ }
+
+ @Override
+ public Field field3() {
+ return VDaysummary.V_DAYSUMMARY.WORK_START;
+ }
+
+ @Override
+ public Field field4() {
+ return VDaysummary.V_DAYSUMMARY.WORK_END;
+ }
+
+ @Override
+ public Field field5() {
+ return VDaysummary.V_DAYSUMMARY.DAY;
+ }
+
+ @Override
+ public Field field6() {
+ return VDaysummary.V_DAYSUMMARY.LOGIN;
+ }
+
+ @Override
+ public Field 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();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/done/tables/records/VTotalofdayRecord.java b/src/main/java/de/jottyfan/timetrack/db/done/tables/records/VTotalofdayRecord.java
new file mode 100644
index 0000000..27e5656
--- /dev/null
+++ b/src/main/java/de/jottyfan/timetrack/db/done/tables/records/VTotalofdayRecord.java
@@ -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 implements Record6 {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Setter for done.v_totalofday.breaktime
.
+ */
+ public void setBreaktime(String value) {
+ set(0, value);
+ }
+
+ /**
+ * Getter for done.v_totalofday.breaktime
.
+ */
+ public String getBreaktime() {
+ return (String) get(0);
+ }
+
+ /**
+ * Setter for done.v_totalofday.worktime
.
+ */
+ public void setWorktime(String value) {
+ set(1, value);
+ }
+
+ /**
+ * Getter for done.v_totalofday.worktime
.
+ */
+ public String getWorktime() {
+ return (String) get(1);
+ }
+
+ /**
+ * Setter for done.v_totalofday.starttime
.
+ */
+ public void setStarttime(String value) {
+ set(2, value);
+ }
+
+ /**
+ * Getter for done.v_totalofday.starttime
.
+ */
+ public String getStarttime() {
+ return (String) get(2);
+ }
+
+ /**
+ * Setter for done.v_totalofday.endtime
.
+ */
+ public void setEndtime(String value) {
+ set(3, value);
+ }
+
+ /**
+ * Getter for done.v_totalofday.endtime
.
+ */
+ public String getEndtime() {
+ return (String) get(3);
+ }
+
+ /**
+ * Setter for done.v_totalofday.day
.
+ */
+ public void setDay(String value) {
+ set(4, value);
+ }
+
+ /**
+ * Getter for done.v_totalofday.day
.
+ */
+ public String getDay() {
+ return (String) get(4);
+ }
+
+ /**
+ * Setter for done.v_totalofday.fk_login
.
+ */
+ public void setFkLogin(Integer value) {
+ set(5, value);
+ }
+
+ /**
+ * Getter for done.v_totalofday.fk_login
.
+ */
+ public Integer getFkLogin() {
+ return (Integer) get(5);
+ }
+
+ // -------------------------------------------------------------------------
+ // Record6 type implementation
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row6 fieldsRow() {
+ return (Row6) super.fieldsRow();
+ }
+
+ @Override
+ public Row6 valuesRow() {
+ return (Row6) super.valuesRow();
+ }
+
+ @Override
+ public Field field1() {
+ return VTotalofday.V_TOTALOFDAY.BREAKTIME;
+ }
+
+ @Override
+ public Field field2() {
+ return VTotalofday.V_TOTALOFDAY.WORKTIME;
+ }
+
+ @Override
+ public Field field3() {
+ return VTotalofday.V_TOTALOFDAY.STARTTIME;
+ }
+
+ @Override
+ public Field field4() {
+ return VTotalofday.V_TOTALOFDAY.ENDTIME;
+ }
+
+ @Override
+ public Field field5() {
+ return VTotalofday.V_TOTALOFDAY.DAY;
+ }
+
+ @Override
+ public Field 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();
+ }
+}
diff --git a/src/main/java/de/jottyfan/timetrack/db/profile/tables/TProfile.java b/src/main/java/de/jottyfan/timetrack/db/profile/tables/TProfile.java
index 4e37732..08c04a6 100644
--- a/src/main/java/de/jottyfan/timetrack/db/profile/tables/TProfile.java
+++ b/src/main/java/de/jottyfan/timetrack/db/profile/tables/TProfile.java
@@ -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 {
*/
public final TableField THEME = createField(DSL.name("theme"), SQLDataType.CLOB.nullable(false).defaultValue(DSL.field(DSL.raw("'light'::text"), SQLDataType.CLOB)), this, "");
+ /**
+ * The column profile.t_profile.dynamic_css
.
+ */
+ public final TableField DYNAMIC_CSS = createField(DSL.name("dynamic_css"), SQLDataType.CLOB, this, "");
+
private TProfile(Name alias, Table aliased) {
this(alias, aliased, null);
}
@@ -166,18 +171,18 @@ public class TProfile extends TableImpl {
}
// -------------------------------------------------------------------------
- // Row4 type methods
+ // Row5 type methods
// -------------------------------------------------------------------------
@Override
- public Row4 fieldsRow() {
- return (Row4) super.fieldsRow();
+ public Row5 fieldsRow() {
+ return (Row5) super.fieldsRow();
}
/**
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
- public SelectField mapping(Function4 super LocalDateTime, ? super Integer, ? super String, ? super String, ? extends U> from) {
+ public SelectField 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 {
* Convenience mapping calling {@link SelectField#convertFrom(Class,
* Function)}.
*/
- public SelectField mapping(Class toType, Function4 super LocalDateTime, ? super Integer, ? super String, ? super String, ? extends U> from) {
+ public SelectField mapping(Class toType, Function5 super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? extends U> from) {
return convertFrom(toType, Records.mapping(from));
}
}
diff --git a/src/main/java/de/jottyfan/timetrack/db/profile/tables/records/TProfileRecord.java b/src/main/java/de/jottyfan/timetrack/db/profile/tables/records/TProfileRecord.java
index 05d55c7..74b9e3e 100644
--- a/src/main/java/de/jottyfan/timetrack/db/profile/tables/records/TProfileRecord.java
+++ b/src/main/java/de/jottyfan/timetrack/db/profile/tables/records/TProfileRecord.java
@@ -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 implements Record4 {
+public class TProfileRecord extends UpdatableRecordImpl implements Record5 {
private static final long serialVersionUID = 1L;
@@ -79,6 +79,20 @@ public class TProfileRecord extends UpdatableRecordImpl implemen
return (String) get(3);
}
+ /**
+ * Setter for profile.t_profile.dynamic_css
.
+ */
+ public void setDynamicCss(String value) {
+ set(4, value);
+ }
+
+ /**
+ * Getter for profile.t_profile.dynamic_css
.
+ */
+ public String getDynamicCss() {
+ return (String) get(4);
+ }
+
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@@ -89,17 +103,17 @@ public class TProfileRecord extends UpdatableRecordImpl implemen
}
// -------------------------------------------------------------------------
- // Record4 type implementation
+ // Record5 type implementation
// -------------------------------------------------------------------------
@Override
- public Row4 fieldsRow() {
- return (Row4) super.fieldsRow();
+ public Row5 fieldsRow() {
+ return (Row5) super.fieldsRow();
}
@Override
- public Row4 valuesRow() {
- return (Row4) super.valuesRow();
+ public Row5 valuesRow() {
+ return (Row5) super.valuesRow();
}
@Override
@@ -122,6 +136,11 @@ public class TProfileRecord extends UpdatableRecordImpl implemen
return TProfile.T_PROFILE.THEME;
}
+ @Override
+ public Field field5() {
+ return TProfile.T_PROFILE.DYNAMIC_CSS;
+ }
+
@Override
public LocalDateTime component1() {
return getLastchange();
@@ -142,6 +161,11 @@ public class TProfileRecord extends UpdatableRecordImpl implemen
return getTheme();
}
+ @Override
+ public String component5() {
+ return getDynamicCss();
+ }
+
@Override
public LocalDateTime value1() {
return getLastchange();
@@ -162,6 +186,11 @@ public class TProfileRecord extends UpdatableRecordImpl 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 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 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();
}
}
diff --git a/src/main/resources/profile_ext.sql b/src/main/resources/profile_ext.sql
new file mode 100644
index 0000000..7568f5a
--- /dev/null
+++ b/src/main/resources/profile_ext.sql
@@ -0,0 +1,2 @@
+alter table profile.t_profile add column dynamic_css text;
+