| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- /*
- * This file is generated by jOOQ.
- */
- package jooq.tables;
- 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.HonorinfoRecord;
- 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 Honorinfo extends TableImpl<HonorinfoRecord> {
- private static final long serialVersionUID = -567447307;
- /**
- * The reference instance of <code>thmodel.honorinfo</code>
- */
- public static final Honorinfo HONORINFO = new Honorinfo();
- /**
- * The class holding records for this type
- */
- @Override
- public Class<HonorinfoRecord> getRecordType() {
- return HonorinfoRecord.class;
- }
- /**
- * The column <code>thmodel.honorinfo.PK</code>.
- */
- public final TableField<HonorinfoRecord, Integer> PK = createField("PK", org.jooq.impl.SQLDataType.INTEGER.nullable(false).identity(true), this, "");
- /**
- * The column <code>thmodel.honorinfo.ModelPK</code>.
- */
- public final TableField<HonorinfoRecord, Integer> MODELPK = createField("ModelPK", org.jooq.impl.SQLDataType.INTEGER, this, "");
- /**
- * The column <code>thmodel.honorinfo.HDate</code>.
- */
- public final TableField<HonorinfoRecord, String> HDATE = createField("HDate", org.jooq.impl.SQLDataType.VARCHAR(20), this, "");
- /**
- * The column <code>thmodel.honorinfo.Honor</code>.
- */
- public final TableField<HonorinfoRecord, String> HONOR = createField("Honor", org.jooq.impl.SQLDataType.VARCHAR(200), this, "");
- /**
- * Create a <code>thmodel.honorinfo</code> table reference
- */
- public Honorinfo() {
- this(DSL.name("honorinfo"), null);
- }
- /**
- * Create an aliased <code>thmodel.honorinfo</code> table reference
- */
- public Honorinfo(String alias) {
- this(DSL.name(alias), HONORINFO);
- }
- /**
- * Create an aliased <code>thmodel.honorinfo</code> table reference
- */
- public Honorinfo(Name alias) {
- this(alias, HONORINFO);
- }
- private Honorinfo(Name alias, Table<HonorinfoRecord> aliased) {
- this(alias, aliased, null);
- }
- private Honorinfo(Name alias, Table<HonorinfoRecord> aliased, Field<?>[] parameters) {
- super(alias, null, aliased, parameters, DSL.comment(""));
- }
- public <O extends Record> Honorinfo(Table<O> child, ForeignKey<O, HonorinfoRecord> key) {
- super(child, key, HONORINFO);
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public Schema getSchema() {
- return Thmodel.THMODEL;
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public List<Index> getIndexes() {
- return Arrays.<Index>asList(Indexes.HONORINFO_INDEX_1, Indexes.HONORINFO_PRIMARY);
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public Identity<HonorinfoRecord, Integer> getIdentity() {
- return Keys.IDENTITY_HONORINFO;
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public UniqueKey<HonorinfoRecord> getPrimaryKey() {
- return Keys.KEY_HONORINFO_PRIMARY;
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public List<UniqueKey<HonorinfoRecord>> getKeys() {
- return Arrays.<UniqueKey<HonorinfoRecord>>asList(Keys.KEY_HONORINFO_PRIMARY);
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public Honorinfo as(String alias) {
- return new Honorinfo(DSL.name(alias), this);
- }
- /**
- * {@inheritDoc}
- */
- @Override
- public Honorinfo as(Name alias) {
- return new Honorinfo(alias, this);
- }
- /**
- * Rename this table
- */
- @Override
- public Honorinfo rename(String name) {
- return new Honorinfo(DSL.name(name), null);
- }
- /**
- * Rename this table
- */
- @Override
- public Honorinfo rename(Name name) {
- return new Honorinfo(name, null);
- }
- }
|