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


import java.sql.Date;

import org.jooq.impl.TableRecordImpl;

import ru.micord.ervu_dashboard.db_beans.public_.tables.JobEntryLog;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>public.job_entry_log.id_batch</code>.
     */
    public void setIdBatch(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>public.job_entry_log.id_batch</code>.
     */
    public Long getIdBatch() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>public.job_entry_log.channel_id</code>.
     */
    public void setChannelId(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>public.job_entry_log.channel_id</code>.
     */
    public String getChannelId() {
        return (String) get(1);
    }

    /**
     * Setter for <code>public.job_entry_log.log_date</code>.
     */
    public void setLogDate(Date value) {
        set(2, value);
    }

    /**
     * Getter for <code>public.job_entry_log.log_date</code>.
     */
    public Date getLogDate() {
        return (Date) get(2);
    }

    /**
     * Setter for <code>public.job_entry_log.transname</code>.
     */
    public void setTransname(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>public.job_entry_log.transname</code>.
     */
    public String getTransname() {
        return (String) get(3);
    }

    /**
     * Setter for <code>public.job_entry_log.stepname</code>.
     */
    public void setStepname(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>public.job_entry_log.stepname</code>.
     */
    public String getStepname() {
        return (String) get(4);
    }

    /**
     * Setter for <code>public.job_entry_log.lines_read</code>.
     */
    public void setLinesRead(String value) {
        set(5, value);
    }

    /**
     * Getter for <code>public.job_entry_log.lines_read</code>.
     */
    public String getLinesRead() {
        return (String) get(5);
    }

    /**
     * Setter for <code>public.job_entry_log.lines_written</code>.
     */
    public void setLinesWritten(String value) {
        set(6, value);
    }

    /**
     * Getter for <code>public.job_entry_log.lines_written</code>.
     */
    public String getLinesWritten() {
        return (String) get(6);
    }

    /**
     * Setter for <code>public.job_entry_log.lines_updated</code>.
     */
    public void setLinesUpdated(String value) {
        set(7, value);
    }

    /**
     * Getter for <code>public.job_entry_log.lines_updated</code>.
     */
    public String getLinesUpdated() {
        return (String) get(7);
    }

    /**
     * Setter for <code>public.job_entry_log.lines_input</code>.
     */
    public void setLinesInput(String value) {
        set(8, value);
    }

    /**
     * Getter for <code>public.job_entry_log.lines_input</code>.
     */
    public String getLinesInput() {
        return (String) get(8);
    }

    /**
     * Setter for <code>public.job_entry_log.lines_output</code>.
     */
    public void setLinesOutput(String value) {
        set(9, value);
    }

    /**
     * Getter for <code>public.job_entry_log.lines_output</code>.
     */
    public String getLinesOutput() {
        return (String) get(9);
    }

    /**
     * Setter for <code>public.job_entry_log.lines_rejected</code>.
     */
    public void setLinesRejected(String value) {
        set(10, value);
    }

    /**
     * Getter for <code>public.job_entry_log.lines_rejected</code>.
     */
    public String getLinesRejected() {
        return (String) get(10);
    }

    /**
     * Setter for <code>public.job_entry_log.errors</code>.
     */
    public void setErrors(String value) {
        set(11, value);
    }

    /**
     * Getter for <code>public.job_entry_log.errors</code>.
     */
    public String getErrors() {
        return (String) get(11);
    }

    /**
     * Setter for <code>public.job_entry_log.RESULT</code>.
     */
    public void setResult(String value) {
        set(12, value);
    }

    /**
     * Getter for <code>public.job_entry_log.RESULT</code>.
     */
    public String getResult() {
        return (String) get(12);
    }

    /**
     * Setter for <code>public.job_entry_log.nr_result_rows</code>.
     */
    public void setNrResultRows(String value) {
        set(13, value);
    }

    /**
     * Getter for <code>public.job_entry_log.nr_result_rows</code>.
     */
    public String getNrResultRows() {
        return (String) get(13);
    }

    /**
     * Setter for <code>public.job_entry_log.nr_result_files</code>.
     */
    public void setNrResultFiles(String value) {
        set(14, value);
    }

    /**
     * Getter for <code>public.job_entry_log.nr_result_files</code>.
     */
    public String getNrResultFiles() {
        return (String) get(14);
    }

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

    /**
     * Create a detached JobEntryLogRecord
     */
    public JobEntryLogRecord() {
        super(JobEntryLog.JOB_ENTRY_LOG);
    }

    /**
     * Create a detached, initialised JobEntryLogRecord
     */
    public JobEntryLogRecord(Long idBatch, String channelId, Date logDate, String transname, String stepname, String linesRead, String linesWritten, String linesUpdated, String linesInput, String linesOutput, String linesRejected, String errors, String result, String nrResultRows, String nrResultFiles) {
        super(JobEntryLog.JOB_ENTRY_LOG);

        setIdBatch(idBatch);
        setChannelId(channelId);
        setLogDate(logDate);
        setTransname(transname);
        setStepname(stepname);
        setLinesRead(linesRead);
        setLinesWritten(linesWritten);
        setLinesUpdated(linesUpdated);
        setLinesInput(linesInput);
        setLinesOutput(linesOutput);
        setLinesRejected(linesRejected);
        setErrors(errors);
        setResult(result);
        setNrResultRows(nrResultRows);
        setNrResultFiles(nrResultFiles);
        resetChangedOnNotNull();
    }
}
