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


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

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

import ru.micord.ervu_dashboard.db_beans.forecast.tables.RegisteredCitizens;


/**
 * Динамика количества граждан на учете
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RegisteredCitizensRecord extends UpdatableRecordImpl<RegisteredCitizensRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for
     * <code>forecast.registered_citizens.registered_citizens_id</code>.
     */
    public void setRegisteredCitizensId(Long value) {
        set(0, value);
    }

    /**
     * Getter for
     * <code>forecast.registered_citizens.registered_citizens_id</code>.
     */
    public Long getRegisteredCitizensId() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>forecast.registered_citizens.recruitment_id</code>.
     */
    public void setRecruitmentId(UUID value) {
        set(1, value);
    }

    /**
     * Getter for <code>forecast.registered_citizens.recruitment_id</code>.
     */
    public UUID getRecruitmentId() {
        return (UUID) get(1);
    }

    /**
     * Setter for <code>forecast.registered_citizens.recording_date</code>.
     */
    public void setRecordingDate(Date value) {
        set(2, value);
    }

    /**
     * Getter for <code>forecast.registered_citizens.recording_date</code>.
     */
    public Date getRecordingDate() {
        return (Date) get(2);
    }

    /**
     * Setter for <code>forecast.registered_citizens.schema</code>.
     */
    public void setSchema(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>forecast.registered_citizens.schema</code>.
     */
    public String getSchema() {
        return (String) get(3);
    }

    /**
     * Setter for <code>forecast.registered_citizens.count_all</code>. Всего на
     * учете
     */
    public void setCountAll(BigDecimal value) {
        set(4, value);
    }

    /**
     * Getter for <code>forecast.registered_citizens.count_all</code>. Всего на
     * учете
     */
    public BigDecimal getCountAll() {
        return (BigDecimal) get(4);
    }

    /**
     * Setter for <code>forecast.registered_citizens.reaching_17_age</code>. В
     * год достижения 17 лет
     */
    public void setReaching_17Age(BigDecimal value) {
        set(5, value);
    }

    /**
     * Getter for <code>forecast.registered_citizens.reaching_17_age</code>. В
     * год достижения 17 лет
     */
    public BigDecimal getReaching_17Age() {
        return (BigDecimal) get(5);
    }

    /**
     * Setter for
     * <code>forecast.registered_citizens.women_military_specialty</code>.
     * Женщины, получившие ВУС
     */
    public void setWomenMilitarySpecialty(BigDecimal value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>forecast.registered_citizens.women_military_specialty</code>.
     * Женщины, получившие ВУС
     */
    public BigDecimal getWomenMilitarySpecialty() {
        return (BigDecimal) get(6);
    }

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

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

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

    /**
     * Create a detached RegisteredCitizensRecord
     */
    public RegisteredCitizensRecord() {
        super(RegisteredCitizens.REGISTERED_CITIZENS);
    }

    /**
     * Create a detached, initialised RegisteredCitizensRecord
     */
    public RegisteredCitizensRecord(Long registeredCitizensId, UUID recruitmentId, Date recordingDate, String schema, BigDecimal countAll, BigDecimal reaching_17Age, BigDecimal womenMilitarySpecialty) {
        super(RegisteredCitizens.REGISTERED_CITIZENS);

        setRegisteredCitizensId(registeredCitizensId);
        setRecruitmentId(recruitmentId);
        setRecordingDate(recordingDate);
        setSchema(schema);
        setCountAll(countAll);
        setReaching_17Age(reaching_17Age);
        setWomenMilitarySpecialty(womenMilitarySpecialty);
        resetChangedOnNotNull();
    }
}
