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.TeamApplicationProcessApproval;
import com.red.circle.other.inner.model.dto.agency.agency.TeamApplicationProcessApprovalDTO;
import java.util.List;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2023/11/21
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface TeamProcessApprovalInnerConvertor {

  TeamApplicationProcessApproval toTeamApplicationProcessApproval(
      TeamApplicationProcessApprovalDTO dto);

  List<TeamApplicationProcessApproval> toListTeamApplicationProcessApproval(
      List<TeamApplicationProcessApprovalDTO> dto);

}
