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

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.rds.entity.game.GameKtvGiftConfig;
import com.red.circle.other.infra.database.rds.entity.game.GameLuckyBoxProbabilityConfig;
import com.red.circle.other.infra.database.rds.entity.game.GameUserLotteryDetailsRecord;
import com.red.circle.other.inner.model.dto.game.GameKtvGiftConfigDTO;
import com.red.circle.other.inner.model.dto.game.GameLuckyBoxProbabilityConfigDTO;
import com.red.circle.other.inner.model.dto.game.GameUserLotteryDetailsRecordDTO;
import java.util.List;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2023/6/16
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface GameListConvertor {

  List<GameUserLotteryDetailsRecordDTO> toListGameUserLotteryDetailsRecordDTO(
      List<GameUserLotteryDetailsRecord> list);

  GameKtvGiftConfig toGameKtvGiftConfig(GameKtvGiftConfigDTO dto);

  GameLuckyBoxProbabilityConfigDTO toGameLuckyBoxProbabilityConfigDTO(
      GameLuckyBoxProbabilityConfig gameLuckyBoxProbabilityConfig);
}
