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


/**
 * Журналирование. Скорость загрузки файлов
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class LoadFilesSpeedJourRecord extends UpdatableRecordImpl<LoadFilesSpeedJourRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>journal_log.load_files_speed_jour.load_files_speed_jour_id</code>.
     */
    public void setLoadFilesSpeedJourId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>journal_log.load_files_speed_jour.load_files_speed_jour_id</code>.
     */
    public Long getLoadFilesSpeedJourId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for
     * <code>journal_log.load_files_speed_jour.count_files_in_record</code>.
     * количество записей в файле
     */
    public void setCountFilesInRecord(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>journal_log.load_files_speed_jour.count_files_in_record</code>.
     * количество записей в файле
     */
    public Long getCountFilesInRecord() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>journal_log.load_files_speed_jour.file_time_sec</code>.
     * время загрузки файла
     */
    public void setFileTimeSec(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>journal_log.load_files_speed_jour.file_time_sec</code>.
     * время загрузки файла
     */
    public Long getFileTimeSec() {
        return (Long) get(5);
    }

    /**
     * Setter for <code>journal_log.load_files_speed_jour.file_name</code>. имя
     * файла
     */
    public void setFileName(String value) {
        set(6, value);
    }

    /**
     * Getter for <code>journal_log.load_files_speed_jour.file_name</code>. имя
     * файла
     */
    public String getFileName() {
        return (String) get(6);
    }

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

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

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

    /**
     * Create a detached LoadFilesSpeedJourRecord
     */
    public LoadFilesSpeedJourRecord() {
        super(LoadFilesSpeedJour.LOAD_FILES_SPEED_JOUR);
    }

    /**
     * Create a detached, initialised LoadFilesSpeedJourRecord
     */
    public LoadFilesSpeedJourRecord(Long loadFilesSpeedJourId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countFilesInRecord, Long fileTimeSec, String fileName) {
        super(LoadFilesSpeedJour.LOAD_FILES_SPEED_JOUR);

        setLoadFilesSpeedJourId(loadFilesSpeedJourId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountFilesInRecord(countFilesInRecord);
        setFileTimeSec(fileTimeSec);
        setFileName(fileName);
        resetChangedOnNotNull();
    }
}
