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

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.mongo.entity.live.RoomUserBlacklist;
import com.red.circle.other.inner.model.dto.live.RoomUserBlacklistDTO;
import java.util.List;
import org.mapstruct.Mapper;

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

  RoomUserBlacklist toRoomUserBlacklist(RoomUserBlacklistDTO dto);

  List<RoomUserBlacklistDTO> toListRoomUserBlacklistDTO(List<RoomUserBlacklist> list);
}
