| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- /*
- * This file is generated by jOOQ.
- */
- package jooq.tables;
- import java.math.BigDecimal;
- import java.util.Arrays;
- import java.util.List;
- import javax.annotation.Generated;
- import jooq.Indexes;
- import jooq.Keys;
- import jooq.Thmodel;
- import jooq.tables.records.ModelcardRecord;
- import org.jooq.Field;
- import org.jooq.ForeignKey;
- import org.jooq.Identity;
- import org.jooq.Index;
- import org.jooq.Name;
- import org.jooq.Record;
- 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.11.5"
- },
- comments = "This class is generated by jOOQ"
- )
- @SuppressWarnings({ "all", "unchecked", "rawtypes" })
- public class Modelcard extends TableImpl<ModelcardRecord> {
- private static final long serialVersionUID = -1004618023;
- /**
- * The reference instance of <code>thmodel.modelcard</code>
- */
- public static final Modelcard MODELCARD = new Modelcard();
- /**
- * The class holding records for this type
- */
- @Override
- public Class<ModelcardRecord> getRecordType() {
- return ModelcardRecord.class;
- }
- /**
- * The column <code>thmodel.modelcard.PK</code>.
- */
- public final TableField<ModelcardRecord, Integer> PK = createField("PK", org.jooq.impl.SQLDataType.INTEGER.nullable(false).identity(true), this, "");
- /**
- * The column <code>thmodel.modelcard.CardName</code>.
- */
- public final TableField<ModelcardRecord, String> CARDNAME = createField("CardName", org.jooq.impl.SQLDataType.VARCHAR(50), this, "");
- /**
- * The column <code>thmodel.modelcard.Sample</code>.
- */
- public final TableField<ModelcardRecord, String> SAMPLE = createField("Sample", org.jooq.impl.SQLDataType.VARCHAR(200), this, "");
- /**
- * The column <code>thmodel.modelcard.URL</code>.
- */
- public final TableField<ModelcardRecord, String> URL = createField("URL", org.jooq.impl.SQLDataType.VARCHAR(200), this, "");
- /**
- * The column <code>thmodel.modelcard.Price</code>.
- */
- public final TableField<ModelcardRecord, BigDecimal> PRICE = createField("Price", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
- /**
- * The column <code>thmodel.modelcard.Fee</code>.
- */
- public final TableField<ModelcardRecord, BigDecimal> FEE = createField("Fee", org.jooq.impl.SQLDataType.DECIMAL(18, 4), this, "");
- /**
- * Create a <code>thmodel.modelcard</code> table reference
- */
- public Modelcard() {
- this(DSL.name("modelcard"), null);
- }
- /**
- * Create an aliased <code>thmodel.modelcard</code> table reference
- */
- public Modelcard(String alias) {
- this(DSL.name(alias), MODELCARD);
- }
- /**
- * Create an aliased <code>thmodel.modelcard</code> table reference
- */
- public Modelcard(Name alias) {
- this(alias, MODELCARD);
- }
- private Modelcard(Name alias, Table<ModelcardRecord> aliased) {
- this(alias, aliased, null);
- }
- private Modelcard(Name alias, Table<ModelcardRecord> aliased, Field<?>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""));
- }
- public <O extends Record> Modelcard(Table<O> child, ForeignKey<O, ModelcardRecord> key) {
- super(child, key, MODELCARD);
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public Schema getSchema() {
- return Thmodel.THMODEL;
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public List<Index> getIndexes() {
- return Arrays.<Index>asList(Indexes.MODELCARD_PRIMARY);
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public Identity<ModelcardRecord, Integer> getIdentity() {
- return Keys.IDENTITY_MODELCARD;
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public UniqueKey<ModelcardRecord> getPrimaryKey() {
- return Keys.KEY_MODELCARD_PRIMARY;
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public List<UniqueKey<ModelcardRecord>> getKeys() {
- return Arrays.<UniqueKey<ModelcardRecord>>asList(Keys.KEY_MODELCARD_PRIMARY);
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public Modelcard as(String alias) {
- return new Modelcard(DSL.name(alias), this);
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public Modelcard as(Name alias) {
- return new Modelcard(alias, this);
- }
- /**
- * Rename this table
- */
- @Override
- public Modelcard rename(String name) {
- return new Modelcard(DSL.name(name), null);
- }
- /**
- * Rename this table
- */
- @Override
- public Modelcard rename(Name name) {
- return new Modelcard(name, null);
- }
- }
|