/*
 * This file is generated by jOOQ.
 */
package ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.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.metrics.tables.ConvertInfoLoadedRecords;


/**
 * загрузка записей в ГИС ЕРВУ
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ConvertInfoLoadedRecordsRecord extends UpdatableRecordImpl<ConvertInfoLoadedRecordsRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>metrics.convert_info_loaded_records.convert_info_loaded_records_id</code>.
     */
    public void setConvertInfoLoadedRecordsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>metrics.convert_info_loaded_records.convert_info_loaded_records_id</code>.
     */
    public Long getConvertInfoLoadedRecordsId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>metrics.convert_info_loaded_records.count_success</code>.
     */
    public void setCountSuccess(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>metrics.convert_info_loaded_records.count_success</code>.
     */
    public Long getCountSuccess() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>metrics.convert_info_loaded_records.count_error</code>.
     */
    public void setCountError(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>metrics.convert_info_loaded_records.count_error</code>.
     */
    public Long getCountError() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>metrics.convert_info_loaded_records.count_not_success</code>.
     */
    public void setCountNotSuccess(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>metrics.convert_info_loaded_records.count_not_success</code>.
     */
    public Long getCountNotSuccess() {
        return (Long) get(6);
    }

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

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

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

    /**
     * Create a detached ConvertInfoLoadedRecordsRecord
     */
    public ConvertInfoLoadedRecordsRecord() {
        super(ConvertInfoLoadedRecords.CONVERT_INFO_LOADED_RECORDS);
    }

    /**
     * Create a detached, initialised ConvertInfoLoadedRecordsRecord
     */
    public ConvertInfoLoadedRecordsRecord(Long convertInfoLoadedRecordsId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countSuccess, Long countError, Long countNotSuccess) {
        super(ConvertInfoLoadedRecords.CONVERT_INFO_LOADED_RECORDS);

        setConvertInfoLoadedRecordsId(convertInfoLoadedRecordsId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountSuccess(countSuccess);
        setCountError(countError);
        setCountNotSuccess(countNotSuccess);
        resetChangedOnNotNull();
    }
}
