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

import org.jooq.JSONB;
import org.jooq.impl.TableRecordImpl;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.jsonb_each.key</code>.
     */
    public void setKey(String value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.jsonb_each.key</code>.
     */
    public String getKey() {
        return (String) get(0);
    }

    /**
     * Setter for <code>pg_catalog.jsonb_each.value</code>.
     */
    public void setValue(JSONB value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.jsonb_each.value</code>.
     */
    public JSONB getValue() {
        return (JSONB) get(1);
    }

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

    /**
     * Create a detached JsonbEachRecord
     */
    public JsonbEachRecord() {
        super(JsonbEach.JSONB_EACH);
    }

    /**
     * Create a detached, initialised JsonbEachRecord
     */
    public JsonbEachRecord(String key, JSONB value) {
        super(JsonbEach.JSONB_EACH);

        setKey(key);
        setValue(value);
        resetChangedOnNotNull();
    }
}
