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

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.live.domain.live.LiveMicUser;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.util.List;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2023/12/12
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface LiveMicrophoneInfraConvertor {

  LiveMicUser toLiveMicUser(UserProfileDTO dto);

  List<LiveMicUser> toListLiveMicUser(List<UserProfileDTO> dto);
}
