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


import java.sql.Date;
import java.sql.Timestamp;

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

import ru.micord.webbpm.ervu.business_metrics.db_beans.journal_log.tables.DictionaryUpdate;


/**
 * Журналирование. Обновление справочников
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DictionaryUpdateRecord extends UpdatableRecordImpl<DictionaryUpdateRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>journal_log.dictionary_update.dictionary_update_id</code>.
     */
    public void setDictionaryUpdateId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>journal_log.dictionary_update.dictionary_update_id</code>.
     */
    public Long getDictionaryUpdateId() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>journal_log.dictionary_update.recruitment_id</code>.
     */
    public void setRecruitmentId(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>journal_log.dictionary_update.recruitment_id</code>.
     */
    public String getRecruitmentId() {
        return (String) get(1);
    }

    /**
     * Setter for <code>journal_log.dictionary_update.update_date</code>.
     */
    public void setUpdateDate(Timestamp value) {
        set(2, value);
    }

    /**
     * Getter for <code>journal_log.dictionary_update.update_date</code>.
     */
    public Timestamp getUpdateDate() {
        return (Timestamp) get(2);
    }

    /**
     * Setter for <code>journal_log.dictionary_update.info_date</code>.
     */
    public void setInfoDate(Date value) {
        set(3, value);
    }

    /**
     * Getter for <code>journal_log.dictionary_update.info_date</code>.
     */
    public Date getInfoDate() {
        return (Date) get(3);
    }

    /**
     * Setter for <code>journal_log.dictionary_update.count_dictionary_1</code>.
     */
    public void setCountDictionary_1(Long value) {
        set(4, value);
    }

    /**
     * Getter for <code>journal_log.dictionary_update.count_dictionary_1</code>.
     */
    public Long getCountDictionary_1() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>journal_log.dictionary_update.count_dictionary_2</code>.
     */
    public void setCountDictionary_2(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>journal_log.dictionary_update.count_dictionary_2</code>.
     */
    public Long getCountDictionary_2() {
        return (Long) get(5);
    }

    /**
     * Setter for <code>journal_log.dictionary_update.count_dictionary_3</code>.
     */
    public void setCountDictionary_3(Long value) {
        set(6, value);
    }

    /**
     * Getter for <code>journal_log.dictionary_update.count_dictionary_3</code>.
     */
    public Long getCountDictionary_3() {
        return (Long) get(6);
    }

    /**
     * Setter for <code>journal_log.dictionary_update.count_dictionary_4</code>.
     */
    public void setCountDictionary_4(Long value) {
        set(7, value);
    }

    /**
     * Getter for <code>journal_log.dictionary_update.count_dictionary_4</code>.
     */
    public Long getCountDictionary_4() {
        return (Long) get(7);
    }

    /**
     * Setter for <code>journal_log.dictionary_update.name_dictionary_1</code>.
     */
    public void setNameDictionary_1(String value) {
        set(8, value);
    }

    /**
     * Getter for <code>journal_log.dictionary_update.name_dictionary_1</code>.
     */
    public String getNameDictionary_1() {
        return (String) get(8);
    }

    /**
     * Setter for <code>journal_log.dictionary_update.name_dictionary_2</code>.
     */
    public void setNameDictionary_2(String value) {
        set(9, value);
    }

    /**
     * Getter for <code>journal_log.dictionary_update.name_dictionary_2</code>.
     */
    public String getNameDictionary_2() {
        return (String) get(9);
    }

    /**
     * Setter for <code>journal_log.dictionary_update.name_dictionary_3</code>.
     */
    public void setNameDictionary_3(String value) {
        set(10, value);
    }

    /**
     * Getter for <code>journal_log.dictionary_update.name_dictionary_3</code>.
     */
    public String getNameDictionary_3() {
        return (String) get(10);
    }

    /**
     * Setter for <code>journal_log.dictionary_update.name_dictionary_4</code>.
     */
    public void setNameDictionary_4(String value) {
        set(11, value);
    }

    /**
     * Getter for <code>journal_log.dictionary_update.name_dictionary_4</code>.
     */
    public String getNameDictionary_4() {
        return (String) get(11);
    }

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

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

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

    /**
     * Create a detached DictionaryUpdateRecord
     */
    public DictionaryUpdateRecord() {
        super(DictionaryUpdate.DICTIONARY_UPDATE);
    }

    /**
     * Create a detached, initialised DictionaryUpdateRecord
     */
    public DictionaryUpdateRecord(Long dictionaryUpdateId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countDictionary_1, Long countDictionary_2, Long countDictionary_3, Long countDictionary_4, String nameDictionary_1, String nameDictionary_2, String nameDictionary_3, String nameDictionary_4) {
        super(DictionaryUpdate.DICTIONARY_UPDATE);

        setDictionaryUpdateId(dictionaryUpdateId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountDictionary_1(countDictionary_1);
        setCountDictionary_2(countDictionary_2);
        setCountDictionary_3(countDictionary_3);
        setCountDictionary_4(countDictionary_4);
        setNameDictionary_1(nameDictionary_1);
        setNameDictionary_2(nameDictionary_2);
        setNameDictionary_3(nameDictionary_3);
        setNameDictionary_4(nameDictionary_4);
        resetChangedOnNotNull();
    }
}
