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

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.mongo.entity.live.ActiveVoiceRoom;
import com.red.circle.other.inner.model.dto.live.ActiveVoiceRoomDTO;
import java.util.List;
import org.mapstruct.Mapper;

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

  List<ActiveVoiceRoomDTO> toListActiveVoiceRoomDTO(List<ActiveVoiceRoom> activeVoiceRooms);
}
