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

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.framework.dto.PageResult;
import com.red.circle.other.infra.database.mongo.entity.live.RoomContributionCount;
import com.red.circle.other.inner.model.dto.activity.RoomContributionCountDTO;
import org.mapstruct.Mapper;

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

  PageResult<RoomContributionCountDTO> toPageRoomContributionCountDTO(
      PageResult<RoomContributionCount> pageResult);
}
