/*
 * This file is generated by jOOQ.
 */
package ru.micord.webbpm.ervu.business_metrics.db_beans.journal_log.tables.records;


import java.math.BigDecimal;

import org.jooq.impl.TableRecordImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.journal_log.tables.ViewSignJournal;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>journal_log.view_sign_journal.sign_journal_id</code>.
     */
    public void setSignJournalId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>journal_log.view_sign_journal.sign_journal_id</code>.
     */
    public Long getSignJournalId() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>journal_log.view_sign_journal.count_all</code>.
     */
    public void setCountAll(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>journal_log.view_sign_journal.count_all</code>.
     */
    public Long getCountAll() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>journal_log.view_sign_journal.percent_sign</code>.
     */
    public void setPercentSign(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for <code>journal_log.view_sign_journal.percent_sign</code>.
     */
    public BigDecimal getPercentSign() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for
     * <code>journal_log.view_sign_journal.percent_cancel_sign</code>.
     */
    public void setPercentCancelSign(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>journal_log.view_sign_journal.percent_cancel_sign</code>.
     */
    public BigDecimal getPercentCancelSign() {
        return (BigDecimal) get(3);
    }

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

    /**
     * Create a detached ViewSignJournalRecord
     */
    public ViewSignJournalRecord() {
        super(ViewSignJournal.VIEW_SIGN_JOURNAL);
    }

    /**
     * Create a detached, initialised ViewSignJournalRecord
     */
    public ViewSignJournalRecord(Long signJournalId, Long countAll, BigDecimal percentSign, BigDecimal percentCancelSign) {
        super(ViewSignJournal.VIEW_SIGN_JOURNAL);

        setSignJournalId(signJournalId);
        setCountAll(countAll);
        setPercentSign(percentSign);
        setPercentCancelSign(percentCancelSign);
        resetChangedOnNotNull();
    }
}
