templates.enjoy.mapper.kotlin.tpl Maven / Gradle / Ivy
The newest version!
package #(packageConfig.mapperPackage);
#if(mapperConfig.isMapperAnnotation())
import org.apache.ibatis.annotations.Mapper;
#end
import #(mapperConfig.buildSuperClassImport());
import #(packageConfig.entityPackage).#(table.buildEntityClassName());
/**
* #(table.getComment()) 映射层。
*
* @author #(javadocConfig.getAuthor())
* @since #(javadocConfig.getSince())
*/
#if(mapperConfig.isMapperAnnotation())
@Mapper
#end
interface #(table.buildMapperClassName()) : #(mapperConfig.buildSuperClassName())<#(table.buildEntityClassName())> {}