/** * This class is generated by jOOQ */ package io.cattle.platform.core.model.tables; /** * This class is generated by jOOQ. */ @javax.annotation.Generated(value = { "http://www.jooq.org", "3.3.0" }, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class AccountLinkTable extends org.jooq.impl.TableImpl<io.cattle.platform.core.model.tables.records.AccountLinkRecord> { private static final long serialVersionUID = -1683253529; /** * The singleton instance of <code>cattle.account_link</code> */ public static final io.cattle.platform.core.model.tables.AccountLinkTable ACCOUNT_LINK = new io.cattle.platform.core.model.tables.AccountLinkTable(); /** * The class holding records for this type */ @Override public java.lang.Class<io.cattle.platform.core.model.tables.records.AccountLinkRecord> getRecordType() { return io.cattle.platform.core.model.tables.records.AccountLinkRecord.class; } /** * The column <code>cattle.account_link.id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.AccountLinkRecord, java.lang.Long> ID = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); /** * The column <code>cattle.account_link.name</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.AccountLinkRecord, java.lang.String> NAME = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); /** * The column <code>cattle.account_link.account_id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.AccountLinkRecord, java.lang.Long> ACCOUNT_ID = createField("account_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** * The column <code>cattle.account_link.kind</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.AccountLinkRecord, java.lang.String> KIND = createField("kind", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, ""); /** * The column <code>cattle.account_link.uuid</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.AccountLinkRecord, java.lang.String> UUID = createField("uuid", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** * The column <code>cattle.account_link.description</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.AccountLinkRecord, java.lang.String> DESCRIPTION = createField("description", org.jooq.impl.SQLDataType.VARCHAR.length(1024), this, ""); /** * The column <code>cattle.account_link.state</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.AccountLinkRecord, java.lang.String> STATE = createField("state", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); /** * The column <code>cattle.account_link.created</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.AccountLinkRecord, java.util.Date> CREATED = createField("created", org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(new io.cattle.platform.db.jooq.converter.DateConverter()), this, ""); /** * The column <code>cattle.account_link.removed</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.AccountLinkRecord, java.util.Date> REMOVED = createField("removed", org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(new io.cattle.platform.db.jooq.converter.DateConverter()), this, ""); /** * The column <code>cattle.account_link.remove_time</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.AccountLinkRecord, java.util.Date> REMOVE_TIME = createField("remove_time", org.jooq.impl.SQLDataType.TIMESTAMP.asConvertedDataType(new io.cattle.platform.db.jooq.converter.DateConverter()), this, ""); /** * The column <code>cattle.account_link.data</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.AccountLinkRecord, java.util.Map<String,Object>> DATA = createField("data", org.jooq.impl.SQLDataType.CLOB.length(65535).asConvertedDataType(new io.cattle.platform.db.jooq.converter.DataConverter()), this, ""); /** * The column <code>cattle.account_link.linked_account_id</code>. */ public final org.jooq.TableField<io.cattle.platform.core.model.tables.records.AccountLinkRecord, java.lang.Long> LINKED_ACCOUNT_ID = createField("linked_account_id", org.jooq.impl.SQLDataType.BIGINT, this, ""); /** * Create a <code>cattle.account_link</code> table reference */ public AccountLinkTable() { this("account_link", null); } /** * Create an aliased <code>cattle.account_link</code> table reference */ public AccountLinkTable(java.lang.String alias) { this(alias, io.cattle.platform.core.model.tables.AccountLinkTable.ACCOUNT_LINK); } private AccountLinkTable(java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.AccountLinkRecord> aliased) { this(alias, aliased, null); } private AccountLinkTable(java.lang.String alias, org.jooq.Table<io.cattle.platform.core.model.tables.records.AccountLinkRecord> aliased, org.jooq.Field<?>[] parameters) { super(alias, io.cattle.platform.core.model.CattleTable.CATTLE, aliased, parameters, ""); } /** * {@inheritDoc} */ @Override public org.jooq.Identity<io.cattle.platform.core.model.tables.records.AccountLinkRecord, java.lang.Long> getIdentity() { return io.cattle.platform.core.model.Keys.IDENTITY_ACCOUNT_LINK; } /** * {@inheritDoc} */ @Override public org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountLinkRecord> getPrimaryKey() { return io.cattle.platform.core.model.Keys.KEY_ACCOUNT_LINK_PRIMARY; } /** * {@inheritDoc} */ @Override public java.util.List<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountLinkRecord>> getKeys() { return java.util.Arrays.<org.jooq.UniqueKey<io.cattle.platform.core.model.tables.records.AccountLinkRecord>>asList(io.cattle.platform.core.model.Keys.KEY_ACCOUNT_LINK_PRIMARY, io.cattle.platform.core.model.Keys.KEY_ACCOUNT_LINK_IDX_ACCOUNT_LINK_UUID); } /** * {@inheritDoc} */ @Override public java.util.List<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.AccountLinkRecord, ?>> getReferences() { return java.util.Arrays.<org.jooq.ForeignKey<io.cattle.platform.core.model.tables.records.AccountLinkRecord, ?>>asList(io.cattle.platform.core.model.Keys.FK_ACCOUNT_LINK__ACCOUNT_ID, io.cattle.platform.core.model.Keys.FK_ACCOUNT_LINK__LINKED_ACCOUNT_ID); } /** * {@inheritDoc} */ @Override public io.cattle.platform.core.model.tables.AccountLinkTable as(java.lang.String alias) { return new io.cattle.platform.core.model.tables.AccountLinkTable(alias, this); } /** * Rename this table */ public io.cattle.platform.core.model.tables.AccountLinkTable rename(java.lang.String name) { return new io.cattle.platform.core.model.tables.AccountLinkTable(name, null); } }