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


import java.sql.Timestamp;

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

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


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>public.workflow_logs.logging_id</code>.
     */
    public void setLoggingId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>public.workflow_logs.logging_id</code>.
     */
    public Long getLoggingId() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>public.workflow_logs.loggingdate</code>.
     */
    public void setLoggingdate(Timestamp value) {
        set(1, value);
    }

    /**
     * Getter for <code>public.workflow_logs.loggingdate</code>.
     */
    public Timestamp getLoggingdate() {
        return (Timestamp) get(1);
    }

    /**
     * Setter for <code>public.workflow_logs.loggingphase</code>.
     */
    public void setLoggingphase(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>public.workflow_logs.loggingphase</code>.
     */
    public String getLoggingphase() {
        return (String) get(2);
    }

    /**
     * Setter for <code>public.workflow_logs.workflowname</code>.
     */
    public void setWorkflowname(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>public.workflow_logs.workflowname</code>.
     */
    public String getWorkflowname() {
        return (String) get(3);
    }

    /**
     * Setter for <code>public.workflow_logs.workflowfilename</code>.
     */
    public void setWorkflowfilename(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>public.workflow_logs.workflowfilename</code>.
     */
    public String getWorkflowfilename() {
        return (String) get(4);
    }

    /**
     * Setter for <code>public.workflow_logs.workflowstart</code>.
     */
    public void setWorkflowstart(Timestamp value) {
        set(5, value);
    }

    /**
     * Getter for <code>public.workflow_logs.workflowstart</code>.
     */
    public Timestamp getWorkflowstart() {
        return (Timestamp) get(5);
    }

    /**
     * Setter for <code>public.workflow_logs.workflowend</code>.
     */
    public void setWorkflowend(Timestamp value) {
        set(6, value);
    }

    /**
     * Getter for <code>public.workflow_logs.workflowend</code>.
     */
    public Timestamp getWorkflowend() {
        return (Timestamp) get(6);
    }

    /**
     * Setter for <code>public.workflow_logs.workflowlogchannelid</code>.
     */
    public void setWorkflowlogchannelid(String value) {
        set(7, value);
    }

    /**
     * Getter for <code>public.workflow_logs.workflowlogchannelid</code>.
     */
    public String getWorkflowlogchannelid() {
        return (String) get(7);
    }

    /**
     * Setter for <code>public.workflow_logs.workflowparentlogchannelid</code>.
     */
    public void setWorkflowparentlogchannelid(String value) {
        set(8, value);
    }

    /**
     * Getter for <code>public.workflow_logs.workflowparentlogchannelid</code>.
     */
    public String getWorkflowparentlogchannelid() {
        return (String) get(8);
    }

    /**
     * Setter for <code>public.workflow_logs.workflowlogging</code>.
     */
    public void setWorkflowlogging(String value) {
        set(9, value);
    }

    /**
     * Getter for <code>public.workflow_logs.workflowlogging</code>.
     */
    public String getWorkflowlogging() {
        return (String) get(9);
    }

    /**
     * Setter for <code>public.workflow_logs.workflowerrorcount</code>.
     */
    public void setWorkflowerrorcount(Integer value) {
        set(10, value);
    }

    /**
     * Getter for <code>public.workflow_logs.workflowerrorcount</code>.
     */
    public Integer getWorkflowerrorcount() {
        return (Integer) get(10);
    }

    /**
     * Setter for <code>public.workflow_logs.workflowstatusdescription</code>.
     */
    public void setWorkflowstatusdescription(String value) {
        set(11, value);
    }

    /**
     * Getter for <code>public.workflow_logs.workflowstatusdescription</code>.
     */
    public String getWorkflowstatusdescription() {
        return (String) get(11);
    }

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

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

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

    /**
     * Create a detached WorkflowLogsRecord
     */
    public WorkflowLogsRecord() {
        super(WorkflowLogs.WORKFLOW_LOGS);
    }

    /**
     * Create a detached, initialised WorkflowLogsRecord
     */
    public WorkflowLogsRecord(Long loggingId, Timestamp loggingdate, String loggingphase, String workflowname, String workflowfilename, Timestamp workflowstart, Timestamp workflowend, String workflowlogchannelid, String workflowparentlogchannelid, String workflowlogging, Integer workflowerrorcount, String workflowstatusdescription) {
        super(WorkflowLogs.WORKFLOW_LOGS);

        setLoggingId(loggingId);
        setLoggingdate(loggingdate);
        setLoggingphase(loggingphase);
        setWorkflowname(workflowname);
        setWorkflowfilename(workflowfilename);
        setWorkflowstart(workflowstart);
        setWorkflowend(workflowend);
        setWorkflowlogchannelid(workflowlogchannelid);
        setWorkflowparentlogchannelid(workflowparentlogchannelid);
        setWorkflowlogging(workflowlogging);
        setWorkflowerrorcount(workflowerrorcount);
        setWorkflowstatusdescription(workflowstatusdescription);
        resetChangedOnNotNull();
    }
}
