/** * This class is generated by jOOQ */ package mineplex.database.tables; /** * This class is generated by jOOQ. */ @javax.annotation.Generated( value = { "http://www.jooq.org", "jOOQ version:3.5.2" }, comments = "This class is generated by jOOQ" ) @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class BattlePets extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { private static final long serialVersionUID = -790365134; /** * The reference instance of Account.battlePets */ public static final mineplex.database.tables.BattlePets battlePets = new mineplex.database.tables.BattlePets(); /** * The class holding records for this type */ @Override public java.lang.Class getRecordType() { return mineplex.database.tables.records.BattlePetsRecord.class; } /** * The column Account.battlePets.petId. */ public final org.jooq.TableField petId = createField("petId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column Account.battlePets.accountId. */ public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column Account.battlePets.petType. */ public final org.jooq.TableField petType = createField("petType", org.jooq.impl.SQLDataType.VARCHAR.length(32).nullable(false).defaulted(true), this, ""); /** * The column Account.battlePets.petName. */ public final org.jooq.TableField petName = createField("petName", org.jooq.impl.SQLDataType.VARCHAR.length(32).defaulted(true), this, ""); /** * The column Account.battlePets.ageStamp. */ public final org.jooq.TableField ageStamp = createField("ageStamp", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); /** * The column Account.battlePets.lastActive. */ public final org.jooq.TableField lastActive = createField("lastActive", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column Account.battlePets.active. */ public final org.jooq.TableField active = createField("active", org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaulted(true), this, ""); /** * The column Account.battlePets.level. */ public final org.jooq.TableField level = createField("level", org.jooq.impl.SQLDataType.DOUBLE.nullable(false).defaulted(true), this, ""); /** * The column Account.battlePets.battles. */ public final org.jooq.TableField battles = createField("battles", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, ""); /** * The column Account.battlePets.wins. */ public final org.jooq.TableField wins = createField("wins", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, ""); /** * The column Account.battlePets.hunger. */ public final org.jooq.TableField hunger = createField("hunger", org.jooq.impl.SQLDataType.DOUBLE.nullable(false).defaulted(true), this, ""); /** * The column Account.battlePets.tiredness. */ public final org.jooq.TableField tiredness = createField("tiredness", org.jooq.impl.SQLDataType.DOUBLE.nullable(false).defaulted(true), this, ""); /** * Create a Account.battlePets table reference */ public BattlePets() { this("battlePets", null); } /** * Create an aliased Account.battlePets table reference */ public BattlePets(java.lang.String alias) { this(alias, mineplex.database.tables.BattlePets.battlePets); } private BattlePets(java.lang.String alias, org.jooq.Table aliased) { this(alias, aliased, null); } private BattlePets(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { super(alias, mineplex.database.Account.Account, aliased, parameters, ""); } /** * {@inheritDoc} */ @Override public org.jooq.Identity getIdentity() { return mineplex.database.Keys.IDENTITY_battlePets; } /** * {@inheritDoc} */ @Override public org.jooq.UniqueKey getPrimaryKey() { return mineplex.database.Keys.KEY_battlePets_PRIMARY; } /** * {@inheritDoc} */ @Override public java.util.List> getKeys() { return java.util.Arrays.>asList(mineplex.database.Keys.KEY_battlePets_PRIMARY); } /** * {@inheritDoc} */ @Override public mineplex.database.tables.BattlePets as(java.lang.String alias) { return new mineplex.database.tables.BattlePets(alias, this); } /** * Rename this table */ public mineplex.database.tables.BattlePets rename(java.lang.String name) { return new mineplex.database.tables.BattlePets(name, null); } }