/*
 * This file is generated by jOOQ.
 */
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records;


import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountBlocked;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>idm_reconcile.account_blocked.account_id</code>.
     */
    public void setAccountId(String value) {
        set(0, value);
    }

    /**
     * Getter for <code>idm_reconcile.account_blocked.account_id</code>.
     */
    public String getAccountId() {
        return (String) get(0);
    }

    /**
     * Setter for <code>idm_reconcile.account_blocked.blocked</code>.
     */
    public void setBlocked(Boolean value) {
        set(1, value);
    }

    /**
     * Getter for <code>idm_reconcile.account_blocked.blocked</code>.
     */
    public Boolean getBlocked() {
        return (Boolean) get(1);
    }

    /**
     * Setter for <code>idm_reconcile.account_blocked.id</code>.
     */
    public void setId(Long value) {
        set(2, value);
    }

    /**
     * Getter for <code>idm_reconcile.account_blocked.id</code>.
     */
    public Long getId() {
        return (Long) get(2);
    }

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

    @Override
    public Record1<Long> key() {
        return (Record1) super.key();
    }

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

    /**
     * Create a detached AccountBlockedRecord
     */
    public AccountBlockedRecord() {
        super(AccountBlocked.ACCOUNT_BLOCKED);
    }

    /**
     * Create a detached, initialised AccountBlockedRecord
     */
    public AccountBlockedRecord(String accountId, Boolean blocked, Long id) {
        super(AccountBlocked.ACCOUNT_BLOCKED);

        setAccountId(accountId);
        setBlocked(blocked);
        setId(id);
        resetChangedOnNotNull();
    }
}
