package org.dromara.system.service;

import jakarta.servlet.http.HttpServletResponse;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface IEnrollService {

    /**
     * 下载报名表模板
     *
     * @param response
     * @param eventId
     */
    void downloadTemplate(HttpServletResponse response, Long eventId);


    /**
     * 导入报名表
     *
     * @param file
     * @param eventId
     * @return
     */
    ResponseEntity<Map<String, Object>> importData(MultipartFile file, Long eventId);
}
