templates.mapper.ftl Maven / Gradle / Ivy
package ${package.Mapper};
import ${superMapperClassPackage};
import ${package.Entity}.${entity};
<#if mapperAnnotationClass??>
import ${mapperAnnotationClass.name};
#if>
import org.springframework.stereotype.Repository;
/**
*
* ${table.comment!} Mapper 接口
*
*
* @author ${author}
* @since ${date}
*/
@Repository
<#if mapperAnnotationClass??>
@${mapperAnnotationClass.simpleName}
#if>
<#if kotlin>
interface ${table.mapperName} : ${superMapperClass}<${entity}>
<#else>
public interface ${table.mapperName} extends ${superMapperClass}<${entity}> {
}
#if>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy