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

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.app.dto.clientobject.game.GameKtvSongCO;
import com.red.circle.other.infra.database.cache.entity.game.ktv.GameKtvSongCache;
import com.red.circle.other.infra.database.rds.entity.game.GameKtvConfig;
import java.util.List;
import org.mapstruct.Mapper;

/**
 * Ktv游戏.
 *
 * @author pengshigang on 2023/5/6
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface GameKtvAppConvertor {

  List<GameKtvSongCache> toKtvSongCacheConfigList(List<GameKtvConfig> configs);

  GameKtvSongCO toGameKtvSongCO(GameKtvSongCache song);

}

