silentbalanceyh/vertx-zero

View on GitHub
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Db.java

Summary

Maintainability
A
0 mins
Test Coverage
/*
 * This file is generated by jOOQ.
 */
package cn.vertxup.rbac.domain;


import cn.vertxup.rbac.domain.tables.*;
import io.vertx.mod.ke.refine.Ke;
import org.jooq.Catalog;
import org.jooq.Table;
import org.jooq.impl.SchemaImpl;

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


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

    /**
     * The reference instance of <code>DB_ETERNAL</code>
     */
    public static final Db DB_ETERNAL = new Db();
    private static final long serialVersionUID = 1L;
    /**
     * The table <code>DB_ETERNAL.O_ACCESS_TOKEN</code>.
     */
    public final OAccessToken O_ACCESS_TOKEN = OAccessToken.O_ACCESS_TOKEN;

    /**
     * The table <code>DB_ETERNAL.O_USER</code>.
     */
    public final OUser O_USER = OUser.O_USER;

    /**
     * The table <code>DB_ETERNAL.R_GROUP_ROLE</code>.
     */
    public final RGroupRole R_GROUP_ROLE = RGroupRole.R_GROUP_ROLE;

    /**
     * The table <code>DB_ETERNAL.R_ROLE_PERM</code>.
     */
    public final RRolePerm R_ROLE_PERM = RRolePerm.R_ROLE_PERM;

    /**
     * The table <code>DB_ETERNAL.R_USER_GROUP</code>.
     */
    public final RUserGroup R_USER_GROUP = RUserGroup.R_USER_GROUP;

    /**
     * The table <code>DB_ETERNAL.R_USER_ROLE</code>.
     */
    public final RUserRole R_USER_ROLE = RUserRole.R_USER_ROLE;

    /**
     * The table <code>DB_ETERNAL.S_ACTION</code>.
     */
    public final SAction S_ACTION = SAction.S_ACTION;

    /**
     * The table <code>DB_ETERNAL.S_GROUP</code>.
     */
    public final SGroup S_GROUP = SGroup.S_GROUP;

    /**
     * The table <code>DB_ETERNAL.S_PACKET</code>.
     */
    public final SPacket S_PACKET = SPacket.S_PACKET;

    /**
     * The table <code>DB_ETERNAL.S_PATH</code>.
     */
    public final SPath S_PATH = SPath.S_PATH;

    /**
     * The table <code>DB_ETERNAL.S_PERM_SET</code>.
     */
    public final SPermSet S_PERM_SET = SPermSet.S_PERM_SET;

    /**
     * The table <code>DB_ETERNAL.S_PERMISSION</code>.
     */
    public final SPermission S_PERMISSION = SPermission.S_PERMISSION;

    /**
     * The table <code>DB_ETERNAL.S_RESOURCE</code>.
     */
    public final SResource S_RESOURCE = SResource.S_RESOURCE;

    /**
     * The table <code>DB_ETERNAL.S_ROLE</code>.
     */
    public final SRole S_ROLE = SRole.S_ROLE;

    /**
     * The table <code>DB_ETERNAL.S_USER</code>.
     */
    public final SUser S_USER = SUser.S_USER;

    /**
     * The table <code>DB_ETERNAL.S_VIEW</code>.
     */
    public final SView S_VIEW = SView.S_VIEW;

    /**
     * The table <code>DB_ETERNAL.S_VISITANT</code>.
     */
    public final SVisitant S_VISITANT = SVisitant.S_VISITANT;

    /**
     * No further instances allowed
     */
    private Db() {
        super(Ke.getDatabase(), null);
    }


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

    @Override
    public final List<Table<?>> getTables() {
        return Arrays.asList(
            OAccessToken.O_ACCESS_TOKEN,
            OUser.O_USER,
            RGroupRole.R_GROUP_ROLE,
            RRolePerm.R_ROLE_PERM,
            RUserGroup.R_USER_GROUP,
            RUserRole.R_USER_ROLE,
            SAction.S_ACTION,
            SGroup.S_GROUP,
            SPacket.S_PACKET,
            SPath.S_PATH,
            SPermSet.S_PERM_SET,
            SPermission.S_PERMISSION,
            SResource.S_RESOURCE,
            SRole.S_ROLE,
            SUser.S_USER,
            SView.S_VIEW,
            SVisitant.S_VISITANT
        );
    }
}