mapper.java.vm 511 B

12345678910111213141516171819202122232425
  1. package ${package.Mapper}#if(!${kotlin});#end
  2. import ${package.Entity}.${entity}#if(!${kotlin});#end
  3. import ${superMapperClassPackage}#if(!${kotlin});#end
  4. import org.springframework.stereotype.Repository#if(!${kotlin});#end
  5. /**
  6. * <p>
  7. * $!{table.comment} Mapper 接口
  8. * </p>
  9. *
  10. * @author ${author}
  11. * @since ${date}
  12. */
  13. @Repository
  14. #if(${kotlin})
  15. interface ${table.mapperName} : ${superMapperClass}<${entity}>
  16. #else
  17. public interface ${table.mapperName} extends ${superMapperClass}<${entity}> {
  18. }
  19. #end