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

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.rds.entity.emoji.EmojiGroup;
import com.red.circle.other.infra.database.rds.entity.props.PropsSourceRecord;
import com.red.circle.other.inner.model.dto.material.EmojiGroupDTO;
import com.red.circle.other.inner.model.dto.material.PropsResourcesDTO;
import java.util.Map;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2023/11/7
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface PropsResourcesInfraConvertor {

  Map<Long, PropsResourcesDTO> toMapPropsResourcesDTO(Map<Long, PropsSourceRecord> map);

  Map<Long, EmojiGroupDTO> toMapEmojiGroupDTO(Map<Long, EmojiGroup> map);

}
