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

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.rds.entity.props.RoomThemeUserBackpack;
import com.red.circle.other.infra.database.rds.entity.props.RoomThemeUserCustomize;
import com.red.circle.other.inner.model.dto.material.RoomThemeUserBackpackDTO;
import com.red.circle.other.inner.model.dto.material.RoomThemeUserCustomizeDTO;
import java.util.List;
import java.util.Map;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2023/12/4
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface RoomThemeUserInfraConvertor {

  RoomThemeUserCustomizeDTO toRoomThemeUserCustomize(RoomThemeUserCustomize customize);

  Map<Long, RoomThemeUserCustomizeDTO> toMapRoomThemeUserUserCustomizeDTO(
      Map<Long, RoomThemeUserCustomize> map);

  RoomThemeUserBackpackDTO toRoomThemeUserBackpackDTO(RoomThemeUserBackpack dto);

  List<RoomThemeUserBackpackDTO> toListRoomThemeUserBackpackDTO(List<RoomThemeUserBackpack> dto);

  RoomThemeUserBackpack toRoomThemeUserBackpack(RoomThemeUserBackpackDTO dto);

}
