All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.kowalski.jqb2jooq.test.jooq.tables.Payroll Maven / Gradle / Ivy
/*
* 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.3"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Payroll extends TableImpl {
private static final long serialVersionUID = -2074793593;
/**
* 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.AMOUNT
.
*/
public final TableField AMOUNT = createField("AMOUNT", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column JQB2JOOQ.PAYROLL.TYPE
.
*/
public final TableField TYPE = createField("TYPE", org.jooq.impl.SQLDataType.CLOB.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_EMPLOYEE_FK_INDEX_F, Indexes.PAYROLL_ID_INDEX, Indexes.PRIMARY_KEY_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.PAYROLL_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);
}
}