templates.crud.mapper.ftl Maven / Gradle / Ivy
package ${cfg.packageName}.service.${cfg.folderName}.dao;
import ${cfg.packageName}.common.entity.${cfg.folderName}.${entity};
import ${superMapperClassPackage};
import org.springframework.stereotype.Component;
/**
*
* ${table.comment!} Mapper 接口
*
*
* @author ${author}
* @since ${date}
*/
<#if kotlin>
interface ${table.mapperName} : ${superMapperClass}<${entity}>
<#else>
@Component("${cfg.folderName}${table.mapperName}")
public interface ${table.mapperName} extends ${superMapperClass}<${entity}> {
}
#if>