package jnpf.cultivate.service;

import jnpf.base.service.SuperService;
import jnpf.model.cultivate.po.teaching.CultivateFile;
import jnpf.model.cultivate.v2.teaching.model.V2Attachment;

import java.util.List;
import java.util.Map;

/**
 * 附件服务
 *
 * @author yanwenfu
 * @create 2026-03-02
 */
public interface CultivateFileService extends SuperService<CultivateFile> {

    /**
     * 查询业务关联的附件
     * @param bizIds 业务ids
     * @return java.util.Map<java.lang.String,java.util.List<jnpf.model.cultivate.v2.teaching.model.V2Attachment>>
     */
    Map<String, List<V2Attachment>> getFileListByBizIds(List<String> bizIds);

    /**
     * 对象转换
     * @param file 文件
     * @return jnpf.model.cultivate.v2.teaching.model.V2Attachment
     */
    V2Attachment convertToV2Attachment(CultivateFile file);
}
