templates.mapper.ftl Maven / Gradle / Ivy
package ${mapperPackage};
import ${entityPackage}.${entity.entityName};
import cn.cliveyuan.robin.base.BaseMapper;[#if baseConfig.enableMapperAnnotation]
import org.apache.ibatis.annotations.Mapper;[/#if]
/**
* ${entity.comment} Mapper
*/[#if baseConfig.enableMapperAnnotation]
@Mapper[/#if]
public interface ${entity.fileName} extends BaseMapper<${entity.entityName}> {
}