/*
 * This file is generated by jOOQ.
 */
package ervu_secret.ervu_secret.db_beans.pg_catalog.tables.records;


import ervu_secret.ervu_secret.db_beans.pg_catalog.tables.TsTokenType;

import org.jooq.impl.TableRecordImpl;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TsTokenTypeRecord extends TableRecordImpl<TsTokenTypeRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.ts_token_type.tokid</code>.
     */
    public void setTokid(Integer value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.ts_token_type.tokid</code>.
     */
    public Integer getTokid() {
        return (Integer) get(0);
    }

    /**
     * Setter for <code>pg_catalog.ts_token_type.alias</code>.
     */
    public void setAlias(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.ts_token_type.alias</code>.
     */
    public String getAlias() {
        return (String) get(1);
    }

    /**
     * Setter for <code>pg_catalog.ts_token_type.description</code>.
     */
    public void setDescription(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.ts_token_type.description</code>.
     */
    public String getDescription() {
        return (String) get(2);
    }

    // -------------------------------------------------------------------------
    // Constructors
    // -------------------------------------------------------------------------

    /**
     * Create a detached TsTokenTypeRecord
     */
    public TsTokenTypeRecord() {
        super(TsTokenType.TS_TOKEN_TYPE);
    }

    /**
     * Create a detached, initialised TsTokenTypeRecord
     */
    public TsTokenTypeRecord(Integer tokid, String alias, String description) {
        super(TsTokenType.TS_TOKEN_TYPE);

        setTokid(tokid);
        setAlias(alias);
        setDescription(description);
        resetChangedOnNotNull();
    }
}
