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

com.mybatisflex.test.model.table.FieldMappingInnerTableDef Maven / Gradle / Ivy

There is a newer version: 1.10.3
Show newest version
package com.mybatisflex.test.model.table;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

// Auto generate by mybatis-flex, do not modify it.
public class FieldMappingInnerTableDef extends TableDef {

    public static final FieldMappingInnerTableDef FIELD_MAPPING_INNER = new FieldMappingInnerTableDef();

    public final QueryColumn ID = new QueryColumn(this, "id");

    public final QueryColumn OUT_ID = new QueryColumn(this, "out_id");

    public final QueryColumn CREATE_DATE = new QueryColumn(this, "create_date");

    /**
     * 所有字段。
     */
    public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");

    /**
     * 默认字段,不包含逻辑删除或者 large 等字段。
     */
    public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, OUT_ID, CREATE_DATE};

    public FieldMappingInnerTableDef() {
        super("", "field_mapping_inner");
    }

    private FieldMappingInnerTableDef(String schema, String name, String alisa) {
        super(schema, name, alisa);
    }

    public FieldMappingInnerTableDef as(String alias) {
        String key = getNameWithSchema() + "." + alias;
        return getCache(key, k -> new FieldMappingInnerTableDef("", "field_mapping_inner", alias));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy