/*
 * This file is generated by jOOQ.
 */
package ru.micord.webbpm.ervu.business_metrics.db_beans.auth;


import java.util.Arrays;
import java.util.List;

import org.jooq.Catalog;
import org.jooq.Table;
import org.jooq.impl.SchemaImpl;

import ru.micord.webbpm.ervu.business_metrics.db_beans.DefaultCatalog;
import ru.micord.webbpm.ervu.business_metrics.db_beans.auth.tables.ActiveSession;
import ru.micord.webbpm.ervu.business_metrics.db_beans.auth.tables.FailedAuth;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Auth extends SchemaImpl {

    private static final long serialVersionUID = 1L;

    /**
     * The reference instance of <code>auth</code>
     */
    public static final Auth AUTH = new Auth();

    /**
     * Активные сессии пользователей
     */
    public final ActiveSession ACTIVE_SESSION = ActiveSession.ACTIVE_SESSION;

    /**
     * События неуспешной аутентификации
     */
    public final FailedAuth FAILED_AUTH = FailedAuth.FAILED_AUTH;

    /**
     * No further instances allowed
     */
    private Auth() {
        super("auth", null);
    }


    @Override
    public Catalog getCatalog() {
        return DefaultCatalog.DEFAULT_CATALOG;
    }

    @Override
    public final List<Table<?>> getTables() {
        return Arrays.asList(
            ActiveSession.ACTIVE_SESSION,
            FailedAuth.FAILED_AUTH
        );
    }
}
