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


import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.MainProfile.MainProfilePath;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReasonsAppeal.ReasonsAppealPath;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.ReviewRating.ReviewRatingPath;
import ervu_dashboard.ervu_dashboard.db_beans.appeals.tables.TopicAppeal.TopicAppealPath;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.Appeals.AppealsPath;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.RecruitmentCampaign.RecruitmentCampaignPath;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.TotalRegistered.TotalRegisteredPath;
import ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.tables.WaitingRegistration.WaitingRegistrationPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen.CitizenPath;
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.PubRecruitmentRecord;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.AppearSubppoena.AppearSubppoenaPath;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.ConsiderationComplaint.ConsiderationComplaintPath;
import ervu_dashboard.ervu_dashboard.db_beans.ratings.tables.Recruitment.RecruitmentPath;
import ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.tables.Subpoenas.SubpoenasPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.Age.AgePath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.Busyness.BusynessPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.ChildMinor.ChildMinorPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.DriverLicense.DriverLicensePath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.EducationLevel.EducationLevelPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.MaritalStatus.MaritalStatusPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.RegMilCat.RegMilCatPath;
import ervu_dashboard.ervu_dashboard.db_beans.total_registered.tables.RemovedRegistry.RemovedRegistryPath;

import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.UUID;

import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;


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

    private static final long serialVersionUID = 1L;

    /**
     * The reference instance of <code>public.pub_recruitment</code>
     */
    public static final PubRecruitment PUB_RECRUITMENT = new PubRecruitment();

    /**
     * The class holding records for this type
     */
    @Override
    public Class<PubRecruitmentRecord> getRecordType() {
        return PubRecruitmentRecord.class;
    }

    /**
     * The column <code>public.pub_recruitment.id</code>.
     */
    public final TableField<PubRecruitmentRecord, UUID> ID = createField(DSL.name("id"), SQLDataType.UUID.nullable(false).defaultValue(DSL.field(DSL.raw("uuid_generate_v4()"), SQLDataType.UUID)), this, "");

    /**
     * The column <code>public.pub_recruitment.idm_id</code>.
     */
    public final TableField<PubRecruitmentRecord, String> IDM_ID = createField(DSL.name("idm_id"), SQLDataType.VARCHAR(256), this, "");

    /**
     * The column <code>public.pub_recruitment.parent_id</code>.
     */
    public final TableField<PubRecruitmentRecord, String> PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.VARCHAR, this, "");

    /**
     * The column <code>public.pub_recruitment.version</code>.
     */
    public final TableField<PubRecruitmentRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER, this, "");

    /**
     * The column <code>public.pub_recruitment.created_at</code>.
     */
    public final TableField<PubRecruitmentRecord, Timestamp> CREATED_AT = createField(DSL.name("created_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");

    /**
     * The column <code>public.pub_recruitment.updated_at</code>.
     */
    public final TableField<PubRecruitmentRecord, Timestamp> UPDATED_AT = createField(DSL.name("updated_at"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");

    /**
     * The column <code>public.pub_recruitment.schema</code>.
     */
    public final TableField<PubRecruitmentRecord, String> SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(64).nullable(false), this, "");

    /**
     * The column <code>public.pub_recruitment.military_code</code>.
     */
    public final TableField<PubRecruitmentRecord, String> MILITARY_CODE = createField(DSL.name("military_code"), SQLDataType.VARCHAR(16), this, "");

    /**
     * The column <code>public.pub_recruitment.shortname</code>.
     */
    public final TableField<PubRecruitmentRecord, String> SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR.nullable(false), this, "");

    /**
     * The column <code>public.pub_recruitment.fullname</code>.
     */
    public final TableField<PubRecruitmentRecord, String> FULLNAME = createField(DSL.name("fullname"), SQLDataType.VARCHAR.nullable(false), this, "");

    /**
     * The column <code>public.pub_recruitment.dns</code>.
     */
    public final TableField<PubRecruitmentRecord, String> DNS = createField(DSL.name("dns"), SQLDataType.VARCHAR(64), this, "");

    /**
     * The column <code>public.pub_recruitment.email</code>.
     */
    public final TableField<PubRecruitmentRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(255), this, "");

    /**
     * The column <code>public.pub_recruitment.phone</code>.
     */
    public final TableField<PubRecruitmentRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(24), this, "");

    /**
     * The column <code>public.pub_recruitment.address</code>.
     */
    public final TableField<PubRecruitmentRecord, String> ADDRESS = createField(DSL.name("address"), SQLDataType.VARCHAR, this, "");

    /**
     * The column <code>public.pub_recruitment.address_id</code>.
     */
    public final TableField<PubRecruitmentRecord, String> ADDRESS_ID = createField(DSL.name("address_id"), SQLDataType.VARCHAR, this, "");

    /**
     * The column <code>public.pub_recruitment.postal_address</code>.
     */
    public final TableField<PubRecruitmentRecord, String> POSTAL_ADDRESS = createField(DSL.name("postal_address"), SQLDataType.VARCHAR, this, "");

    /**
     * The column <code>public.pub_recruitment.postal_address_id</code>.
     */
    public final TableField<PubRecruitmentRecord, String> POSTAL_ADDRESS_ID = createField(DSL.name("postal_address_id"), SQLDataType.VARCHAR, this, "");

    /**
     * The column <code>public.pub_recruitment.nsi_department_id</code>.
     */
    public final TableField<PubRecruitmentRecord, String> NSI_DEPARTMENT_ID = createField(DSL.name("nsi_department_id"), SQLDataType.VARCHAR, this, "");

    /**
     * The column <code>public.pub_recruitment.nsi_organization_id</code>.
     */
    public final TableField<PubRecruitmentRecord, String> NSI_ORGANIZATION_ID = createField(DSL.name("nsi_organization_id"), SQLDataType.VARCHAR, this, "");

    /**
     * The column <code>public.pub_recruitment.oktmo</code>.
     */
    public final TableField<PubRecruitmentRecord, String> OKTMO = createField(DSL.name("oktmo"), SQLDataType.VARCHAR, this, "");

    /**
     * The column <code>public.pub_recruitment.org_ogrn</code>.
     */
    public final TableField<PubRecruitmentRecord, String> ORG_OGRN = createField(DSL.name("org_ogrn"), SQLDataType.VARCHAR, this, "");

    /**
     * The column <code>public.pub_recruitment.dep_ogrn</code>.
     */
    public final TableField<PubRecruitmentRecord, String> DEP_OGRN = createField(DSL.name("dep_ogrn"), SQLDataType.VARCHAR, this, "");

    /**
     * The column <code>public.pub_recruitment.epgu_id</code>.
     */
    public final TableField<PubRecruitmentRecord, String> EPGU_ID = createField(DSL.name("epgu_id"), SQLDataType.VARCHAR, this, "");

    /**
     * The column <code>public.pub_recruitment.kpp</code>.
     */
    public final TableField<PubRecruitmentRecord, String> KPP = createField(DSL.name("kpp"), SQLDataType.VARCHAR(64), this, "");

    /**
     * The column <code>public.pub_recruitment.inn</code>.
     */
    public final TableField<PubRecruitmentRecord, String> INN = createField(DSL.name("inn"), SQLDataType.VARCHAR(64), this, "");

    /**
     * The column <code>public.pub_recruitment.okato</code>.
     */
    public final TableField<PubRecruitmentRecord, String> OKATO = createField(DSL.name("okato"), SQLDataType.VARCHAR(64), this, "");

    /**
     * The column <code>public.pub_recruitment.division_type</code>.
     */
    public final TableField<PubRecruitmentRecord, String> DIVISION_TYPE = createField(DSL.name("division_type"), SQLDataType.VARCHAR(64), this, "");

    /**
     * The column <code>public.pub_recruitment.tns_department_id</code>.
     */
    public final TableField<PubRecruitmentRecord, String> TNS_DEPARTMENT_ID = createField(DSL.name("tns_department_id"), SQLDataType.VARCHAR, this, "");

    /**
     * The column <code>public.pub_recruitment.enabled</code>.
     */
    public final TableField<PubRecruitmentRecord, Boolean> ENABLED = createField(DSL.name("enabled"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "");

    /**
     * The column <code>public.pub_recruitment.timezone</code>.
     */
    public final TableField<PubRecruitmentRecord, String> TIMEZONE = createField(DSL.name("timezone"), SQLDataType.VARCHAR(64), this, "");

    /**
     * The column <code>public.pub_recruitment.reports_enabled</code>.
     */
    public final TableField<PubRecruitmentRecord, Boolean> REPORTS_ENABLED = createField(DSL.name("reports_enabled"), SQLDataType.BOOLEAN, this, "");

    /**
     * The column <code>public.pub_recruitment.region_id</code>.
     */
    public final TableField<PubRecruitmentRecord, String> REGION_ID = createField(DSL.name("region_id"), SQLDataType.VARCHAR, this, "");

    /**
     * The column <code>public.pub_recruitment.series</code>.
     */
    public final TableField<PubRecruitmentRecord, String> SERIES = createField(DSL.name("series"), SQLDataType.VARCHAR(64), this, "");

    /**
     * The column <code>public.pub_recruitment.hidden</code>.
     */
    public final TableField<PubRecruitmentRecord, Boolean> HIDDEN = createField(DSL.name("hidden"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");

    /**
     * The column <code>public.pub_recruitment.sort</code>.
     */
    public final TableField<PubRecruitmentRecord, Integer> SORT = createField(DSL.name("sort"), SQLDataType.INTEGER.nullable(false), this, "");

    private PubRecruitment(Name alias, Table<PubRecruitmentRecord> aliased) {
        this(alias, aliased, (Field<?>[]) null, null);
    }

    private PubRecruitment(Name alias, Table<PubRecruitmentRecord> aliased, Field<?>[] parameters, Condition where) {
        super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
    }

    /**
     * Create an aliased <code>public.pub_recruitment</code> table reference
     */
    public PubRecruitment(String alias) {
        this(DSL.name(alias), PUB_RECRUITMENT);
    }

    /**
     * Create an aliased <code>public.pub_recruitment</code> table reference
     */
    public PubRecruitment(Name alias) {
        this(alias, PUB_RECRUITMENT);
    }

    /**
     * Create a <code>public.pub_recruitment</code> table reference
     */
    public PubRecruitment() {
        this(DSL.name("pub_recruitment"), null);
    }

    public <O extends Record> PubRecruitment(Table<O> path, ForeignKey<O, PubRecruitmentRecord> childPath, InverseForeignKey<O, PubRecruitmentRecord> parentPath) {
        super(path, childPath, parentPath, PUB_RECRUITMENT);
    }

    /**
     * A subtype implementing {@link Path} for simplified path-based joins.
     */
    public static class PubRecruitmentPath extends PubRecruitment implements Path<PubRecruitmentRecord> {
        public <O extends Record> PubRecruitmentPath(Table<O> path, ForeignKey<O, PubRecruitmentRecord> childPath, InverseForeignKey<O, PubRecruitmentRecord> parentPath) {
            super(path, childPath, parentPath);
        }
        private PubRecruitmentPath(Name alias, Table<PubRecruitmentRecord> aliased) {
            super(alias, aliased);
        }

        @Override
        public PubRecruitmentPath as(String alias) {
            return new PubRecruitmentPath(DSL.name(alias), this);
        }

        @Override
        public PubRecruitmentPath as(Name alias) {
            return new PubRecruitmentPath(alias, this);
        }

        @Override
        public PubRecruitmentPath as(Table<?> alias) {
            return new PubRecruitmentPath(alias.getQualifiedName(), this);
        }
    }

    @Override
    public Schema getSchema() {
        return aliased() ? null : Public.PUBLIC;
    }

    @Override
    public UniqueKey<PubRecruitmentRecord> getPrimaryKey() {
        return Keys.RECRUITMENT_PKEY;
    }

    @Override
    public List<UniqueKey<PubRecruitmentRecord>> getUniqueKeys() {
        return Arrays.asList(Keys.RECRUITMENT_IDM_ID_KEY);
    }

    private transient MainProfilePath _mainProfile;

    /**
     * Get the implicit to-many join path to the
     * <code>appeals.main_profile</code> table
     */
    public MainProfilePath mainProfile() {
        if (_mainProfile == null)
            _mainProfile = new MainProfilePath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.MAIN_PROFILE__MAIN_PROFILE_FK1.getInverseKey());

        return _mainProfile;
    }

    private transient ReasonsAppealPath _reasonsAppeal;

    /**
     * Get the implicit to-many join path to the
     * <code>appeals.reasons_appeal</code> table
     */
    public ReasonsAppealPath reasonsAppeal() {
        if (_reasonsAppeal == null)
            _reasonsAppeal = new ReasonsAppealPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.REASONS_APPEAL__REASONS_APPEAL_FK1.getInverseKey());

        return _reasonsAppeal;
    }

    private transient ReviewRatingPath _reviewRating;

    /**
     * Get the implicit to-many join path to the
     * <code>appeals.review_rating</code> table
     */
    public ReviewRatingPath reviewRating() {
        if (_reviewRating == null)
            _reviewRating = new ReviewRatingPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.REVIEW_RATING__REVIEW_RATING_FK1.getInverseKey());

        return _reviewRating;
    }

    private transient TopicAppealPath _topicAppeal;

    /**
     * Get the implicit to-many join path to the
     * <code>appeals.topic_appeal</code> table
     */
    public TopicAppealPath topicAppeal() {
        if (_topicAppeal == null)
            _topicAppeal = new TopicAppealPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.appeals.Keys.TOPIC_APPEAL__TOPIC_APPEAL_FK1.getInverseKey());

        return _topicAppeal;
    }

    private transient AppealsPath _appeals;

    /**
     * Get the implicit to-many join path to the
     * <code>main_dashboard.appeals</code> table
     */
    public AppealsPath appeals() {
        if (_appeals == null)
            _appeals = new AppealsPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys.APPEALS__MD_APPEALS_FK1.getInverseKey());

        return _appeals;
    }

    private transient RecruitmentCampaignPath _recruitmentCampaign;

    /**
     * Get the implicit to-many join path to the
     * <code>main_dashboard.recruitment_campaign</code> table
     */
    public RecruitmentCampaignPath recruitmentCampaign() {
        if (_recruitmentCampaign == null)
            _recruitmentCampaign = new RecruitmentCampaignPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys.RECRUITMENT_CAMPAIGN__RECRUITMENT_CAMPAIGN_FK1.getInverseKey());

        return _recruitmentCampaign;
    }

    private transient TotalRegisteredPath _totalRegistered;

    /**
     * Get the implicit to-many join path to the
     * <code>main_dashboard.total_registered</code> table
     */
    public TotalRegisteredPath totalRegistered() {
        if (_totalRegistered == null)
            _totalRegistered = new TotalRegisteredPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys.TOTAL_REGISTERED__MD_TOTAL_REGISTERED_FK1.getInverseKey());

        return _totalRegistered;
    }

    private transient WaitingRegistrationPath _waitingRegistration;

    /**
     * Get the implicit to-many join path to the
     * <code>main_dashboard.waiting_registration</code> table
     */
    public WaitingRegistrationPath waitingRegistration() {
        if (_waitingRegistration == null)
            _waitingRegistration = new WaitingRegistrationPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.main_dashboard.Keys.WAITING_REGISTRATION__MD_WAITING_REGISTRATION_FK1.getInverseKey());

        return _waitingRegistration;
    }

    private transient CitizenPath _citizen;

    /**
     * Get the implicit to-many join path to the <code>public.citizen</code>
     * table
     */
    public CitizenPath citizen() {
        if (_citizen == null)
            _citizen = new CitizenPath(this, null, Keys.CITIZEN__P_CITIZEN_FK1.getInverseKey());

        return _citizen;
    }

    private transient AppearSubppoenaPath _appearSubppoena;

    /**
     * Get the implicit to-many join path to the
     * <code>ratings.appear_subppoena</code> table
     */
    public AppearSubppoenaPath appearSubppoena() {
        if (_appearSubppoena == null)
            _appearSubppoena = new AppearSubppoenaPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys.APPEAR_SUBPPOENA__APPEAR_SUBPPOENA_FK1.getInverseKey());

        return _appearSubppoena;
    }

    private transient ConsiderationComplaintPath _considerationComplaint;

    /**
     * Get the implicit to-many join path to the
     * <code>ratings.consideration_complaint</code> table
     */
    public ConsiderationComplaintPath considerationComplaint() {
        if (_considerationComplaint == null)
            _considerationComplaint = new ConsiderationComplaintPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys.CONSIDERATION_COMPLAINT__CONSIDERATION_COMPLAINT_FK1.getInverseKey());

        return _considerationComplaint;
    }

    private transient RecruitmentPath _recruitment;

    /**
     * Get the implicit to-many join path to the
     * <code>ratings.recruitment</code> table
     */
    public RecruitmentPath recruitment() {
        if (_recruitment == null)
            _recruitment = new RecruitmentPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.ratings.Keys.RECRUITMENT__R_RECRUITMENT_FK1.getInverseKey());

        return _recruitment;
    }

    private transient SubpoenasPath _subpoenas;

    /**
     * Get the implicit to-many join path to the
     * <code>recruitment_campaign.subpoenas</code> table
     */
    public SubpoenasPath subpoenas() {
        if (_subpoenas == null)
            _subpoenas = new SubpoenasPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.recruitment_campaign.Keys.SUBPOENAS__SUBPOENAS_FK1.getInverseKey());

        return _subpoenas;
    }

    private transient AgePath _age;

    /**
     * Get the implicit to-many join path to the
     * <code>total_registered.age</code> table
     */
    public AgePath age() {
        if (_age == null)
            _age = new AgePath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.AGE__AGE_FK1.getInverseKey());

        return _age;
    }

    private transient BusynessPath _busyness;

    /**
     * Get the implicit to-many join path to the
     * <code>total_registered.busyness</code> table
     */
    public BusynessPath busyness() {
        if (_busyness == null)
            _busyness = new BusynessPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.BUSYNESS__BUSYNESS_FK1.getInverseKey());

        return _busyness;
    }

    private transient ChildMinorPath _childMinor;

    /**
     * Get the implicit to-many join path to the
     * <code>total_registered.child_minor</code> table
     */
    public ChildMinorPath childMinor() {
        if (_childMinor == null)
            _childMinor = new ChildMinorPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.CHILD_MINOR__CHILD_MINOR_FK1.getInverseKey());

        return _childMinor;
    }

    private transient DriverLicensePath _driverLicense;

    /**
     * Get the implicit to-many join path to the
     * <code>total_registered.driver_license</code> table
     */
    public DriverLicensePath driverLicense() {
        if (_driverLicense == null)
            _driverLicense = new DriverLicensePath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.DRIVER_LICENSE__DRIVER_LICENSE_FK1.getInverseKey());

        return _driverLicense;
    }

    private transient EducationLevelPath _educationLevel;

    /**
     * Get the implicit to-many join path to the
     * <code>total_registered.education_level</code> table
     */
    public EducationLevelPath educationLevel() {
        if (_educationLevel == null)
            _educationLevel = new EducationLevelPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.EDUCATION_LEVEL__EDUCATION_LEVEL_FK1.getInverseKey());

        return _educationLevel;
    }

    private transient MaritalStatusPath _maritalStatus;

    /**
     * Get the implicit to-many join path to the
     * <code>total_registered.marital_status</code> table
     */
    public MaritalStatusPath maritalStatus() {
        if (_maritalStatus == null)
            _maritalStatus = new MaritalStatusPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.MARITAL_STATUS__MARITAL_STATUS_FK1.getInverseKey());

        return _maritalStatus;
    }

    private transient RegMilCatPath _regMilCat;

    /**
     * Get the implicit to-many join path to the
     * <code>total_registered.reg_mil_cat</code> table
     */
    public RegMilCatPath regMilCat() {
        if (_regMilCat == null)
            _regMilCat = new RegMilCatPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.REG_MIL_CAT__REG_MIL_CAT_FK1.getInverseKey());

        return _regMilCat;
    }

    private transient RemovedRegistryPath _removedRegistry;

    /**
     * Get the implicit to-many join path to the
     * <code>total_registered.removed_registry</code> table
     */
    public RemovedRegistryPath removedRegistry() {
        if (_removedRegistry == null)
            _removedRegistry = new RemovedRegistryPath(this, null, ervu_dashboard.ervu_dashboard.db_beans.total_registered.Keys.REMOVED_REGISTRY__REMOVED_REGISTRY_FK1.getInverseKey());

        return _removedRegistry;
    }

    @Override
    public PubRecruitment as(String alias) {
        return new PubRecruitment(DSL.name(alias), this);
    }

    @Override
    public PubRecruitment as(Name alias) {
        return new PubRecruitment(alias, this);
    }

    @Override
    public PubRecruitment as(Table<?> alias) {
        return new PubRecruitment(alias.getQualifiedName(), this);
    }

    /**
     * Rename this table
     */
    @Override
    public PubRecruitment rename(String name) {
        return new PubRecruitment(DSL.name(name), null);
    }

    /**
     * Rename this table
     */
    @Override
    public PubRecruitment rename(Name name) {
        return new PubRecruitment(name, null);
    }

    /**
     * Rename this table
     */
    @Override
    public PubRecruitment rename(Table<?> name) {
        return new PubRecruitment(name.getQualifiedName(), null);
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    public PubRecruitment where(Condition condition) {
        return new PubRecruitment(getQualifiedName(), aliased() ? this : null, null, condition);
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    public PubRecruitment where(Collection<? extends Condition> conditions) {
        return where(DSL.and(conditions));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    public PubRecruitment where(Condition... conditions) {
        return where(DSL.and(conditions));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    public PubRecruitment where(Field<Boolean> condition) {
        return where(DSL.condition(condition));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    @PlainSQL
    public PubRecruitment where(SQL condition) {
        return where(DSL.condition(condition));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    @PlainSQL
    public PubRecruitment where(@Stringly.SQL String condition) {
        return where(DSL.condition(condition));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    @PlainSQL
    public PubRecruitment where(@Stringly.SQL String condition, Object... binds) {
        return where(DSL.condition(condition, binds));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    @PlainSQL
    public PubRecruitment where(@Stringly.SQL String condition, QueryPart... parts) {
        return where(DSL.condition(condition, parts));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    public PubRecruitment whereExists(Select<?> select) {
        return where(DSL.exists(select));
    }

    /**
     * Create an inline derived table from this table
     */
    @Override
    public PubRecruitment whereNotExists(Select<?> select) {
        return where(DSL.notExists(select));
    }
}
