/*
 * This file is generated by jOOQ.
 */
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;


import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.PubRecruitment;

import java.sql.Timestamp;
import java.util.UUID;

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


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

    private static final long serialVersionUID = 1L;

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

    /**
     * Getter for <code>public.pub_recruitment.id</code>.
     */
    public UUID getId() {
        return (UUID) get(0);
    }

    /**
     * Setter for <code>public.pub_recruitment.idm_id</code>.
     */
    public void setIdmId(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>public.pub_recruitment.idm_id</code>.
     */
    public String getIdmId() {
        return (String) get(1);
    }

    /**
     * Setter for <code>public.pub_recruitment.parent_id</code>.
     */
    public void setParentId(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>public.pub_recruitment.parent_id</code>.
     */
    public String getParentId() {
        return (String) get(2);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.version</code>.
     */
    public Integer getVersion() {
        return (Integer) get(3);
    }

    /**
     * Setter for <code>public.pub_recruitment.created_at</code>.
     */
    public void setCreatedAt(Timestamp value) {
        set(4, value);
    }

    /**
     * Getter for <code>public.pub_recruitment.created_at</code>.
     */
    public Timestamp getCreatedAt() {
        return (Timestamp) get(4);
    }

    /**
     * Setter for <code>public.pub_recruitment.updated_at</code>.
     */
    public void setUpdatedAt(Timestamp value) {
        set(5, value);
    }

    /**
     * Getter for <code>public.pub_recruitment.updated_at</code>.
     */
    public Timestamp getUpdatedAt() {
        return (Timestamp) get(5);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.schema</code>.
     */
    public String getSchema() {
        return (String) get(6);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.military_code</code>.
     */
    public String getMilitaryCode() {
        return (String) get(7);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.shortname</code>.
     */
    public String getShortname() {
        return (String) get(8);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.fullname</code>.
     */
    public String getFullname() {
        return (String) get(9);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.dns</code>.
     */
    public String getDns() {
        return (String) get(10);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.email</code>.
     */
    public String getEmail() {
        return (String) get(11);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.phone</code>.
     */
    public String getPhone() {
        return (String) get(12);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.address</code>.
     */
    public String getAddress() {
        return (String) get(13);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.address_id</code>.
     */
    public String getAddressId() {
        return (String) get(14);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.postal_address</code>.
     */
    public String getPostalAddress() {
        return (String) get(15);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.postal_address_id</code>.
     */
    public String getPostalAddressId() {
        return (String) get(16);
    }

    /**
     * Setter for <code>public.pub_recruitment.nsi_department_id</code>.
     */
    public void setNsiDepartmentId(String value) {
        set(17, value);
    }

    /**
     * Getter for <code>public.pub_recruitment.nsi_department_id</code>.
     */
    public String getNsiDepartmentId() {
        return (String) get(17);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.nsi_organization_id</code>.
     */
    public String getNsiOrganizationId() {
        return (String) get(18);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.oktmo</code>.
     */
    public String getOktmo() {
        return (String) get(19);
    }

    /**
     * Setter for <code>public.pub_recruitment.org_ogrn</code>.
     */
    public void setOrgOgrn(String value) {
        set(20, value);
    }

    /**
     * Getter for <code>public.pub_recruitment.org_ogrn</code>.
     */
    public String getOrgOgrn() {
        return (String) get(20);
    }

    /**
     * Setter for <code>public.pub_recruitment.dep_ogrn</code>.
     */
    public void setDepOgrn(String value) {
        set(21, value);
    }

    /**
     * Getter for <code>public.pub_recruitment.dep_ogrn</code>.
     */
    public String getDepOgrn() {
        return (String) get(21);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.epgu_id</code>.
     */
    public String getEpguId() {
        return (String) get(22);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.kpp</code>.
     */
    public String getKpp() {
        return (String) get(23);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.inn</code>.
     */
    public String getInn() {
        return (String) get(24);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.okato</code>.
     */
    public String getOkato() {
        return (String) get(25);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.division_type</code>.
     */
    public String getDivisionType() {
        return (String) get(26);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.tns_department_id</code>.
     */
    public String getTnsDepartmentId() {
        return (String) get(27);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.enabled</code>.
     */
    public Boolean getEnabled() {
        return (Boolean) get(28);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.timezone</code>.
     */
    public String getTimezone() {
        return (String) get(29);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.reports_enabled</code>.
     */
    public Boolean getReportsEnabled() {
        return (Boolean) get(30);
    }

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

    /**
     * Getter for <code>public.pub_recruitment.region_id</code>.
     */
    public String getRegionId() {
        return (String) get(31);
    }

    /**
     * Setter for <code>public.pub_recruitment.series</code>.
     */
    public void setSeries(String value) {
        set(32, value);
    }

    /**
     * Getter for <code>public.pub_recruitment.series</code>.
     */
    public String getSeries() {
        return (String) get(32);
    }

    /**
     * Setter for <code>public.pub_recruitment.hidden</code>.
     */
    public void setHidden(Boolean value) {
        set(33, value);
    }

    /**
     * Getter for <code>public.pub_recruitment.hidden</code>.
     */
    public Boolean getHidden() {
        return (Boolean) get(33);
    }

    /**
     * Setter for <code>public.pub_recruitment.sort</code>.
     */
    public void setSort(Integer value) {
        set(34, value);
    }

    /**
     * Getter for <code>public.pub_recruitment.sort</code>.
     */
    public Integer getSort() {
        return (Integer) get(34);
    }

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

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

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

    /**
     * Create a detached PubRecruitmentRecord
     */
    public PubRecruitmentRecord() {
        super(PubRecruitment.PUB_RECRUITMENT);
    }

    /**
     * Create a detached, initialised PubRecruitmentRecord
     */
    public PubRecruitmentRecord(UUID id, String idmId, String parentId, Integer version, Timestamp createdAt, Timestamp updatedAt, String schema, String militaryCode, String shortname, String fullname, String dns, String email, String phone, String address, String addressId, String postalAddress, String postalAddressId, String nsiDepartmentId, String nsiOrganizationId, String oktmo, String orgOgrn, String depOgrn, String epguId, String kpp, String inn, String okato, String divisionType, String tnsDepartmentId, Boolean enabled, String timezone, Boolean reportsEnabled, String regionId, String series, Boolean hidden, Integer sort) {
        super(PubRecruitment.PUB_RECRUITMENT);

        setId(id);
        setIdmId(idmId);
        setParentId(parentId);
        setVersion(version);
        setCreatedAt(createdAt);
        setUpdatedAt(updatedAt);
        setSchema(schema);
        setMilitaryCode(militaryCode);
        setShortname(shortname);
        setFullname(fullname);
        setDns(dns);
        setEmail(email);
        setPhone(phone);
        setAddress(address);
        setAddressId(addressId);
        setPostalAddress(postalAddress);
        setPostalAddressId(postalAddressId);
        setNsiDepartmentId(nsiDepartmentId);
        setNsiOrganizationId(nsiOrganizationId);
        setOktmo(oktmo);
        setOrgOgrn(orgOgrn);
        setDepOgrn(depOgrn);
        setEpguId(epguId);
        setKpp(kpp);
        setInn(inn);
        setOkato(okato);
        setDivisionType(divisionType);
        setTnsDepartmentId(tnsDepartmentId);
        setEnabled(enabled);
        setTimezone(timezone);
        setReportsEnabled(reportsEnabled);
        setRegionId(regionId);
        setSeries(series);
        setHidden(hidden);
        setSort(sort);
        resetChangedOnNotNull();
    }
}
