/*
 * This file is generated by jOOQ.
 */
package ru.micord.webbpm.ervu.business_metrics.db_beans.admin_indicators.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.admin_indicators.tables.UserAnalysis;


/**
 * Администрирование. Анализ пользователей
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UserAnalysisRecord extends UpdatableRecordImpl<UserAnalysisRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>admin_indicators.user_analysis.user_analysis_id</code>.
     */
    public void setUserAnalysisId(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>admin_indicators.user_analysis.user_analysis_id</code>.
     */
    public Long getUserAnalysisId() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>admin_indicators.user_analysis.update_date</code>.
     */
    public void setUpdateDate(Timestamp value) {
        set(1, value);
    }

    /**
     * Getter for <code>admin_indicators.user_analysis.update_date</code>.
     */
    public Timestamp getUpdateDate() {
        return (Timestamp) get(1);
    }

    /**
     * Setter for <code>admin_indicators.user_analysis.info_date</code>.
     */
    public void setInfoDate(Date value) {
        set(2, value);
    }

    /**
     * Getter for <code>admin_indicators.user_analysis.info_date</code>.
     */
    public Date getInfoDate() {
        return (Date) get(2);
    }

    /**
     * Setter for <code>admin_indicators.user_analysis.count_offices</code>.
     * количество военкоматов
     */
    public void setCountOffices(Long value) {
        set(3, value);
    }

    /**
     * Getter for <code>admin_indicators.user_analysis.count_offices</code>.
     * количество военкоматов
     */
    public Long getCountOffices() {
        return (Long) get(3);
    }

    /**
     * Setter for <code>admin_indicators.user_analysis.count_reg_users</code>.
     * зарегистрировано пользователей
     */
    public void setCountRegUsers(Long value) {
        set(4, value);
    }

    /**
     * Getter for <code>admin_indicators.user_analysis.count_reg_users</code>.
     * зарегистрировано пользователей
     */
    public Long getCountRegUsers() {
        return (Long) get(4);
    }

    /**
     * Setter for
     * <code>admin_indicators.user_analysis.count_invalid_authentication</code>.
     * неверные аутентификации
     */
    public void setCountInvalidAuthentication(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>admin_indicators.user_analysis.count_invalid_authentication</code>.
     * неверные аутентификации
     */
    public Long getCountInvalidAuthentication() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>admin_indicators.user_analysis.count_administrator_is</code>.
     * Администратор ИС
     */
    public void setCountAdministratorIs(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>admin_indicators.user_analysis.count_administrator_is</code>.
     * Администратор ИС
     */
    public Long getCountAdministratorIs() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>admin_indicators.user_analysis.count_administrator_poib</code>.
     * Администратор ПОИБ
     */
    public void setCountAdministratorPoib(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>admin_indicators.user_analysis.count_administrator_poib</code>.
     * Администратор ПОИБ
     */
    public Long getCountAdministratorPoib() {
        return (Long) get(7);
    }

    /**
     * Setter for
     * <code>admin_indicators.user_analysis.count_employee_gomy</code>.
     * Сотрудник ГОМУ
     */
    public void setCountEmployeeGomy(Long value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>admin_indicators.user_analysis.count_employee_gomy</code>.
     * Сотрудник ГОМУ
     */
    public Long getCountEmployeeGomy() {
        return (Long) get(8);
    }

    /**
     * Setter for
     * <code>admin_indicators.user_analysis.count_observer_gomy</code>.
     * Наблюдатель ГОМУ
     */
    public void setCountObserverGomy(Long value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>admin_indicators.user_analysis.count_observer_gomy</code>.
     * Наблюдатель ГОМУ
     */
    public Long getCountObserverGomy() {
        return (Long) get(9);
    }

    /**
     * Setter for
     * <code>admin_indicators.user_analysis.count_supervisor_gomy</code>.
     * Супервайзер ГОМУ
     */
    public void setCountSupervisorGomy(Long value) {
        set(10, value);
    }

    /**
     * Getter for
     * <code>admin_indicators.user_analysis.count_supervisor_gomy</code>.
     * Супервайзер ГОМУ
     */
    public Long getCountSupervisorGomy() {
        return (Long) get(10);
    }

    /**
     * Setter for
     * <code>admin_indicators.user_analysis.count_military_commissar</code>.
     * Военный комиссар
     */
    public void setCountMilitaryCommissar(Long value) {
        set(11, value);
    }

    /**
     * Getter for
     * <code>admin_indicators.user_analysis.count_military_commissar</code>.
     * Военный комиссар
     */
    public Long getCountMilitaryCommissar() {
        return (Long) get(11);
    }

    /**
     * Setter for
     * <code>admin_indicators.user_analysis.count_specialist_statements</code>.
     * Специалист ВК по обработке заявлений
     */
    public void setCountSpecialistStatements(Long value) {
        set(12, value);
    }

    /**
     * Getter for
     * <code>admin_indicators.user_analysis.count_specialist_statements</code>.
     * Специалист ВК по обработке заявлений
     */
    public Long getCountSpecialistStatements() {
        return (Long) get(12);
    }

    /**
     * Setter for <code>admin_indicators.user_analysis.count_observer_vo</code>.
     * Наблюдатель штаба ВО
     */
    public void setCountObserverVo(Long value) {
        set(13, value);
    }

    /**
     * Getter for <code>admin_indicators.user_analysis.count_observer_vo</code>.
     * Наблюдатель штаба ВО
     */
    public Long getCountObserverVo() {
        return (Long) get(13);
    }

    /**
     * Setter for <code>admin_indicators.user_analysis.count_observer_vk</code>.
     * Наблюдатель ВК субъекта
     */
    public void setCountObserverVk(Long value) {
        set(14, value);
    }

    /**
     * Getter for <code>admin_indicators.user_analysis.count_observer_vk</code>.
     * Наблюдатель ВК субъекта
     */
    public Long getCountObserverVk() {
        return (Long) get(14);
    }

    /**
     * Setter for
     * <code>admin_indicators.user_analysis.count_administrator_military_office</code>.
     * Администратор военкомата
     */
    public void setCountAdministratorMilitaryOffice(Long value) {
        set(15, value);
    }

    /**
     * Getter for
     * <code>admin_indicators.user_analysis.count_administrator_military_office</code>.
     * Администратор военкомата
     */
    public Long getCountAdministratorMilitaryOffice() {
        return (Long) get(15);
    }

    /**
     * Setter for
     * <code>admin_indicators.user_analysis.count_specialist_military_accounting</code>.
     * Специалист ВК по ВУ
     */
    public void setCountSpecialistMilitaryAccounting(Long value) {
        set(16, value);
    }

    /**
     * Getter for
     * <code>admin_indicators.user_analysis.count_specialist_military_accounting</code>.
     * Специалист ВК по ВУ
     */
    public Long getCountSpecialistMilitaryAccounting() {
        return (Long) get(16);
    }

    /**
     * Setter for
     * <code>admin_indicators.user_analysis.count_specialist_acquisition</code>.
     * Специалист по комплектованию
     */
    public void setCountSpecialistAcquisition(Long value) {
        set(17, value);
    }

    /**
     * Getter for
     * <code>admin_indicators.user_analysis.count_specialist_acquisition</code>.
     * Специалист по комплектованию
     */
    public Long getCountSpecialistAcquisition() {
        return (Long) get(17);
    }

    /**
     * Setter for <code>admin_indicators.user_analysis.recruitment_id</code>.
     */
    public void setRecruitmentId(String value) {
        set(18, value);
    }

    /**
     * Getter for <code>admin_indicators.user_analysis.recruitment_id</code>.
     */
    public String getRecruitmentId() {
        return (String) get(18);
    }

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

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

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

    /**
     * Create a detached UserAnalysisRecord
     */
    public UserAnalysisRecord() {
        super(UserAnalysis.USER_ANALYSIS);
    }

    /**
     * Create a detached, initialised UserAnalysisRecord
     */
    public UserAnalysisRecord(Long userAnalysisId, Timestamp updateDate, Date infoDate, Long countOffices, Long countRegUsers, Long countInvalidAuthentication, Long countAdministratorIs, Long countAdministratorPoib, Long countEmployeeGomy, Long countObserverGomy, Long countSupervisorGomy, Long countMilitaryCommissar, Long countSpecialistStatements, Long countObserverVo, Long countObserverVk, Long countAdministratorMilitaryOffice, Long countSpecialistMilitaryAccounting, Long countSpecialistAcquisition, String recruitmentId) {
        super(UserAnalysis.USER_ANALYSIS);

        setUserAnalysisId(userAnalysisId);
        setUpdateDate(updateDate);
        setInfoDate(infoDate);
        setCountOffices(countOffices);
        setCountRegUsers(countRegUsers);
        setCountInvalidAuthentication(countInvalidAuthentication);
        setCountAdministratorIs(countAdministratorIs);
        setCountAdministratorPoib(countAdministratorPoib);
        setCountEmployeeGomy(countEmployeeGomy);
        setCountObserverGomy(countObserverGomy);
        setCountSupervisorGomy(countSupervisorGomy);
        setCountMilitaryCommissar(countMilitaryCommissar);
        setCountSpecialistStatements(countSpecialistStatements);
        setCountObserverVo(countObserverVo);
        setCountObserverVk(countObserverVk);
        setCountAdministratorMilitaryOffice(countAdministratorMilitaryOffice);
        setCountSpecialistMilitaryAccounting(countSpecialistMilitaryAccounting);
        setCountSpecialistAcquisition(countSpecialistAcquisition);
        setRecruitmentId(recruitmentId);
        resetChangedOnNotNull();
    }
}
