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

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.mongo.entity.game.egg.GameEggStockConfig;
import com.red.circle.other.inner.model.dto.game.GameEggStockConfigDTO;
import java.util.List;
import org.mapstruct.Mapper;

/**
 * 砸金蛋游戏.
 *
 * @author lisizhe on 2023/11/6
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface GameEggInnerConvertor {

  List<GameEggStockConfigDTO> toListGameEggStockConfigDTO(List<GameEggStockConfig> list);

  GameEggStockConfig toGameEggStockConfig(GameEggStockConfigDTO gameEggStockConfigDTO);
}
