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


/**
 * Обжалования. Обжалования решений ФЗ-53
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Fz_53AppealsRecord extends UpdatableRecordImpl<Fz_53AppealsRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>metrics.fz_53_appeals.fz_53_appeals_id</code>.
     */
    public void setFz_53AppealsId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>metrics.fz_53_appeals.fz_53_appeals_id</code>.
     */
    public Long getFz_53AppealsId() {
        return (Long) get(0);
    }

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

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

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

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

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

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

    /**
     * Setter for <code>metrics.fz_53_appeals.count_accepted</code>.
     * Удовлетворенных жалоб
     */
    public void setCountAccepted(Long value) {
        set(4, value);
    }

    /**
     * Getter for <code>metrics.fz_53_appeals.count_accepted</code>.
     * Удовлетворенных жалоб
     */
    public Long getCountAccepted() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>metrics.fz_53_appeals.count_refused</code>. Отклоненных
     * жалоб
     */
    public void setCountRefused(Long value) {
        set(5, value);
    }

    /**
     * Getter for <code>metrics.fz_53_appeals.count_refused</code>. Отклоненных
     * жалоб
     */
    public Long getCountRefused() {
        return (Long) get(5);
    }

    /**
     * Setter for <code>metrics.fz_53_appeals.count_partially</code>.
     */
    public void setCountPartially(Long value) {
        set(6, value);
    }

    /**
     * Getter for <code>metrics.fz_53_appeals.count_partially</code>.
     */
    public Long getCountPartially() {
        return (Long) get(6);
    }

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

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

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

    /**
     * Create a detached Fz_53AppealsRecord
     */
    public Fz_53AppealsRecord() {
        super(Fz_53Appeals.FZ_53_APPEALS);
    }

    /**
     * Create a detached, initialised Fz_53AppealsRecord
     */
    public Fz_53AppealsRecord(Long fz_53AppealsId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countAccepted, Long countRefused, Long countPartially) {
        super(Fz_53Appeals.FZ_53_APPEALS);

        setFz_53AppealsId(fz_53AppealsId);
        setRecruitmentId(recruitmentId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountAccepted(countAccepted);
        setCountRefused(countRefused);
        setCountPartially(countPartially);
        resetChangedOnNotNull();
    }
}
