/*
 * This file is generated by jOOQ.
 */
package jj.tech.paolu.repository.jooq;


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

import jj.tech.paolu.repository.jooq.tables.SysAdmin;
import jj.tech.paolu.repository.jooq.tables.SysAdminMenu;
import jj.tech.paolu.repository.jooq.tables.SysAdminRole;
import jj.tech.paolu.repository.jooq.tables.SysConfig;
import jj.tech.paolu.repository.jooq.tables.SysMenu;
import jj.tech.paolu.repository.jooq.tables.SysOrg;
import jj.tech.paolu.repository.jooq.tables.SysResource;
import jj.tech.paolu.repository.jooq.tables.SysRole;
import jj.tech.paolu.repository.jooq.tables.SysRoleResource;
import jj.tech.paolu.repository.jooq.tables.SysRoleUrl;
import jj.tech.paolu.repository.jooq.tables.SysUrls;

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


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

    private static final long serialVersionUID = 1L;

    /**
     * The reference instance of <code>yx</code>
     */
    public static final Yx YX = new Yx();

    /**
     * The table <code>yx.sys_admin</code>.
     */
    public final SysAdmin SYS_ADMIN = SysAdmin.SYS_ADMIN;

    /**
     * The table <code>yx.sys_admin_menu</code>.
     */
    public final SysAdminMenu SYS_ADMIN_MENU = SysAdminMenu.SYS_ADMIN_MENU;

    /**
     * The table <code>yx.sys_admin_role</code>.
     */
    public final SysAdminRole SYS_ADMIN_ROLE = SysAdminRole.SYS_ADMIN_ROLE;

    /**
     * The table <code>yx.sys_config</code>.
     */
    public final SysConfig SYS_CONFIG = SysConfig.SYS_CONFIG;

    /**
     * The table <code>yx.sys_menu</code>.
     */
    public final SysMenu SYS_MENU = SysMenu.SYS_MENU;

    /**
     * The table <code>yx.sys_org</code>.
     */
    public final SysOrg SYS_ORG = SysOrg.SYS_ORG;

    /**
     * The table <code>yx.sys_resource</code>.
     */
    public final SysResource SYS_RESOURCE = SysResource.SYS_RESOURCE;

    /**
     * The table <code>yx.sys_role</code>.
     */
    public final SysRole SYS_ROLE = SysRole.SYS_ROLE;

    /**
     * The table <code>yx.sys_role_resource</code>.
     */
    public final SysRoleResource SYS_ROLE_RESOURCE = SysRoleResource.SYS_ROLE_RESOURCE;

    /**
     * The table <code>yx.sys_role_url</code>.
     */
    public final SysRoleUrl SYS_ROLE_URL = SysRoleUrl.SYS_ROLE_URL;

    /**
     * The table <code>yx.sys_urls</code>.
     */
    public final SysUrls SYS_URLS = SysUrls.SYS_URLS;

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


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

    @Override
    public final List<Table<?>> getTables() {
        return Arrays.asList(
            SysAdmin.SYS_ADMIN,
            SysAdminMenu.SYS_ADMIN_MENU,
            SysAdminRole.SYS_ADMIN_ROLE,
            SysConfig.SYS_CONFIG,
            SysMenu.SYS_MENU,
            SysOrg.SYS_ORG,
            SysResource.SYS_RESOURCE,
            SysRole.SYS_ROLE,
            SysRoleResource.SYS_ROLE_RESOURCE,
            SysRoleUrl.SYS_ROLE_URL,
            SysUrls.SYS_URLS
        );
    }
}
