added profile
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
<attribute name="gradle_used_by_scope" value="main,test"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
|
||||
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
|
||||
<classpathentry kind="output" path="bin/default"/>
|
||||
</classpath>
|
||||
|
@ -1,2 +1,13 @@
|
||||
arguments=
|
||||
auto.sync=false
|
||||
build.scans.enabled=false
|
||||
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
|
||||
connection.project.dir=
|
||||
eclipse.preferences.version=1
|
||||
gradle.user.home=
|
||||
java.home=
|
||||
jvm.arguments=
|
||||
offline.mode=false
|
||||
override.workspace.settings=false
|
||||
show.console.view=false
|
||||
show.executions.view=false
|
||||
|
@ -1,4 +1,4 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
|
||||
org.eclipse.jdt.core.compiler.compliance=11
|
||||
org.eclipse.jdt.core.compiler.source=11
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
|
||||
org.eclipse.jdt.core.compiler.compliance=17
|
||||
org.eclipse.jdt.core.compiler.source=17
|
||||
|
28
build.gradle
28
build.gradle
@ -7,15 +7,15 @@ buildscript {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'org.jooq:jooq-codegen:3.15.1'
|
||||
classpath 'org.postgresql:postgresql:42.2.23'
|
||||
classpath 'org.jooq:jooq-codegen:3.18.6'
|
||||
classpath 'org.postgresql:postgresql:42.6.0'
|
||||
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:latest.release'
|
||||
classpath 'nu.studer.jooq:nu.studer.jooq.gradle.plugin:6.0'
|
||||
classpath 'nu.studer.jooq:nu.studer.jooq.gradle.plugin:8.2.1'
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'nu.studer.jooq' version '6.0'
|
||||
id 'nu.studer.jooq' version '8.2.1'
|
||||
}
|
||||
|
||||
apply plugin: 'java'
|
||||
@ -23,14 +23,14 @@ apply plugin: 'maven-publish'
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
group = 'de.jottyfan'
|
||||
version = '0.1.1'
|
||||
version = '0.1.2'
|
||||
def artifactId = 'timetrackjooq'
|
||||
def versionNumber = version
|
||||
|
||||
description = """timetrackjooq"""
|
||||
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
sourceCompatibility = 17
|
||||
targetCompatibility = 17
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
@ -43,17 +43,17 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.jooq:jooq:3.15.1'
|
||||
implementation 'org.jooq:jooq-codegen:3.15.1'
|
||||
implementation 'org.jooq:jooq:3.18.6'
|
||||
implementation 'org.jooq:jooq-codegen:3.18.6'
|
||||
|
||||
implementation 'org.postgresql:postgresql:42.2.23'
|
||||
implementation 'org.postgresql:postgresql:42.6.0'
|
||||
|
||||
jooqGenerator 'org.postgresql:postgresql:42.2.23'
|
||||
jooqGenerator 'org.postgresql:postgresql:42.6.0'
|
||||
}
|
||||
|
||||
jooq {
|
||||
edition = nu.studer.gradle.jooq.JooqEdition.OSS
|
||||
version = '3.15.1'
|
||||
version = '3.18.6'
|
||||
configurations {
|
||||
timetrack {
|
||||
generateSchemaSourceOnCompilation = false
|
||||
@ -62,8 +62,8 @@ jooq {
|
||||
jdbc {
|
||||
driver = 'org.postgresql.Driver'
|
||||
url = 'jdbc:postgresql://localhost:5432/timetrack'
|
||||
user = dbUsername
|
||||
password = dbPassword
|
||||
user = 'jooq'
|
||||
password = 'jooq'
|
||||
}
|
||||
generator {
|
||||
name = 'org.jooq.codegen.DefaultGenerator'
|
||||
|
@ -12,6 +12,7 @@ import de.jottyfan.timetrack.db.profile.Profile;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Constants;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.impl.CatalogImpl;
|
||||
|
||||
@ -65,4 +66,12 @@ public class DefaultCatalog extends CatalogImpl {
|
||||
Profile.PROFILE
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* A reference to the 3.18 minor release of the code generator. If this
|
||||
* doesn't compile, it's because the runtime library uses an older minor
|
||||
* release, namely: 3.18. You can turn off the generation of this reference
|
||||
* by specifying /configuration/generator/generate/jooqVersionReference
|
||||
*/
|
||||
private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_18;
|
||||
}
|
||||
|
@ -52,4 +52,11 @@ public enum EnumContacttype implements EnumType {
|
||||
public String getLiteral() {
|
||||
return literal;
|
||||
}
|
||||
|
||||
/**
|
||||
* Lookup a value of this EnumType by its literal
|
||||
*/
|
||||
public static EnumContacttype lookupLiteral(String literal) {
|
||||
return EnumType.lookupLiteral(EnumContacttype.class, literal);
|
||||
}
|
||||
}
|
||||
|
@ -9,13 +9,18 @@ import de.jottyfan.timetrack.db.contact.Keys;
|
||||
import de.jottyfan.timetrack.db.contact.enums.EnumContacttype;
|
||||
import de.jottyfan.timetrack.db.contact.tables.records.TContactRecord;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function5;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -129,6 +134,11 @@ public class TContact extends TableImpl<TContactRecord> {
|
||||
return new TContact(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TContact as(Table<?> alias) {
|
||||
return new TContact(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -145,6 +155,14 @@ public class TContact extends TableImpl<TContactRecord> {
|
||||
return new TContact(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TContact rename(Table<?> name) {
|
||||
return new TContact(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row5 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -153,4 +171,19 @@ public class TContact extends TableImpl<TContactRecord> {
|
||||
public Row5<Integer, String, String, String, EnumContacttype> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function5<? super Integer, ? super String, ? super String, ? super String, ? super EnumContacttype, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function5<? super Integer, ? super String, ? super String, ? super String, ? super EnumContacttype, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -252,5 +252,6 @@ public class TContactRecord extends UpdatableRecordImpl<TContactRecord> implemen
|
||||
setSurname(surname);
|
||||
setContact(contact);
|
||||
setType(type);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -11,14 +11,18 @@ import de.jottyfan.timetrack.db.done.tables.records.TBillingRecord;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function5;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -52,7 +56,7 @@ public class TBilling extends TableImpl<TBillingRecord> {
|
||||
/**
|
||||
* The column <code>done.t_billing.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TBillingRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("now()", SQLDataType.LOCALDATETIME)), this, "");
|
||||
public final TableField<TBillingRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_billing.pk</code>.
|
||||
@ -137,6 +141,11 @@ public class TBilling extends TableImpl<TBillingRecord> {
|
||||
return new TBilling(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TBilling as(Table<?> alias) {
|
||||
return new TBilling(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -153,6 +162,14 @@ public class TBilling extends TableImpl<TBillingRecord> {
|
||||
return new TBilling(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TBilling rename(Table<?> name) {
|
||||
return new TBilling(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row5 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -161,4 +178,19 @@ public class TBilling extends TableImpl<TBillingRecord> {
|
||||
public Row5<LocalDateTime, Integer, String, String, String> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function5<? super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function5<? super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -12,14 +12,18 @@ import de.jottyfan.timetrack.db.profile.tables.TLogin;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function9;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row9;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -53,7 +57,7 @@ public class TDone extends TableImpl<TDoneRecord> {
|
||||
/**
|
||||
* The column <code>done.t_done.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TDoneRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("now()", SQLDataType.LOCALDATETIME)), this, "");
|
||||
public final TableField<TDoneRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_done.pk</code>.
|
||||
@ -154,6 +158,9 @@ public class TDone extends TableImpl<TDoneRecord> {
|
||||
private transient TLogin _tLogin;
|
||||
private transient TBilling _tBilling;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>done.t_project</code> table.
|
||||
*/
|
||||
public TProject tProject() {
|
||||
if (_tProject == null)
|
||||
_tProject = new TProject(this, Keys.T_DONE__T_DONE_FK_PROJECT_FKEY);
|
||||
@ -161,6 +168,9 @@ public class TDone extends TableImpl<TDoneRecord> {
|
||||
return _tProject;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>done.t_module</code> table.
|
||||
*/
|
||||
public TModule tModule() {
|
||||
if (_tModule == null)
|
||||
_tModule = new TModule(this, Keys.T_DONE__T_DONE_FK_JOB_FKEY);
|
||||
@ -168,6 +178,9 @@ public class TDone extends TableImpl<TDoneRecord> {
|
||||
return _tModule;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>done.t_job</code> table.
|
||||
*/
|
||||
public TJob tJob() {
|
||||
if (_tJob == null)
|
||||
_tJob = new TJob(this, Keys.T_DONE__T_DONE_FK_CATEGORY_FKEY);
|
||||
@ -175,6 +188,9 @@ public class TDone extends TableImpl<TDoneRecord> {
|
||||
return _tJob;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>profile.t_login</code> table.
|
||||
*/
|
||||
public TLogin tLogin() {
|
||||
if (_tLogin == null)
|
||||
_tLogin = new TLogin(this, Keys.T_DONE__T_DONE_FK_LOGIN_FKEY);
|
||||
@ -182,6 +198,9 @@ public class TDone extends TableImpl<TDoneRecord> {
|
||||
return _tLogin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>done.t_billing</code> table.
|
||||
*/
|
||||
public TBilling tBilling() {
|
||||
if (_tBilling == null)
|
||||
_tBilling = new TBilling(this, Keys.T_DONE__T_DONE_FK_BILLING_FKEY);
|
||||
@ -199,6 +218,11 @@ public class TDone extends TableImpl<TDoneRecord> {
|
||||
return new TDone(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TDone as(Table<?> alias) {
|
||||
return new TDone(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -215,6 +239,14 @@ public class TDone extends TableImpl<TDoneRecord> {
|
||||
return new TDone(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TDone rename(Table<?> name) {
|
||||
return new TDone(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row9 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -223,4 +255,19 @@ public class TDone extends TableImpl<TDoneRecord> {
|
||||
public Row9<LocalDateTime, Integer, LocalDateTime, LocalDateTime, Integer, Integer, Integer, Integer, Integer> fieldsRow() {
|
||||
return (Row9) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function9<? super LocalDateTime, ? super Integer, ? super LocalDateTime, ? super LocalDateTime, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? 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, Function9<? super LocalDateTime, ? super Integer, ? super LocalDateTime, ? super LocalDateTime, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -11,14 +11,18 @@ import de.jottyfan.timetrack.db.done.tables.records.TJobRecord;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -52,7 +56,7 @@ public class TJob extends TableImpl<TJobRecord> {
|
||||
/**
|
||||
* The column <code>done.t_job.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TJobRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("now()", SQLDataType.LOCALDATETIME)), this, "");
|
||||
public final TableField<TJobRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_job.pk</code>.
|
||||
@ -127,6 +131,11 @@ public class TJob extends TableImpl<TJobRecord> {
|
||||
return new TJob(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TJob as(Table<?> alias) {
|
||||
return new TJob(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -143,6 +152,14 @@ public class TJob extends TableImpl<TJobRecord> {
|
||||
return new TJob(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TJob rename(Table<?> name) {
|
||||
return new TJob(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -151,4 +168,19 @@ public class TJob extends TableImpl<TJobRecord> {
|
||||
public Row3<LocalDateTime, Integer, String> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -11,14 +11,18 @@ import de.jottyfan.timetrack.db.done.tables.records.TModuleRecord;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -52,7 +56,7 @@ public class TModule extends TableImpl<TModuleRecord> {
|
||||
/**
|
||||
* The column <code>done.t_module.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TModuleRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("now()", SQLDataType.LOCALDATETIME)), this, "");
|
||||
public final TableField<TModuleRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_module.pk</code>.
|
||||
@ -127,6 +131,11 @@ public class TModule extends TableImpl<TModuleRecord> {
|
||||
return new TModule(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TModule as(Table<?> alias) {
|
||||
return new TModule(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -143,6 +152,14 @@ public class TModule extends TableImpl<TModuleRecord> {
|
||||
return new TModule(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TModule rename(Table<?> name) {
|
||||
return new TModule(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -151,4 +168,19 @@ public class TModule extends TableImpl<TModuleRecord> {
|
||||
public Row3<LocalDateTime, Integer, String> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -11,14 +11,18 @@ import de.jottyfan.timetrack.db.done.tables.records.TProjectRecord;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -52,7 +56,7 @@ public class TProject extends TableImpl<TProjectRecord> {
|
||||
/**
|
||||
* The column <code>done.t_project.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TProjectRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("now()", SQLDataType.LOCALDATETIME)), this, "");
|
||||
public final TableField<TProjectRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>done.t_project.pk</code>.
|
||||
@ -127,6 +131,11 @@ public class TProject extends TableImpl<TProjectRecord> {
|
||||
return new TProject(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProject as(Table<?> alias) {
|
||||
return new TProject(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -143,6 +152,14 @@ public class TProject extends TableImpl<TProjectRecord> {
|
||||
return new TProject(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TProject rename(Table<?> name) {
|
||||
return new TProject(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -151,4 +168,19 @@ public class TProject extends TableImpl<TProjectRecord> {
|
||||
public Row3<LocalDateTime, Integer, String> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -8,13 +8,17 @@ import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VBillingRecord;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function5;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -117,6 +121,11 @@ public class VBilling extends TableImpl<VBillingRecord> {
|
||||
return new VBilling(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VBilling as(Table<?> alias) {
|
||||
return new VBilling(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -133,6 +142,14 @@ public class VBilling extends TableImpl<VBillingRecord> {
|
||||
return new VBilling(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VBilling rename(Table<?> name) {
|
||||
return new VBilling(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row5 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -141,4 +158,19 @@ public class VBilling extends TableImpl<VBillingRecord> {
|
||||
public Row5<Integer, String, String, String, BigDecimal> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function5<? super Integer, ? super String, ? super String, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function5<? super Integer, ? super String, ? super String, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -7,12 +7,17 @@ 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;
|
||||
@ -111,6 +116,11 @@ public class VDaily extends TableImpl<VDailyRecord> {
|
||||
return new VDaily(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaily as(Table<?> alias) {
|
||||
return new VDaily(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -127,6 +137,14 @@ public class VDaily extends TableImpl<VDailyRecord> {
|
||||
return new VDaily(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaily rename(Table<?> name) {
|
||||
return new VDaily(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row4 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -135,4 +153,19 @@ public class VDaily extends TableImpl<VDailyRecord> {
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
@ -9,13 +9,17 @@ import de.jottyfan.timetrack.db.done.tables.records.VDaylimitsRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.OffsetDateTime;
|
||||
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;
|
||||
@ -113,6 +117,11 @@ public class VDaylimits extends TableImpl<VDaylimitsRecord> {
|
||||
return new VDaylimits(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaylimits as(Table<?> alias) {
|
||||
return new VDaylimits(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -129,6 +138,14 @@ public class VDaylimits extends TableImpl<VDaylimitsRecord> {
|
||||
return new VDaylimits(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaylimits rename(Table<?> name) {
|
||||
return new VDaylimits(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row4 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -137,4 +154,19 @@ public class VDaylimits extends TableImpl<VDaylimitsRecord> {
|
||||
public Row4<LocalDateTime, OffsetDateTime, String, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function4<? super LocalDateTime, ? super OffsetDateTime, ? 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 LocalDateTime, ? super OffsetDateTime, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -9,13 +9,17 @@ 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;
|
||||
@ -129,6 +133,11 @@ public class VDaysummary extends TableImpl<VDaysummaryRecord> {
|
||||
return new VDaysummary(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDaysummary as(Table<?> alias) {
|
||||
return new VDaysummary(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -145,6 +154,14 @@ public class VDaysummary extends TableImpl<VDaysummaryRecord> {
|
||||
return new VDaysummary(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDaysummary rename(Table<?> name) {
|
||||
return new VDaysummary(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row7 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -153,4 +170,19 @@ public class VDaysummary extends TableImpl<VDaysummaryRecord> {
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
@ -8,13 +8,17 @@ import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VDoneRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function8;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row8;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -132,6 +136,11 @@ public class VDone extends TableImpl<VDoneRecord> {
|
||||
return new VDone(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDone as(Table<?> alias) {
|
||||
return new VDone(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -148,6 +157,14 @@ public class VDone extends TableImpl<VDoneRecord> {
|
||||
return new VDone(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDone rename(Table<?> name) {
|
||||
return new VDone(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row8 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -156,4 +173,19 @@ public class VDone extends TableImpl<VDoneRecord> {
|
||||
public Row8<Integer, Integer, LocalDateTime, LocalDateTime, String, String, String, String> fieldsRow() {
|
||||
return (Row8) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function8<? super Integer, ? super Integer, ? super LocalDateTime, ? super LocalDateTime, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function8<? super Integer, ? super Integer, ? super LocalDateTime, ? super LocalDateTime, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -7,12 +7,17 @@ package de.jottyfan.timetrack.db.done.tables;
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VDurationRecord;
|
||||
|
||||
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;
|
||||
@ -126,6 +131,11 @@ public class VDuration extends TableImpl<VDurationRecord> {
|
||||
return new VDuration(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VDuration as(Table<?> alias) {
|
||||
return new VDuration(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -142,6 +152,14 @@ public class VDuration extends TableImpl<VDurationRecord> {
|
||||
return new VDuration(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VDuration rename(Table<?> name) {
|
||||
return new VDuration(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row7 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -150,4 +168,19 @@ public class VDuration extends TableImpl<VDurationRecord> {
|
||||
public Row7<String, YearToSecond, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function7<? super String, ? super YearToSecond, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function7<? super String, ? super YearToSecond, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -8,13 +8,17 @@ import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VEucanshareRecord;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function8;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row8;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -133,6 +137,11 @@ public class VEucanshare extends TableImpl<VEucanshareRecord> {
|
||||
return new VEucanshare(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VEucanshare as(Table<?> alias) {
|
||||
return new VEucanshare(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -149,6 +158,14 @@ public class VEucanshare extends TableImpl<VEucanshareRecord> {
|
||||
return new VEucanshare(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VEucanshare rename(Table<?> name) {
|
||||
return new VEucanshare(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row8 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -157,4 +174,19 @@ public class VEucanshare extends TableImpl<VEucanshareRecord> {
|
||||
public Row8<Integer, LocalDate, YearToSecond, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row8) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function8<? super Integer, ? super LocalDate, ? super YearToSecond, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function8<? super Integer, ? super LocalDate, ? super YearToSecond, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -8,13 +8,17 @@ import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VHamsterRecord;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function6;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -123,6 +127,11 @@ public class VHamster extends TableImpl<VHamsterRecord> {
|
||||
return new VHamster(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamster as(Table<?> alias) {
|
||||
return new VHamster(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -139,6 +148,14 @@ public class VHamster extends TableImpl<VHamsterRecord> {
|
||||
return new VHamster(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VHamster rename(Table<?> name) {
|
||||
return new VHamster(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row6 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -147,4 +164,19 @@ public class VHamster extends TableImpl<VHamsterRecord> {
|
||||
public Row6<LocalDate, YearToSecond, String, String, String, String> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function6<? super LocalDate, ? super YearToSecond, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function6<? super LocalDate, ? super YearToSecond, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -8,13 +8,17 @@ import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VHamstersummaryRecord;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function6;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row6;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -122,6 +126,11 @@ public class VHamstersummary extends TableImpl<VHamstersummaryRecord> {
|
||||
return new VHamstersummary(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VHamstersummary as(Table<?> alias) {
|
||||
return new VHamstersummary(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -138,6 +147,14 @@ public class VHamstersummary extends TableImpl<VHamstersummaryRecord> {
|
||||
return new VHamstersummary(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VHamstersummary rename(Table<?> name) {
|
||||
return new VHamstersummary(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row6 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -146,4 +163,19 @@ public class VHamstersummary extends TableImpl<VHamstersummaryRecord> {
|
||||
public Row6<LocalDate, String, String, String, String, String> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function6<? super LocalDate, ? super String, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function6<? super LocalDate, ? super String, ? super String, ? super String, ? super String, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -8,13 +8,17 @@ import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VJobRecord;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -107,6 +111,11 @@ public class VJob extends TableImpl<VJobRecord> {
|
||||
return new VJob(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VJob as(Table<?> alias) {
|
||||
return new VJob(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -123,6 +132,14 @@ public class VJob extends TableImpl<VJobRecord> {
|
||||
return new VJob(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VJob rename(Table<?> name) {
|
||||
return new VJob(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -131,4 +148,19 @@ public class VJob extends TableImpl<VJobRecord> {
|
||||
public Row3<Integer, String, BigDecimal> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super Integer, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super Integer, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -8,13 +8,17 @@ import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VModuleRecord;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -107,6 +111,11 @@ public class VModule extends TableImpl<VModuleRecord> {
|
||||
return new VModule(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VModule as(Table<?> alias) {
|
||||
return new VModule(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -123,6 +132,14 @@ public class VModule extends TableImpl<VModuleRecord> {
|
||||
return new VModule(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VModule rename(Table<?> name) {
|
||||
return new VModule(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -131,4 +148,19 @@ public class VModule extends TableImpl<VModuleRecord> {
|
||||
public Row3<Integer, String, BigDecimal> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super Integer, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super Integer, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -8,13 +8,17 @@ import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VProjectRecord;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -107,6 +111,11 @@ public class VProject extends TableImpl<VProjectRecord> {
|
||||
return new VProject(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VProject as(Table<?> alias) {
|
||||
return new VProject(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -123,6 +132,14 @@ public class VProject extends TableImpl<VProjectRecord> {
|
||||
return new VProject(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VProject rename(Table<?> name) {
|
||||
return new VProject(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -131,4 +148,19 @@ public class VProject extends TableImpl<VProjectRecord> {
|
||||
public Row3<Integer, String, BigDecimal> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super Integer, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super Integer, ? super String, ? super BigDecimal, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -7,12 +7,17 @@ package de.jottyfan.timetrack.db.done.tables;
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VTasklistRecord;
|
||||
|
||||
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;
|
||||
@ -120,6 +125,11 @@ public class VTasklist extends TableImpl<VTasklistRecord> {
|
||||
return new VTasklist(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTasklist as(Table<?> alias) {
|
||||
return new VTasklist(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -136,6 +146,14 @@ public class VTasklist extends TableImpl<VTasklistRecord> {
|
||||
return new VTasklist(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VTasklist rename(Table<?> name) {
|
||||
return new VTasklist(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row6 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -144,4 +162,19 @@ public class VTasklist extends TableImpl<VTasklistRecord> {
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
@ -7,12 +7,17 @@ package de.jottyfan.timetrack.db.done.tables;
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VTimelengthRecord;
|
||||
|
||||
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;
|
||||
@ -111,6 +116,11 @@ public class VTimelength extends TableImpl<VTimelengthRecord> {
|
||||
return new VTimelength(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTimelength as(Table<?> alias) {
|
||||
return new VTimelength(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -127,6 +137,14 @@ public class VTimelength extends TableImpl<VTimelengthRecord> {
|
||||
return new VTimelength(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VTimelength rename(Table<?> name) {
|
||||
return new VTimelength(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row4 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -135,4 +153,19 @@ public class VTimelength extends TableImpl<VTimelengthRecord> {
|
||||
public Row4<String, YearToSecond, Integer, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function4<? super String, ? super YearToSecond, ? super Integer, ? 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 String, ? super YearToSecond, ? super Integer, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -7,12 +7,17 @@ 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;
|
||||
@ -120,6 +125,11 @@ public class VTotalofday extends TableImpl<VTotalofdayRecord> {
|
||||
return new VTotalofday(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VTotalofday as(Table<?> alias) {
|
||||
return new VTotalofday(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -136,6 +146,14 @@ public class VTotalofday extends TableImpl<VTotalofdayRecord> {
|
||||
return new VTotalofday(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VTotalofday rename(Table<?> name) {
|
||||
return new VTotalofday(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row6 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -144,4 +162,19 @@ public class VTotalofday extends TableImpl<VTotalofdayRecord> {
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
@ -7,12 +7,17 @@ package de.jottyfan.timetrack.db.done.tables;
|
||||
import de.jottyfan.timetrack.db.done.Done;
|
||||
import de.jottyfan.timetrack.db.done.tables.records.VWorktimeRecord;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function9;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row9;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -135,6 +140,11 @@ public class VWorktime extends TableImpl<VWorktimeRecord> {
|
||||
return new VWorktime(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VWorktime as(Table<?> alias) {
|
||||
return new VWorktime(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -151,6 +161,14 @@ public class VWorktime extends TableImpl<VWorktimeRecord> {
|
||||
return new VWorktime(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VWorktime rename(Table<?> name) {
|
||||
return new VWorktime(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row9 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -159,4 +177,19 @@ public class VWorktime extends TableImpl<VWorktimeRecord> {
|
||||
public Row9<String, String, Double, String, String, String, String, String, Integer> fieldsRow() {
|
||||
return (Row9) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function9<? super String, ? super String, ? super Double, ? 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, Function9<? super String, ? super String, ? super Double, ? super String, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -253,5 +253,6 @@ public class TBillingRecord extends UpdatableRecordImpl<TBillingRecord> implemen
|
||||
setName(name);
|
||||
setShortcut(shortcut);
|
||||
setCsskey(csskey);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -401,5 +401,6 @@ public class TDoneRecord extends UpdatableRecordImpl<TDoneRecord> implements Rec
|
||||
setFkJob(fkJob);
|
||||
setFkLogin(fkLogin);
|
||||
setFkBilling(fkBilling);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -179,5 +179,6 @@ public class TJobRecord extends UpdatableRecordImpl<TJobRecord> implements Recor
|
||||
setLastchange(lastchange);
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -179,5 +179,6 @@ public class TModuleRecord extends UpdatableRecordImpl<TModuleRecord> implements
|
||||
setLastchange(lastchange);
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -179,5 +179,6 @@ public class TProjectRecord extends UpdatableRecordImpl<TProjectRecord> implemen
|
||||
setLastchange(lastchange);
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -243,5 +243,6 @@ public class VBillingRecord extends TableRecordImpl<VBillingRecord> implements R
|
||||
setShortcut(shortcut);
|
||||
setCsskey(csskey);
|
||||
setPercentUsage(percentUsage);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -205,5 +205,6 @@ public class VDailyRecord extends TableRecordImpl<VDailyRecord> implements Recor
|
||||
setDay(day);
|
||||
setLogin(login);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -207,5 +207,6 @@ public class VDaylimitsRecord extends TableRecordImpl<VDaylimitsRecord> implemen
|
||||
setWorkEnd(workEnd);
|
||||
setDay(day);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -319,5 +319,6 @@ public class VDaysummaryRecord extends TableRecordImpl<VDaysummaryRecord> implem
|
||||
setDay(day);
|
||||
setLogin(login);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -354,5 +354,6 @@ public class VDoneRecord extends TableRecordImpl<VDoneRecord> implements Record8
|
||||
setModuleName(moduleName);
|
||||
setJobName(jobName);
|
||||
setLogin(login);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -316,5 +316,6 @@ public class VDurationRecord extends TableRecordImpl<VDurationRecord> implements
|
||||
setJobName(jobName);
|
||||
setLogin(login);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -355,5 +355,6 @@ public class VEucanshareRecord extends TableRecordImpl<VEucanshareRecord> implem
|
||||
setJobName(jobName);
|
||||
setBillingName(billingName);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -281,5 +281,6 @@ public class VHamsterRecord extends TableRecordImpl<VHamsterRecord> implements R
|
||||
setModuleName(moduleName);
|
||||
setJobName(jobName);
|
||||
setLogin(login);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -280,5 +280,6 @@ public class VHamstersummaryRecord extends TableRecordImpl<VHamstersummaryRecord
|
||||
setModuleName(moduleName);
|
||||
setJobName(jobName);
|
||||
setLogin(login);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -169,5 +169,6 @@ public class VJobRecord extends TableRecordImpl<VJobRecord> implements Record3<I
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
setPercentUsage(percentUsage);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -169,5 +169,6 @@ public class VModuleRecord extends TableRecordImpl<VModuleRecord> implements Rec
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
setPercentUsage(percentUsage);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -169,5 +169,6 @@ public class VProjectRecord extends TableRecordImpl<VProjectRecord> implements R
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
setPercentUsage(percentUsage);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -278,5 +278,6 @@ public class VTasklistRecord extends TableRecordImpl<VTasklistRecord> implements
|
||||
setModuleName(moduleName);
|
||||
setJobName(jobName);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -205,5 +205,6 @@ public class VTimelengthRecord extends TableRecordImpl<VTimelengthRecord> implem
|
||||
setDuration(duration);
|
||||
setFkDone(fkDone);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -278,5 +278,6 @@ public class VTotalofdayRecord extends TableRecordImpl<VTotalofdayRecord> implem
|
||||
setEndtime(endtime);
|
||||
setDay(day);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -389,5 +389,6 @@ public class VWorktimeRecord extends TableRecordImpl<VWorktimeRecord> implements
|
||||
setBillingShortcut(billingShortcut);
|
||||
setBillingCsskey(billingCsskey);
|
||||
setFkLogin(fkLogin);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -58,4 +58,11 @@ public enum EnumCategory implements EnumType {
|
||||
public String getLiteral() {
|
||||
return literal;
|
||||
}
|
||||
|
||||
/**
|
||||
* Lookup a value of this EnumType by its literal
|
||||
*/
|
||||
public static EnumCategory lookupLiteral(String literal) {
|
||||
return EnumType.lookupLiteral(EnumCategory.class, literal);
|
||||
}
|
||||
}
|
||||
|
@ -46,4 +46,11 @@ public enum EnumNotetype implements EnumType {
|
||||
public String getLiteral() {
|
||||
return literal;
|
||||
}
|
||||
|
||||
/**
|
||||
* Lookup a value of this EnumType by its literal
|
||||
*/
|
||||
public static EnumNotetype lookupLiteral(String literal) {
|
||||
return EnumType.lookupLiteral(EnumNotetype.class, literal);
|
||||
}
|
||||
}
|
||||
|
@ -11,14 +11,18 @@ import de.jottyfan.timetrack.db.note.enums.EnumNotetype;
|
||||
import de.jottyfan.timetrack.db.note.tables.records.TNoteRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function6;
|
||||
import org.jooq.Identity;
|
||||
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;
|
||||
@ -77,7 +81,7 @@ public class TNote extends TableImpl<TNoteRecord> {
|
||||
/**
|
||||
* The column <code>note.t_note.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TNoteRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("now()", SQLDataType.LOCALDATETIME)), this, "");
|
||||
public final TableField<TNoteRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private TNote(Name alias, Table<TNoteRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
@ -137,6 +141,11 @@ public class TNote extends TableImpl<TNoteRecord> {
|
||||
return new TNote(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TNote as(Table<?> alias) {
|
||||
return new TNote(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -153,6 +162,14 @@ public class TNote extends TableImpl<TNoteRecord> {
|
||||
return new TNote(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TNote rename(Table<?> name) {
|
||||
return new TNote(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row6 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -161,4 +178,19 @@ public class TNote extends TableImpl<TNoteRecord> {
|
||||
public Row6<Integer, String, EnumCategory, EnumNotetype, String, LocalDateTime> fieldsRow() {
|
||||
return (Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function6<? super Integer, ? super String, ? super EnumCategory, ? super EnumNotetype, ? super String, ? super LocalDateTime, ? 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 Integer, ? super String, ? super EnumCategory, ? super EnumNotetype, ? super String, ? super LocalDateTime, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -292,5 +292,6 @@ public class TNoteRecord extends UpdatableRecordImpl<TNoteRecord> implements Rec
|
||||
setNotetype(notetype);
|
||||
setContent(content);
|
||||
setLastchange(lastchange);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -6,9 +6,11 @@ package de.jottyfan.timetrack.db.profile;
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLogin;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLoginrole;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TProfile;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TRole;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.TLoginRecord;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.TLoginroleRecord;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.TProfileRecord;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.TRoleRecord;
|
||||
|
||||
import org.jooq.ForeignKey;
|
||||
@ -33,6 +35,8 @@ public class Keys {
|
||||
public static final UniqueKey<TLoginRecord> T_LOGIN_PKEY = Internal.createUniqueKey(TLogin.T_LOGIN, DSL.name("t_login_pkey"), new TableField[] { TLogin.T_LOGIN.PK }, true);
|
||||
public static final UniqueKey<TLoginroleRecord> T_LOGINROLE_FK_LOGIN_FK_ROLE_KEY = Internal.createUniqueKey(TLoginrole.T_LOGINROLE, DSL.name("t_loginrole_fk_login_fk_role_key"), new TableField[] { TLoginrole.T_LOGINROLE.FK_LOGIN, TLoginrole.T_LOGINROLE.FK_ROLE }, true);
|
||||
public static final UniqueKey<TLoginroleRecord> T_LOGINROLE_PKEY = Internal.createUniqueKey(TLoginrole.T_LOGINROLE, DSL.name("t_loginrole_pkey"), new TableField[] { TLoginrole.T_LOGINROLE.PK }, true);
|
||||
public static final UniqueKey<TProfileRecord> T_PROFILE_PKEY = Internal.createUniqueKey(TProfile.T_PROFILE, DSL.name("t_profile_pkey"), new TableField[] { TProfile.T_PROFILE.PK_PROFILE }, true);
|
||||
public static final UniqueKey<TProfileRecord> T_PROFILE_USERNAME_KEY = Internal.createUniqueKey(TProfile.T_PROFILE, DSL.name("t_profile_username_key"), new TableField[] { TProfile.T_PROFILE.USERNAME }, true);
|
||||
public static final UniqueKey<TRoleRecord> T_ROLE_NAME_KEY = Internal.createUniqueKey(TRole.T_ROLE, DSL.name("t_role_name_key"), new TableField[] { TRole.T_ROLE.NAME }, true);
|
||||
public static final UniqueKey<TRoleRecord> T_ROLE_PKEY = Internal.createUniqueKey(TRole.T_ROLE, DSL.name("t_role_pkey"), new TableField[] { TRole.T_ROLE.PK }, true);
|
||||
|
||||
|
@ -7,6 +7,7 @@ package de.jottyfan.timetrack.db.profile;
|
||||
import de.jottyfan.timetrack.db.DefaultCatalog;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLogin;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLoginrole;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TProfile;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TRole;
|
||||
import de.jottyfan.timetrack.db.profile.tables.VLoginrole;
|
||||
|
||||
@ -41,6 +42,11 @@ public class Profile extends SchemaImpl {
|
||||
*/
|
||||
public final TLoginrole T_LOGINROLE = TLoginrole.T_LOGINROLE;
|
||||
|
||||
/**
|
||||
* The table <code>profile.t_profile</code>.
|
||||
*/
|
||||
public final TProfile T_PROFILE = TProfile.T_PROFILE;
|
||||
|
||||
/**
|
||||
* The table <code>profile.t_role</code>.
|
||||
*/
|
||||
@ -69,6 +75,7 @@ public class Profile extends SchemaImpl {
|
||||
return Arrays.asList(
|
||||
TLogin.T_LOGIN,
|
||||
TLoginrole.T_LOGINROLE,
|
||||
TProfile.T_PROFILE,
|
||||
TRole.T_ROLE,
|
||||
VLoginrole.V_LOGINROLE
|
||||
);
|
||||
|
@ -6,6 +6,7 @@ package de.jottyfan.timetrack.db.profile;
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLogin;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TLoginrole;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TProfile;
|
||||
import de.jottyfan.timetrack.db.profile.tables.TRole;
|
||||
import de.jottyfan.timetrack.db.profile.tables.VLoginrole;
|
||||
|
||||
@ -26,6 +27,11 @@ public class Tables {
|
||||
*/
|
||||
public static final TLoginrole T_LOGINROLE = TLoginrole.T_LOGINROLE;
|
||||
|
||||
/**
|
||||
* The table <code>profile.t_profile</code>.
|
||||
*/
|
||||
public static final TProfile T_PROFILE = TProfile.T_PROFILE;
|
||||
|
||||
/**
|
||||
* The table <code>profile.t_role</code>.
|
||||
*/
|
||||
|
@ -11,14 +11,18 @@ import de.jottyfan.timetrack.db.profile.tables.records.TLoginRecord;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function7;
|
||||
import org.jooq.Identity;
|
||||
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;
|
||||
@ -52,7 +56,7 @@ public class TLogin extends TableImpl<TLoginRecord> {
|
||||
/**
|
||||
* The column <code>profile.t_login.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TLoginRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("now()", SQLDataType.LOCALDATETIME)), this, "");
|
||||
public final TableField<TLoginRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_login.pk</code>.
|
||||
@ -147,6 +151,11 @@ public class TLogin extends TableImpl<TLoginRecord> {
|
||||
return new TLogin(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLogin as(Table<?> alias) {
|
||||
return new TLogin(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -163,6 +172,14 @@ public class TLogin extends TableImpl<TLoginRecord> {
|
||||
return new TLogin(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TLogin rename(Table<?> name) {
|
||||
return new TLogin(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row7 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -171,4 +188,19 @@ public class TLogin extends TableImpl<TLoginRecord> {
|
||||
public Row7<LocalDateTime, Integer, String, String, String, LocalDateTime, String> fieldsRow() {
|
||||
return (Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function7<? super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? super LocalDateTime, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function7<? super LocalDateTime, ? super Integer, ? super String, ? super String, ? super String, ? super LocalDateTime, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -11,14 +11,18 @@ import de.jottyfan.timetrack.db.profile.tables.records.TLoginroleRecord;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function4;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -52,7 +56,7 @@ public class TLoginrole extends TableImpl<TLoginroleRecord> {
|
||||
/**
|
||||
* The column <code>profile.t_loginrole.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TLoginroleRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("now()", SQLDataType.LOCALDATETIME)), this, "");
|
||||
public final TableField<TLoginroleRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_loginrole.pk</code>.
|
||||
@ -130,6 +134,9 @@ public class TLoginrole extends TableImpl<TLoginroleRecord> {
|
||||
private transient TLogin _tLogin;
|
||||
private transient TRole _tRole;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>profile.t_login</code> table.
|
||||
*/
|
||||
public TLogin tLogin() {
|
||||
if (_tLogin == null)
|
||||
_tLogin = new TLogin(this, Keys.T_LOGINROLE__T_LOGINROLE_FK_LOGIN_FKEY);
|
||||
@ -137,6 +144,9 @@ public class TLoginrole extends TableImpl<TLoginroleRecord> {
|
||||
return _tLogin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>profile.t_role</code> table.
|
||||
*/
|
||||
public TRole tRole() {
|
||||
if (_tRole == null)
|
||||
_tRole = new TRole(this, Keys.T_LOGINROLE__T_LOGINROLE_FK_ROLE_FKEY);
|
||||
@ -154,6 +164,11 @@ public class TLoginrole extends TableImpl<TLoginroleRecord> {
|
||||
return new TLoginrole(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TLoginrole as(Table<?> alias) {
|
||||
return new TLoginrole(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -170,6 +185,14 @@ public class TLoginrole extends TableImpl<TLoginroleRecord> {
|
||||
return new TLoginrole(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TLoginrole rename(Table<?> name) {
|
||||
return new TLoginrole(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row4 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -178,4 +201,19 @@ public class TLoginrole extends TableImpl<TLoginroleRecord> {
|
||||
public Row4<LocalDateTime, Integer, Integer, Integer> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function4<? super LocalDateTime, ? super Integer, ? super Integer, ? 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 LocalDateTime, ? super Integer, ? super Integer, ? super Integer, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,191 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile.tables;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.Keys;
|
||||
import de.jottyfan.timetrack.db.profile.Profile;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.TProfileRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function4;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TProfile extends TableImpl<TProfileRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>profile.t_profile</code>
|
||||
*/
|
||||
public static final TProfile T_PROFILE = new TProfile();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<TProfileRecord> getRecordType() {
|
||||
return TProfileRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_profile.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TProfileRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_profile.pk_profile</code>.
|
||||
*/
|
||||
public final TableField<TProfileRecord, Integer> PK_PROFILE = createField(DSL.name("pk_profile"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_profile.username</code>.
|
||||
*/
|
||||
public final TableField<TProfileRecord, String> USERNAME = createField(DSL.name("username"), SQLDataType.CLOB.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_profile.theme</code>.
|
||||
*/
|
||||
public final TableField<TProfileRecord, String> THEME = createField(DSL.name("theme"), SQLDataType.CLOB.nullable(false).defaultValue(DSL.field(DSL.raw("'light'::text"), SQLDataType.CLOB)), this, "");
|
||||
|
||||
private TProfile(Name alias, Table<TProfileRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TProfile(Name alias, Table<TProfileRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>profile.t_profile</code> table reference
|
||||
*/
|
||||
public TProfile(String alias) {
|
||||
this(DSL.name(alias), T_PROFILE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>profile.t_profile</code> table reference
|
||||
*/
|
||||
public TProfile(Name alias) {
|
||||
this(alias, T_PROFILE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>profile.t_profile</code> table reference
|
||||
*/
|
||||
public TProfile() {
|
||||
this(DSL.name("t_profile"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TProfile(Table<O> child, ForeignKey<O, TProfileRecord> key) {
|
||||
super(child, key, T_PROFILE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Profile.PROFILE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<TProfileRecord, Integer> getIdentity() {
|
||||
return (Identity<TProfileRecord, Integer>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<TProfileRecord> getPrimaryKey() {
|
||||
return Keys.T_PROFILE_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<TProfileRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.T_PROFILE_USERNAME_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfile as(String alias) {
|
||||
return new TProfile(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfile as(Name alias) {
|
||||
return new TProfile(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfile as(Table<?> alias) {
|
||||
return new TProfile(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile rename(String name) {
|
||||
return new TProfile(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile rename(Name name) {
|
||||
return new TProfile(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TProfile rename(Table<?> name) {
|
||||
return new TProfile(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row4 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<LocalDateTime, Integer, String, String> fieldsRow() {
|
||||
return (Row4) 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) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* 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) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
@ -11,14 +11,18 @@ import de.jottyfan.timetrack.db.profile.tables.records.TRoleRecord;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function3;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row3;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -52,7 +56,7 @@ public class TRole extends TableImpl<TRoleRecord> {
|
||||
/**
|
||||
* The column <code>profile.t_role.lastchange</code>.
|
||||
*/
|
||||
public final TableField<TRoleRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("now()", SQLDataType.LOCALDATETIME)), this, "");
|
||||
public final TableField<TRoleRecord, LocalDateTime> LASTCHANGE = createField(DSL.name("lastchange"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>profile.t_role.pk</code>.
|
||||
@ -127,6 +131,11 @@ public class TRole extends TableImpl<TRoleRecord> {
|
||||
return new TRole(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TRole as(Table<?> alias) {
|
||||
return new TRole(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -143,6 +152,14 @@ public class TRole extends TableImpl<TRoleRecord> {
|
||||
return new TRole(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TRole rename(Table<?> name) {
|
||||
return new TRole(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row3 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -151,4 +168,19 @@ public class TRole extends TableImpl<TRoleRecord> {
|
||||
public Row3<LocalDateTime, Integer, String> fieldsRow() {
|
||||
return (Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function3<? super LocalDateTime, ? super Integer, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -8,13 +8,17 @@ import de.jottyfan.timetrack.db.profile.Profile;
|
||||
import de.jottyfan.timetrack.db.profile.tables.records.VLoginroleRecord;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Function5;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Records;
|
||||
import org.jooq.Row5;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SelectField;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
@ -117,6 +121,11 @@ public class VLoginrole extends TableImpl<VLoginroleRecord> {
|
||||
return new VLoginrole(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VLoginrole as(Table<?> alias) {
|
||||
return new VLoginrole(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@ -133,6 +142,14 @@ public class VLoginrole extends TableImpl<VLoginroleRecord> {
|
||||
return new VLoginrole(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public VLoginrole rename(Table<?> name) {
|
||||
return new VLoginrole(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Row5 type methods
|
||||
// -------------------------------------------------------------------------
|
||||
@ -141,4 +158,19 @@ public class VLoginrole extends TableImpl<VLoginroleRecord> {
|
||||
public Row5<String, String, String, LocalDateTime, String> fieldsRow() {
|
||||
return (Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Function5<? super String, ? super String, ? super String, ? super LocalDateTime, ? super String, ? extends U> from) {
|
||||
return convertFrom(Records.mapping(from));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience mapping calling {@link SelectField#convertFrom(Class,
|
||||
* Function)}.
|
||||
*/
|
||||
public <U> SelectField<U> mapping(Class<U> toType, Function5<? super String, ? super String, ? super String, ? super LocalDateTime, ? super String, ? extends U> from) {
|
||||
return convertFrom(toType, Records.mapping(from));
|
||||
}
|
||||
}
|
||||
|
@ -327,5 +327,6 @@ public class TLoginRecord extends UpdatableRecordImpl<TLoginRecord> implements R
|
||||
setSurname(surname);
|
||||
setDuedate(duedate);
|
||||
setPassword(password);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -216,5 +216,6 @@ public class TLoginroleRecord extends UpdatableRecordImpl<TLoginroleRecord> impl
|
||||
setPk(pk);
|
||||
setFkLogin(fkLogin);
|
||||
setFkRole(fkRole);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,221 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.timetrack.db.profile.tables.records;
|
||||
|
||||
|
||||
import de.jottyfan.timetrack.db.profile.tables.TProfile;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Record4;
|
||||
import org.jooq.Row4;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> implements Record4<LocalDateTime, Integer, String, String> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_profile.lastchange</code>.
|
||||
*/
|
||||
public void setLastchange(LocalDateTime value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_profile.lastchange</code>.
|
||||
*/
|
||||
public LocalDateTime getLastchange() {
|
||||
return (LocalDateTime) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_profile.pk_profile</code>.
|
||||
*/
|
||||
public void setPkProfile(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_profile.pk_profile</code>.
|
||||
*/
|
||||
public Integer getPkProfile() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_profile.username</code>.
|
||||
*/
|
||||
public void setUsername(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_profile.username</code>.
|
||||
*/
|
||||
public String getUsername() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>profile.t_profile.theme</code>.
|
||||
*/
|
||||
public void setTheme(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>profile.t_profile.theme</code>.
|
||||
*/
|
||||
public String getTheme() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Integer> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record4 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Row4<LocalDateTime, Integer, String, String> fieldsRow() {
|
||||
return (Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Row4<LocalDateTime, Integer, String, String> valuesRow() {
|
||||
return (Row4) super.valuesRow();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field1() {
|
||||
return TProfile.T_PROFILE.LASTCHANGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TProfile.T_PROFILE.PK_PROFILE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return TProfile.T_PROFILE.USERNAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return TProfile.T_PROFILE.THEME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime component1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer component2() {
|
||||
return getPkProfile();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component3() {
|
||||
return getUsername();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String component4() {
|
||||
return getTheme();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalDateTime value1() {
|
||||
return getLastchange();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer value2() {
|
||||
return getPkProfile();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value3() {
|
||||
return getUsername();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String value4() {
|
||||
return getTheme();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfileRecord value1(LocalDateTime value) {
|
||||
setLastchange(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfileRecord value2(Integer value) {
|
||||
setPkProfile(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfileRecord value3(String value) {
|
||||
setUsername(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfileRecord value4(String value) {
|
||||
setTheme(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TProfileRecord values(LocalDateTime value1, Integer value2, String value3, String value4) {
|
||||
value1(value1);
|
||||
value2(value2);
|
||||
value3(value3);
|
||||
value4(value4);
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TProfileRecord
|
||||
*/
|
||||
public TProfileRecord() {
|
||||
super(TProfile.T_PROFILE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TProfileRecord
|
||||
*/
|
||||
public TProfileRecord(LocalDateTime lastchange, Integer pkProfile, String username, String theme) {
|
||||
super(TProfile.T_PROFILE);
|
||||
|
||||
setLastchange(lastchange);
|
||||
setPkProfile(pkProfile);
|
||||
setUsername(username);
|
||||
setTheme(theme);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
@ -179,5 +179,6 @@ public class TRoleRecord extends UpdatableRecordImpl<TRoleRecord> implements Rec
|
||||
setLastchange(lastchange);
|
||||
setPk(pk);
|
||||
setName(name);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
@ -243,5 +243,6 @@ public class VLoginroleRecord extends TableRecordImpl<VLoginroleRecord> implemen
|
||||
setSurname(surname);
|
||||
setDuedate(duedate);
|
||||
setRoleName(roleName);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user