/*
 * 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.PgTsConfigMap;

import org.jooq.Record3;
import org.jooq.impl.UpdatableRecordImpl;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.pg_ts_config_map.mapcfg</code>.
     */
    public void setMapcfg(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_ts_config_map.mapcfg</code>.
     */
    public Long getMapcfg() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>pg_catalog.pg_ts_config_map.maptokentype</code>.
     */
    public void setMaptokentype(Integer value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_ts_config_map.maptokentype</code>.
     */
    public Integer getMaptokentype() {
        return (Integer) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_ts_config_map.mapseqno</code>.
     */
    public void setMapseqno(Integer value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_ts_config_map.mapseqno</code>.
     */
    public Integer getMapseqno() {
        return (Integer) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_ts_config_map.mapdict</code>.
     */
    public void setMapdict(Long value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_ts_config_map.mapdict</code>.
     */
    public Long getMapdict() {
        return (Long) get(3);
    }

    // -------------------------------------------------------------------------
    // Primary key information
    // -------------------------------------------------------------------------

    @Override
    public Record3<Long, Integer, Integer> key() {
        return (Record3) super.key();
    }

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

    /**
     * Create a detached PgTsConfigMapRecord
     */
    public PgTsConfigMapRecord() {
        super(PgTsConfigMap.PG_TS_CONFIG_MAP);
    }

    /**
     * Create a detached, initialised PgTsConfigMapRecord
     */
    public PgTsConfigMapRecord(Long mapcfg, Integer maptokentype, Integer mapseqno, Long mapdict) {
        super(PgTsConfigMap.PG_TS_CONFIG_MAP);

        setMapcfg(mapcfg);
        setMaptokentype(maptokentype);
        setMapseqno(mapseqno);
        setMapdict(mapdict);
        resetChangedOnNotNull();
    }
}
