![JAR search and dependency download from the Maven repository](/logo.png)
io.kowalski.jqb2jooq.test.jooq.tables.Payroll Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jqb2jooq Show documentation
Show all versions of jqb2jooq Show documentation
Bridges the gap between querybuilder.js.org and jooq.org with very little code.
/*
* This file is generated by jOOQ.
*/
package io.kowalski.jqb2jooq.test.jooq.tables;
import io.kowalski.jqb2jooq.test.jooq.Indexes;
import io.kowalski.jqb2jooq.test.jooq.Jqb2jooq;
import io.kowalski.jqb2jooq.test.jooq.Keys;
import io.kowalski.jqb2jooq.test.jooq.tables.records.PayrollRecord;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Index;
import org.jooq.Name;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.10.1"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Payroll extends TableImpl {
private static final long serialVersionUID = 1416124921;
/**
* The reference instance of JQB2JOOQ.PAYROLL
*/
public static final Payroll PAYROLL = new Payroll();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return PayrollRecord.class;
}
/**
* The column JQB2JOOQ.PAYROLL.ID
.
*/
public final TableField ID = createField("ID", org.jooq.impl.SQLDataType.UUID.nullable(false), this, "");
/**
* The column JQB2JOOQ.PAYROLL.EMPLOYEE_ID
.
*/
public final TableField EMPLOYEE_ID = createField("EMPLOYEE_ID", org.jooq.impl.SQLDataType.UUID.nullable(false), this, "");
/**
* The column JQB2JOOQ.PAYROLL.SALARY
.
*/
public final TableField SALARY = createField("SALARY", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
/**
* Create a JQB2JOOQ.PAYROLL
table reference
*/
public Payroll() {
this(DSL.name("PAYROLL"), null);
}
/**
* Create an aliased JQB2JOOQ.PAYROLL
table reference
*/
public Payroll(String alias) {
this(DSL.name(alias), PAYROLL);
}
/**
* Create an aliased JQB2JOOQ.PAYROLL
table reference
*/
public Payroll(Name alias) {
this(alias, PAYROLL);
}
private Payroll(Name alias, Table aliased) {
this(alias, aliased, null);
}
private Payroll(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, "");
}
/**
* {@inheritDoc}
*/
@Override
public Schema getSchema() {
return Jqb2jooq.JQB2JOOQ;
}
/**
* {@inheritDoc}
*/
@Override
public List getIndexes() {
return Arrays.asList(Indexes.PAYROLL_ID_INDEX, Indexes.PRIMARY_KEY_F, Indexes.SALARY_EMPLOYEE_FK_INDEX_F);
}
/**
* {@inheritDoc}
*/
@Override
public UniqueKey getPrimaryKey() {
return Keys.CONSTRAINT_F;
}
/**
* {@inheritDoc}
*/
@Override
public List> getKeys() {
return Arrays.>asList(Keys.CONSTRAINT_F);
}
/**
* {@inheritDoc}
*/
@Override
public List> getReferences() {
return Arrays.>asList(Keys.SALARY_EMPLOYEE_FK);
}
/**
* {@inheritDoc}
*/
@Override
public Payroll as(String alias) {
return new Payroll(DSL.name(alias), this);
}
/**
* {@inheritDoc}
*/
@Override
public Payroll as(Name alias) {
return new Payroll(alias, this);
}
/**
* Rename this table
*/
@Override
public Payroll rename(String name) {
return new Payroll(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Payroll rename(Name name) {
return new Payroll(name, null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy