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

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.mongo.entity.game.pk.GameRoomPkCount;
import com.red.circle.other.infra.database.mongo.entity.game.pk.GameTeamPkCount;
import com.red.circle.other.inner.model.dto.game.GameRoomPkCountDTO;
import com.red.circle.other.inner.model.dto.game.GameTeamPkCountDTO;
import java.util.List;
import org.mapstruct.Mapper;

/**
 * @author zongpubin on 2024/1/27
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface GamePkCountConvertor {

  GameRoomPkCountDTO toGameRoomPkCountDTO(GameRoomPkCount listRoomPk);

  List<GameRoomPkCountDTO> toListGameRoomPkCountDTO(List<GameRoomPkCount> listRoomPks);

  GameTeamPkCountDTO toGameTeamPkCountDTO(GameTeamPkCount listTeamPk);

  List<GameTeamPkCountDTO> toListGameTeamPkCountDTO(List<GameTeamPkCount> listTeamPks);
}
