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

import java.sql.Timestamp;

import org.jooq.impl.TableRecordImpl;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.pg_stat_subscription.subid</code>.
     */
    public void setSubid(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_subscription.subid</code>.
     */
    public Long getSubid() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_subscription.subname</code>.
     */
    public void setSubname(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_subscription.subname</code>.
     */
    public String getSubname() {
        return (String) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_subscription.pid</code>.
     */
    public void setPid(Integer value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_subscription.pid</code>.
     */
    public Integer getPid() {
        return (Integer) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_subscription.relid</code>.
     */
    public void setRelid(Long value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_subscription.relid</code>.
     */
    public Long getRelid() {
        return (Long) get(3);
    }

    /**
     * @deprecated Unknown data type. If this is a qualified, user-defined type,
     * it may have been excluded from code generation. If this is a built-in
     * type, you can define an explicit {@link org.jooq.Binding} to specify how
     * this type should be handled. Deprecation can be turned off using
     * {@literal <deprecationOnUnknownTypes/>} in your code generator
     * configuration.
     */
    @Deprecated
    public void setReceivedLsn(Object value) {
        set(4, value);
    }

    /**
     * @deprecated Unknown data type. If this is a qualified, user-defined type,
     * it may have been excluded from code generation. If this is a built-in
     * type, you can define an explicit {@link org.jooq.Binding} to specify how
     * this type should be handled. Deprecation can be turned off using
     * {@literal <deprecationOnUnknownTypes/>} in your code generator
     * configuration.
     */
    @Deprecated
    public Object getReceivedLsn() {
        return get(4);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_subscription.last_msg_send_time</code>.
     */
    public void setLastMsgSendTime(Timestamp value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_subscription.last_msg_send_time</code>.
     */
    public Timestamp getLastMsgSendTime() {
        return (Timestamp) get(5);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_subscription.last_msg_receipt_time</code>.
     */
    public void setLastMsgReceiptTime(Timestamp value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_subscription.last_msg_receipt_time</code>.
     */
    public Timestamp getLastMsgReceiptTime() {
        return (Timestamp) get(6);
    }

    /**
     * @deprecated Unknown data type. If this is a qualified, user-defined type,
     * it may have been excluded from code generation. If this is a built-in
     * type, you can define an explicit {@link org.jooq.Binding} to specify how
     * this type should be handled. Deprecation can be turned off using
     * {@literal <deprecationOnUnknownTypes/>} in your code generator
     * configuration.
     */
    @Deprecated
    public void setLatestEndLsn(Object value) {
        set(7, value);
    }

    /**
     * @deprecated Unknown data type. If this is a qualified, user-defined type,
     * it may have been excluded from code generation. If this is a built-in
     * type, you can define an explicit {@link org.jooq.Binding} to specify how
     * this type should be handled. Deprecation can be turned off using
     * {@literal <deprecationOnUnknownTypes/>} in your code generator
     * configuration.
     */
    @Deprecated
    public Object getLatestEndLsn() {
        return get(7);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_subscription.latest_end_time</code>.
     */
    public void setLatestEndTime(Timestamp value) {
        set(8, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_subscription.latest_end_time</code>.
     */
    public Timestamp getLatestEndTime() {
        return (Timestamp) get(8);
    }

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

    /**
     * Create a detached PgStatSubscriptionRecord
     */
    public PgStatSubscriptionRecord() {
        super(PgStatSubscription.PG_STAT_SUBSCRIPTION);
    }

    /**
     * Create a detached, initialised PgStatSubscriptionRecord
     */
    public PgStatSubscriptionRecord(Long subid, String subname, Integer pid, Long relid, Object receivedLsn, Timestamp lastMsgSendTime, Timestamp lastMsgReceiptTime, Object latestEndLsn, Timestamp latestEndTime) {
        super(PgStatSubscription.PG_STAT_SUBSCRIPTION);

        setSubid(subid);
        setSubname(subname);
        setPid(pid);
        setRelid(relid);
        setReceivedLsn(receivedLsn);
        setLastMsgSendTime(lastMsgSendTime);
        setLastMsgReceiptTime(lastMsgReceiptTime);
        setLatestEndLsn(latestEndLsn);
        setLatestEndTime(latestEndTime);
        resetChangedOnNotNull();
    }
}
