Map struct file template for IntelliJ
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
#parse("File Header.java")
@Mapper
public interface ${NAME}EntityMapper {
${NAME}EntityMapper INSTANCE = Mappers.getMapper(${NAME}EntityMapper.class);
}
Comments
Post a Comment