templates.enjoy.mapper.kotlin.tpl Maven / Gradle / Ivy
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())> {}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy