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


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

    private static final long serialVersionUID = 1L;

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

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

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

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

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

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

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

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

    /**
     * Setter for <code>idm_reconcile.domain.name</code>.
     */
    public void setName(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.name</code>.
     */
    public String getName() {
        return (String) get(4);
    }

    /**
     * Setter for <code>idm_reconcile.domain.shortname</code>.
     */
    public void setShortname(String value) {
        set(5, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.shortname</code>.
     */
    public String getShortname() {
        return (String) get(5);
    }

    /**
     * Setter for <code>idm_reconcile.domain.fullname</code>.
     */
    public void setFullname(String value) {
        set(6, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.fullname</code>.
     */
    public String getFullname() {
        return (String) get(6);
    }

    /**
     * Setter for <code>idm_reconcile.domain.dns</code>.
     */
    public void setDns(String value) {
        set(7, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.dns</code>.
     */
    public String getDns() {
        return (String) get(7);
    }

    /**
     * Setter for <code>idm_reconcile.domain.email</code>.
     */
    public void setEmail(String value) {
        set(8, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.email</code>.
     */
    public String getEmail() {
        return (String) get(8);
    }

    /**
     * Setter for <code>idm_reconcile.domain.phone</code>.
     */
    public void setPhone(String value) {
        set(9, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.phone</code>.
     */
    public String getPhone() {
        return (String) get(9);
    }

    /**
     * Setter for <code>idm_reconcile.domain.address</code>.
     */
    public void setAddress(String value) {
        set(10, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.address</code>.
     */
    public String getAddress() {
        return (String) get(10);
    }

    /**
     * Setter for <code>idm_reconcile.domain.postal_address</code>.
     */
    public void setPostalAddress(String value) {
        set(11, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.postal_address</code>.
     */
    public String getPostalAddress() {
        return (String) get(11);
    }

    /**
     * Setter for <code>idm_reconcile.domain.address_id</code>.
     */
    public void setAddressId(String value) {
        set(12, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.address_id</code>.
     */
    public String getAddressId() {
        return (String) get(12);
    }

    /**
     * Setter for <code>idm_reconcile.domain.postal_address_id</code>.
     */
    public void setPostalAddressId(String value) {
        set(13, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.postal_address_id</code>.
     */
    public String getPostalAddressId() {
        return (String) get(13);
    }

    /**
     * Setter for <code>idm_reconcile.domain.military_code</code>.
     */
    public void setMilitaryCode(String value) {
        set(14, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.military_code</code>.
     */
    public String getMilitaryCode() {
        return (String) get(14);
    }

    /**
     * Setter for <code>idm_reconcile.domain.timezone</code>.
     */
    public void setTimezone(String value) {
        set(15, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.timezone</code>.
     */
    public String getTimezone() {
        return (String) get(15);
    }

    /**
     * Setter for <code>idm_reconcile.domain.reports_enabled</code>.
     */
    public void setReportsEnabled(Boolean value) {
        set(16, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.reports_enabled</code>.
     */
    public Boolean getReportsEnabled() {
        return (Boolean) get(16);
    }

    /**
     * Setter for <code>idm_reconcile.domain.inn</code>.
     */
    public void setInn(String value) {
        set(17, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.inn</code>.
     */
    public String getInn() {
        return (String) get(17);
    }

    /**
     * Setter for <code>idm_reconcile.domain.leg</code>.
     */
    public void setLeg(String value) {
        set(18, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.leg</code>.
     */
    public String getLeg() {
        return (String) get(18);
    }

    /**
     * Setter for <code>idm_reconcile.domain.ogrn</code>.
     */
    public void setOgrn(String value) {
        set(19, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.ogrn</code>.
     */
    public String getOgrn() {
        return (String) get(19);
    }

    /**
     * Setter for <code>idm_reconcile.domain.region</code>.
     */
    public void setRegion(String value) {
        set(20, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.region</code>.
     */
    public String getRegion() {
        return (String) get(20);
    }

    /**
     * Setter for <code>idm_reconcile.domain.epgu_id</code>.
     */
    public void setEpguId(String value) {
        set(21, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.epgu_id</code>.
     */
    public String getEpguId() {
        return (String) get(21);
    }

    /**
     * Setter for <code>idm_reconcile.domain.type</code>.
     */
    public void setType(String value) {
        set(22, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.type</code>.
     */
    public String getType() {
        return (String) get(22);
    }

    /**
     * Setter for <code>idm_reconcile.domain.esia_employee_authorization</code>.
     */
    public void setEsiaEmployeeAuthorization(Boolean value) {
        set(23, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.esia_employee_authorization</code>.
     */
    public Boolean getEsiaEmployeeAuthorization() {
        return (Boolean) get(23);
    }

    /**
     * Setter for <code>idm_reconcile.domain.default_s3_bucket</code>.
     */
    public void setDefaultS3Bucket(String value) {
        set(24, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.default_s3_bucket</code>.
     */
    public String getDefaultS3Bucket() {
        return (String) get(24);
    }

    /**
     * Setter for <code>idm_reconcile.domain.opf</code>.
     */
    public void setOpf(String value) {
        set(25, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.opf</code>.
     */
    public String getOpf() {
        return (String) get(25);
    }

    /**
     * Setter for <code>idm_reconcile.domain.kpp</code>.
     */
    public void setKpp(String value) {
        set(26, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.kpp</code>.
     */
    public String getKpp() {
        return (String) get(26);
    }

    /**
     * Setter for <code>idm_reconcile.domain.checking_account</code>.
     */
    public void setCheckingAccount(String value) {
        set(27, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.checking_account</code>.
     */
    public String getCheckingAccount() {
        return (String) get(27);
    }

    /**
     * Setter for <code>idm_reconcile.domain.bik</code>.
     */
    public void setBik(String value) {
        set(28, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.bik</code>.
     */
    public String getBik() {
        return (String) get(28);
    }

    /**
     * Setter for <code>idm_reconcile.domain.bank_name</code>.
     */
    public void setBankName(String value) {
        set(29, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.bank_name</code>.
     */
    public String getBankName() {
        return (String) get(29);
    }

    /**
     * Setter for <code>idm_reconcile.domain.bank_correspondent_account</code>.
     */
    public void setBankCorrespondentAccount(String value) {
        set(30, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.bank_correspondent_account</code>.
     */
    public String getBankCorrespondentAccount() {
        return (String) get(30);
    }

    /**
     * Setter for <code>idm_reconcile.domain.oktmo</code>.
     */
    public void setOktmo(String value) {
        set(31, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.oktmo</code>.
     */
    public String getOktmo() {
        return (String) get(31);
    }

    /**
     * Setter for <code>idm_reconcile.domain.okato</code>.
     */
    public void setOkato(String value) {
        set(32, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.okato</code>.
     */
    public String getOkato() {
        return (String) get(32);
    }

    /**
     * Setter for <code>idm_reconcile.domain.gov_registration_date</code>.
     */
    public void setGovRegistrationDate(String value) {
        set(33, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.gov_registration_date</code>.
     */
    public String getGovRegistrationDate() {
        return (String) get(33);
    }

    /**
     * Setter for <code>idm_reconcile.domain.gov_organization_type</code>.
     */
    public void setGovOrganizationType(String value) {
        set(34, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.gov_organization_type</code>.
     */
    public String getGovOrganizationType() {
        return (String) get(34);
    }

    /**
     * Setter for <code>idm_reconcile.domain.alias_key</code>.
     */
    public void setAliasKey(String value) {
        set(35, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.alias_key</code>.
     */
    public String getAliasKey() {
        return (String) get(35);
    }

    /**
     * Setter for <code>idm_reconcile.domain.pass_key</code>.
     */
    public void setPassKey(String value) {
        set(36, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.pass_key</code>.
     */
    public String getPassKey() {
        return (String) get(36);
    }

    /**
     * Setter for <code>idm_reconcile.domain.certificate</code>.
     */
    public void setCertificate(String value) {
        set(37, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.certificate</code>.
     */
    public String getCertificate() {
        return (String) get(37);
    }

    /**
     * Setter for <code>idm_reconcile.domain.account_number_tofk</code>.
     */
    public void setAccountNumberTofk(String value) {
        set(38, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.account_number_tofk</code>.
     */
    public String getAccountNumberTofk() {
        return (String) get(38);
    }

    /**
     * Setter for <code>idm_reconcile.domain.bik_tofk</code>.
     */
    public void setBikTofk(String value) {
        set(39, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.bik_tofk</code>.
     */
    public String getBikTofk() {
        return (String) get(39);
    }

    /**
     * Setter for
     * <code>idm_reconcile.domain.correspondent_bank_account_tofk</code>.
     */
    public void setCorrespondentBankAccountTofk(String value) {
        set(40, value);
    }

    /**
     * Getter for
     * <code>idm_reconcile.domain.correspondent_bank_account_tofk</code>.
     */
    public String getCorrespondentBankAccountTofk() {
        return (String) get(40);
    }

    /**
     * Setter for <code>idm_reconcile.domain.name_tofk</code>.
     */
    public void setNameTofk(String value) {
        set(41, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.name_tofk</code>.
     */
    public String getNameTofk() {
        return (String) get(41);
    }

    /**
     * Setter for <code>idm_reconcile.domain.nsi_organization_id</code>.
     */
    public void setNsiOrganizationId(String value) {
        set(42, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.nsi_organization_id</code>.
     */
    public String getNsiOrganizationId() {
        return (String) get(42);
    }

    /**
     * Setter for <code>idm_reconcile.domain.doc_handle</code>.
     */
    public void setDocHandle(String value) {
        set(43, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.doc_handle</code>.
     */
    public String getDocHandle() {
        return (String) get(43);
    }

    /**
     * Setter for <code>idm_reconcile.domain.division_type</code>.
     */
    public void setDivisionType(String value) {
        set(44, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.division_type</code>.
     */
    public String getDivisionType() {
        return (String) get(44);
    }

    /**
     * Setter for <code>idm_reconcile.domain.tns_department_id</code>.
     */
    public void setTnsDepartmentId(String value) {
        set(45, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.tns_department_id</code>.
     */
    public String getTnsDepartmentId() {
        return (String) get(45);
    }

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

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

    /**
     * Setter for <code>idm_reconcile.domain.parent</code>.
     */
    public void setParent(String value) {
        set(47, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.parent</code>.
     */
    public String getParent() {
        return (String) get(47);
    }

    /**
     * Setter for <code>idm_reconcile.domain.region_id</code>.
     */
    public void setRegionId(String value) {
        set(48, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.region_id</code>.
     */
    public String getRegionId() {
        return (String) get(48);
    }

    /**
     * Setter for <code>idm_reconcile.domain.managed</code>.
     */
    public void setManaged(String value) {
        set(49, value);
    }

    /**
     * Getter for <code>idm_reconcile.domain.managed</code>.
     */
    public String getManaged() {
        return (String) get(49);
    }

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

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

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

    /**
     * Create a detached DomainRecord
     */
    public DomainRecord() {
        super(Domain.DOMAIN);
    }

    /**
     * Create a detached, initialised DomainRecord
     */
    public DomainRecord(String id, Integer version, Timestamp modified, String schema, String name, String shortname, String fullname, String dns, String email, String phone, String address, String postalAddress, String addressId, String postalAddressId, String militaryCode, String timezone, Boolean reportsEnabled, String inn, String leg, String ogrn, String region, String epguId, String type, Boolean esiaEmployeeAuthorization, String defaultS3Bucket, String opf, String kpp, String checkingAccount, String bik, String bankName, String bankCorrespondentAccount, String oktmo, String okato, String govRegistrationDate, String govOrganizationType, String aliasKey, String passKey, String certificate, String accountNumberTofk, String bikTofk, String correspondentBankAccountTofk, String nameTofk, String nsiOrganizationId, String docHandle, String divisionType, String tnsDepartmentId, Boolean enabled, String parent, String regionId, String managed) {
        super(Domain.DOMAIN);

        setId(id);
        setVersion(version);
        setModified(modified);
        setSchema(schema);
        setName(name);
        setShortname(shortname);
        setFullname(fullname);
        setDns(dns);
        setEmail(email);
        setPhone(phone);
        setAddress(address);
        setPostalAddress(postalAddress);
        setAddressId(addressId);
        setPostalAddressId(postalAddressId);
        setMilitaryCode(militaryCode);
        setTimezone(timezone);
        setReportsEnabled(reportsEnabled);
        setInn(inn);
        setLeg(leg);
        setOgrn(ogrn);
        setRegion(region);
        setEpguId(epguId);
        setType(type);
        setEsiaEmployeeAuthorization(esiaEmployeeAuthorization);
        setDefaultS3Bucket(defaultS3Bucket);
        setOpf(opf);
        setKpp(kpp);
        setCheckingAccount(checkingAccount);
        setBik(bik);
        setBankName(bankName);
        setBankCorrespondentAccount(bankCorrespondentAccount);
        setOktmo(oktmo);
        setOkato(okato);
        setGovRegistrationDate(govRegistrationDate);
        setGovOrganizationType(govOrganizationType);
        setAliasKey(aliasKey);
        setPassKey(passKey);
        setCertificate(certificate);
        setAccountNumberTofk(accountNumberTofk);
        setBikTofk(bikTofk);
        setCorrespondentBankAccountTofk(correspondentBankAccountTofk);
        setNameTofk(nameTofk);
        setNsiOrganizationId(nsiOrganizationId);
        setDocHandle(docHandle);
        setDivisionType(divisionType);
        setTnsDepartmentId(tnsDepartmentId);
        setEnabled(enabled);
        setParent(parent);
        setRegionId(regionId);
        setManaged(managed);
        resetChangedOnNotNull();
    }
}
