package com.red.circle.other.app.inner.convertor.team;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.mongo.entity.team.team.TeamApplicationProcess;
import com.red.circle.other.infra.database.mongo.entity.team.team.TeamImportanceLog;
import com.red.circle.other.inner.model.dto.agency.logs.TeamImportanceLogDTO;
import com.red.circle.other.inner.model.dto.team.TeamApplicationProcessDTO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author longli on 2024/03/12
 */

@Mapper(componentModel = ConvertorModel.SPRING)
public interface TeamApplicationProcessConvertor {
    List<TeamApplicationProcessDTO> toListDTo(List<TeamApplicationProcess> list);

    TeamApplicationProcessDTO toDTO(TeamApplicationProcess teamApplicationProcess);
}
