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


import java.sql.Timestamp;

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

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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>idm_reconcile.account.id</code>.
     */
    public void setId(String value) {
        set(0, value);
    }

    /**
     * Getter for <code>idm_reconcile.account.id</code>.
     */
    public String getId() {
        return (String) get(0);
    }

    /**
     * Setter for <code>idm_reconcile.account.version</code>.
     */
    public void setVersion(Integer value) {
        set(1, value);
    }

    /**
     * Getter for <code>idm_reconcile.account.version</code>.
     */
    public Integer getVersion() {
        return (Integer) get(1);
    }

    /**
     * Setter for <code>idm_reconcile.account.modified</code>.
     */
    public void setModified(Timestamp value) {
        set(2, value);
    }

    /**
     * Getter for <code>idm_reconcile.account.modified</code>.
     */
    public Timestamp getModified() {
        return (Timestamp) get(2);
    }

    /**
     * Setter for <code>idm_reconcile.account.schema</code>.
     */
    public void setSchema(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>idm_reconcile.account.schema</code>.
     */
    public String getSchema() {
        return (String) get(3);
    }

    /**
     * Setter for <code>idm_reconcile.account.start</code>.
     */
    public void setStart(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>idm_reconcile.account.start</code>.
     */
    public String getStart() {
        return (String) get(4);
    }

    /**
     * Setter for <code>idm_reconcile.account.finish</code>.
     */
    public void setFinish(String value) {
        set(5, value);
    }

    /**
     * Getter for <code>idm_reconcile.account.finish</code>.
     */
    public String getFinish() {
        return (String) get(5);
    }

    /**
     * Setter for <code>idm_reconcile.account.enabled</code>.
     */
    public void setEnabled(Boolean value) {
        set(6, value);
    }

    /**
     * Getter for <code>idm_reconcile.account.enabled</code>.
     */
    public Boolean getEnabled() {
        return (Boolean) get(6);
    }

    /**
     * Setter for <code>idm_reconcile.account.position</code>.
     */
    public void setPosition(String value) {
        set(7, value);
    }

    /**
     * Getter for <code>idm_reconcile.account.position</code>.
     */
    public String getPosition() {
        return (String) get(7);
    }

    /**
     * Setter for <code>idm_reconcile.account.fio</code>.
     */
    public void setFio(String value) {
        set(8, value);
    }

    /**
     * Getter for <code>idm_reconcile.account.fio</code>.
     */
    public String getFio() {
        return (String) get(8);
    }

    /**
     * Setter for <code>idm_reconcile.account.work_mail</code>.
     */
    public void setWorkMail(String value) {
        set(9, value);
    }

    /**
     * Getter for <code>idm_reconcile.account.work_mail</code>.
     */
    public String getWorkMail() {
        return (String) get(9);
    }

    /**
     * Setter for <code>idm_reconcile.account.esia_account</code>.
     */
    public void setEsiaAccount(Boolean value) {
        set(10, value);
    }

    /**
     * Getter for <code>idm_reconcile.account.esia_account</code>.
     */
    public Boolean getEsiaAccount() {
        return (Boolean) get(10);
    }

    /**
     * Setter for <code>idm_reconcile.account.domain_id</code>.
     */
    public void setDomainId(String value) {
        set(11, value);
    }

    /**
     * Getter for <code>idm_reconcile.account.domain_id</code>.
     */
    public String getDomainId() {
        return (String) get(11);
    }

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

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

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

    /**
     * Create a detached AccountRecord
     */
    public AccountRecord() {
        super(Account.ACCOUNT);
    }

    /**
     * Create a detached, initialised AccountRecord
     */
    public AccountRecord(String id, Integer version, Timestamp modified, String schema, String start, String finish, Boolean enabled, String position, String fio, String workMail, Boolean esiaAccount, String domainId) {
        super(Account.ACCOUNT);

        setId(id);
        setVersion(version);
        setModified(modified);
        setSchema(schema);
        setStart(start);
        setFinish(finish);
        setEnabled(enabled);
        setPosition(position);
        setFio(fio);
        setWorkMail(workMail);
        setEsiaAccount(esiaAccount);
        setDomainId(domainId);
        resetChangedOnNotNull();
    }
}
