package com.red.circle.other.infra.convertor.team;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.mongo.entity.team.team.TeamMember;
import com.red.circle.other.infra.database.mongo.entity.team.team.TeamPolicyManager;
import com.red.circle.other.infra.database.rds.entity.team.TeamTerminationFeeRecord;
import com.red.circle.other.inner.model.dto.agency.agency.TeamMemberDTO;
import com.red.circle.other.inner.model.dto.agency.agency.TeamPolicyManagerDTO;
import com.red.circle.other.inner.model.dto.team.TeamTerminationFeeRecordDTO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author longli on  2024/3/14
 */

@Mapper(componentModel = ConvertorModel.SPRING)
public interface TeamTerminationFeeRecordConvertor {

    TeamTerminationFeeRecordDTO toTeamTerminationFeeRecord(TeamTerminationFeeRecord teamTerminationFeeRecord);

    List<TeamTerminationFeeRecordDTO> toListTeamPolicyManagerDTOList(List<TeamTerminationFeeRecord> list);
}
