All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.vertxup.graphic.domain.tables.GNode Maven / Gradle / Ivy

/*
 * This file is generated by jOOQ.
 */
package cn.vertxup.graphic.domain.tables;


import cn.vertxup.graphic.domain.Db;
import cn.vertxup.graphic.domain.Indexes;
import cn.vertxup.graphic.domain.Keys;
import cn.vertxup.graphic.domain.tables.records.GNodeRecord;
import org.jooq.*;
import org.jooq.impl.DSL;
import org.jooq.impl.TableImpl;

import javax.annotation.Generated;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Arrays;
import java.util.List;


/**
 * This class is generated by jOOQ.
 */
@Generated(
        value = {
                "http://www.jooq.org",
                "jOOQ version:3.10.8"
        },
        comments = "This class is generated by jOOQ"
)
@SuppressWarnings({"all", "unchecked", "rawtypes"})
public class GNode extends TableImpl {

    /**
     * The reference instance of DB_ETERNAL.G_NODE
     */
    public static final GNode G_NODE = new GNode();
    private static final long serialVersionUID = 1604442870;
    /**
     * The column DB_ETERNAL.G_NODE.KEY. 「key」- 节点ID
     */
    public final TableField KEY = createField("KEY", org.jooq.impl.SQLDataType.VARCHAR(36).nullable(false), this, "「key」- 节点ID");
    /**
     * The column DB_ETERNAL.G_NODE.NAME. 「name」- 节点呈现名称
     */
    public final TableField NAME = createField("NAME", org.jooq.impl.SQLDataType.VARCHAR(255), this, "「name」- 节点呈现名称");
    /**
     * The column DB_ETERNAL.G_NODE.X. 「x」- 当前节点在图上的x坐标
     */
    public final TableField X = createField("X", org.jooq.impl.SQLDataType.DECIMAL(18, 6), this, "「x」- 当前节点在图上的x坐标");
    /**
     * The column DB_ETERNAL.G_NODE.Y. 「y」- 当前节点在图上的y坐标
     */
    public final TableField Y = createField("Y", org.jooq.impl.SQLDataType.DECIMAL(18, 6), this, "「y」- 当前节点在图上的y坐标");
    /**
     * The column DB_ETERNAL.G_NODE.UI. 「ui」- ui配置专用
     */
    public final TableField UI = createField("UI", org.jooq.impl.SQLDataType.CLOB, this, "「ui」- ui配置专用");
    /**
     * The column DB_ETERNAL.G_NODE.GRAPHIC_ID. 「graphicId」- 它所关联的图实例ID
     */
    public final TableField GRAPHIC_ID = createField("GRAPHIC_ID", org.jooq.impl.SQLDataType.VARCHAR(36), this, "「graphicId」- 它所关联的图实例ID");
    /**
     * The column DB_ETERNAL.G_NODE.RECORD_DATA. 「recordData」- 该节点存储的数据信息
     */
    public final TableField RECORD_DATA = createField("RECORD_DATA", org.jooq.impl.SQLDataType.CLOB, this, "「recordData」- 该节点存储的数据信息");
    /**
     * The column DB_ETERNAL.G_NODE.RECORD_KEY. 「recordKey」- 记录主键
     */
    public final TableField RECORD_KEY = createField("RECORD_KEY", org.jooq.impl.SQLDataType.VARCHAR(36), this, "「recordKey」- 记录主键");
    /**
     * The column DB_ETERNAL.G_NODE.RECORD_COMPONENT. 「recordComponent」- 记录处理组件
     */
    public final TableField RECORD_COMPONENT = createField("RECORD_COMPONENT", org.jooq.impl.SQLDataType.VARCHAR(255), this, "「recordComponent」- 记录处理组件");
    /**
     * The column DB_ETERNAL.G_NODE.RECORD_CLASS. 「recordClass」- 记录绑定Pojo类型
     */
    public final TableField RECORD_CLASS = createField("RECORD_CLASS", org.jooq.impl.SQLDataType.VARCHAR(255), this, "「recordClass」- 记录绑定Pojo类型");
    /**
     * The column DB_ETERNAL.G_NODE.SIGMA. 「sigma」- 统一标识
     */
    public final TableField SIGMA = createField("SIGMA", org.jooq.impl.SQLDataType.VARCHAR(32), this, "「sigma」- 统一标识");
    /**
     * The column DB_ETERNAL.G_NODE.LANGUAGE. 「language」- 使用的语言
     */
    public final TableField LANGUAGE = createField("LANGUAGE", org.jooq.impl.SQLDataType.VARCHAR(10), this, "「language」- 使用的语言");
    /**
     * The column DB_ETERNAL.G_NODE.ACTIVE. 「active」- 是否启用
     */
    public final TableField ACTIVE = createField("ACTIVE", org.jooq.impl.SQLDataType.BIT, this, "「active」- 是否启用");
    /**
     * The column DB_ETERNAL.G_NODE.METADATA. 「metadata」- 附加配置数据
     */
    public final TableField METADATA = createField("METADATA", org.jooq.impl.SQLDataType.CLOB, this, "「metadata」- 附加配置数据");
    /**
     * The column DB_ETERNAL.G_NODE.CREATED_AT. 「createdAt」- 创建时间
     */
    public final TableField CREATED_AT = createField("CREATED_AT", org.jooq.impl.SQLDataType.LOCALDATETIME, this, "「createdAt」- 创建时间");
    /**
     * The column DB_ETERNAL.G_NODE.CREATED_BY. 「createdBy」- 创建人
     */
    public final TableField CREATED_BY = createField("CREATED_BY", org.jooq.impl.SQLDataType.VARCHAR(36), this, "「createdBy」- 创建人");
    /**
     * The column DB_ETERNAL.G_NODE.UPDATED_AT. 「updatedAt」- 更新时间
     */
    public final TableField UPDATED_AT = createField("UPDATED_AT", org.jooq.impl.SQLDataType.LOCALDATETIME, this, "「updatedAt」- 更新时间");
    /**
     * The column DB_ETERNAL.G_NODE.UPDATED_BY. 「updatedBy」- 更新人
     */
    public final TableField UPDATED_BY = createField("UPDATED_BY", org.jooq.impl.SQLDataType.VARCHAR(36), this, "「updatedBy」- 更新人");

    /**
     * Create a DB_ETERNAL.G_NODE table reference
     */
    public GNode() {
        this(DSL.name("G_NODE"), null);
    }

    /**
     * Create an aliased DB_ETERNAL.G_NODE table reference
     */
    public GNode(String alias) {
        this(DSL.name(alias), G_NODE);
    }

    /**
     * Create an aliased DB_ETERNAL.G_NODE table reference
     */
    public GNode(Name alias) {
        this(alias, G_NODE);
    }

    private GNode(Name alias, Table aliased) {
        this(alias, aliased, null);
    }

    private GNode(Name alias, Table aliased, Field[] parameters) {
        super(alias, null, aliased, parameters, "");
    }

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

    /**
     * {@inheritDoc}
     */
    @Override
    public Schema getSchema() {
        return Db.DB_ETERNAL;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public List getIndexes() {
        return Arrays.asList(Indexes.G_NODE_NAME, Indexes.G_NODE_PRIMARY);
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public UniqueKey getPrimaryKey() {
        return Keys.KEY_G_NODE_PRIMARY;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public List> getKeys() {
        return Arrays.>asList(Keys.KEY_G_NODE_PRIMARY, Keys.KEY_G_NODE_NAME);
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public GNode as(String alias) {
        return new GNode(DSL.name(alias), this);
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public GNode as(Name alias) {
        return new GNode(alias, this);
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy