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

template.MultipleIdMapper.template Maven / Gradle / Ivy

There is a newer version: 2.3
Show newest version
%package%

%imports%

/**
 * MultipleIdMapper for %tableName%
 *
 * @author %author%
 */
public interface %mapperName% extends MultipleIdMapper<%entityName%, %idName%> {

    /**
     * 获取实体类型
     *
     * @return 实体类型
     */
    @Override
    default Class<%entityName%> getPoClazz() {
        return %entityName%.class;
    }

    /**
     * 获取默认的表对象
     *
     * @return 表对象
     */
    @Override
    default Table getDefaultTable() {
        return %propertyName%.TABLE;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy