com.github.yulichang.config.ConfigProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-plus-join-core Show documentation
Show all versions of mybatis-plus-join-core Show documentation
An enhanced toolkit of Mybatis-Plus to simplify development.
package com.github.yulichang.config;
import com.github.yulichang.adapter.AdapterHelper;
import com.github.yulichang.adapter.base.ITableInfoAdapter;
import com.github.yulichang.config.enums.LogicDelTypeEnum;
/**
* @author yulichang
* @since 1.3.7
*/
public class ConfigProperties {
/**
* 是否开启副表逻辑删除
*/
public static boolean subTableLogic = true;
/**
* 是否开启 ms 缓存
*/
public static boolean msCache = true;
/**
* 表别名
*/
public static String tableAlias = "t";
/**
* 字段名重复时前缀
*/
public static String joinPrefix = "join";
/**
* 逻辑删除类型 支持 where on
*/
public static LogicDelTypeEnum logicDelType = LogicDelTypeEnum.WHERE;
/**
* 逻辑删除类型 支持 where on
*/
public static int mappingMaxCount = 5;
/**
* TableInfo适配器
*/
public static ITableInfoAdapter tableInfoAdapter = AdapterHelper.getTableInfoAdapter();
/**
* 子查询别名
*/
public static String subQueryAlias = "st";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy