/*
 * This file is generated by jOOQ.
 */
package ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.records;


import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.RemovedRegistry;

import java.math.BigDecimal;
import java.sql.Date;
import java.util.UUID;

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


/**
 * Снято с учета уровень РФ
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RemovedRegistryRecord extends UpdatableRecordImpl<RemovedRegistryRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>total_registered.removed_registry.removed_registry</code>. Снято с
     * учета
     */
    public void setRemovedRegistry(BigDecimal value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>total_registered.removed_registry.removed_registry</code>. Снято с
     * учета
     */
    public BigDecimal getRemovedRegistry() {
        return (BigDecimal) get(0);
    }

    /**
     * Setter for
     * <code>total_registered.removed_registry.deprivation_citizenship</code>.
     * Лишение гражданства
     */
    public void setDeprivationCitizenship(BigDecimal value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>total_registered.removed_registry.deprivation_citizenship</code>.
     * Лишение гражданства
     */
    public BigDecimal getDeprivationCitizenship() {
        return (BigDecimal) get(1);
    }

    /**
     * Setter for <code>total_registered.removed_registry.age_limit</code>.
     * Наступление предельного возраста
     */
    public void setAgeLimit(BigDecimal value) {
        set(2, value);
    }

    /**
     * Getter for <code>total_registered.removed_registry.age_limit</code>.
     * Наступление предельного возраста
     */
    public BigDecimal getAgeLimit() {
        return (BigDecimal) get(2);
    }

    /**
     * Setter for <code>total_registered.removed_registry.death</code>. Смерть
     */
    public void setDeath(BigDecimal value) {
        set(3, value);
    }

    /**
     * Getter for <code>total_registered.removed_registry.death</code>. Смерть
     */
    public BigDecimal getDeath() {
        return (BigDecimal) get(3);
    }

    /**
     * Setter for <code>total_registered.removed_registry.travel_abroad</code>.
     * Выезд за границу на срок более 6 месяцев
     */
    public void setTravelAbroad(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for <code>total_registered.removed_registry.travel_abroad</code>.
     * Выезд за границу на срок более 6 месяцев
     */
    public BigDecimal getTravelAbroad() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for <code>total_registered.removed_registry.living_abroad</code>.
     * Проживающие за границей
     */
    public void setLivingAbroad(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for <code>total_registered.removed_registry.living_abroad</code>.
     * Проживающие за границей
     */
    public BigDecimal getLivingAbroad() {
        return (BigDecimal) get(5);
    }

    /**
     * Setter for <code>total_registered.removed_registry.other</code>. Прочее
     */
    public void setOther(BigDecimal value) {
        set(6, value);
    }

    /**
     * Getter for <code>total_registered.removed_registry.other</code>. Прочее
     */
    public BigDecimal getOther() {
        return (BigDecimal) get(6);
    }

    /**
     * Setter for <code>total_registered.removed_registry.recording_date</code>.
     * Дата записи
     */
    public void setRecordingDate(Date value) {
        set(7, value);
    }

    /**
     * Getter for <code>total_registered.removed_registry.recording_date</code>.
     * Дата записи
     */
    public Date getRecordingDate() {
        return (Date) get(7);
    }

    /**
     * Setter for
     * <code>total_registered.removed_registry.deprivation_citizen_percents</code>.
     * Лишение гражданства в процентах
     */
    public void setDeprivationCitizenPercents(BigDecimal value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>total_registered.removed_registry.deprivation_citizen_percents</code>.
     * Лишение гражданства в процентах
     */
    public BigDecimal getDeprivationCitizenPercents() {
        return (BigDecimal) get(8);
    }

    /**
     * Setter for
     * <code>total_registered.removed_registry.age_limit_percent</code>.
     * Наступление предельного возраста в процентах
     */
    public void setAgeLimitPercent(BigDecimal value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>total_registered.removed_registry.age_limit_percent</code>.
     * Наступление предельного возраста в процентах
     */
    public BigDecimal getAgeLimitPercent() {
        return (BigDecimal) get(9);
    }

    /**
     * Setter for <code>total_registered.removed_registry.death_percent</code>.
     * Смерть в процентах
     */
    public void setDeathPercent(BigDecimal value) {
        set(10, value);
    }

    /**
     * Getter for <code>total_registered.removed_registry.death_percent</code>.
     * Смерть в процентах
     */
    public BigDecimal getDeathPercent() {
        return (BigDecimal) get(10);
    }

    /**
     * Setter for
     * <code>total_registered.removed_registry.travel_abroad_percent</code>.
     * Выезд за границу на срок более 6 месяцев в процентах
     */
    public void setTravelAbroadPercent(BigDecimal value) {
        set(11, value);
    }

    /**
     * Getter for
     * <code>total_registered.removed_registry.travel_abroad_percent</code>.
     * Выезд за границу на срок более 6 месяцев в процентах
     */
    public BigDecimal getTravelAbroadPercent() {
        return (BigDecimal) get(11);
    }

    /**
     * Setter for
     * <code>total_registered.removed_registry.living_abroad_percent</code>.
     * Проживающие за границей в процентах
     */
    public void setLivingAbroadPercent(BigDecimal value) {
        set(12, value);
    }

    /**
     * Getter for
     * <code>total_registered.removed_registry.living_abroad_percent</code>.
     * Проживающие за границей в процентах
     */
    public BigDecimal getLivingAbroadPercent() {
        return (BigDecimal) get(12);
    }

    /**
     * Setter for <code>total_registered.removed_registry.other_percent</code>.
     * Прочее в процентах
     */
    public void setOtherPercent(BigDecimal value) {
        set(13, value);
    }

    /**
     * Getter for <code>total_registered.removed_registry.other_percent</code>.
     * Прочее в процентах
     */
    public BigDecimal getOtherPercent() {
        return (BigDecimal) get(13);
    }

    /**
     * Setter for <code>total_registered.removed_registry.recruitment_id</code>.
     */
    public void setRecruitmentId(UUID value) {
        set(14, value);
    }

    /**
     * Getter for <code>total_registered.removed_registry.recruitment_id</code>.
     */
    public UUID getRecruitmentId() {
        return (UUID) get(14);
    }

    /**
     * Setter for
     * <code>total_registered.removed_registry.id_removed_registry</code>.
     */
    public void setIdRemovedRegistry(Long value) {
        set(15, value);
    }

    /**
     * Getter for
     * <code>total_registered.removed_registry.id_removed_registry</code>.
     */
    public Long getIdRemovedRegistry() {
        return (Long) get(15);
    }

    /**
     * Setter for
     * <code>total_registered.removed_registry.testrecruitment_id</code>.
     */
    public void setTestrecruitmentId(String value) {
        set(16, value);
    }

    /**
     * Getter for
     * <code>total_registered.removed_registry.testrecruitment_id</code>.
     */
    public String getTestrecruitmentId() {
        return (String) get(16);
    }

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

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

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

    /**
     * Create a detached RemovedRegistryRecord
     */
    public RemovedRegistryRecord() {
        super(RemovedRegistry.REMOVED_REGISTRY);
    }

    /**
     * Create a detached, initialised RemovedRegistryRecord
     */
    public RemovedRegistryRecord(BigDecimal removedRegistry, BigDecimal deprivationCitizenship, BigDecimal ageLimit, BigDecimal death, BigDecimal travelAbroad, BigDecimal livingAbroad, BigDecimal other, Date recordingDate, BigDecimal deprivationCitizenPercents, BigDecimal ageLimitPercent, BigDecimal deathPercent, BigDecimal travelAbroadPercent, BigDecimal livingAbroadPercent, BigDecimal otherPercent, UUID recruitmentId, Long idRemovedRegistry, String testrecruitmentId) {
        super(RemovedRegistry.REMOVED_REGISTRY);

        setRemovedRegistry(removedRegistry);
        setDeprivationCitizenship(deprivationCitizenship);
        setAgeLimit(ageLimit);
        setDeath(death);
        setTravelAbroad(travelAbroad);
        setLivingAbroad(livingAbroad);
        setOther(other);
        setRecordingDate(recordingDate);
        setDeprivationCitizenPercents(deprivationCitizenPercents);
        setAgeLimitPercent(ageLimitPercent);
        setDeathPercent(deathPercent);
        setTravelAbroadPercent(travelAbroadPercent);
        setLivingAbroadPercent(livingAbroadPercent);
        setOtherPercent(otherPercent);
        setRecruitmentId(recruitmentId);
        setIdRemovedRegistry(idRemovedRegistry);
        setTestrecruitmentId(testrecruitmentId);
        resetChangedOnNotNull();
    }
}
