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

import org.jooq.impl.TableRecordImpl;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.pg_group.groname</code>.
     */
    public void setGroname(String value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_group.groname</code>.
     */
    public String getGroname() {
        return (String) get(0);
    }

    /**
     * Setter for <code>pg_catalog.pg_group.grosysid</code>.
     */
    public void setGrosysid(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_group.grosysid</code>.
     */
    public Long getGrosysid() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_group.grolist</code>.
     */
    public void setGrolist(Long[] value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_group.grolist</code>.
     */
    public Long[] getGrolist() {
        return (Long[]) get(2);
    }

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

    /**
     * Create a detached PgGroupRecord
     */
    public PgGroupRecord() {
        super(PgGroup.PG_GROUP);
    }

    /**
     * Create a detached, initialised PgGroupRecord
     */
    public PgGroupRecord(String groname, Long grosysid, Long[] grolist) {
        super(PgGroup.PG_GROUP);

        setGroname(groname);
        setGrosysid(grosysid);
        setGrolist(grolist);
        resetChangedOnNotNull();
    }
}
