Honorinfo.java 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. /*
  2. * This file is generated by jOOQ.
  3. */
  4. package jooq.tables;
  5. import java.util.Arrays;
  6. import java.util.List;
  7. import javax.annotation.Generated;
  8. import jooq.Indexes;
  9. import jooq.Keys;
  10. import jooq.Thmodel;
  11. import jooq.tables.records.HonorinfoRecord;
  12. import org.jooq.Field;
  13. import org.jooq.ForeignKey;
  14. import org.jooq.Identity;
  15. import org.jooq.Index;
  16. import org.jooq.Name;
  17. import org.jooq.Record;
  18. import org.jooq.Schema;
  19. import org.jooq.Table;
  20. import org.jooq.TableField;
  21. import org.jooq.UniqueKey;
  22. import org.jooq.impl.DSL;
  23. import org.jooq.impl.TableImpl;
  24. /**
  25. * This class is generated by jOOQ.
  26. */
  27. @Generated(
  28. value = {
  29. "http://www.jooq.org",
  30. "jOOQ version:3.11.5"
  31. },
  32. comments = "This class is generated by jOOQ"
  33. )
  34. @SuppressWarnings({ "all", "unchecked", "rawtypes" })
  35. public class Honorinfo extends TableImpl<HonorinfoRecord> {
  36. private static final long serialVersionUID = -567447307;
  37. /**
  38. * The reference instance of <code>thmodel.honorinfo</code>
  39. */
  40. public static final Honorinfo HONORINFO = new Honorinfo();
  41. /**
  42. * The class holding records for this type
  43. */
  44. @Override
  45. public Class<HonorinfoRecord> getRecordType() {
  46. return HonorinfoRecord.class;
  47. }
  48. /**
  49. * The column <code>thmodel.honorinfo.PK</code>.
  50. */
  51. public final TableField<HonorinfoRecord, Integer> PK = createField("PK", org.jooq.impl.SQLDataType.INTEGER.nullable(false).identity(true), this, "");
  52. /**
  53. * The column <code>thmodel.honorinfo.ModelPK</code>.
  54. */
  55. public final TableField<HonorinfoRecord, Integer> MODELPK = createField("ModelPK", org.jooq.impl.SQLDataType.INTEGER, this, "");
  56. /**
  57. * The column <code>thmodel.honorinfo.HDate</code>.
  58. */
  59. public final TableField<HonorinfoRecord, String> HDATE = createField("HDate", org.jooq.impl.SQLDataType.VARCHAR(20), this, "");
  60. /**
  61. * The column <code>thmodel.honorinfo.Honor</code>.
  62. */
  63. public final TableField<HonorinfoRecord, String> HONOR = createField("Honor", org.jooq.impl.SQLDataType.VARCHAR(200), this, "");
  64. /**
  65. * Create a <code>thmodel.honorinfo</code> table reference
  66. */
  67. public Honorinfo() {
  68. this(DSL.name("honorinfo"), null);
  69. }
  70. /**
  71. * Create an aliased <code>thmodel.honorinfo</code> table reference
  72. */
  73. public Honorinfo(String alias) {
  74. this(DSL.name(alias), HONORINFO);
  75. }
  76. /**
  77. * Create an aliased <code>thmodel.honorinfo</code> table reference
  78. */
  79. public Honorinfo(Name alias) {
  80. this(alias, HONORINFO);
  81. }
  82. private Honorinfo(Name alias, Table<HonorinfoRecord> aliased) {
  83. this(alias, aliased, null);
  84. }
  85. private Honorinfo(Name alias, Table<HonorinfoRecord> aliased, Field<?>[] parameters) {
  86. super(alias, null, aliased, parameters, DSL.comment(""));
  87. }
  88. public <O extends Record> Honorinfo(Table<O> child, ForeignKey<O, HonorinfoRecord> key) {
  89. super(child, key, HONORINFO);
  90. }
  91. /**
  92. * {@inheritDoc}
  93. */
  94. @Override
  95. public Schema getSchema() {
  96. return Thmodel.THMODEL;
  97. }
  98. /**
  99. * {@inheritDoc}
  100. */
  101. @Override
  102. public List<Index> getIndexes() {
  103. return Arrays.<Index>asList(Indexes.HONORINFO_INDEX_1, Indexes.HONORINFO_PRIMARY);
  104. }
  105. /**
  106. * {@inheritDoc}
  107. */
  108. @Override
  109. public Identity<HonorinfoRecord, Integer> getIdentity() {
  110. return Keys.IDENTITY_HONORINFO;
  111. }
  112. /**
  113. * {@inheritDoc}
  114. */
  115. @Override
  116. public UniqueKey<HonorinfoRecord> getPrimaryKey() {
  117. return Keys.KEY_HONORINFO_PRIMARY;
  118. }
  119. /**
  120. * {@inheritDoc}
  121. */
  122. @Override
  123. public List<UniqueKey<HonorinfoRecord>> getKeys() {
  124. return Arrays.<UniqueKey<HonorinfoRecord>>asList(Keys.KEY_HONORINFO_PRIMARY);
  125. }
  126. /**
  127. * {@inheritDoc}
  128. */
  129. @Override
  130. public Honorinfo as(String alias) {
  131. return new Honorinfo(DSL.name(alias), this);
  132. }
  133. /**
  134. * {@inheritDoc}
  135. */
  136. @Override
  137. public Honorinfo as(Name alias) {
  138. return new Honorinfo(alias, this);
  139. }
  140. /**
  141. * Rename this table
  142. */
  143. @Override
  144. public Honorinfo rename(String name) {
  145. return new Honorinfo(DSL.name(name), null);
  146. }
  147. /**
  148. * Rename this table
  149. */
  150. @Override
  151. public Honorinfo rename(Name name) {
  152. return new Honorinfo(name, null);
  153. }
  154. }