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


/**
 * Конвертация. Результаты
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ConvertInfoCommonResultsRecord extends UpdatableRecordImpl<ConvertInfoCommonResultsRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>metrics.convert_info_common_results.convert_info_common_results_id</code>.
     */
    public void setConvertInfoCommonResultsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>metrics.convert_info_common_results.convert_info_common_results_id</code>.
     */
    public Long getConvertInfoCommonResultsId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>metrics.convert_info_common_results.count_confirmed</code>.
     */
    public void setCountConfirmed(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>metrics.convert_info_common_results.count_confirmed</code>.
     */
    public Long getCountConfirmed() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>metrics.convert_info_common_results.count_signed</code>.
     */
    public void setCountSigned(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>metrics.convert_info_common_results.count_signed</code>.
     */
    public Long getCountSigned() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>metrics.convert_info_common_results.count_manual_convert</code>.
     */
    public void setCountManualConvert(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>metrics.convert_info_common_results.count_manual_convert</code>.
     */
    public Long getCountManualConvert() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>metrics.convert_info_common_results.count_canceled</code>.
     */
    public void setCountCanceled(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>metrics.convert_info_common_results.count_canceled</code>.
     */
    public Long getCountCanceled() {
        return (Long) get(7);
    }

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

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

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

    /**
     * Create a detached ConvertInfoCommonResultsRecord
     */
    public ConvertInfoCommonResultsRecord() {
        super(ConvertInfoCommonResults.CONVERT_INFO_COMMON_RESULTS);
    }

    /**
     * Create a detached, initialised ConvertInfoCommonResultsRecord
     */
    public ConvertInfoCommonResultsRecord(Long convertInfoCommonResultsId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countConfirmed, Long countSigned, Long countManualConvert, Long countCanceled) {
        super(ConvertInfoCommonResults.CONVERT_INFO_COMMON_RESULTS);

        setConvertInfoCommonResultsId(convertInfoCommonResultsId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountConfirmed(countConfirmed);
        setCountSigned(countSigned);
        setCountManualConvert(countManualConvert);
        setCountCanceled(countCanceled);
        resetChangedOnNotNull();
    }
}
